Skip to main content
QUICK REVIEW

[Paper Review] ReFilter: Improving Robustness of Retrieval-Augmented Generation via Gated Filter

Yixin Chen, Ying Xiong|arXiv (Cornell University)|Feb 13, 2026
Topic ModelingComputer Science0 citations
TL;DR

ReFilter introduces token-level filtering and gated fusion for RAG, improving robustness and efficiency when integrating many retrieved candidates across general and biomedical QA, with strong in-domain and zero-shot out-of-domain performance.

ABSTRACT

Retrieval-augmented generation (RAG) has become a dominant paradigm for grounding large language models (LLMs) with external evidence in knowledge-intensive question answering. A core design choice is how to fuse retrieved samples into the LLMs, where existing internal fusion approaches broadly fall into query-based fusion, parametric fusion, and latent-based fusion. Despite their effectiveness at modest retrieval scales, these methods often fail to scale gracefully as the number of retrieved candidates k increases: Larger k improves evidence coverage, yet realistic top-k retrieval inevitably contains irrelevant or redundant content and increases the inference cost. To address these limitations, we propose ReFilter, a novel latent-based fusion framework that performs token-level filtering and fusion. ReFilter consists of three key components: a context encoder for encoding context features, a gated filter for weighting each token, and a token fusion module for integrating the weighted token feature into the LLM's hidden states. Our experiments across four general-domain QA benchmarks show that ReFilter consistently achieves the best average performance under both in-domain adaptation and out-of-domain transfer. ReFilter further generalizes to five biomedical QA benchmarks in zero-shot transfer without domain fine-tuning, reaching 70.01% average accuracy with Qwen2.5-14B-Instruct.

Motivation & Objective

  • Address the scalability bottleneck in RAG where increasing top-k retrieval degrades QA performance due to noisy evidence.
  • Propose ReFilter, a latent-based fusion module that filters tokens and fuses weighted token features into the LLM.
  • Demonstrate robustness and efficiency gains across in-domain adaptation and out-of-domain transfer, including zero-shot biomedical QA.
  • Show generalization across model scales and domains, including biomedical QA transfer using general training.

Proposed method

  • Use a context encoder to convert retrieved chunks into context embeddings in the LLM hidden space.
  • Apply a gated filter to compute per-token importance scores conditioned on the LLM decision state.
  • Fuse weighted token features into a specific LLM layer via a token fusion module with a learnable strength α.
  • Train with supervised QA data using teacher-forcing and a gate sparsity regularization to encourage selective evidence use.
  • Optionally cache chunk features for efficiency and enable batching without long input prompts.

Experimental results

Research questions

  • RQ1Can token-level filtering and gated fusion improve RAG robustness to noisy or redundant retrieved content as top-k grows?
  • RQ2Does ReFilter maintain or improve QA performance under in-domain adaptation and out-of-domain transfer, including biomedical domains?
  • RQ3How does ReFilter compare to prompt-based and parameter-based fusion methods in terms of performance, efficiency, and robustness?
  • RQ4What is the contribution of token-level masking and gating to overall performance and robustness?
  • RQ5Is ReFilter effective across multiple backbone models and scales?

Key findings

  • ReFilter achieves the best average performance across four general-domain QA benchmarks under both in-domain adaptation and out-of-domain transfer.
  • Zero-shot biomedical QA transfer with Qwen2.5-14B-Instruct reaches 70.01% average accuracy, beating baselines.
  • Ablation shows token-level attention (mask) is the most impactful component, with notable degradation when removed.
  • ReFilter maintains efficiency, offering competitive latency and storage costs compared to baselines, and scales across model sizes.
  • In robustness tests, ReFilter exhibits less sensitivity to top-k variations and noise than S-RAG, PRAG, and DyPRAG.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.