ATACompressor: Adaptive Task-Aware Compression for Efficient Long-Context Processing in LLMs

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Li, Xuancheng, Li, Haitao, Zhou, Yujia, Ai, Qingyao, Liu, Yiqun
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912871829471232
author Li, Xuancheng
Li, Haitao
Zhou, Yujia
Ai, Qingyao
Liu, Yiqun
author_facet Li, Xuancheng
Li, Haitao
Zhou, Yujia
Ai, Qingyao
Liu, Yiqun
contents Long-context inputs in large language models (LLMs) often suffer from the "lost in the middle" problem, where critical information becomes diluted or ignored due to excessive length. Context compression methods aim to address this by reducing input size, but existing approaches struggle with balancing information preservation and compression efficiency. We propose Adaptive Task-Aware Compressor (ATACompressor), which dynamically adjusts compression based on the specific requirements of the task. ATACompressor employs a selective encoder that compresses only the task-relevant portions of long contexts, ensuring that essential information is preserved while reducing unnecessary content. Its adaptive allocation controller perceives the length of relevant content and adjusts the compression rate accordingly, optimizing resource utilization. We evaluate ATACompressor on three QA datasets: HotpotQA, MSMARCO, and SQUAD-showing that it outperforms existing methods in terms of both compression efficiency and task performance. Our approach provides a scalable solution for long-context processing in LLMs. Furthermore, we perform a range of ablation studies and analysis experiments to gain deeper insights into the key components of ATACompressor.
format Preprint
id arxiv_https___arxiv_org_abs_2602_03226
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ATACompressor: Adaptive Task-Aware Compression for Efficient Long-Context Processing in LLMs
Li, Xuancheng
Li, Haitao
Zhou, Yujia
Ai, Qingyao
Liu, Yiqun
Computation and Language
Artificial Intelligence
Long-context inputs in large language models (LLMs) often suffer from the "lost in the middle" problem, where critical information becomes diluted or ignored due to excessive length. Context compression methods aim to address this by reducing input size, but existing approaches struggle with balancing information preservation and compression efficiency. We propose Adaptive Task-Aware Compressor (ATACompressor), which dynamically adjusts compression based on the specific requirements of the task. ATACompressor employs a selective encoder that compresses only the task-relevant portions of long contexts, ensuring that essential information is preserved while reducing unnecessary content. Its adaptive allocation controller perceives the length of relevant content and adjusts the compression rate accordingly, optimizing resource utilization. We evaluate ATACompressor on three QA datasets: HotpotQA, MSMARCO, and SQUAD-showing that it outperforms existing methods in terms of both compression efficiency and task performance. Our approach provides a scalable solution for long-context processing in LLMs. Furthermore, we perform a range of ablation studies and analysis experiments to gain deeper insights into the key components of ATACompressor.
title ATACompressor: Adaptive Task-Aware Compression for Efficient Long-Context Processing in LLMs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2602.03226