The best solution to reducing the problem of Hallucinations is first someone telling us what their Error rates in production are.
Based on what assumptions can one validly claim this is the ‘best’ solution? (In response to “The best solution to reducing the problem of Hallucinations is first someone telling us what their Error rates in production are.”) If I were to make an educated guess, one response would be akin to “one cannot correct errors without measuring the errors at prediction time”. This is incorrect; measuring prediction errors is…
Ask HN: Is RAG the Future of LLMs?
71–80 of 108 posts
Re: Ask HN: Is RAG the Future of LLMs?
#72https://www.aryn.ai/post/rag-is-a-band-aid-we-need-llm-power...
We do see a world where LLMs are used to answer questions (Luna), but it’s a more complex compound AI system that references a corpus (knowledge source), and uses LLMs to process that data.
The discussion around context sizes is a red herring. They can’t grow as fast the demand for data.
Re: Ask HN: Is RAG the Future of LLMs?
#73#1 motivation for RAG: you want to use the LLM to provide answers about a specific domain. You want to not depend on the LLM's "world knowledge" (what was in its training data), either because your domain knowledge is in a private corpus, or because your domain's knowledge has shifted since the LLM was trained. The latest connotation of RAG includes mixing in real-time data from tools or RPC calls. E.g. getting data…
Re: Ask HN: Is RAG the Future of LLMs?
#74I still think LLMs are the best AI tech/tools since I started getting paid to be an AI practitioner in 1982, but that is a low bar of achievement given that some forms of Symbolic AI failed to ever scale to solve real problems.
Re: Ask HN: Is RAG the Future of LLMs?
#75If LLMs are akin to a "low resolution jpeg of the internet", RAGs allow checking of facts.
Re: Ask HN: Is RAG the Future of LLMs?
#76RAG will have a place in the LLM world, since it's a way to obtain data/facts/info for relevant queries. Since you asked about alternatives... (a) "World models" where LLMs structure information into code, structured data, etc. and query those models will likely be a thing. AlphaGeometry uses this[1], and people have tried to abstract this in different ways[2]. (b) Depending on how you define RAG, knowledge graphs co…
I don't understand why knowledge graph would be an alternative to RAG? Knowledge graphs can (and are already) used as part of a RAG pipeline.
Re: Ask HN: Is RAG the Future of LLMs?
#77The only issue right now is the cost. You can make a bet that GPU performance will double every year or even 6 months according to Elon. RAG addresses cost issues today aswell by only retrieving relevant context, once LLMs get cheaper and context windows widen which they will, RAG will be easier, dare I say trivial.
I would argue RAG is important today on its own and as a grounding, no pun intended, for agent workflows.
Re: Ask HN: Is RAG the Future of LLMs?
#78Re: Ask HN: Is RAG the Future of LLMs?
#79Does RAG depend on a vector database?
tl;dr we only need a vector database if we want to do semantic vector-embedding search AND our dataset is too large for memory long answer: RAG is just a pattern of working with LLMs, independent of particular database technologies. Basically it means you inject some context data or domain specific data into the prompt to achieve the following: 1. Nudging the model into the right direction so it will use the "correct…
Supposing I do use text-embedding-ada-002 model and store the index in a vector database, will I be able use these for RAG with other LLMs such as Claude Haiku etc. ? Or does each LLM have its own text embedding model ?