mlsanityData to 7 Oct 2026

Test-Time Adaptation of Reasoning Strategies with Bayesian Nonparametric Memory

arXiv 2610.06516 ↗First posted 5 Oct 2026cs.CLcited by 0

On the map: LLM reasoning → Test-time compute and efficient thinking also fits: Reasoning benchmarks and evaluation

Abstract (arXiv)

While modern large language models (LLMs) have been trained to reason through verbalized chains-of-thought, the generation cost grows substantially due to suboptimal paths to reach the final answer. Furthermore, as new insights are discovered while observing various input queries (e.g. through self-reflection), limited mechanisms exist for carrying forward these findings to be applied to subsequent problems. One can view the list of such strategies or behaviors as a growing cheatsheet, with elements retrieved from this memory module at inference-time. In this work, we consider structured cheatsheets, with learned clusters of behaviors. We introduce a Hierarchical Dirichlet Process Gaussian Mixture Model (HDP-GMM) over behavior embeddings, which shares components across domains while allowing domain-specific mixing weights, and uses the posterior predictive to retrieve relevant behaviors for a query; we call this a textitBayesian Cheatsheet. This mechanism allows for cheap adaptation in an online test-time training (TTT) setting, softly updating the mixture's sufficient statistics following each sample and enabling the creation of new components when the synthesized behaviors are sufficiently novel. We demonstrate that Bayesian Cheatsheet achieves clear performance gains relative to existing memory modules across reasoning benchmarks such as AIME'25, Omni-MATH, and PhysReason, even in the cold-start setting. We show that the Bayesian Cheatsheet is an adaptively reorganizing memory module, as behaviors can be re-assigned to components through a single step of collapsed Gibbs sampling. Our findings highlight the value of Bayesian-inspired memory modules for effective test-time adaptation and the role of structure in metacognitive reasoning.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. First posted on arXiv 5 Oct 2026.

Builds on

No reference list yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Large Language Models as Discounted Bayesian Filters
  2. 2026InjectRBP: Steering Large Language Model Reasoning Behavior via Pattern Injection
  3. 2025Bayesian Teaching Enables Probabilistic Reasoning in Large Language Models
  4. 2026Filtering Beats Fine Tuning: A Bayesian Kalman View of In Context Learning in LLMs
  5. 2025A Theory of Inference Compute Scaling: Reasoning through Directed Stochastic Skill Search
  6. 2026TTSR: Test-Time Self-Evolving via Reflection
  7. 2026Query-Conditioned Test-Time Self-Training for Large Language Models
  8. 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs