Overview
FAVICOMP is a training-free, inference-time method designed to improve Retrieval-Augmented Generation (RAG) by compressing retrieved evidence into a format that is "familiar" to the target language model. By utilizing ensemble decoding to combine a compression model with the target model, it achieves significant accuracy boosts while maintaining high compression rates and effectively blending external evidence with internal model knowledge.
The Challenge of Unfamiliar Evidence in RAG
Retrieval-Augmented Generation (RAG) is the standard mechanism for providing Large Language Models (LLMs) with access to external, up-to-date information. However, retrieved documents are frequently "noisy"—containing irrelevant or contradictory information that can distract the model from its primary task.
While researchers have developed "evidence compression" techniques to summarize these documents, a secondary problem arises: the compressed summary might be "unfamiliar" to the specific LLM used for the final task (the "target model"). This lack of familiarity, often caused by differences in training distributions or prompt preferences, leads to suboptimal performance. Furthermore, standard compression methods typically ignore the target model's own internal "parametric" knowledge, missing a critical opportunity to fill in gaps when retrieved evidence is incomplete.
The FAVICOMP Approach
To address these limitations, the authors propose FAVICOMP (FAmiliarity-aware EVIdence COMPression). Unlike traditional compressors that operate independently of the downstream task, FAVICOMP employs ensemble decoding at inference time.
Instead of relying solely on a compression model to generate a summary, FAVICOMP combines the token probability distributions of two distinct models:
- A Compression Model: Tasked with summarizing the retrieved evidence.
- The Target Model: Tasked with generating helpful context based on its internal knowledge.
The core mechanism relies on a weighting parameter, $\alpha$ (the ensemble coefficient). At each step of generating the compressed text, the system selects the next token by maximizing a weighted sum of the log-probabilities from both models. This ensures the resulting summary is grounded in the retrieved evidence while being written in a style (yielding lower perplexity) that the target model finds easy to process.
Performance and Key Insights
The researchers evaluated FAVICOMP across five diverse open-domain Question Answering (QA) datasets, including single-document tasks (Natural Questions, TriviaQA) and complex multi-hop tasks (HotpotQA, 2WikiMultiHopQA, MuSiQue).
- Familiarity equals Low Perplexity: The foundational intuition of FAVICOMP is that a model performs better when the input text has low perplexity relative to that model. By involving the target model in the compression process, FAVICOMP effectively "pre-digests" the evidence into a more familiar form.
- Superior Accuracy and Compression: FAVICOMP consistently outperformed state-of-the-art baselines like LongLLMLingua and CompAct. It achieved massive reductions in token counts (often 16x to 23x compression rates), significantly lowering the cost and latency of the final RAG generation step. On the MuSiQue dataset, it even outperformed "Gold Compression" (using ground-truth relevant documents), suggesting that integrating parametric knowledge is highly effective for multi-hop reasoning.
- Robustness to Irrelevant Evidence: When retrieved evidence is missing the necessary answer (Hits=0), FAVICOMP shines. Because it synergizes external text with the target model's internal knowledge, it can bridge informational gaps that traditional compressors cannot.
Limitations and Future Directions
While highly effective, FAVICOMP introduces computational overhead. Because it requires running two models simultaneously during the compression phase, it roughly doubles the computation and latency compared to using a single compression model. Additionally, standard ensemble decoding requires both models to share the same vocabulary and tokenizer, making the current implementation easiest when using models from the same family.
Future work will explore "model-agnostic" ensemble decoding, which would allow any compression model to be paired with any target model, regardless of underlying architecture or vocabulary constraints.
Summary updated