Have you assembled IKEA furniture?
It's okay to read each part alone in the instructions, the screws are screws, the planks are boards and the chains are chains. But when you put all the parts together by the instructions, the door won't close. Not one part is broken, it's the other part.
It's going through something like that.
RAG: The full name is Richard, and the answer is based on the information, not just memory.
Over the last few years, researchers have invented a number of optimization techniques for RAG components. Better "validation mechanisms." Each technique is shown for a single test, and the paper says, "How much is it up?"
But the question arises: if you put all these proven "good skills" into a system, will they really work together?
Researchers from IBM and the Weizmann Institute of Science did something that almost nobody really did: put eight RAGs in a unified framework and systematically test what they were going to do together. They measured 450 different configurations, covering eight assessment benchmarks, and the size of the file library was measured from 5,000 to 200,000. The paper, entitled " Retrieva Augusted General Establishment " , also opened a platform for their own experiments, called LASAGNA (the lasagna, which is actually quite the right name, one layer at a time).
The results were quite unexpected.
Cost of assembly: the addition you think is a reduction.
Let's start with a specific number so you can visualize the difference.
Researchers pick out three search optimization techniques that perform best in individual tests: an increase of 47%.
NDCG@10: The core measure of the search quality, the measurement system, in the first 10 search results, has the real relevant document been ranked forward, and the higher the score, the better the search.
47%. What's the concept? In short, if you had been able to find the most relevant information 41 times for every 100 searches, the three techniques would theoretically have been added to 60 times.
But what's the result of actually combining these three techniques into a full stream line? Only 17 percent.
63% of the expected gains have disappeared. Researchers call this phenomenon ""." And that's not an example, and they measured 17 different combinations of techniques, ranging from 7% to 72%, with a median of 41%. In other words, your carefully chosen combination of "best practices" is probably less than half the promise.
It's like you hired three top chefs to cook three special dishes, and it's amazing. But when you put three dishes on a plate as a luxurious set, it's a bad taste. The reason is often that the MMR is being reordered and shut down, and it's actually the same "thank you," and they're doing the same thing — pulling out the real relevant but easily buried content. When reordering has done most of the work, closing MMR can do less. The roles of the two techniques overlap, not overlap.
And here's one thing to be clear: the cumulative effect of the technique, the split strategy, on the level of loyalty, is projected to increase by 28 per cent, actually to achieve 32 per cent, almost the same level of commitment.
Faithfulness: Chinese often translates "loyalty" to measure that each sentence of the resulting answer is not really supported by retrieved material, rather than by the model itself. This is another assessment line with a completely different search quality.
Why is there a discount on the quality of the search, while the level of loyalty is barely a discount? The paper explained that techniques that affect the quality of the search are mostly co-mingled at the same stage, with a high overlap of functions; and that techniques that affect integrity, such as quality clearances when queries are enhanced and generated, are at different points in the water flow line, with natural complementarities and are less likely to compete for each other. It also leads to one of the core findings of the paper: the quality of the search and the integrity of the answer are not the same at all, and optimizing one of them is likely to be of no help or even harm to the other.
Two sets of scoring: you optimized the right direction, and maybe it was a waste.
This next discovery may have caused a lot of people doing RAG systems to take a breath of cool air.
The researchers analysed the performance of the 167 configurations in terms of both the quality of the search and the reliability of the answer, and found that the correlation coefficient for both was almost zero (r = -0.01). What do you mean? It means that a system can be retraced, and there is no guarantee that the answers it generates are more reliable; in turn, an answer may sound " faithful" to a system and the quality of the search may be poor.
In the paper, there's a great deal of detail: In the configuration they tested, 5% of the systems were "very faithful to the answer, but very poor to retrieve," and 6% were "very good to retrieve, but very faithful to the answer." The combination of these two systems is more than one tenth, indicating that this disconnect is not accidental noise and is a real phenomenon.
Imagine you hired two assistants, one to go to the library for information and one to write reports based on information. You think it's good enough to find a resource assistant. The study found, however, that the quality of the work of the two assistants was almost two separate things, and that the ability to find information could not save the fabricated problems of writing reports. On the other hand, even if the information obtained by the author of the report is wrong, it may be possible to write a read-out of words and look at particularly credible words.
This raises a very realistic question: if you look at the search accuracy only to fine-tune the system, you might create an AI that "seeing information is accurate, but not sounding " ; and if you look at the resulting answers as if they sound like that, you might ignore the information it looks for. The conclusion of the researchers is straightforward: the RAG system must be evaluated with two lines at the same time, without one.
Looking more closely, which components are driving which indicators? The search quality is most heavily influenced by the two links that researchers have made and indexed, while enhanced queries and "agent" quality clearances dominate the integrity of the answers. The fact that the two sets of factors are almost staggered also confirms the difficulty of optimizing the two indicators at the same time.
Query enhanced () or break a complex issue into simple sub-issues.
Such an approach would allow the system to assess first the poor quality of the information retrieved and, if necessary, to re-retriev or amend the answers, which would be somewhat like reading the wrong words after writing.
The size trap: the winner of the small data set will flip the big data set.
If the first two findings were enough to subvert common sense, the third might be more vigilant.
The researchers have expanded the size of the document library from 5,000 to 200,000, and tested four sets of "best combinations" configurations (known as Sped, Standard, Balanced, Max-Reliable, which largely correspond to the different trade-offs between "prosperity" and "responsible".
As a result, the best-performing configuration (Standard) under the small file library (50 to 15,000) was found to be at a level of 200,000, with 13.7 per cent less search quality than the other configuration (Balanced), a statistically significant gap (p=0.003). And more crucially, this ranking has begun to show up at about 25,000 pages.
This discovery is important because the vast majority of RAGs in the academic world are now made at a scale of 5,000 to 50,000 documents, and the actual industrially deployed knowledge base is more than 10 times that size. In other words, the "proven" configuration in many of the papers is likely to be just as good on small data sets as it is on large-scale data from real scenes.
It's like a racing car that runs on the Kadin track and runs fast and steady. But if you turn it directly into a real high-speed track, the previously modified set of parameters may not apply at all, or even be problematic. The small track and the main track face different physical conditions, and the routing experience of the Kadin track cannot simply be moved to the real track.
Why is there such a reversal? Researcher analyses that Balanced ' s configuration is more stable on a large scale because it creates additional mechanisms that do not see advantages on a small scale but that maintain a signal density after the information has been diluted to a large extent, such as a broader document block retention policy, a layered document split, and after retrieval consolidation. While these mechanisms do not work significantly when the file libraries are small, they help the system to capture more steadily what is really useful when there are more and more jamming items.
It is worth noting that loyalty and the quality of retrieval vary in size. As the file library expands from 5000 to 200,000, the search quality (NCDG@10) does decline with size, which is intuitive, with more interference, and the more difficult it is to find the right answer. But the three quality-oriented configurations of the answer, which peaked at 50,000, fell slightly at 100,000 and recovered at 200,000. Researchers speculate that this may be because the larger document library, while making the search ranking difficult, has also brought in more "relative and mutually verifiable" documents, even though the most authoritative one is not ranked in the top ten, the system can collide enough evidence from other relevant documents to support the answer.
How's the lab?
You might be curious to read here: How do researchers test so many skill sets fairly? If a rearranged model were to be replaced, would it have inadvertently changed the other part?
And that's another important contribution to the paper: they built an open source assessment framework called LASAGNA, the core design concept of which is "stage segregation."
Phase segregation: The entire RAG flow line has been split into eight separate links, each with a fixed set of interfaces behind it, and changes to one link (e.g. a re-incorporated model) will never affect the operation of the other one (e.g. a reordering logic). This ensures that each set of comparisons is made by researchers, and that the difference is really only from the variable that was changed, not from the accidental collusion caused by code coupling.
It sounds like a technical detail, but it's really important. For example, if you want to compare the two coffee beans with which one is better, you can't control all the variables of bubble people, water temperature, water quality, glass mass, then the results don't really show the difference between beans themselves. What LASAGNA does is, essentially, locks out all the variables that can interfere with the result in the bubble-swinging process, leaving only one variable that you really want to test to change, so that the differences that you can measure are really credible.
Using a statistical methodology called D-optimal (D's best-designed), the team carefully selected the most representative combination of 167 groups from theoretically over 30,000 possible configurations for actual running tests, which would cover both the main effects and the two-to-two effects and not burn the budget. In fact, if all combinations were to be measured, it would take an estimated 40,000 GPU hours at a cost of $600,000, and the study would actually cost about $5,200, or 310 hours, or less than one in 1,000, to get a statistical conclusion.
D-optimal Design: An experimental design method aimed at picking out the largest fraction of the information from a possible mass mix to actually test, allowing you to spend the minimum number of experiments and obtain the most accurate statistical estimates of the factors and their interactions.
The researchers also performed a special "separability" of the framework, for example, by deliberately creating a completely opposite session of the two parameters to check whether they really did not interfere with each other; and by deliberately sharing a 384-dimensional light model with a 1024-dimensional heavy model in a vector database to see whether the system could correctly report errors rather than produce mistakes. These detailed tests were all passed, indicating that the entire platform of the experiment was solid.
Four sets of configurations: no one-size-fits-all key, only trade-offs Shell.
Based on all these findings, the researchers eventually refined four focused "operating portraits" that fit different deployment scenarios.
| Configure | Retrieving quality | Faithful | Average delay | Application scene |
|---|---|---|---|---|
| Sped | 0.541 | 0.524 | 0.70 seconds | Very high real-time requirement, acceptable quality compromise
**Standard** **0.860** |0.739 | 5.30 seconds ** fix 30 seconds to consider the best combined performance
** Balanced ** 0.840 ** 0.911** | 12.25 seconds
| Max-Reliable | 0.804 | 0.916 | 14.16 seconds
It's really a very simple argument to say that there is no set of configurations that can win all the indicators at the same time. Sped, at the expense of almost half of quality, changed the speed of response near real time; Standard scored the highest, but relatively weak, in the context of fixed response time; Balanced and Max-Reliable exchanged longer waiting times for more reassuring quality of the answer, and the difference between the two was very small (0.911 versus 0.916), but Balanced had higher and faster access.
And here's an unexpected detail: adding a "agent" to Standard's configuration (i.e., making the system look for its own answers on its own), there's hardly any improvement in loyalty, but the quality of retrieval has declined, and the response time has become longer. It means that "more mechanisms must be better" intuitive, not always set up in the RAG system. Sometimes the extra layer of inspection interferes with otherwise well-functioning processes.
It would be more reassuring to make an inappropriate but relevant example, as if some people had repeatedly checked the locks, gas, windows before going out, but the hours of going out were delayed. If you're in a hurry, this "excruciating care" becomes a burden; if you're on a long trip, it's worth a few more times. The point is whether you're in a hurry or not, the two claims are in themselves contradictory and there is no single inspection process that can satisfy both ends.
If you're going to deploy an RAG system, what are you going to do?
The paper's advice is really frank: ask yourself two questions first, the size of your file library, and whether you care more about speed or the reliability of the answer. There is no one-size-fits-all option, and researchers have repeatedly stressed that any new technique should be re-tested in a full stream of water that is close to the real scene, with two lines of quality and fidelity, and with the amount of data that you will actually use.
It's in the back.
After reading the paper, what I'm most impressed with is not the exact numbers, but the way in which this research is carried out.
There has long been an implicit assumption in the academic world that as long as each component is proven to be good, the whole must be better put together. That assumption was so intuitive that almost no one had ever questioned it until someone actually spent more than five thousand dollars and 300 hours breaking it apart.
Interestingly, the paper did not propose any new RAG algorithm, and all the techniques it tested (HyDE, CRAG, Self-RAG, MMR) were the work of others who had already published it. Its contribution is purely methodological: to tell you how correctly to verify the "assembly" itself and how counterintuitive it is. This meta-research kind of work is actually not much in the AI field, most of the papers have a higher score than anybody's new method, and few people are willing to spend their time questioning the premise that "a good combination must be better."
Another thing I've been thinking about is that the combination loss that is mentioned in the paper, and an old concept in software engineering, which is called "emerging complexity," is that there's no problem with individual modules being tested, but once they interact, behaviour becomes unpredictable. The RAG system is also, by its very nature, a software system that has been assembled by a combination of independent, independently trained and optimized models, and the emergence of this complexity may be the fate of any modular system, not just the particular problems in the RAG field.
If you're building or maintaining a RAG system, the best thing you can take with this paper is, probably, not just to look at the report card that's being tested for each component. After that, how much of the increase in commitments remains.