MemCompiler: Compile, Don't Inject -- State-Conditioned Memory for Embodied Agents
Xin Ding, Xinrui Wang, Yifan Yang, Hao Wu, Shiqi Jiang + 7 more
TLDR
MemCompiler dynamically compiles state-conditioned memory for embodied agents, improving performance and efficiency over static memory injection.
Key contributions
- Proposes MemCompiler, a novel State-Conditioned Memory Compilation paradigm for embodied agents.
- Dynamically selects and compiles relevant memory based on the agent's current "Brief State."
- Delivers guidance via both text and a latent Soft-Mem channel for perceptual information.
- Achieves up to +129% performance improvement and 60% latency reduction across multiple benchmarks.
Why it matters
Existing memory systems for embodied agents are static and inefficient, often degrading performance. MemCompiler's dynamic, state-conditioned compilation dramatically improves agent effectiveness and efficiency, marking a significant step towards more intelligent and responsive embodied AI.
Original Abstract
Existing memory systems for embodied agents typically inject retrieved memory as static context at episode start, a paradigm we term Ahead-of-time Monolithic Memory Injection (AMMI). However, this static design quickly becomes misaligned with the agent's evolving state and may degrade lightweight executors below the no-memory baseline. To address this, we propose MemCompiler, which reframes memory utilization as State-Conditioned Memory Compilation. A learned Memory Compiler reads a structured Brief State capturing the agent's current execution state and dynamically selects and compiles only relevant memory into executable guidance. This guidance is delivered through a text channel and a latent Soft-Mem channel that preserves perceptual information not expressible in text. Across Alf World, EmbodiedBench, and ScienceWorld, MemCompiler consistently improves over no-memory across open-source backbones (up to +129%), matches or approaches frontier closed-source systems, and reduces per-step latency by 60%, demonstrating that state-aware memory compilation improves both effectiveness and efficiency.
📬 Weekly AI Paper Digest
Get the top 10 AI/ML arXiv papers from the week — summarized, scored, and delivered to your inbox every Monday.