Can Test-Time Memory Evolution Outperform Test-Time Training for Scientific Discovery?
Abstract Overview
This paper investigates whether test-time memory evolution can replace test-time training (TTT) in LLM-based scientific discovery workflows. The authors propose Test-Time Memory Evolution (TTME), a plug-and-play method that maintains fixed model weights while continuously updating external memory from evaluated search experience. TTME incorporates two distinct memory modules: Guideline Memory for capturing operational implementation feedback and Strategy Memory for distilling reusable algorithmic ideas from score-improving attempts. Evaluated by swapping out only the adaptation mechanism in TTT-Discover and ThetaEvolve across five mathematical construction tasks, TTME demonstrates superior performance and computational efficiency.
Novelty
The paper introduces a test-time adaptation framework for scientific discovery that relies entirely on evolving non-parametric external memory rather than updating model weights online. It uniquely bifurcates search experience into operational guidelines and reusable algorithmic strategies to guide subsequent candidate generation without parameter fine-tuning.
Results
Across two discovery frameworks, three model variants, and five mathematical construction tasks, TTME outperforms both base fixed-weight baselines and TTT across all evaluated settings. In TTT-Discover with Qwen3-8B, TTME reduces non-evaluation runtime by 47.7–58.4% and compute by 82.8–84.6% in FLOPs compared to TTT. Ablation studies confirm that both memory modules are necessary and that combining TTT with TTME yields worse results than TTME alone.
Key Points
- TTME replaces online test-time weight adaptation with continuous external memory evolution while keeping base LLM weights frozen.
- The framework separates accumulated experience into Guideline Memory for operational reliability and Strategy Memory for score-improving algorithmic ideas.
- TTME surpasses test-time training across five mathematical discovery tasks while substantially decreasing runtime and computational FLOPs.