Beyond Raw Observations: Distilling and Storing Invariant Driving Memories for Generalizable Autonomous Driving
Xue Zhao, Cewu Lu, Xinbing Wang, Nanyang Ye
Abstract. Modern end-to-end autonomous driving systems often suffer from fragile out-of-distribution (OOD) generalization and limited decision transparency, largely due to their reliance on raw sensory observations and susceptibility to spurious visual correlations. Although memory-augmented approaches have been explored to improve generalization, existing methods typically store raw observations, symbolic rules, or entangled latent features, making retrieval sensitive to surface-level similarity rather than decision-relevant driving structure. To address this limitation, we propose DriveMem, a plug-and-play framework that moves beyond raw observations by distilling and storing invariant driving memories for generalizable driving systems. DriveMem integrates two core components: Invariant Feature Abstraction that first distills perturbation-stable, decision-relevant representations from visual tokens, and Prototype Memory Bank that then stores and retrieves prototypical driving experiences grounded in invariant representations. Extensive open-loop and closed-loop experiments demonstrate that DriveMem improves OOD generalization and safety-related planning metrics across diverse unseen scenarios. Notably, under severe sensor disruptions, DriveMem achieves up to a 39.5% relative reduction in Collision Rate compared with a strong domain-generalization baseline. These results suggest that building prototype memory in an invariant representation space is a promising approach for improving robustness, while offering prototype-grounded traceability for model behavior.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
DriveMem combines invariant feature abstraction with a prototype memory bank to improve OOD robustness in e2e driving. The problem is important, the method is clearly presented, and the reported gains on benchmarks (nuScenes-C, NAVSIM, and Bench2Drive) are promising, especially under severe camera corruptions. The paper also includes useful component, memory-size, efficiency, and qualitative analyses.
The reviewers disagree on whether the current evidence clears the acceptance bar. The rebuttal should address four critical points:
- Clarify whether the main tables report single runs or averages, and provide paired per-seed results or uncertainty against the strongest baselines where available. Reporting three seeds only for DriveMem does not establish the significance of the comparison margins.
- Please explain what is gained specifically from invariant prototype retrieval beyond combining known consistency regularisation, orthogonal projection, prototype learning, and gated fusion. Existing matched-capacity, PMB-only, simpler-memory, or frozen/random-prototype controls would be sufficient; otherwise, narrow the claims.
- Correct or qualify the theory. The proof of Theorem C.5 appears to require an additional smoothness assumption on the source conditional label mechanism, and the implemented orthogonality loss is not directly shown to control the cross-covariance term used in Lemma C.3.
- Narrow the generalisation and interpretability claims. nuScenes-C primarily tests appearance and sensor corruptions, NAVSIM is non-reactive pseudo-simulation, and Bench2Drive adaptation uses labelled target-domain feedback. Please distinguish these settings and avoid implying demonstrated robustness to broader semantic or interaction shifts.
A convincing response on statistical reliability, contribution attribution, theoretical correctness, and claim scope could move the recommendation toward acceptance.
Final justification
The rebuttal mostly addressed the main concerns raised by reviewers. In particular, the authors added matched five-seed experiments showing consistent and statistically significant improvements over the strongest domain generalization baseline, as well as targeted ablations that isolate the complementary contributions of invariant feature abstraction and prototype memory. With the invariant representation fixed, matched capacity, random prototype, and simpler memory alternatives do not reproduce the gains of the proposed prototype memory mechanism.
The authors also corrected the theoretical analysis by adding the missing assumption and removing the unsupported connection between the implemented orthogonality objective and the theoretical cross-covariance term. They appropriately narrowed the generalization and interpretability claims to what is supported by the evaluated settings.
The individual components are not highly novel in isolation, and evidence for broader semantic and interaction level OOD generalization remains preliminary. Nevertheless, the combination is technically well motivated, the empirical improvements are meaningful and statistically supported, and the rebuttal provides substantially stronger evidence that the gains are attributable to the proposed invariant memory mechanism rather than additional capacity or an arbitrary memory component.
I therefore recommend Accept.
Read meta-review
Meta-review
DriveMem combines invariant feature abstraction with a prototype memory bank to improve OOD robustness in e2e driving. The problem is important, the method is clearly presented, and the reported gains on benchmarks (nuScenes-C, NAVSIM, and Bench2Drive) are promising, especially under severe camera corruptions. The paper also includes useful component, memory-size, efficiency, and qualitative analyses.
The reviewers disagree on whether the current evidence clears the acceptance bar. The rebuttal should address four critical points:
- Clarify whether the main tables report single runs or averages, and provide paired per-seed results or uncertainty against the strongest baselines where available. Reporting three seeds only for DriveMem does not establish the significance of the comparison margins.
- Please explain what is gained specifically from invariant prototype retrieval beyond combining known consistency regularisation, orthogonal projection, prototype learning, and gated fusion. Existing matched-capacity, PMB-only, simpler-memory, or frozen/random-prototype controls would be sufficient; otherwise, narrow the claims.
- Correct or qualify the theory. The proof of Theorem C.5 appears to require an additional smoothness assumption on the source conditional label mechanism, and the implemented orthogonality loss is not directly shown to control the cross-covariance term used in Lemma C.3.
- Narrow the generalisation and interpretability claims. nuScenes-C primarily tests appearance and sensor corruptions, NAVSIM is non-reactive pseudo-simulation, and Bench2Drive adaptation uses labelled target-domain feedback. Please distinguish these settings and avoid implying demonstrated robustness to broader semantic or interaction shifts.
A convincing response on statistical reliability, contribution attribution, theoretical correctness, and claim scope could move the recommendation toward acceptance.
Final justification
The rebuttal mostly addressed the main concerns raised by reviewers. In particular, the authors added matched five-seed experiments showing consistent and statistically significant improvements over the strongest domain generalization baseline, as well as targeted ablations that isolate the complementary contributions of invariant feature abstraction and prototype memory. With the invariant representation fixed, matched capacity, random prototype, and simpler memory alternatives do not reproduce the gains of the proposed prototype memory mechanism.
The authors also corrected the theoretical analysis by adding the missing assumption and removing the unsupported connection between the implemented orthogonality objective and the theoretical cross-covariance term. They appropriately narrowed the generalization and interpretability claims to what is supported by the evaluated settings.
The individual components are not highly novel in isolation, and evidence for broader semantic and interaction level OOD generalization remains preliminary. Nevertheless, the combination is technically well motivated, the empirical improvements are meaningful and statistically supported, and the rebuttal provides substantially stronger evidence that the gains are attributable to the proposed invariant memory mechanism rather than additional capacity or an arbitrary memory component.
I therefore recommend Accept.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes DriveMem, a framework designed to enhance the generalization of end-to-end driving systems by distilling and storing invariant driving memories. DriveMem consists of two key components: Invariant Feature Abstraction (IFA) and Prototype Memory Bank (PMB). IFA distills decision-relevant representations from visual tokens. PMB stores and retrieves prototypical driving experiences. The effectiveness of DriveMem is validated through both open-loop and closed-loop experiments, demonstrating improvements in safety-related planning metrics for Out-of-distribution (OOD) conditions.
Strengths and weaknesses
Strengths:
- This paper is well-organized, clearly written, and easy to follow.
- This paper provides extensive open-loop and closed-loop experiments.
- This paper provides intuitive visualizations that help understand the effects of the proposed method.
- The proposed method improves OOD generalization of E2E systems.
Weaknesses:
-
This paper defines OOD conditions as visual domain shifts (e.g., lighting, weather). The memory mechanism builds an invariant representation space to handle visual degradation. This assumes that while the environment looks different, the behavioral pattern remains stable. However, for downstream motion planning, the critical challenge is often a distribution shift in interaction behaviors caused by compounding errors. If the interaction pattern itself becomes OOD, will retrieving historical trajectory priors from the memory module introduce incorrect bias and planning risks?
-
In Table 1, the authors define samples with visual degradations as the "unseen OOD evaluation set." However, in E2E paradigms, these visual variations are well-covered in standard large-scale training datasets. Can these truly be considered "unseen OOD," or are they long-tail ID data?
-
The paper needs to introduce the main ideas of the domain generalization baselines used in Table 1, and explicitly discuss how the proposed method differs from them. Currently, Section A.3 (Related Work: Domain-Invariant Representation Learning) does not cover these specific baselines. It would be beneficial to expand Section A.3 to include this discussion so that readers can better understand the unique contribution of the proposed memory mechanism compared to existing approaches.
-
The proposed method introduces numerous hyperparameters, including the memory size K, the assignment sharpness parameter \tau, the percentile threshold, and various loss weights. Having this many hyperparameters raises concerns about the generalizability of DriveMem when integrated into different E2E models. Moreover, this paper currently lacks a thorough sensitivity analysis for these parameters. The authors should provide ablation studies or sensitivity analysis to demonstrate the impact of different hyperparameter configurations.
-
The main text only presents evaluation results using DiffusionDrive as the backbone. It remains unclear how well DriveMem generalizes across different driving systems. To demonstrate the generalizability of the proposed method, it is recommended that the authors validate DriveMem on more diverse backbones within the NAVSIM benchmark.
Questions
See weaknesses.
Limitations
Yes
Final justification
I keep my original recommendation for this paper.
Formatting concerns
None
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper addresses a critical challenge in E2E autonomous driving: the poor generalization of models to OOD scenarios, such as novel environments or adverse weather conditions. The authors argue that this fragility stems from the models' over-reliance on raw, high-dimensional sensory data (like images), which leads them to learn spurious correlations between visual appearance and driving actions. To solve this, they propose a framework inspired by how human drivers leverage past experiences. Instead of memorizing pixel-level details, DriveMem learns to abstract visual information into an invariant, decision-relevant representation space. It then stores recurring and critical driving patterns as prototypes in a memory bank. When faced with a new situation, especially one with corrupted or unfamiliar visual cues, the system can retrieve these robust prototypes to make more reliable and generalizable driving decisions. The paper demonstrates through extensive experiments that DriveMem significantly improves safety and performance in OOD conditions, most notably reducing collision rates by up to 39.5% under severe sensor failures compared to strong baselines.
- Proposed Solution: DriveMem is designed as a plug-in module for existing vision-based E2E driving models. It consists of two core components:
a) Invariant Feature Abstraction (IFA) The goal of IFA is to disentangle the visual input into two parts: a "spurious" part related to superficial appearance (e.g., weather, lighting) and an "invariant" part containing the essential information for making a driving decision (e.g., road layout, obstacle positions). It achieves this through:
- Invariant-Spurious Projection: It projects the visual features from a standard
perception model into two separate, orthogonal subspaces:
Z_inv(invariant) andZ_spu(spurious). The downstream planner is only allowed to useZ_inv, forcing it to rely on decision-relevant information. - Style-Perturbation Consistency: To teach the model what is truly invariant, it applies "style perturbations" to the visual features—simulating changes in appearance—and enforces that the model's output remains consistent. This encourages the model to ignore superficial visual changes.
b) Prototype Memory Bank (PMB) The PMB takes the purified invariant features from IFA and builds a compact, structured memory of driving experiences.
- Memory Storage: Instead of storing every single experience,
it learns a set of representative "prototypes" (
M). The update process is driven by two criteria:- Typicality: It stores common, recurring patterns (e.g., routine lane-following).
- Criticality: It also prioritizes difficult or high-loss scenarios to better cover challenging "long-tail" events.
- Prototype Refinement: The memory is further optimized to ensure it is compact and non-redundant by aligning prototypes with the principal directions of variation in the invariant feature space.
- Adaptive Fusion: During inference, the model queries the memory with the current invariant feature. It then retrieves the most relevant prototypes and uses a gating mechanism to adaptively fuse this retrieved memory with the live observation. This allows the system to rely more on its memory when the current sensory input is unreliable.
- Experiments and Results
The authors conduct a thorough evaluation across multiple benchmarks and settings.
-
nuScenes-C: On a benchmark designed to test robustness against various perceptual corruptions (e.g., camera crash, fog, motion blur), DriveMem significantly outperformed all baseline methods. The gains were most pronounced in severe degradation scenarios like "Camera Crash" and "Frame Lost," highlighting the benefit of the memory system when live observations fail.
-
NAVSIM: In a more realistic closed-loop simulation, DriveMem again showed superior performance on the OOD "navhard" split.
-
Ablation Studies: These studies confirmed that both the IFA and PMB components are crucial for the system's success. Furthermore, an analysis of memory size revealed a trade-off: larger memories can capture more scenarios but may also introduce noise, indicating that the quality of the learned prototypes is more important than sheer capacity.
-
Strengths and weaknesses
-
Strengths:
- Strong Motivation: The paper is well-motivated by the clear and critical problem of OOD generalization in autonomous driving and draws a compelling analogy to human cognition.
- Novel and Elegant Solution: The proposed DriveMem framework is a novel combination of invariant representation learning and an explicit memory mechanism. The design is elegant and effectively targets the root cause of the problem.
- Comprehensive Evaluation: The experiments are extensive, covering open-loop, closed-loop, and test-time adaptation scenarios with strong baselines. The results robustly support the paper's claims.
- Interpretability: By design, DriveMem offers a degree of traceability. A decision can be inspected by examining which prototypes were retrieved, providing example-based evidence for the model's behavior. This is a significant step forward from opaque black-box models.
-
Limitations: The paper is strong, but the authors are transparent about its limitations:
- Extreme Semantic Shifts: The current work focuses on robustness to appearance and sensor-level shifts. It is less equipped to handle drastic semantic shifts, such as entirely novel road topologies or traffic rules not seen during training.
- Retrieval Failures: The retrieval mechanism relies on proximity in the learned latent space. Under extremely severe distribution shifts, the live query feature may fall too far from any learned prototypes, leading to suboptimal retrieval and degraded performance.
-
Overall Conclusion This is an excellent and impactful paper that makes a significant contribution to the field of autonomous driving. By moving beyond raw observations and grounding its memory system in invariant representations, DriveMem presents a promising and principled path toward building more generalizable, robust, and interpretable E2E driving systems. The work is thorough, the results are convincing, and the ideas open up important avenues for future research. I recommend to accept.
Questions
None
Limitations
yes
Final justification
The author provided further clarification by additional ablations and experiments. The significance of the results provided on extreme semantic shifts is rather limited, since a much weaker baseline (VAD) is used. Overall the additional ablations are appreciated but do not resolve the limitations. Therefore I keep the rating.
Formatting concerns
No
1 comment
Rebuttal
We sincerely thank the reviewer for the thoughtful and highly positive assessment of our work. We greatly appreciate the recognition of DriveMem’s motivation, invariant prototype-memory design, comprehensive evaluation, and prototype-based traceability.
As for the limitations, we provide the following additional analyses.
L1. Extreme Semantic Shifts
We agree that fully open-set semantic changes remain beyond the current scope. Nevertheless, our additional results show that DriveMem more effectively mitigates the evaluated severe corruptions and exhibits preliminary potential under related unseen interaction types.
(1) Mitigation of severe visual corruptions. Under nuScenes-C, DriveMem consistently outperforms DiffusionDrive and DAC-SC:
| Method | OOD L2 ↓ | OOD Collision ↓ |
|---|---|---|
| DiffusionDrive | 0.9037 ± 0.0040 | 0.656 ± 0.008 |
| DAC-SC | 0.7807 ± 0.0070 | 0.350 ± 0.005 |
| DriveMem | 0.7463 ± 0.0034 | 0.284 ± 0.015 |
These results show that DriveMem provides stronger mitigation under severe appearance and sensor corruptions, although it cannot guarantee robustness when the observation becomes fundamentally uninformative.
(2) Preliminary semantic and interaction-shift analysis. We further conduct a zero-shot analysis on Bench2Drive. The model is trained on Town 1–5 and evaluated on unseen Town 6–15 without target-domain feedback. Among the 17 evaluated interaction types, 13 types occur in training and 4 types are absent. We denote the corresponding subsets as Seen-Behavior Cross-Town OOD and Unseen Interaction OOD.
| Driving Score ↑ | ID | Seen-Behavior Cross-Town OOD | Unseen Interaction OOD | Overall OOD |
|---|---|---|---|---|
| VAD | 32.57 | 28.90 | 21.14 | 27.09 |
| DriveMem | 37.22 | 34.79 | 25.07 | 32.52 |
DriveMem improves the Unseen Interaction OOD score from 21.14 to 25.07, a relative improvement of 18.6%. This provides preliminary evidence that DriveMem can transfer reusable latent driving patterns to interaction types absent from training. A plausible explanation is that, although these interaction types are unseen at the category level, they may still involve basic driving behaviors, such as braking, yielding, and maintaining safe distances, that occur in the training scenarios. Retrieved memory may therefore provide reusable guidance at the level of these basic behaviors. Future work will construct interaction-pattern OOD experiments by explicitly holding out specific interaction categories or combinations during training, enabling a more systematic evaluation of this direction.
L2. Retrieval Failures
To address potentially biased or misleading prototypes, DriveMem incorporates three complementary mechanisms:
- Typical-critical selection covers both recurring and difficult samples, reducing bias toward frequent and easy patterns.
- Prototype refinement reduces prototype redundancy and collapse, improving memory diversity and coverage.
- Soft retrieval and gated fusion avoid unconditional reliance on a single prototype and suppress mismatched memory features.
We further add two quantitative analyses of retrieval quality and failure behavior.
(1) Cross-domain retrieval consistency. We use 1,000 paired clean and snow-corrupted samples with unchanged driving content. For each pair, we compute the cosine distance between their retrieved memory features.
| Setting | Retrieval query space | Clean–Snow distance ↓ |
|---|---|---|
| DriveMem w/o IFA | Original feature space | 0.196 |
| DriveMem | IFA-induced feature space | 0.002 |
DriveMem reduces the clean-snow retrieval distance from 0.196 to 0.002, showing that learning and querying PMB in the IFA-induced space makes retrieval substantially more stable under severe appearance corruption.
This result is consistent with Figures 4 and 5. Figure 4 shows that visually different query and retrieved scenes can retain similar driving intents and interaction structures. Figure 5 shows that IFA reduces clean-corruption domain separation and produces more compact cross-domain alignment.
(2) Misleading-memory test. We replace the retrieved feature with a randomly selected non-matching prototype:
- Full DriveMem: normal retrieval with learned adaptive fusion.
- DriveMem w/o Retrieved Memory: bypasses the retrieved memory.
- Misleading Memory w/o Adaptive Gate: uses a non-matching prototype and a fixed fusion weight calibrated from the average normal gate.
- Misleading Memory w/ Adaptive Gate: uses the same incorrect prototype but retains the learned adaptive gate.
| Setting | Snow L2 ↓ |
|---|---|
| Full DriveMem | 0.7676 |
| DriveMem w/o Retrieved Memory | 0.7886 |
| Misleading Memory w/o Adaptive Gate | 0.8001 |
| Misleading Memory w/ Adaptive Gate | 0.7866 |
Removing memory increases L2 from 0.7676 to 0.7886, demonstrating that normal retrieval provides a positive aggregate contribution. Injecting incorrect memory increases L2 to 0.8001 with fixed fusion, confirming that misleading retrieval can introduce planning risk. Under the identical incorrect prototype, the learned gate reduces L2 to 0.7866, recovering 41.6% of the induced degradation.
These additional analyses show that DriveMem produces stable and beneficial retrieval under the evaluated shifts, while adaptive gated fusion partially mitigates misleading memory. Nevertheless, retrieval failures cannot be completely eliminated: extremely severe corruption still remove sufficient information for reliable query-prototype matching, as illustrated by the added failure cases in Figure 7.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- use_inspired
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes DriveMem, a memory-augmented framework for improving OOD generalization in vision-based end-to-end autonomous driving. The method distills visual tokens into invariant decision-relevant representations and stores compact prototypes in a memory bank. During prediction, the model retrieves prototype memories and fuses them with current invariant features to improve trajectory prediction under distribution shifts. The paper evaluates DriveMem on open-loop nuScenes to nuScenes-C experiments and closed-loop NAVSIM experiments, reporting improvements in trajectory error, collision rate, and planning metrics.
Strengths and weaknesses
Strengths
- This work addresses the central challenge of OOD generalization in autonomous driving, where models may rely on raw visual appearance and fail under weather, sensor, or visual distribution shifts.
- The motivation is clear and practical. Autonomous driving is safety-critical, and improving robustness under unseen scenarios is an important research direction.
- DriveMem has a reasonable design. It combines invariant feature abstraction with a prototype memory bank, which matches the paper’s goal of storing decision-relevant experience instead of raw observations.
- The memory mechanism is interpretable to some extent because predictions can be connected to retrieved prototype experiences.
- The method is presented as a plug-in module for existing end-to-end driving systems, which increases its practical value.
- The experiments are stronger than many purely architectural papers because they include both open-loop and closed-loop evaluation.
- The reported gains are meaningful, especially in severe sensor disruption settings such as Camera Crash and Frame Lost.
- The paper includes ablations for the main components, which helps support the contribution of invariant feature abstraction and prototype memory.
- The figures are helpful and make the proposed pipeline easy to understand.
Weaknesses
- The paper uses human driving memory as motivation, but the actual connection to human memory is mostly conceptual. The method is still a neural memory and prototype retrieval mechanism.
- The invariant feature abstraction is useful, but the paper does not fully prove that the learned features are truly invariant or decision-causal. The orthogonality loss is a regularizer, not a guarantee.
- The theoretical analysis is only an upper-bound interpretation and depends on assumptions such as approximate conditional invariance. It supports intuition but does not strongly prove the method’s behavior.
- The claims of the paper are mostly supported empirically, but the causal language around invariant driving principles should be softened unless stronger evidence is provided.
- The method adds extra components and memory retrieval to already complex driving models. The paper should discuss computational cost, memory size sensitivity, and inference latency more clearly.
- It is not fully clear how DriveMem behaves when the memory bank contains biased or misleading prototypes.
- The evaluation is strong but still limited to benchmark shifts. It would be useful to see more analysis on long-tail semantic changes, not only visual corruptions and benchmark splits.
- Some baselines are domain generalization methods rather than strong memory-based driving methods. The comparison would be stronger with more recent memory or retrieval-based autonomous driving baselines.
- The optional test-time memory adaptation with human corrective feedback is interesting, but it needs clearer separation from the main method and more details about when it is used.
Questions
- How sensitive is DriveMem to the size of the prototype memory bank? A small sensitivity study would help show whether the method is robust or depends on a carefully chosen memory size.
- What is the inference-time cost of retrieval and gated fusion? Since this is an autonomous driving setting, latency and memory overhead are important.
- Can the authors provide evidence that the learned invariant features are actually less appearance-biased? For example, a retrieval visualization under weather or sensor shifts would help support the central claim.
- How does the method handle incorrect or misleading prototypes in the memory bank? It would be useful to analyze failure cases where retrieval hurts performance.
- Can the authors clarify whether test-time memory adaptation is used in the main reported results? If not, it should be clearly marked as an optional extension.
My score could increase if the authors provide stronger analysis of memory size, retrieval quality, and computational cost. My score could decrease if the main improvements depend heavily on settings that are not clearly separated from optional adaptation or if retrieval failures are common.
Limitations
The paper discusses limitations, but it should more directly address memory bank bias, retrieval failure, computational overhead, and the lack of guarantees that the learned features are truly invariant. The authors should also be careful about human-memory and causal-invariance language unless supported by stronger evidence.
Final justification
I reassessed the submission under the correct General contribution type. This places greater emphasis on methodological originality, contribution attribution, theoretical support, and general technical significance than the Use-inspired criteria applied in my original review.
The rebuttal materially strengthens the submission. The authors clarify that optional test-time memory adaptation is not used in the primary results, report modest inference and memory overhead, and provide sensitivity results showing that performance does not depend on a single narrowly selected memory capacity. The clean–snow paired analysis offers strong evidence that retrieval in the proposed representation space is less sensitive to visual corruption, while the misleading-memory experiment shows both the risks of incorrect retrieval and the partial protection provided by adaptive fusion.
The additional SGDrive experiment supports transfer across different driving architectures, and the comparison with MomAD improves the coverage of memory-based driving baselines. The zero-shot Bench2Drive results also provide preliminary evidence beyond purely visual corruption, although they should not be interpreted as comprehensive robustness to semantic or interaction-level shifts.
Important limitations remain. The individual components are largely established, and the rebuttal does not fully isolate invariant prototype retrieval through all possible matched-capacity or simpler-memory controls. The theoretical analysis remains conditional and does not directly prove that the implemented orthogonality loss controls the cross-covariance term used in the argument. The strongest evidence continues to concern appearance and sensor corruption rather than broad OOD driving generalization.
On balance, however, the new evidence, improved baseline coverage, clearer computational analysis, and appropriately narrowed claims move the paper above my previous rejection threshold. The remaining weaknesses justify a borderline rather than strong acceptance assessment.
Formatting concerns
No major formatting or anonymity concerns noticed. Some wording should be softened where the paper implies stronger invariance or human-like reasoning than is directly shown.
3 comments
Rebuttal
We thank the reviewer for the detailed comments. We respond to each weakness and question individually below.
W1. Human-inspired motivation
We would like to clarify that DriveMem is human-inspired rather than a model of human memory. The human-driving discussion is used as conceptual motivation: human drivers often generalize across visually different scenarios by relying on reusable driving experiences. Inspired by this phenomenon, we design a neural prototype memory mechanism that encourages the model to retrieve driving-relevant latent patterns under distribution shifts.
W2. Invariance and Orthogonality
“Invariant” refers to planning-relevant representations that are less sensitive to visual distribution shifts. Equation (5) encourages the two feature branches to contain different information, but it does not guarantee statistical independence or causal disentanglement. The more detailed retrieval experiment in Response Q3, Figures 4 and 5 in the manuscript, provide quantitative and qualitative evidence that DriveMem reduces sensitivity to visual distribution shifts.
W3. Conditional theoretical interpretation
We agree that the theoretical analysis provides a conditional explanation, not a complete guarantee of DriveMem’s behavior. We have made the required assumptions explicit, including smoothness of the source conditional label mechanism, and clarified that reducing the source-target representation discrepancy tightens the upper bound on target-domain risk. The method’s practical effectiveness is established by the empirical results.
W4. Softened causal and invariance claims
We have softened the causal language around invariant driving principles and no longer imply that DriveMem identifies causal factors or universal "invariant driving principles".
W5. Memory-Size Sensitivity and Computational Overhead
The current manuscript reports a memory-capacity ablation in Table 4. Table 4 evaluates six memory configurations by varying the ego-memory size and agent-memory size . All six configurations substantially outperform the DiffusionDrive baseline: the OOD L2 error is reduced from 0.9080 to 0.7702–0.8012, while the collision rate is reduced from 0.662 to 0.280–0.374. This shows that the effectiveness of DriveMem does not depend on a single narrowly tuned memory size.
As reported in Table 8 (around Line 790), all measurements are conducted on a single NVIDIA RTX 3090 with batch size 1. The training iteration time increases from 0.466 s to 0.664 s. Prototype refinement based on SVD contributes approximately 0.007 s per training iteration and is used only during training.
During inference, DriveMem increases the mean end-to-end inference latency from s to s, corresponding to an absolute increase of only 13 ms. Reported GPU memory consumption increases from 3788 MiB to 3794 MiB, i.e., only 6 MiB. To make the computational characteristics more transparent, we have added separate latency measurements for IFA, prototype retrieval, and gated fusion.
These results show that DriveMem provides augmented generalization with limited latency and minimal GPU-memory overhead, without imposing a substantial additional burden on the original E2E inference pipeline. Further latency reductions may be achieved via parallelization and FPGA acceleration.
| Latency (ms) | IFA | Retrieval | Fusion | E2E |
|---|---|---|---|---|
| Baseline | – | – | – | |
| DriveMem | 4.9 | 4.3 | 4.8 |
W6. How to handle biased prototypes
We agree that biased or misleading prototypes are possible in a learned memory method. A biased memory may overrepresent frequent driving patterns while providing insufficient coverage of rare interactions, whereas misleading retrieval may associate the current query with an incompatible prototype.
DriveMem is designed to reduce the influence of such cases through three mechanisms:
- Typical-critical selection includes both recurring and difficult samples, reducing the risk that the memory represents only frequent and easy driving patterns.
- Prototype refinement reduces prototype redundancy and collapse, improving the diversity and coverage of the memory bank.
- Soft retrieval and gated fusion avoid unconditional reliance on a single prototype and allow the planner to reduce the contribution of mismatched memory features.
To further analyze what happens when misleading retrieval occurs, we conduct a misleading-memory test on the Snow set. Full DriveMem uses normal retrieval; the no-memory variant bypasses retrieval. Both misleading-memory variants use the same randomly selected non-matching prototype: one uses a fixed fusion weight, while the other retains the learned adaptive gate.
| Setting | Snow L2 ↓ |
|---|---|
| Full DriveMem | 0.7676 |
| DriveMem w/o Retrieved Memory | 0.7886 |
| Misleading Memory w/o Adaptive Gate | 0.8001 |
| Misleading Memory w/ Adaptive Gate | 0.7866 |
The first two rows show that removing retrieved memory raises L2 from 0.7676 to 0.7886, confirming that our retrieval mechanism provides effective guidance. The last two rows isolate the effect of gated fusion under exactly the same misleading prototype. Compared with fixed fusion, the learned gate reduces L2 from 0.8001 to 0.7866, recovering 41.6% of the perturbation-induced degradation. Thus, retrieved memory is generally beneficial, while adaptive gated fusion partially mitigates the risk when misleading retrieval occurs.
Nevertheless, these mechanisms cannot completely eliminate retrieval failures. As illustrated by the added failure cases in Figure 7, severe visual corruption can distort the query representation and impair query-prototype matching. Under such extreme shifts, the observation itself may no longer contain sufficient information to support reliable retrieval or planning. We have clarified this limitation in the manuscript.
W7. More analysis on semantic changes. Please refer to our response to Reviewer BG1t, W1.
W8. Recent memory-based driving baselines. Please refer to our response to Reviewer BG1t, W5.
W9. Human Corrective Feedback and Optional Test-Time Memory Adaptation
We thank the reviewer for recognizing the potential interest of using human corrective feedback for test-time memory adaptation (TTMA).
We first clarify that the improvements of the main DriveMem method come from invariant feature abstraction, the learned prototype memory, and retrieval-and-fusion. TTMA is not used in any of the main results reported in Tables 1-4.
TTMA is an optional deployment-oriented extension, as indicated around Line 146, and is evaluated separately in Appendix E.1. Its advantage is that when human takeover or corrective trajectories become available after deployment, DriveMem can incorporate this new experience by selectively adapting the retrieved prototypes while keeping the backbone fixed. The results in Table 6 demonstrate that DriveMem can additionally support feedback-driven adaptation when corrective feedback is available.
Q1. Prototype-memory size sensitivity & Q2. Inference cost. Please see W5.
Q3. Evidence That Invariant Features Are Less Appearance-Biased
We first evaluate cross-domain retrieved-feature consistency using 1,000 paired clean and snow-corrupted samples. The underlying driving content remains unchanged, while the visual observations are substantially corrupted. For each observation, we extract the memory feature and compute its cosine distance between the paired clean and corrupted inputs.
| Setting | Clean–Snow retrieval distance ↓ |
|---|---|
| DriveMem w/o IFA | 0.196 |
| DriveMem | 0.002 |
DriveMem reduces the clean-Snow retrieval distance from 0.196 to 0.002. This indicates that memory features retrieved in the IFA-induced representation space are substantially less sensitive to appearance corruption than retrieval based on the original features.
This quantitative result is further supported by Fig. 4 and 5 in the manuscript. Fig.4 provides scene-level retrieval examples: although the query and retrieved scenes differ substantially in weather, illumination, and background appearance, they exhibit similar driving intents and interaction structures. This indicates that retrieval is not determined only by visual appearance; the retrieved prototypes preserve planning-relevant similarities and provide traceable reference experience for the current prediction.
Fig. 5 provides distribution-level evidence: the baseline features form visibly separated clusters across clean and corrupted domains, whereas IFA reduces this domain separation, and the complete DriveMem produces more compact alignment between source- and target-domain features.
Together, the paired retrieval experiment and existing visualizations provide quantitative and qualitative evidence that DriveMem reduces appearance-induced drift.
Q4. How to handle biased prototypes. Please see W6.
Q5. Whether TTMA is used in the main results. TTMA is not used in Tables 1-4 and is evaluated only as an optional extension in Appendix E.1. Please see W9 for details.
Key-Point Summary
We thank the reviewer for clearly identifying the key factors that would affect the assessment of our method. Accordingly, we have address each of them in the corresponding responses: (1) memory-size sensitivity (W5), (2) computational and inference-time overhead (W5), (3) retrieval quality and failure behavior analysis (W6, Q3), and (4) a clear separation between the main evaluation and optional test-time adaptation(W9).
Response
Thank you for the detailed rebuttal and additional analyses. The response addresses several of my original concerns, particularly regarding memory-size sensitivity, computational overhead, retrieval robustness, misleading prototypes, and the separation of optional test-time adaptation from the main results.
The clean–snow retrieval experiment provides useful quantitative evidence that the learned memory representation is substantially less sensitive to appearance corruption. The misleading-memory analysis also demonstrates that retrieved prototypes are beneficial on average and that adaptive gated fusion can partially mitigate the harm caused by incorrect retrieval. I also appreciate the authors’ decision to soften the causal, invariance, and human-memory claims and to characterize the evaluated nuScenes-C setting more precisely as corruption-domain generalization.
The additional cross-backbone SGDrive results and comparison with the memory-based MomAD method further strengthen the empirical evaluation. The Bench2Drive analysis provides preliminary, although not conclusive, evidence that DriveMem may transfer useful driving patterns to unseen interaction categories.
Some concerns remain regarding the attribution of gains among the multiple established components, the conditional nature of the theoretical analysis, and the limited evidence for broader semantic or interaction-level shifts. Nevertheless, the rebuttal materially improves the empirical support and appropriately narrows the claims. I have therefore increased my score.
Response to the Remaining Concerns
We sincerely thank the reviewer for the thoughtful reassessment and increased score. We further address the remaining concerns as follows.
1. Contribution Attribution
We further examine the complementary roles of Invariant Feature Abstraction (IFA) and Prototype Memory Bank (PMB), and then fix IFA and compare the proposed PMB with alternative memory designs. The results are reported below.
(1) Complementary roles of IFA and PMB
We first evaluate IFA-only and PMB-only against the baseline and the complete DriveMem to examine whether PMB benefits from operating in the IFA-induced feature space.
| Setting | IFA | PMB | OOD L2 ↓ | OOD Collision ↓ |
|---|---|---|---|---|
| DiffusionDrive | ✗ | ✗ | 0.9080 | 0.662 |
| IFA-only | ✓ | ✗ | 0.7827 | 0.397 |
| PMB-only | ✗ | ✓ | 0.9148 | 0.431 |
| DriveMem | ✓ | ✓ | 0.7458 | 0.270 |
PMB-only substantially reduces the collision rate while changing L2 slightly, indicating that memory retrieval can already provide useful safety guidance in the original feature space. When PMB is learned and queried in the IFA-induced space, it further improves IFA-only from 0.7827/0.397 to 0.7458/0.270. Thus, within DriveMem, IFA provides the robust retrieval space necessary for PMB to fully leverage its prototype-based guidance under OOD shifts.
(2) Alternative memory designs
We then fix the IFA and replace PMB with a parameter-matched MLP, frozen random prototypes, and a simpler memory with uniform prototype learning. This analysis examines whether the additional improvement arises from extra capacity, a generic memory interface, or the proposed PMB design.
| Setting | OOD L2 ↓ | OOD Collision ↓ |
|---|---|---|
| IFA-only | 0.7827 | 0.397 |
| +Parameter-matched MLP | 0.7802 | 0.412 |
| +Frozen random prototypes | 0.8215 | 0.496 |
| +Simpler memory | 0.7790 | 0.363 |
| +Proposed PMB | 0.7458 | 0.270 |
With IFA fixed, the parameter-matched MLP provides no meaningful gain, frozen prototypes are harmful, and uniform prototype learning is only modestly effective. Compared with simpler memory, PMB reduces L2 by 4.3% and collision by 25.6%. Thus, the additional gains arise from the proposed PMB design rather than extra parameters or an arbitrary memory mechanism.
In summary, IFA establishes a reliable retrieval space, while PMB exploits this space more effectively than alternative memory designs. These results show that DriveMem’s improvements go beyond simply combining existing components.
2. Corrections to the Theory
We add the missing source-conditional smoothness assumption: With the existing boundedness and Lipschitz assumptions, this makes the source-conditional risk -Lipschitz, and the Wasserstein term in Theorem C.5 is revised from to , with corresponding proof updates. The theorem is now explicitly presented as a conditional result under the stated assumptions.
We also clarify that Eq. (5), , and Lemma C.3’s cross-moment, , are distinct. We remove the claim that Eq. (5) directly tightens the bound. The utility of orthogonality is instead supported empirically: it improves OOD L2 from 0.7923 to 0.7827 and collision from 0.421 to 0.397.
3. Distinguishing Evaluation Settings and Clarifying Claim Scope
We further distinguish the evaluated settings and refine our claims accordingly.
-
nuScenes-C evaluates zero-shot robustness to controlled appearance, weather, and sensor corruptions. No corrupted target-domain samples or labels are used during training.
-
NAVSIM evaluates zero-shot planning performance under harder scenario states and protocol changes using non-reactive pseudo-simulation. No target-domain labels are used during testing.
-
Bench2Drive contains two separate evaluation settings. The first is zero-shot cross-town evaluation from Town 1-5 to Town 6-15 without target-domain feedback. The second is optional test-time memory adaptation, which uses labelled corrective feedback.
For interaction shifts, we further analyze the zero-shot Bench2Drive cross-town results. DriveMem improves the Driving Score from 21.14 to 25.07 on four unseen interaction types. We regard this result as preliminary and future work will conduct a more systematic assessment of generalization to unseen interaction patterns.
Overall, the evaluations above constitute the primary evidence for DriveMem’s generalization. Accordingly, to ensure that our claims are consistent with the available evidence, we limit our generalization claim to improved planning robustness under the evaluated shifts and our interpretability claim to prototype-retrieval traceability rather than complete decision attribution.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
W1. Interaction-Behavior Shift and Incorrect Retrieval
We thank the reviewer for highlighting the distinction between visual and interaction-pattern shifts. We agree that when the interaction pattern becomes OOD, the retrieved memory may become less reliable and introduce planning risk. To address this concern, we provide two complementary analyses: (1) an analysis of interaction-behavior shifts, examining whether DriveMem can transfer useful driving patterns to unseen interactions; and (2) a misleading-memory test, evaluating the planning risk of incorrect retrieval and whether DriveMem can mitigate it.
(1) Interaction-behavior shifts. We conduct a finer-grained analysis of the Bench2Drive evaluation. The model is trained on Town 1–5 and evaluated on Town 6–15 under the zero-shot setting, without TTMA, target-domain feedback, or test-time memory updates. Therefore, the entire Town 6–15 test set represents a cross-town shift.
We further partition the evaluated samples according to whether their interaction-event types appear in the Town 1–5 training split. Samples associated with the 13 shared interaction types form the Seen-Behavior Cross-Town OOD subset. Samples associated with the remaining 4 interaction types, which are absent from training, form the Unseen Interaction OOD subset. These four unseen types account for 23.53% of the evaluated interaction types. Thus, the former evaluates unseen towns with previously observed interaction types, whereas the latter mainly evaluates unseen interaction types.
DriveMem improves the overall OOD Driving Score from 27.09 to 32.52 and the Unseen Interaction OOD score from 21.14 to 25.07. This provides preliminary evidence of DriveMem’s potential to transfer reusable latent driving primitives to unseen interaction types. A plausible explanation is that, although these interaction types are unseen at the category level, they may still involve basic driving behaviors, such as braking, yielding, and maintaining safe distances, that occur in the training scenarios. Retrieved memory may therefore provide reusable guidance at the level of these basic behaviors. We do not interpret this analysis as comprehensive evidence of interaction-pattern OOD robustness. Future work will construct controlled evaluations by explicitly holding out particular interaction categories and combinations during training.
(2) Misleading-memory test. DriveMem reduces the risk of biased or misleading memory through typical-critical sample selection, prototype refinement, soft retrieval, and gated fusion. To examine the residual risk when misleading retrieval still occurs, we replace the normally retrieved feature with a randomly selected non-matching prototype. The same incorrect prototype is used under fixed and learned fusion, while the fixed weight is calibrated using the average gate value under normal retrieval.
The first two rows show that standard memory retrieval is beneficial: removing the retrieved memory increases L2 from 0.7676 to 0.7886. Replacing normal retrieval with a non-matching prototype increases L2 to 0.7866 even with the learned gate, confirming that misleading memory can introduce planning risk. However, under exactly the same incorrect prototype, adaptive gated fusion reduces L2 from 0.8001 to 0.7866 compared with fixed fusion, recovering approximately 41.5% of the perturbation-induced degradation. Thus, adaptive gated fusion partially mitigates, but does not completely eliminate, the negative effect of misleading retrieval.
Together, the two analyses provide preliminary evidence that DriveMem can transfer reusable primitives to unseen interaction types, while its adaptive gate partially limits the planning degradation when misleading memory is introduced.
W2. Definition of Unseen OOD
We thank the reviewer for raising this important point. Under the nuScenes-C benchmark protocol, we consider these samples as unseen corruption-domain OOD. Long-tail ID normally refers to rare samples within the same distribution. In contrast, nuScenes-C systematically applies corruption operators and hard severity levels that are absent from task-specific training, thereby constructing a shifted observation distribution.
Following the original DiffusionDrive training protocol, the task-specific model is trained on clean nuScenes data. We do not introduce nuScenes-C corruption operators, hard-severity corrupted samples, or additional corruption-based augmentation during training. Therefore, the nuScenes-C conditions are unseen with respect to task-specific training, although similar weather or lighting factors may naturally exist in large-scale driving. In the revision, we replace “unseen OOD evaluation set” with the more precise term “unseen corruption-domain evaluation.” This evaluation follows the nuScenes-C benchmark protocol and primarily measures robustness to controlled covariate shifts.
W3. Expand Related Work of Domain-Generalization and Memory Baselines
We thank the reviewer for this helpful suggestion. We have expanded Section A.3 to summarize these baselines and clarify their differences from DriveMem.
Specifically, DSU improves domain robustness by perturbing uncertain feature statistics; DAC-SC decomposes and recombines frequency components to reduce dependence on domain-specific appearance; FCVL employs Fourier-based cross-view learning to encourage consistent representations; and CIRL learns causality-inspired invariant representations. These methods mainly improve generalization by learning a more robust static representation through training-time perturbation, augmentation, or regularization.
We further distinguish Pin as a memory-based baseline. Pin learns categorical memory and uses stored class-level knowledge to guide pixel-wise representations in unseen domains, whereas DriveMem stores and retrieves implicitly learned, planning-relevant prototypes for E2E trajectory prediction.
W4. Hyperparameter Sensitivity
We thank the reviewer for raising this concern. We address it through additional sensitivity analyses and cross-backbone validation.
In addition to the memory-size analysis reported in Table 4, we perform sensitivity studies for τ, λsvd, and γ, while keeping all other settings fixed.
The results show that DriveMem remains effective over the evaluated ranges. Changing τ or λsvd produces moderate variations, indicating that the method does not rely on a narrowly tuned value. Notably, the initial setting λsvd=1.0 already achieves 0.7500/0.282, while modest tuning to 1.5 further improves it to 0.7458/0.270.
The selection percentile γ has a clearer effect because it changes the balance between typical and critical samples. We adjust γ across datasets because their difficulty distributions differ. The remaining loss weights are fixed rather than independently tuned, and their contributions are evaluated through the component-removal ablations in Table 3.
Overall, DriveMem achieves clear improvements without extensive hyperparameter tuning. Most hyperparameters are kept fixed across datasets and backbones. As reported in W5, we transfer the default configuration to SGDrive with only limited adjustment and without an exhaustive hyperparameter search, and still observe consistent improvements.
W5. Generalization Across Driving Systems and memory-based driving baseline
Following the reviewer’s suggestion, we validate DriveMem on SGDrive[1], a camera-only NAVSIM method with a VLM-based architecture different from DiffusionDrive. Adding DriveMem before trajectory planning improves ID PDMS from 87.4 to 87.9 and navhard EPDMS from 25.7 to 27.5, demonstrating cross-system transferability.
We also evaluate MomAD[2], a native memory-based E2E method, under the same ID and nuScenes-C protocols. MomAD propagates online temporal queries within a sequence, whereas DriveMem retrieves planning-relevant prototypes. Although their ID L2 results are comparable, DriveMem achieves substantially stronger OOD performance.
[1] SGDrive: Scene-to-Goal Hierarchical World Cognition for Autonomous Driving, CVPR 2026.
[2] Don’t Shake the Wheel: Momentum-Aware Planning in End-to-End Autonomous Driving, CVPR 2025.