Home / Current Issue / Paper 1725684
Task-Aware Context Compression for Long-Term AI Conversations: A Review and Conceptual Framework
Subject area: Science,Engineering and Technology · Area of research: Artificial Intelligence and NLP
Abstract
—Large language model (LLM)-based assistants increasingly support extended, multi-session conversations. As interaction histories grow, repeatedly supplying the entire history becomes computationally expensive and may introduce irrelevant information into the model’s context. Compression and memory methods attempt to reduce this burden, but aggressive reduction can remove details that become important in later interactions. This paper studies task-aware context compression for long-term AI conversations. It reviews prompt compression, conversational memory construction, retrieval-based memory, and long-horizon agent context optimization. The review examines representative approaches including LLMLingua-2, LoCoMo, LongMemEval, SeCom, R3Mem, embedding-based context compression, and ACON. The literature indicates that compression quality should not be judged only by token reduction; downstream recall, temporal reasoning, knowledge updates, retrieval reliability, and task success are also important. Based on the review, the paper outlines a possible research direction: a decision- and constraint-aware memory policy that allocates a limited token budget to facts, active requirements, decisions, updates, and their temporal relationships. This is presented as a proposed direction, not as a completed or experimentally validated method. A defensible novelty claim requires further systematic comparison with the latest work.
Keywords
large language models, context compression, conversational memory, long-term dialogue, semantic importance, retrieval, token budget
References
[1] A. Maharana, D.-H. Lee, S. Tulyakov, M. Bansal, F. Barbieri, and Y. Fang, “Evaluating very long-term conversational memory of LLM agents,” in Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), 2024, pp. 13851–13870. https://doi.org/10.18653/v1/2024.acl-long.747
[2] D. Wu, H. Wang, W. Yu, Y. Zhang, K.-W. Chang, and D. Yu, “LongMemEval: benchmarking chat assistants on long-term interactive memory,” in International Conference on Learning Representations (ICLR), 2025.
[3] H. Jiang, Q. Wu, C.-Y. Lin, Y. Yang, and L. Qiu, “LLMLingua: compressing prompts for accelerated inference of large language models,” in Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2023.
[4] H. Jiang, Q. Wu, X. Luo, D. Li, C.-Y. Lin, Y. Yang, and L. Qiu, “LongLLMLingua: accelerating and enhancing LLMs in long context scenarios via prompt compression,” in Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), 2024.
[5] Z. Pan, Q. Wu, H. Jiang, M. Xia, X. Luo, J. Zhang, Q. Lin, V. Rühle, Y. Yang, C.-Y. Lin, H. V. Zhao, L. Qiu, and D. Zhang, “LLMLingua-2: data distillation for efficient and faithful task-agnostic prompt compression,” in Findings of the Association for Computational Linguistics: ACL 2024, 2024, pp. 963–981. https://doi.org/10.18653/v1/2024.findings-acl.57
[6] Z. Pan, Q. Wu, H. Jiang, X. Luo, H. Cheng, D. Li, Y. Yang, C.-Y. Lin, H. V. Zhao, L. Qiu, and J. Gao, “SeCom: on memory construction and retrieval for personalized conversational agents,” in International Conference on Learning Representations (ICLR), 2025.
[7] X. Wang, S. Wang, Y. Zhu, and B. Liu, “R3Mem: bridging memory retention and retrieval via reversible compression,” in Findings of the Association for Computational Linguistics: ACL 2025, 2025, pp. 4541–4557. https://doi.org/10.18653/v1/2025.findings-acl.235
[8] Y. Dai, J. Lian, Y. Huang, W. Zhang, M. Zhou, M. Wu, X. Xie, and H. Liao, “Pretraining context compressor for large language models with embedding-based memory,” in Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (ACL), 2025, pp. 28715–28732. https://doi.org/10.18653/v1/2025.acl-long.1394
[9] M. Kang, W.-N. Chen, D. Han, H. A. Inan, L. Wutschitz, Y. Chen, R. Sim, and S. Rajmohan, “ACON: optimizing context compression for long-horizon LLM agents,” in Proceedings of the 43rd International Conference on Machine Learning, PMLR, vol. 306, 2026, pp. 55321–55375.
[10] Y. Wang, Z. Wang, Y. Shi, S. Chen, X. Wang, Y. Wang, B. Shen, L. Li, X. Gu, J. McAuley, and D. D. Zeng, “Context compression for LLM agents: a survey of methods, failure modes, and evaluation,” in Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, 2026, pp. 54460–54488. https://doi.org/10.18653/2026.emnlp-main.2396
How to cite this paper
@article{1725684,
author = {Mrunalini Rajeshwar Sonawane, Prof. A. N. Pawar},
title = {Task-Aware Context Compression for Long-Term AI Conversations: A Review and Conceptual Framework},
journal = {Iconic Research And Engineering Journals},
year = {2026},
volume = {10},
number = {5},
pages = {7529-7539},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1725684.pdf},
abstract = {—Large language model (LLM)-based assistants increasingly support extended, multi-session conversations. As interaction histories grow, repeatedly supplying the entire history becomes computationally expensive and may introduce irrelevant information into the model’s context. Compression and memory methods attempt to reduce this burden, but aggressive reduction can remove details that become important in later interactions. This paper studies task-aware context compression for long-term AI conversations. It reviews prompt compression, conversational memory construction, retrieval-based memory, and long-horizon agent context optimization. The review examines representative approaches including LLMLingua-2, LoCoMo, LongMemEval, SeCom, R3Mem, embedding-based context compression, and ACON. The literature indicates that compression quality should not be judged only by token reduction; downstream recall, temporal reasoning, knowledge updates, retrieval reliability, and task success are also important. Based on the review, the paper outlines a possible research direction: a decision- and constraint-aware memory policy that allocates a limited token budget to facts, active requirements, decisions, updates, and their temporal relationships. This is presented as a proposed direction, not as a completed or experimentally validated method. A defensible novelty claim requires further systematic comparison with the latest work.},
keywords = {large language models, context compression, conversational memory, long-term dialogue, semantic importance, retrieval, token budget},
month = {November},
}