Close Menu
TechBrunchTechBrunch
  • Home
  • AI
  • Apps
  • Crypto
  • Security
  • Startups
  • TechCrunch
  • Venture

Subscribe to Updates

Subscribe to our newsletter and never miss our latest news

Subscribe my Newsletter for New Posts & tips Let's stay updated!

What's Hot

Everyone in high tech has an opinion about Soham Parekh

July 3, 2025

All stages of TechCrunch regain early release prices for limited time

July 3, 2025

Not everyone is excited about DMs on the thread

July 3, 2025
Facebook X (Twitter) Instagram
TechBrunchTechBrunch
  • Home
  • AI

    OpenAI seeks to extend human lifespans with the help of longevity startups

    January 17, 2025

    Farewell to the $200 million woolly mammoth and TikTok

    January 17, 2025

    Nord Security founder launches Nexos.ai to help enterprises move AI projects from pilot to production

    January 17, 2025

    Data proves it remains difficult for startups to raise capital, even though VCs invested $75 billion in the fourth quarter

    January 16, 2025

    Apple suspends AI notification summaries for news after generating false alerts

    January 16, 2025
  • Apps

    Not everyone is excited about DMs on the thread

    July 3, 2025

    Meta has found another way to engage you: message that message first

    July 3, 2025

    Everything you need to know about Flash, Blueski-based Instagram alternatives

    July 3, 2025

    Substack brings new updates to live streaming as it increases video push

    July 2, 2025

    Amazon shuts down the Freevee app in August

    July 2, 2025
  • Crypto

    Vitalik Buterin reserves for Sam Altman's global project

    June 28, 2025

    Calci will close a $185 million round as rival Polymeruk reportedly seeks $200 million

    June 25, 2025

    Stablecoin Evangelist: Katie Haun's Battle of Digital Dollars

    June 22, 2025

    Hackers steal and destroy millions of Iran's biggest crypto exchanges

    June 18, 2025

    Unique, a new social media app

    June 17, 2025
  • Security

    Ransomware Gang Hunter International says it's shut down

    July 3, 2025

    India's biggest finance says hackers have accessed customer data from insurance units

    July 2, 2025

    Data breaches reveal that Catwatchful's “Stalkerware” is spying on thousands of phones

    July 2, 2025

    Hacking, Leaking, Exposure: Do not use stalkerware apps

    July 2, 2025

    Qantas Hacks lead to theft of personal data for 6 million passengers

    July 2, 2025
  • Startups

    7 days left: Founders and VCs save over $300 on all stage passes

    March 24, 2025

    AI chip startup Furiosaai reportedly rejecting $800 million acquisition offer from Meta

    March 24, 2025

    20 Hottest Open Source Startups of 2024

    March 22, 2025

    Andrill may build a weapons factory in the UK

    March 21, 2025

    Startup Weekly: Wiz bets paid off at M&A Rich Week

    March 21, 2025
  • TechCrunch

    OpenSea takes a long-term view with a focus on UX despite NFT sales remaining low

    February 8, 2024

    AI will save software companies' growth dreams

    February 8, 2024

    B2B and B2C are not about who buys, but how you sell

    February 5, 2024

    It's time for venture capital to break away from fast fashion

    February 3, 2024

    a16z's Chris Dixon believes it's time to focus on blockchain use cases rather than speculation

    February 2, 2024
  • Venture

    Everyone in high tech has an opinion about Soham Parekh

    July 3, 2025

    All stages of TechCrunch regain early release prices for limited time

    July 3, 2025

    Kristen Craft brings fresh fundraising strategies to every stage

    July 3, 2025

    The Y Combinator alumni have launched a new $34 million fund dedicated to YC startups.

    July 3, 2025

    Learn how to tighten a cap table with TC All Stage 2025

    July 3, 2025
TechBrunchTechBrunch

Why RAGs don’t solve the generative AI hallucination problem

TechBrunchBy TechBrunchMay 4, 20245 Mins Read
Facebook Twitter Pinterest Telegram LinkedIn Tumblr WhatsApp Email
Share
Facebook Twitter LinkedIn Pinterest Telegram Email


Illusions (basically, lies that generative AI models teach) are a huge problem for companies looking to integrate technology into their operations.

Because models have no real intelligence and simply predict words, images, sounds, music, and other data according to their private schemas, they can sometimes get it wrong. Big mistake. In a recent article in the Wall Street Journal, a source cited an example of Microsoft's generative AI fabricating meeting attendees and implying that the call was about topics that were not actually discussed on the call. It talks in detail.

As I wrote a while ago, hallucinations may be a problem that cannot be solved with today's transformer-based model architectures. However, many generative AI vendors have suggested that generative AI can be made more or less obsolete through a technical approach called search augmented generation (RAG).

One vendor, Squirro, pitches it this way:

At the core of this product is the concept of Acquisition Augmentation LLM or Acquisition Augmentation Generation (RAG) built into the solution. [our generative AI] It is unique in that it promises zero hallucinations. All information generated is traceable to the source, ensuring authenticity.

A similar suggestion from SiftHub is:

Using RAG technology and fine-tuned large-scale language models with industry-specific knowledge training, SiftHub enables companies to generate personalized responses without hallucinations. This ensures increased transparency and reduced risk, creating absolute trust in using AI for all your needs.

RAG was developed by data scientist Patrick Lewis, a researcher at Meta and University College London and lead author of the 2020 paper that coined the term. When you apply RAG to your model, it essentially uses a keyword search to retrieve documents that may be relevant to your question (such as a Wikipedia page about the Super Bowl) and generates an answer considering this additional context. request the model to do so.

“When you're working with a generative AI model like ChatGPT or Llama, and you ask a question, by default the model answers from its 'parametric memory', or the knowledge stored in its parameters. It's training using large amounts of data from the web,” explained David Wadden, a research scientist at his AI2, his AI-focused research arm at the nonprofit Allen Institute. “But just as having references can give you a more accurate answer; [like a book or a file] The same is true for the model in front of you and in some cases. ”

RAG is definitely useful. This allows you to attribute what your model has produced to the retrieved document and verify that fact (and, as an added benefit, avoids potential copyright infringement reversals). RAGs also allow companies that do not want to use their own documents to train models (for example, companies in highly regulated industries such as healthcare or law) to use them in a more secure and temporary manner. documentation will be available.

But RAG certainly can't stop the model from hallucinating. And there are also limitations that many vendors ignore.

Wadden said RAG is most effective in “knowledge-intensive” scenarios where users want to use the model to address an “information need,” such as finding out who won last year's Super Bowl. It states that there is. In such a scenario, the document that answers the question is likely to contain many of the same keywords as the question (e.g., “Super Bowl,” “last year”) and can be found relatively easily with a keyword search.

Things get even more complicated for “reasoning-heavy” tasks like coding and math. With keyword-based search queries, it is difficult to specify the concepts needed to answer the request, much less identify which documents are relevant.

Even for basic questions, the model can become “distracted” by extraneous content within the document, especially for long documents where the answers are not obvious. Alternatively, for reasons still unclear, we could simply ignore the contents of the retrieved document and rely on parametric memory instead.

RAGs are also expensive in terms of the hardware required to apply them at scale.

This is because documents retrieved from the web, internal databases, and other locations must be stored in memory, at least temporarily, so that the model can reference them. Another expense is computing the increased context that the model must process before generating a response. This represents a significant consideration for a technology already notorious for the amount of computation and power required for even basic operations.

This is not to suggest that RAG cannot be improved. Wadden mentioned a number of ongoing efforts to train models to better utilize the documents captured by RAG.

These efforts include models that let you “decide” when to use a document, or choose not to perform a search in the first place if you decide it's not needed. Others are focused on how to index large document datasets more efficiently, or on improving search through better representation of documents, representations that go beyond keywords.

“We're good at retrieving documents based on keywords, but we're not so good at retrieving documents based on more abstract concepts, such as proof techniques needed to solve math problems.” says Wadden. “Research is needed to build document representations and retrieval techniques that can identify documents that are relevant to more abstract production tasks. I think this is largely an open problem at this point.”

Therefore, while RAG can help reduce hallucinations in a model, it is not the answer to all hallucination problems in AI. Be wary of vendors who try to claim otherwise.



Source link

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

OpenAI seeks to extend human lifespans with the help of longevity startups

January 17, 2025

Farewell to the $200 million woolly mammoth and TikTok

January 17, 2025

Nord Security founder launches Nexos.ai to help enterprises move AI projects from pilot to production

January 17, 2025

Data proves it remains difficult for startups to raise capital, even though VCs invested $75 billion in the fourth quarter

January 16, 2025

Apple suspends AI notification summaries for news after generating false alerts

January 16, 2025

Nvidia releases more tools and guardrails to help enterprises adopt AI agents

January 16, 2025

Leave A Reply Cancel Reply

Top Reviews
Editors Picks

7 days left: Founders and VCs save over $300 on all stage passes

March 24, 2025

AI chip startup Furiosaai reportedly rejecting $800 million acquisition offer from Meta

March 24, 2025

20 Hottest Open Source Startups of 2024

March 22, 2025

Andrill may build a weapons factory in the UK

March 21, 2025
About Us
About Us

Welcome to Tech Brunch, your go-to destination for cutting-edge insights, news, and analysis in the fields of Artificial Intelligence (AI), Cryptocurrency, Technology, and Startups. At Tech Brunch, we are passionate about exploring the latest trends, innovations, and developments shaping the future of these dynamic industries.

Our Picks

Everyone in high tech has an opinion about Soham Parekh

July 3, 2025

All stages of TechCrunch regain early release prices for limited time

July 3, 2025

Not everyone is excited about DMs on the thread

July 3, 2025

Subscribe to Updates

Subscribe to our newsletter and never miss our latest news

Subscribe my Newsletter for New Posts & tips Let's stay updated!

© 2025 TechBrunch. Designed by TechBrunch.
  • Home
  • About Tech Brunch
  • Advertise with Tech Brunch
  • Contact us
  • DMCA Notice
  • Privacy Policy
  • Terms of Use

Type above and press Enter to search. Press Esc to cancel.