Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk6 min

What Retrieval Still Hasn’t Decided: Rerank, Filter, Compress, or Deduplicate?

Retrieval returns candidates, not a judgment about what answers the question. Learn how reranking, filtering, compression, and deduplication make different decisions—and where each can fail.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Retrieval gives an LLM candidate documents; it does not decide which candidates actually support an answer, which passages matter, or whether the answer is present at all. Those are separate post-retrieval decisions. Reranking changes order, filtering changes membership, compression selects text within a document, and deduplication checks whether a candidate adds evidence already selected. Choose the operation that matches the problem—and treat every result as limited by what retrieval found.

What is still undecided after retrieval?

Consider the query “how long are logs retained?” The sentence “This section explains the log retention period” is on topic but supplies no duration. “Logs are retained for 30 days” contains a direct answer, while “Audited logs are kept for one year” adds an exception. These are illustrative examples, not retention guidance.

As an Amazon Associate I earn from qualifying purchases.

A retrieval system can return all three kinds of text. It takes further judgments to decide what to read first, what to keep, what to extract, and whether another result repeats existing evidence. These operations are not interchangeable: one can improve ordering without removing anything, while another can remove an apparently relevant result because it contains no usable evidence.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do reranking, filtering, compression, and deduplication differ?

Operation Question it answers What changes Best fit and main caveat
Rerank How related is each candidate to the question? Candidate order. Use when the answer may already be in the set but is not near the top. It cannot add missing information, and a heading may outrank a concrete answer if the judgment is relevance alone.
Filter Does this candidate contain concrete information usable to answer? Which candidates survive. Use to remove on-topic but empty results. A threshold is a keep-or-drop rule, not a ranking. Filtering only after a top-N cutoff can miss useful candidates excluded by that earlier cutoff.
Compress Which sentences or lines in a long document matter to this question? Selected original text within a document. Use to reduce downstream context. Dropping a condition, exception, or referent can change meaning, and the selection may choose the wrong text units.
Deduplicate Does this candidate add evidence beyond what has already been selected? Redundant candidates are removed. Consider when a corpus is dominated by reposts or paraphrases. In the described exploration, deduplication was not shipped because its additional judgments did not produce a worthwhile gain.

The practical distinction is both order versus membership and document versus passage. Reranking changes what appears first; filtering changes what remains. Filtering evaluates candidates as a whole, while compression selects portions of their contents. Deduplication compares candidates against evidence already retained and can require many more judgments.

What did the reported evidence-filtering experiment find?

For an exploratory test, Shinsuke Kagawa labeled 220 candidates across 11 deliberately difficult queries for whether they contained evidence. With no more than five candidates per query and a filter threshold of 0.5, the reported comparison was:

Method Results returned Results judged to contain clear evidence
Plain relevance reranking 55 22
Evidence filtering in input order 39 20
Sort by evidence score, then filter 39 29

The score-sorted variant retained the most clear-evidence candidates in this comparison. The implementation described as shipped preserves input order instead, respecting the retriever’s ranking but retaining fewer evidence-bearing candidates in this run. Sorting by evidence score makes that score govern both selection and order. The labels were generated by Codex before it saw Jev’s scores; they are not multi-annotator ground truth, so the counts are exploratory rather than a general performance guarantee. See Kagawa’s article for the experiment and its context.

What did the compression test establish—and what did it not?

On 40 answerable SQuAD 2.0 questions, the prototype reduced 31,440 characters of source text to 8,290 and preserved the published answer span in 38 cases. This is a character reduction and answer-span preservation result, not a token count or an end-answer accuracy score. It also does not show that every surrounding condition survived.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The reported failures illustrate why a compact extract needs scrutiny: one necessary sentence scored too low and was dropped; in another case, a split after a person’s initial meant the full name did not survive. Keeping the original text alongside the extract makes such losses inspectable. If reducing context is the goal, downstream processing can use the compressed field while the original remains available for checking.

Can reranking improve a retrieval result?

Kagawa’s retrieval comparison used mcp-local-rag over 59 arXiv papers (27,563 chunks), with 36 queries and 20 retrieved candidates per query. Jev reranking changed the top result for 31 of 36 queries and replaced an average of 2.92 items in the top five. Fusion with retriever distance changed the top result for 8 of 36 and replaced an average of 1.08 top-five items.

Those figures measure changes in ordering, not improvement by themselves. Independent language-model evaluators assessed answer-supporting candidates on smaller, different query subsets; their average counts favored Jev reranking over retriever-only results in those samples. One query produced disagreement about source diversity. The author observed that headings, titles, figure captions, and bibliography lines often matched query terms without carrying answer information. Latency and cost were not measured. The account and its qualifications are in the article’s retrieval comparison.

The project README separately reports BM25 reranking results on three BEIR datasets:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Dataset BM25 nDCG@10 before reranking Project-reported nDCG@10 after reranking
SciFact 0.68 0.76–0.77
NFCorpus 0.27 0.33
FiQA 0.24 0.36–0.37

These are project-reported benchmark values, distinct from the exploratory tests above. The README discusses setup, candidate depth, run-to-run variation, and limitations; the figures are not an independent replication or a promise for a particular corpus. See the jev-reranker README.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How should you apply these operations in a pipeline?

  1. Check candidate coverage first. Confirm that the retrieved set contains material capable of answering the question. A reranker or filter cannot recover evidence that is absent.
  2. Choose ordering or removal deliberately. If useful evidence may be buried, rerank. If candidates are on topic but empty, filter. Do not mistake a filter threshold for a relevance score or assume filtering will preserve the retriever’s top results.
  3. Use compression only where document length warrants it. Select original sentences or lines, then retain the source text for inspection. Verify conditions, exceptions, names, and other context that could be lost at unit boundaries.
  4. Evaluate on the intended task. Separate order changes, evidence-bearing candidate counts, character reduction, and answer quality. Compare with the same corpus, query set, candidate depth, and evaluation method; none of those measures can stand in for all the others.
  5. Check privacy, latency, and cost boundaries. The described compression process judges sentence or line units with the full parent document available; long documents may need multiple batches, and the full text is sent again with each batch. The article says the question and selected text go to an external API. A local retrieval system therefore does not itself ensure local post-processing.

What are the implementation limits?

The described filter keeps candidates with evidence scores of at least 0.5 by default, preserves their input order, and can be configured with a different threshold. If no candidate meets the threshold, it returns an empty result rather than backfilling. Treat 0.5 as a starting point to tune against your own data. Filtering for body evidence is also a poor fit when the desired result is itself a title or citation, as in some searches for papers.

Compression judges sentence or line units with the full parent document available to help preserve referents and conditions, then extracts the original wording rather than rewriting it. Longer documents can require multiple batches, with the full text sent in each batch; context saved downstream must be weighed against selection cost and latency. The described Jev API receives the question and selected text, so using local retrieval alone does not guarantee that post-retrieval processing stays on-device or within your environment. Implementation details are described in the article.

Why does evidence in the results still not prove the question is answerable?

Reranking and filtering operate only on retrieved candidates. Even if one or more passages survive as evidence, a compound question may ask for multiple facts and have support for only some of them. The caller still needs to check which parts remain unanswered, search again when appropriate, or state what is missing rather than treating a full candidate list as proof of a complete answer. The article’s concise warning is: “Evidence surviving is also not the same as the whole question being answerable.” (Shinsuke Kagawa)

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.