arXiv:2609.08217cs.CVSep 2026

Manuscript Offprint

arXiv:2609.08217

Drive by Hindsight and Foresight: Tool-Grounded Synergistic Reasoning over Hierarchical Memory for Autonomous Driving

Baojie Chen, Zijun Jia, Jing Zhong

Abstract

Vision-language models (VLMs) have shown promise for autonomous driving tasks, yet still suffer from hallucination, weak spatio-temporal perception, and limited generalization. Recent methods improve reasoning and decision-making capabilities through chain-of-thought explanations, retrieval-augmented generation or the static incorporation of external tool outputs. Although these mechanisms enrich the initial context, the model neither proactively perceives scene information nor accumulates experience after answering. To overcome these limitations, we present, to our knowledge, the first synergistic framework that tightly couples hierarchical memory with proactive tool invocation in a closed reasoning loop. Our contributions are threefold. (i) Hierarchical Driving Memory: a scene-level short-term memory maintains the dynamic scene state, and an evolving long-term memory retrieves reusable experience and tool strategies by similarity. (ii) Memory-Tool Synergistic Reasoning Framework: guided by the scene state and retrieved experience, the model adaptively invokes tools to refine its reasoning at inference time and consolidates reusable experience into a long-term memory pool offline. (iii) Data Generation and Two-stage Training Pipeline: verified memory-tool trajectories built by multi-step teacher rollout are used to train with stepwise supervised fine-tuning (SFT) and group relative policy optimization (GRPO). Our 7B model reaches an overall reasoning score of 80.03 and MCQ accuracy of 79.09% on DriveLMM-o1 benchmark, surpassing the strongest baseline by 7.74 MCQ points and generalizes strongly across DriveM-LLM and STRIDE-QA benchmarks. Notably, ablation and analysis studies validate the effectiveness of each component and further reveal the complementary roles of hierarchical memory. Short-term memory strengthens spatiotemporal understanding, improving STSBench accuracy by 24.2 points, while offline long-term memory consolidation yields an additional 3.57-point MCQ gain with all model parameters frozen, demonstrating continual self-evolution through accumulated driving experience.

1 Introduction

Pretrained vision-language models have enabled their growing adoption in autonomous driving (Tian et al. 2024; Hwang et al. 2025; Jiang et al. 2024; Fu et al. 2025; Wang et al. 2025b), and are increasingly used for driving scene understanding, high-level behavior decisions, and decision explanation (Jiang et al. 2024; Mao et al. 2024). Among these ap-

Figure

Figure 1: Comparison of reasoning paradigms for autonomous driving: (a) A base VLM directly maps visual inputs to answers; (b) CoT unfolds direct prediction into guided intermediate reasoning steps; (c) RAG augments reasoning with retrieved external context; (d) Previous tool-augmented methods inject pre-computed tool outputs into single-pass reasoning; and (e) Our framework couples hierarchical memory with online tool interaction and offline experience consolidation.

plications, autonomous driving reasoning benchmarks provide a natural testbed for evaluating whether VLMs can transform visual observations into interpretable scene understanding and driving decisions. (Marcu et al. 2024; Xie et al. 2025; Ishaq et al. 2025).

Existing efforts proceed largely along three routes: unfolding the observation into step-by-step explanations via chain-of-thought (CoT) for better transparency and interpretability (Ishaq et al. 2025; Zeng et al. 2025); splicing the outputs of driving tools into the prompt or context to supplement external observations (Qian et al. 2025; Zheng et al. 2025); or injecting knowledge via retrieval-augmented generation (RAG) (Yuan et al. 2024; Ye et al. 2025; Wang et al. 2025a). In all three, the model is either made to produce more elaborate explanations from templates or to passively receive more information, the answers it produces and the information it receives keep growing, while its understanding does not evolve accordingly. Human driving follows a different pattern: a driving decision is not a one-shot recog-

∗^{*}Corresponding author.

nition of a static frame but a unified process of active perception, spatio-temporal understanding, and experience accumulation. A driver relies on foresight to keep track of the motion trends of the ego vehicle and key objects over time, and on hindsight to draw on transferable experience accumulated through long-term driving, judging which risks to prioritize and which actions to take in the current situation. Against this reference, what current methods lack becomes clear: no dynamic scene state that evolves with observations, no driving experience consolidated across scenes, and no active evidence-seeking driven by evidence gaps. This gap motivates the central question of this paper: Can a reasoning model for autonomous driving capture the key characteristics of human driving foresight and hindsight by integrating spatio-temporal awareness, proactive perception, and experience accumulation within a unified closed-loop reasoning framework?

To this end, we propose a tool-grounded synergistic reasoning framework over hierarchical memory. Scene-level short-term memory maintains the current spatio-temporal state, while cross-scene long-term memory retrieves experience as transferable priors. Conditioned on hierarchical memory, the model proactively invokes tools to acquire information. Across three driving benchmarks, our 7B model outperforms the strongest baseline and generalizes robustly without further training. Controlled studies further show that short-term memory improves STSBench accuracy by 24.2 points, while offline long-term memory consolidation provides an additional 3.57-point MCQ gain without updating model parameters. More broadly, these results point to a shift in autonomous-driving VLM research: from scaling static perception and isolated reasoning toward persistent, interactive driving intelligence that can evolve with evidence and experience. Our contributions are summarized as follows:

  • (1) We develop a hierarchical driving memory combing scene-level short-term memory for maintaining spatio-temporal states with cross-scene long-term memory for retrieving reusable driving experience and strategies.

  • (2) We propose a memory-tool synergistic reasoning (MTSR) framework which unifies foresight and hindsight by coupling adaptive tool use with hierarchical memory at inference time and consolidates verified experience into long-term memory offline.

  • (3) We build a data-generation and two-stage post-training pipeline that produces verified memory-tool trajectories through multi-step teacher rollouts and trains the model with stepwise supervised fine-tuning (SFT) and group relative policy optimization (GRPO).