The Hardest Part of a RAG System: Not Retrieving Evidence, but Using It Correctly

    A practical look at why retrieval-augmented generation (RAG) systems fail in high-similarity, time-sensitive domains such as financial news feeds. The article explains why vector similarity alone cannot judge whether a piece of evidence can actually answer a question, why fixed-length chunking breaks "askability," how to evaluate retrieval quality with three separate metrics (evidence rank, cited item, and citation support), and how to make answer-citation verification an independent stage in the pipeline.

    Introduction: The Hard Part of RAG Is Not “Retrieving,” but “Using It Right”

    When teams start building a retrieval-augmented generation (RAG) system with large language models, the first debates are usually about which vector database to pick, which embedding model to use, and what Top-K should be. Those choices matter. But once the system is wired into real business traffic, the problems that surface tend to sit further upstream and further downstream: a piece of evidence is retrieved, then used to answer the wrong question.

    In high-velocity, high-similarity text such as financial news flashes, this problem is amplified. Two flashes may cover the same market, use the same units, and even be published in the same minute, differing only in the instrument, the exact definition of a metric, or the statistical window. Pick the wrong one and the answer “looks reasonable” while being completely wrong — and it comes with a citation that looks authoritative.

    Using financial news RAG as the practical backdrop, this article abstracts out three of the hardest and most工程-worth-investing parts: structured localization, honest measurement of retrieval quality, and consistency verification between answers and citations.

    1. The First Hard Gate: Deciding Whether a Piece of Evidence Can Answer the Question

    The essential constraint of RAG is that the generation model can only answer from what has been placed in its context. So the real ceiling of the system is set by the few texts that enter the context, not by the parameter count of the model.

    The difficulty is that “relevance” is a layered judgment:

    • Topical relevance: both are about the crude oil market;
    • Entity relevance: both involve either WTI or Brent;
    • Definitional relevance: settlement price, closing price, intraday price — different statistical scopes;
    • Temporal relevance: trading day, data release date, revision date all differ;
    • Question-form relevance: when a user asks “what is item 2?”, localization depends on the item number, not on semantics.

    Vector similarity mainly captures the first layer and part of the second, and is nearly powerless on layers three, four, and five. That is why “retrieval looks fine but the answer is wrong” is the most common failure mode after a RAG system goes live.

    The engineering response is not to keep tuning the similarity threshold. It is to move decidability upstream into the data ingestion stage: give every chunk structured fields rich enough to support discrimination, so that both retrieval and generation can apply conditional constraints instead of pure semantic guessing.

    2. Chunking Is Not a Length Problem, It Is an “Askability” Problem

    Fixed-length chunking is the default, and it is also the source of the problem. It cuts apart semantic units that belong together, and more importantly, it throws away the clues users will actually use to ask questions later.

    Take a flash like “Important Financial Data Roundup.” Its body enumerates several unrelated items as 1, 2, 3. A user may well ask directly, “What is item 2 in the roundup?” The condition for locating the source text here is title + section + item number, not the semantics of the body. If chunking discards that structural information, the remaining body text can be semantically intact and still be unreachable by this kind of question.

    So the safer principle is: chunk along the structure of the original document, and keep structural information as retrievable fields in the index. A schematic data structure:

    1. {
    2. "doc_title": "Important Financial Data Roundup",
    3. "section": "Data Releases",
    4. "item_no": 2,
    5. "publish_time": "2024-05-11T20:30:00+08:00",
    6. "market": "Crude Oil",
    7. "instrument": "WTI",
    8. "metric": "Closing Price",
    9. "unit": "USD/barrel",
    10. "text": "WTI crude settled at USD 69.43 per barrel..."
    11. }

    This kind of chunking yields three direct benefits:

    1. Exact localization: number-based and section-based questions hit directly through rule filtering, with no reliance on semantic approximation;
    2. Constraint-based filtering: instrument, metric, and time range participate in retrieval as metadata conditions, excluding obviously unusable evidence first;
    3. Traceable explanation: a cited answer can be traced to a specific item in the source, which makes manual review easy.

    One typical case in practice: for a number-based question under pure independent retrieval, all of the top six candidates missed the target; once the production Q&A entry applied structured matching by item number, it fetched the corresponding source text directly. This shows the retrieval path should be hybrid: structured conditions first, semantic similarity as the fallback — not the other way around.

    A practical question to ask when designing chunks: how might users ask about this material in the future? Write the answer into your field design.

    3. Retrieval Evaluation: “Is It in the Top 3?” Hides Errors

    The second difficulty is the measurement standard. Most teams use “does the correct chunk appear in Top-3” as their retrieval hit metric, and in financial scenarios this standard systematically overestimates performance.

    Imagine a synthetic test: “What is the closing price of US oil?” The index really does contain two genuine messages — WTI closing at USD 69.43 per barrel and Brent closing at USD 74.22. The system finally answers 74.22 and attaches a citation. Only by checking the retrieval log do you find that the correct WTI flash was already ranked second, while the answer actually cited the Brent item.

    Judged by “does Top-3 contain the correct evidence,” this counts as a hit. Only by checking the citation together with the question can you see that the instrument is wrong. The retrieval layer did not fail; the failure happened in evidence selection and answer verification.

    So it is worth splitting evaluation into three mutually independent metrics, recorded and attributed separately:

    • Rank of the correct evidence: at what position the correct chunk ranks (or whether it enters the candidate set at all);
    • Actually cited item: which item the answer really cited;
    • Citation support: whether the cited content can logically support the conclusion.

    Combined, the three have strong diagnostic value:

    Rank Citation Support Where to look
    Poor — — Chunking and recall
    Good Wrong item Insufficient Reranking and evidence selection
    Good Correct item Insufficient Answer verification and constraints

    Context organization is also part of retrieval quality. Lay several similar pieces of evidence flat in the prompt and the model tends to pick the one that is “closer, more complete, more like a standard answer,” rather than the one whose definition actually matches. Workable mitigations include: explicitly labeling the instrument and metric in front of each chunk; presenting conflicting evidence side by side and requiring the model to state its discrimination basis first; and instructing in the prompt that “if evidence definitions conflict, state the conflict explicitly rather than merging them.”

    4. Making Verification an Independent Stage

    A RAG system needs a verification path that does not depend on the model’s self-discipline:

    1. Constraints up front: convert conditions such as instrument, metric, and time into metadata filters, reducing similar distractors entering the context;
    2. Citation binding: require the generation stage to tag every conclusion with its source item number, then verify after output that the numbers actually exist;
    3. Consistency check: compare the qualifiers in the question against the fields of the cited item, and trigger clarification or refusal on mismatch;
    4. Conflict handling: when definitions conflict, output an explanation of the difference instead of picking one;
    5. Regression evaluation: run the three-dimensional metrics above continuously on a fixed question set, and observe which stage each change actually improved.

    In terms of deployment shape, this pipeline usually sits on general-purpose cloud capabilities: object storage for raw flashes and chunks, a message queue to absorb high-concurrency writes, a container platform to host retrieval and generation services, and logging plus monitoring and alerting for continuous observation of rank and citation metrics. Baidu AI Cloud offers these same general categories of capability for such scenarios, and the specific selection should be evaluated against data volume and timeliness requirements.

    Conclusion

    The hardest part of RAG is not chopping text into small pieces and storing vectors. It is making the system choose in an explainable, verifiable way among multiple pieces of evidence that all “look right.” Keep structural information in the index, split evaluation into the three dimensions of rank / citation / support, and make verification an independent stage — do these three things well, and RAG moves from demo to usable.