To save tokens, a bank adds an LLM extractor after retrieval that keeps only the sentences relevant to the question from each of the top 8 chunks. Context tokens fall by 60% and p95 latency rises by 700 ms. Overall answer correctness is unchanged, but it drops on questions whose answers depend on conditions such as "unless the card is a corporate card". What is happening, and what is the best fix?
Show the answer and explanation
Correct answer: B, The extractor drops qualifying sentences that do not echo the question's wording; make it keep conditions and exceptions, or filter whole chunks, and test on condition-heavy questions.
Explanation Advanced RAG
Contextual compression runs after retrieval: an LLM extractor keeps only the query-relevant sentences, or a filter (LLM or embedding similarity) drops whole irrelevant chunks. It saves prompt tokens and can remove distracting text, at the price of an extra model call (here +700 ms at p95) and a new failure mode.
The failure here is typical: the extractor judges relevance against the question, and qualifiers rarely share its wording. "What is the late fee on my card?" matches "The late fee is 250 TL", but the next sentence, "This does not apply to corporate cards, which follow the commercial tariff", looks off-topic and is dropped. The generator then answers confidently without the exception. The average hides it because most questions involve no conditions.
Fixes:
- Instruct and test the extractor to keep conditions, exceptions, dates and amounts, plus neighbouring sentences.
- Use coarser units for policy text: filter whole chunks or keep sentence windows instead of single sentences.
- Build an evaluation slice of condition-heavy questions and track correctness and faithfulness on it, not only the average.
- Re-check the trade-off: if 60% fewer tokens are not worth 700 ms, a reranker with a smaller top-k may be simpler.
Why the other answers fail: the symptom is missing conditions, not invented text, and abstractive summaries drop qualifiers too while adding hallucination risk. The context became shorter, so position effects shrank, and reordering cannot restore deleted sentences. Compressing harder drops more qualifiers, and the added latency comes from the extractor call, not prompt length.
Interview tip: name the trade-off in one line, "compression saves tokens but adds latency and can delete qualifiers", and say you would evaluate it on a slice of exception-heavy questions.