arXiv Machine Learning By Yingjie Tan, Haiquan Qiu, Quanming Yao, Manyi Zhong, Xianzhi Yu, Yaqing Wang

QRAE: Query-Relevant Attention Entropy for Context Compression in DeepSearch Agents

Read the original on arXiv Machine Learning →

The paper introduces Query-Relevant Attention Entropy (QRAE), an online method for compressing context in DeepSearch LLM agents. QRAE uses sparse evidence-assessment heads to evaluate retrieved chunks, scoring them with a paired prefill approach that suppresses shared attention and measures entropy. High-scoring chunks are kept in a persistent whitelist for reasoning, while uncertain ones are cached for later reevaluation, eliminating the need for extra generative compression or attention modifications. Experiments on DeepSearch benchmarks show QRAE improves task success by 2.35 percentage points and cuts latency and token usage by 30% and 45% on average, with benefits extending to a 100‑B‑parameter model.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Oct 16

QREF: Improving DeepSearch Agents by Aligning Search with Reasoning via Query Refinement and Evidence Filtering

QREF is a plug‑and‑play system that improves DeepSearch agents by refining search queries to match the current reasoning intent and filtering evidence to keep only what is relevant. The Query Refiner rewrites queries for complementary coverage across each search batch, while the Evidence Filter removes distracting retrieval results. Experiments show that QREF boosts DeepSearch performance on four benchmarks, achieving significant Pass@1 gains and dramatically reducing ineffective query batches without changing the agents’ architectures or retraining their reasoning policies.

By Yujia Chen, Yuhui Wang, Junzhe Wang, Shihan Dou, Di Liang, Yujiong Shen, Yuhao Zhou, Zhiheng Xi, Ming Zhang, Senjie Jin, Jiayi Chen, Dingwei Zhu, Yajie Yang, Yuan Hua, Chenyao Lu, Tao Gui, Qi Zhang, Xuanjing Huang
Hugging Face Trending Papers
Nov 12

Beyond Compressing Everything: Contrastive Memory Learning for Selective Context Compression

The paper introduces CoMem, a query‑guided selective context compression framework that learns memory representations conditioned on both the document and the query. CoMem employs Contrastive Compressor Learning and a same‑context hard negative mining strategy to retain query‑specific evidence while preserving overall context, and it enables bidirectional attention among memory slots to overcome causal masking limitations. Experiments show that CoMem consistently outperforms existing context compression methods on question answering and RULER‑NIAH benchmarks across various compression ratios.

arXiv AI
Nov 14

Beyond Compressing Everything: Contrastive Memory Learning for Selective Context Compression

The paper introduces CoMem, a query‑guided selective context compression framework that learns memory representations conditioned on both the document and the query. CoMem employs Contrastive Compressor Learning and a same‑context hard negative mining strategy to retain only query‑relevant evidence, while enabling bidirectional attention among memory slots to overcome causal masking. Experiments show that CoMem outperforms existing context compression methods on question answering and RULER‑NIAH benchmarks across various compression ratios.

By Sikui Zhang, Haowei Liu, Ziyun Gan, Chunfeng Yuan, Guangze Gao, Nian Liu, Boyu Cai, Bo Li, Xiaolei Lv, Jun Gao, Bing Li, Weiming Hu
arXiv Machine Learning
Oct 3

Retrieval from Within: An Intrinsic Capability of Attention-Based Models

The paper introduces INTRA, an attention-based encoder-decoder framework that retrieves directly from its own internal representations instead of using an external retriever. By having decoder attention query pre-encoded evidence chunks, INTRA unifies retrieval and generation, eliminating the typical mismatch seen in retrieval-augmented generation pipelines. Experiments on question-answering benchmarks show that INTRA outperforms strong engineered retrieval pipelines in both evidence recall and overall answer quality.

By Elad Hoffer, Yochai Blau, Edan Kinderman, Ron Banner, Daniel Soudry, Boris Ginsburg