Cross-Modal Memory Compression for Efficient Multi-Agent Debate
Jing Wu, Yue Sun, Tianpei Xie, Suiyao Chen, Jingyuan Bao, Yaopengxiao Xu, Gaoyuan Du, Inseok Heo, Alexander Gutfraind, Xin Wang
TL;DR
This work tackles the token-growth problem in multi-agent debate (MAD) by introducing DebateOCR, a cross-modal framework that renders long textual histories as fixed-size images processed by a vision encoder and an adapter to generate vision tokens. The two-phase approach first trains a lightweight adapter to map SAM-CLIP features into the target LLM embedding space, then performs online rendering of debate histories into 1024×1024 images whose features are compressed into a fixed number of vision tokens, reducing total tokens from $O(K^2 R^2 L)$ to $O(KRN)$. Theoretical analysis based on the Information Bottleneck shows that, with diverse agents and sufficient per-agent information preservation, compressed histories concentrate near the bottleneck while artifact information is suppressed, enabling robust decisions from aggregated views. Empirically, DebateOCR achieves token reductions over 92% and meaningful speedups while maintaining or improving accuracy on GSM8K, MATH, and GPQA across multiple vision-language backbones, demonstrating scalability and practical impact for cross-modal MAD systems.
Abstract
Multi-agent debate can improve reasoning quality and reduce hallucinations, but it incurs rapidly growing context as debate rounds and agent count increase. Retaining full textual histories leads to token usage that can exceed context limits and often requires repeated summarization, adding overhead and compounding information loss. We introduce DebateOCR, a cross-modal compression framework that replaces long textual debate traces with compact image representations, which are then consumed through a dedicated vision encoder to condition subsequent rounds. This design compresses histories that commonly span tens to hundreds of thousands of tokens, cutting input tokens by more than 92% and yielding substantially lower compute cost and faster inference across multiple benchmarks. We further provide a theoretical perspective showing that diversity across agents supports recovery of omitted information: although any single compressed history may discard details, aggregating multiple agents' compressed views allows the collective representation to approach the information bottleneck with exponentially high probability.
