XMind: Thinking Twice via Cross-Memory Reasoning for LLM-Based Autonomous Driving
Zuyi Guo, Xianjie Dai, Lei Yang, Xiaocong Zhao, Jingguang Li, Kitae Jang, Heye Huang
Abstract
Memory-augmented large language model (LLM) driving agents can reuse past experience, yet previously learned corrections often fail to transfer when traffic conditions change. A key limitation is that existing memories mainly record observed outcomes, providing little evidence about alternative actions. We introduce XMind, a training-free framework that enables LLM-based driving to "Think Twice" through cross-memory reasoning. XMind integrates working memory of recent traffic states with episodic memory of critical risk events. The agent first makes an initial decision from the current context and then cross-checks it against retrieved historical experience. If a conflict arises, it makes a second decision guided by the retrieved evidence. To construct reliable episodic memory, XMind evaluates alternative actions through counterfactual rollouts under perturbed traffic conditions and stores the verified outcomes as structured risk capsules. These capsules are retrieved by jointly matching spatial risk patterns and scenario semantics. Across closed-loop highway simulations, XMind achieves success rates of 83.3-93.3%, exceeding the strong baseline by 6.6 percentage points on average. Evaluation on K-Risk further demonstrates lower decision risk on unseen real-world high-risk interactions. Ablation studies confirm the complementary benefits of working memory, risk-text retrieval, and counterfactual verification. Code is available at https://github.com/xiangxiangliuwo/XMind
Create a lesson
Metadata
- Comments
- 9 pages, 3 figures
Related papers
GeoSurge: Geometry-Grounded Multimodal Reasoning for Auditable Liver Resection Planning
Shared title terminologycs.AIWenjie Deng, Zijian Tu, Xueyin Zhou et al.
Refining and Aligning Clinical Reasoning with Health Guidelines via Formal Constraints
Shared title terminologycs.AIXiaoyang Fan, Yufan Cai, Zhe Hou et al.
CoverMem: Coverage-Constrained Visual Memory for Budgeted Embodied Question Answering
Shared title terminologycs.AIRuijie Ma, Haoyue Liu, Mingda Zhang et al.
From Memory Access to Evidence Sufficiency: Diagnosing and Addressing Demand--Evidence Misalignment
Shared title terminologycs.AIShiyao Liu, Yixing Fan, Ruqing Zhang et al.
Cheap Memory Costs Future Compute: Co-Designing Persistent KV and GPU Execution for Efficient Streaming Video Diffusion
Shared title terminologycs.AIJian Yang, Zhizhuo Kou, Qiyuan Zhu et al.
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.