Memory Is Not Always Needed: Characterizing Conditional Memory in Scientific Reasoning

Zhen Bi, Xueshu Chen, Yan Wang, Zhizhi Peng, Haosen Hong +4 more
8/25/2026
cs.AIcs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Scientific reasoning requires language models to retrieve specialized knowledge and incorporate it reliably into multi-step computation. Conditional memory provides an explicit lookup pathway that complements dense neural representations, but its usefulness is inherently input- and computation-dependent: retrieved information may repair missing scientific associations, yet it may also introduce distracting shortcuts or interfere with reasoning that the base model can already perform correctly. In this work, we systematically investigate when, where, and to what extent conditional memory should participate in scientific reasoning. We characterize the scientific knowledge boundary and controlled interventions on memory-enabled knowledge-circuit nodes. Based on these analyses, we propose a Knowledge Boundary-Aware Router that uses task-specific input proxies available before generation to determine whether memory is activated, which layer-stage nodes receive memory signals, and how strongly these signals contribute. Experiments on biological and chemical reasoning benchmarks, covering two backbone families and six task types, show that memory effects vary substantially across inputs, tasks, and injection locations. Compared with static and activation-rate-matched random routing, our approach more consistently preserves beneficial memory contributions while suppressing memory-induced regressions, establishing selective memory allocation as an important principle for reliable scientific reasoning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bi2026memory,
  title  = {Memory Is Not Always Needed: Characterizing Conditional Memory in Scientific Reasoning},
  author = {Zhen Bi and Xueshu Chen and Yan Wang and Zhizhi Peng and Haosen Hong and Zhen Wang and Zhixuan Chu and Bingyu Zhu and Jungang Lou},
  year   = {2026},
  eprint = {2608.23982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.23982v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.23982.svg)](https://codeofpaper.com/paper/2608.23982)

Discussion