MMPact: Autonomous Multimodal Context Compaction for LLM Agents
Feng Luo, Yang Zhang, Yujian Liu, Shiyu Chang, Mayank Darbari, Liangjie Hong, Liang Wu
Abstract
LLM agents rely on context compaction to condense accumulating interaction trajectories into concise summaries for continued task execution within context limits. For multimodal agents, however, text-only summaries may discard visual details that are difficult to describe or whose relevance to follow-up tasks is not yet known. Retaining images with text can preserve these details, but requires deciding which images to retain and how to compress them within a limited token budget. In this paper, we propose MMPact, a Multi-Modal comPaction method that enables an LLM to autonomously decide what information to retain and how to represent it under a given token budget. To systematically evaluate the effectiveness of multimodal compaction, we further introduce TraVQA, a trajectory-based visual QA benchmark that measures information retention for current and follow-up tasks, with all evaluation questions hidden during compaction. Experiments show that MMPact adapts its modality choices and image compression to the budget, favoring text-only summaries under tight budgets and retaining more images with less downscaling under larger budgets. At the comprehensive budget level, MMPact improves follow-up QA accuracy over text-only summaries by up to 7.69% with Qwen3.8-Flash-Next and 5.53% with Qwen3.8-27B, while reducing multimodal summary tokens. Our code is available at https://github.com/UCSB-NLP-Chang/MMPact.
Create a lesson
Metadata
- Categories
- cs.CL, cs.CV
Related papers
BALANCER: Balanced Agentic Learning via Adaptive dyNamic Context ExtRaction for Hard Word Sense Disambiguation
Shared title terminologycs.CLDeshan Sumanathilaka, Nicholas Micallef, Julian Hough
Are All Models Multimodal? Linear Bridges Connect Frozen Models Within, Not Outside, Their Training Subspaces
Shared title terminologycs.CLGregory Kielian, Shenil Dodhia, Phan Douangphachanh et al.
MemRSI: Learning Self-Improving Memory Agents via Recursive Policy-Harness Evolution
Shared title terminologycs.CLLitong Liu, Tianxin Wei, Yuanchen Bei et al.
Simplicity is Enough: ReAct Agents for Prompt Optimization
Shared title terminologycs.CLAndrei Dumitrescu, Andrei C. Rusu, Adrian Catalin Badea et al.
Agent Learning from Single-Feedback Deployment Experience
Shared title terminologycs.CLRong-Xi Tan, Yizhuo Li, Wenjie Wang et al.
Federated Agentic RAG for Service Policy Consultation
Shared title terminologycs.CLZhiwei Li, Guodong Long, Allison Clarke et al.