Does RAG make LLMs less safe?  Bloomberg research reveals hidden dangers

Share This Post


Join our daily and weekly newsletters for the latest updates and exclusive content on industry-leading AI coverage. Learn More


Retrieval Augmented Generation (RAG) is supposed to help improve the accuracy of enterprise AI by providing grounded content. While that is often the case, there is also an unintended side effect.

According to surprising new research published today by Bloomberg, RAG can potentially make large language models (LLMs) unsafe. 

Bloomberg’s paper, ‘RAG LLMs are Not Safer: A Safety Analysis of Retrieval-Augmented Generation for Large Language Models,’ evaluated 11 popular LLMs including Claude-3.5-Sonnet, Llama-3-8B and GPT-4o. The findings contradict conventional wisdom that RAG inherently makes AI systems safer. The Bloomberg research team discovered that when using RAG, models that typically refuse harmful queries in standard settings often produce unsafe responses.

Alongside the RAG research, Bloomberg released a second paper, ‘Understanding and Mitigating Risks of Generative AI in Financial Services,’ that introduces a specialized AI content risk taxonomy for financial services that addresses domain-specific concerns not covered by general-purpose safety approaches.

The research challenges widespread assumptions that retrieval-augmented generation (RAG) enhances AI safety, while demonstrating how existing guardrail systems fail to address domain-specific risks in financial services applications.

“Systems need to be evaluated in the context they’re deployed in, and you might not be able to just take the word of others that say, Hey, my model is safe, use it, you’re good,” Sebastian Gehrmann, Bloomberg’s Head of Responsible AI, told VentureBeat. 

RAG systems can make LLMs less safe, not more

RAG is widely used by enterprise AI teams to provide grounded content. The goal is to provide accurate, updated information. 

There has been a lot of research and advancement in RAG in recent months to further improve accuracy as well. Earlier this month a new open-source framework called Open RAG Eval debuted to help validate RAG efficiency.

It’s important to note that Bloomberg’s research is not questioning the efficacy of RAG or its ability to reduce hallucination. That’s not what the research is about. Rather it’s about how RAG usage impacts LLM guardrails in an unexpected way.

The research team discovered that when using RAG, models that typically refuse harmful queries in standard settings often produce unsafe responses. For example, Llama-3-8B’s unsafe responses jumped from 0.3% to 9.2% when RAG was implemented.

Gehrmann explained that without RAG being in place, if a user typed in a malicious query, the built-in safety system or guardrails will typically block the query. Yet for some reason, when the same query is issued in an LLM that is using RAG, the system will answer the malicious query, even when the retrieved documents themselves are safe.

“What we found is that if you use a large language model out of the box, often they have safeguards built in where, if you ask, ‘How do I do this illegal thing,’ it will say, ‘Sorry, I cannot help you do this,’” Gehrmann explained. “We found that if you actually apply this in a RAG setting, one thing that could happen is that the additional retrieved context, even if it does not contain any information that addresses the original malicious query, might still answer that original query.”

How does RAG bypass enterprise AI guardrails?

So why and how does RAG serve to bypass guardrails? The Bloomberg researchers were not entirely certain though they did have a few ideas.

Gehrmann hypothesized that the way the LLMs were developed and trained did not fully consider safety alignments for really long inputs. The research demonstrated that context length directly impacts safety degradation. “Provided with more documents, LLMs tend to be more vulnerable,” the paper states, showing that even introducing a single safe document can significantly alter safety behavior.

“I think the bigger point of this RAG paper is you really cannot escape this risk,” Amanda Stent, Bloomberg’s Head of AI Strategy and Research, told VentureBeat. “It’s inherent to the way RAG systems are. The way you escape it is by putting business logic or fact checks or guardrails around the core RAG system.”

Why generic AI safety taxonomies fail in financial services

Bloomberg’s second paper introduces a specialized AI content risk taxonomy for financial services, addressing domain-specific concerns like financial misconduct, confidential disclosure and counterfactual narratives.

The researchers empirically demonstrated that existing guardrail systems miss these specialized risks. They tested open-source guardrail models including Llama Guard, Llama Guard 3, AEGIS and ShieldGemma against data collected during red-teaming exercises.

“We developed this taxonomy, and then ran an experiment where we took openly available guardrail systems that are published by other firms and we ran this against data that we collected as part of our ongoing red teaming events,” Gehrmann explained. “We found that these open source guardrails… do not find any of the issues specific to our industry.”

The researchers developed a framework that goes beyond generic safety models, focusing on risks unique to professional financial environments. Gehrmann argued that general purpose guardrail models are usually developed for consumer facing specific risks. So they are very much focused on toxicity and bias. He noted that while important those concerns are not necessarily specific to any one industry or domain. The key takeaway from the research is that organizations need to have the domain specific taxonomy in place for their own specific industry and application use cases.

Responsible AI at Bloomberg

Bloomberg has made a name for itself over the years as a trusted provider of financial data systems. In some respects, gen AI and RAG systems could potentially be seen as competitive against Bloomberg’s traditional business and therefore there could be some hidden bias in the research. 

“We are in the business of giving our clients the best data and analytics and the broadest ability to discover, analyze and synthesize information,” Stent said. “Generative AI is a tool that can really help with discovery, analysis and synthesis across data and analytics, so for us, it’s a benefit.”

She added that the kinds of bias that Bloomberg is concerned about with its AI solutions are focussed on  finance. Issues such as data drift, model drift and making sure there is good representation across the whole suite of tickers and securities that Bloomberg processes are critical. 

For Bloomberg’s own AI efforts she highlighted the company’s commitment to transparency.

 “Everything the system outputs, you can trace back, not only to a document but to the place in the document where it came from,” Stent said.

Practical implications for enterprise AI deployment

For enterprises looking to lead the way in AI, Bloomberg’s research mean that RAG implementations require a fundamental rethinking of safety architecture. Leaders must move beyond viewing guardrails and RAG as separate components and instead design integrated safety systems that specifically anticipate how retrieved content might interact with model safeguards.

Industry-leading organizations will need to develop domain-specific risk taxonomies tailored to their regulatory environments, shifting from generic AI safety frameworks to those that address specific business concerns. As AI becomes increasingly embedded in mission-critical workflows, this approach transforms safety from a compliance exercise into a competitive differentiator that customers and regulators will come to expect.

“It really starts by being aware that these issues might occur, taking the action of actually measuring them and identifying these issues and then developing safeguards that are specific to the application that you’re building,” explained Gehrmann.



Source link

Related Posts

Access Denied

Access Denied You don't have permission to access...

Robot dogs and AI drone swarms: How China could use DeepSeek for an era of war

China’s state-owned defense giant Norinco in February unveiled...

Australia sues Microsoft over ‘misleading’ AI offer

Australia's competition watchdog accused Microsoft on Monday of...

Startup Says It’s Launching a Test Weapon Into Orbit

Last month, the Department of Defense announced it...

Google AI Studio updates: More control, less friction

AI-powered apps let you build incredible things: generate...

I turned my mini PC into a powerhouse with 2 easy upgrades

So there it is–my new mini PC, the...
- Advertisement -spot_img
SV388jUDI BOLASBOBET88SBOBET88WS168LIVE CASINO ONLINESBOBET88SV388SEXYGAMINGINDOBALI88SABA SPORTSV388LIVE CASINOSV388Mahjong WaysSABUNG AYAM ONLINELive Casino OnlineSabung Ayam onlinemahjong ways 2sabung ayam onlinejudi bola onlinelive casino onlineslot gacor mahjongslot gacor mahjongslot gacor mahjongslot gacor mahjongLIVE CASINO ONLINESBOBETSABUNG AYAM ONLINESABUNG AYAM ONLINECASINO ONLINECASINO ONLINELIVE CASINO ONLINEJUDI BOLALIVE CASINO ONLINEMAHJONGSABUNG AYAM ONLINESITUS JUDI BOLASABUNG AYAM ONLINELIVE CASINO ONLINESLOT MAHJONGlive casinomix parlaymix parlaysabung ayam onlinelive casinomix parlaysabung ayam onlinesabung ayam onlinemix parlaysabung ayam onlinemix parlaysabung ayam onlinemix parlayparlaysitus live casinojudi bolaSabung Ayam OnlineSabung Ayam OnlineSabung Ayam OnlineSABUNG AYAMJUDI BOLALIVE CASINOSLOT MAHJONGMAHJONG WAYSJUDI BOLA ONLINESABUNG AYAM ONLINESWEET BONANZASLOT ZEUSSV388JUDI BOLA ONLINEJUDI BOLA ONLINEJUDI BOLA ONLINESABUNG AYAM ONLINELIVE CASINO ONLINESITUS SLOT ONLINEPRAGMATIC PLAYMAHJONG WAYSJudi BolaLive Casino OnlineSabung Ayam onlinemahjong ways 2Judi Bolamahjong ways 2mahjong wins 3gates of olympussweet bonanzastarlight princesssbobetsv388agen baccaratsabung ayam onlinejudi bola onlinejudi bola onlinesabung ayam onlinemahjong ways 2mahjong wins 3lucky nekosweet bonanzastarlight princessjudi bola onlinesabung ayam onlineagen casino onlinecasino onlinejudi bola onlinesabung ayam onlinecasino onlinejudi bola onlinejudi bola onlinesabung ayam onlinecasino onlineslot gacor mahjonglive casino onlinesabung ayam onlinesabung ayam onlinecasino onlineslot gacor mahjongsabung ayam onlinejudi bola onlinejudi bolasabung ayam onlineindobit88live casino onlinesv388sabung ayam onlineCasino Onlinesabung ayam onlineMix Parlaycasino onlineMahjong Wayssabung ayam onlinejudi bola onlinesabung ayam onlinemix parlay
analisis pola spin mahjong ways untuk menang konsistenwild mahjong ways 3 ajarkan cara hadapi tantangan hidupputaran maxwin mahjong ways 2mengenal pola sukses mahjong wins 3strategi maxwin pemain mahjong wayspola campuran gate of olympusmenang pragmatic play pakai pola indojawa88strategi ammar menang mahjong ways 2bangkit dari kerugian berkat mahjong wins 3strategi Jackpot main clover goldJUDI BOLA ONLINESABUNG AYAM ONLINELIVE CASINO ONLINESLOT MAHJONGMAHJONG WAYS 2judi bola onlinejudi bola onlineslot mahjong wayssv388sbobet88live baccarat onlinesbobet mix parlaycara spin mahjong ways ala admin wahanabet tips mantul cuan tipis tapi lancar tanpa hambatanmenang rp.142.250.331 pakai kombinasi duo maut denny spill trik dapat cuan dari treasures of aztec modal bet cuma 400 perakSabung Ayam Onlinejudi bola onlinemahjong wayssabung ayam onlinesabung ayam onlinesabung ayam onlinesabung ayam onlinejudi bolaslot mahjongsv388judi bolasabung ayam onlineungkap rahasia scatter mahjong wayskiat sukses pemain gates of olympustrik dan strategi kuasai rtp mahjong winspola lonceng emas queen of bountystrategi scatter hitam mahjong ways 2maxwin scatter hitam indojawa88
slot mahjong wayssabung ayam onlinejudi bola onlinesabung ayam onlinelive casino onlinejudi bola onlinesabung ayam onlinelive casino onlineSABUNG AYAM ONLINESBOBET88LIVE CASINO ONLINEMAHJONG WAYS 2JUDI BOLA ONLINESBOBET88SBOBETsv388sbobet88ws168sbobet mobilemahjong waysmodal nekat cuan dahsyat pakai pola ini spin sweet bonanza bisa menang puluhan jutajangan salah langkah main mahjong ways pakai trik ini scatter hitam pasti pecah terusSabung Ayam OnlineSabung Ayam OnlineSabung Ayam OnlineSabung Ayam OnlineSabung Ayam OnlineLAB Official Work PageGalleria Pallesi Official SitePITAC Official ContactSOBER ICT Official Contactsabung ayam onlinesabung ayam onlinesabung ayam onlinesabung ayam onlinesabung ayam onlinesabung ayam onlineSBOBETLIVE CASINO ONLINESBOBET88LIVE CASINO ONLINEJUDI BOLASABUNG AYAM ONLINESLOT MAHJONGLIVE CASINO ONLINESABUNG AYAM ONLINEMIX PARLAYCASINO ONLINESLOT MAHJONGSABUNG AYAM ONLINESBOBET88SABUNG AYAM ONLINELIVE CASINO ONLINELIVE CASINO ONLINESABUNG AYAM ONLINESABUNG AYAM ONLINELIVE CASINO ONLINELIVE CASINO ONLINEAGEN JUDI BOLACASINO ONLINESLOT MAHJONGsabung ayam onlinemix parlaymix parlaymix parlaysabung ayam onlinemix parlaymix parlaysabung ayam onlinelive casinoSV388SBOBET88CASINO ONLINEPG SOFTSLOT GACORJUDI BOLA ONLINESITUS JUDI BOLASITUS JUDI BOLASABUNG AYAM ONLINEJUDI BOLA ONLINECASINO ONLINESLOT MAXWINSLOT GACORSBOBETSLOT MAHJONG WAYSSLOT KAKEK ZEUSSLOT SPACEMANBANDAR BOLAJUDI BOLASABUNG AYAMMEGA WHEELSLOT 4DSV388MAHJONG WAYSsabung ayam onlinejudi bola onlinelive casino onlineslot mahjonglive casino onlineslot mahjongsabung ayam onlinejudi bola onlinelive casino onlineslot mahjongJudi BolaLive Casino OnlineSabung Ayam onlineSlot Mahjong Gacorjudi bolaslot mahjonglive casinoindobit88slot onlineagen judi bolasabung ayam onlinejudi bolatogel onlinesbobet88sbobet88Mix Parlaycasino onlineMix ParlaySV388Judi Bola OnlineMahjong WaysSabung Ayam Onlinesabung ayam onlinejudi bola onlinemahjong ways 2slot mahjong waysmahjong ways 2mahjong wins 3lucky nekosweet bonanzastarlight princesssbobetsabung ayam onlineagen casinosabung ayam onlinejudi bola onlinesabung ayam onlinejudi bola onlinemahjong ways 2mahjong wins 3starlight princesssweet bonanzagates of olympussabung ayam onlinesbobetagen casinoSLOT ZEUSSABUNG AYAM ONLINESABUNG AYAM ONLINELIVE CASINOSLOT MAHJONGcasino onlineslot zeusjudi bola onlinesabung ayam onlinesabung ayam onlinecasino onlineMIX PARLAYSV388INDOBALI88SABUNG AYAM ONLINESBOBET88WS168CASINO ONLINESBOBET88MIX PARLAYJUDI BOLAMAHJONG WAYS 2MAHJONG WAYSMAHJONG WINS 3POLA MAHJONG WAYSSITUS MAHJONG WAYS 2
spin turbo gates of gatot kacapola maxwin mahjong wayscara gampang menang starlight princessmaxwin dari pola wild mahjong ways 2jacpot scatter hitam mahjong wins 3bocoran maxwin main pg softibu rumah tangga jackpot main sweet rush bonanza
Nusa Islands Bali Official PackagesTrinidad and Tobago Pilots’ Association Official About Pagemaxwin mahjong wins 3strategi main gates of olympuskuasai pola rtp pragmatic playlangkah mendapatkan scatter emaspola rtp pg soft indojawa88Green Gold Mountain Official SiteKomite SMKN 1 Tanjung Jabung Barat Official Sitetutorial maxwin mahjong waysstrategi rtp mahjong waysEIKON Official Policieskontak situs pecinta ayamNusa Islands Bali Official ContactCitraLand Surabaya Official NewsLenterakita About PageVinayak Group Official SiteI Think An Idea Official SitePITAC Official SitePortfolioSitez Official SiteMedical LTD Official SiteCapworks Official SiteMartino & Luth Official SiteTech With Mike First Official SiteSahabat Tiopan Official SiteE-Sekolah CBT Official SiteBDF Ventura Official SiteOcean E Soft Official SiteArab DMC Official SiteBBC Noun Official SiteCang Vu Hai Phong Official SiteThe Flat Official SiteThe Black Sheep Official SiteCEM Argentina Official SiteSlot MahjongTop Dawg Tavern Official SiteKelas Nesfatin Official SiteDuhoc Interlink Official SiteKarunia Inda Med Mandiri Official SiteJFV Pulm Official SiteRatiohead Official SiteAskona Official SiteMAN Surabaya E-Learning Official SiteShaker Group Official SiteTakaKawa Shoten Official SiteBrydan Solutions Official SiteConcursos Rodin Official SiteEHOB Official SiteConmou Official SiteCareer Wings Official SiteMontero Espinosa Official SiteBDF Ventura Official SiteDesa Sangginora Official SiteBDF Ventura Official SiteTaruna Akademia Official SiteAkura Official SiteMUI Ciamis Official SiteNamulanda Technical Institute Official Site