[Paper Review] Learning to Reason and Memorize with Self-Notes
This paper introduces Self-Notes, a method enabling large language models to generate interleaved internal reasoning tokens during autoregressive inference, enhancing multi-step reasoning and working memory. By allowing models to write explicit intermediate facts or state updates at any point while reading input, Self-Notes outperforms chain-of-thought and scratchpad baselines across seven diverse reasoning and state-tracking tasks, demonstrating consistent gains in accuracy and reasoning efficiency.
Large language models have been shown to struggle with multi-step reasoning, and do not retain previous reasoning steps for future use. We propose a simple method for solving both of these problems by allowing the model to take Self-Notes. Unlike recent chain-of-thought or scratchpad approaches, the model can deviate from the input context at any time to explicitly think and write down its thoughts. This allows the model to perform reasoning on the fly as it reads the context and even integrate previous reasoning steps, thus enhancing its memory with useful information and enabling multi-step reasoning. Experiments across a wide variety of tasks demonstrate that our method can outperform chain-of-thought and scratchpad methods by taking Self-Notes that interleave the input text.
Motivation & Objective
- To address the limitations of large language models in performing multi-step reasoning and retaining intermediate states during inference.
- To overcome the fixed computation budget and lack of explicit working memory in standard transformers.
- To enable models to generate intermediate reasoning steps and state updates not just after, but during, context processing.
- To explore how interleaved self-generated notes can enhance reasoning accuracy and memory retention in complex tasks.
- To evaluate Self-Notes across multiple learning paradigms: supervised, semi-supervised, unsupervised, and few-shot prompting.
Proposed method
- The model is allowed to generate 'Self-Note' tokens—part of the same vocabulary as input tokens—interleaved within the input context during autoregressive generation.
- Self-Note generation is triggered when the model predicts a token from a predefined set of start tokens $N_{\text{sta}}$.
- These notes can encode inferred facts (e.g., 'The box is at the park') or updated state variables (e.g., 'x = 6').
- The model integrates these notes into its reasoning flow, using them for future inference or state tracking.
- The method is trained and evaluated under four learning paradigms: supervised, semi-supervised, unsupervised, and few-shot prompting.
- At inference, the model dynamically decides when to generate a note based on its internal probability distribution.
![Figure 1 : [top] Vanilla language models directly generate the answer (A) given the context and the question (Q). [middle] Scratchpad and Chain-of-Thought methods encourage the model to generate reasoning tokens before answering the question, but only after it has read the entire context. [bottom] S](https://ar5iv.labs.arxiv.org/html/2305.00833/assets/x1.png)
Experimental results
Research questions
- RQ1Can interleaved self-generated notes improve reasoning performance in multi-step tasks compared to end-of-prompt chain-of-thought or scratchpad methods?
- RQ2Can Self-Notes serve as an effective form of working memory for tracking state changes in dynamic environments?
- RQ3How does the performance of Self-Notes vary across different learning paradigms, including few-shot and unsupervised settings?
- RQ4Can Self-Notes reduce the need for re-reading or re-reasoning over full contexts in sequential reasoning tasks?
- RQ5To what extent do Self-Notes enhance memory retention and reasoning efficiency in tasks requiring fact integration and state updates?
Key findings
- Self-Notes outperform both vanilla language models and chain-of-thought/sketchpad baselines across all seven evaluated tasks, including math word problems, program evaluation, and chess reasoning.
- On the GSM8K and MultiArith math benchmarks, Self-Notes achieve higher accuracy than chain-of-thought prompting, demonstrating superior multi-step reasoning.
- In synthetic program evaluation tasks, Self-Notes significantly improve state-tracking accuracy by enabling the model to store and update variable states during processing.
- The method achieves consistent gains across all four learning paradigms—supervised, semi-supervised, unsupervised, and few-shot—indicating broad applicability.
- The ability to interleave reasoning with context reading reduces the need for reprocessing, enabling more efficient and accurate inference.
- In the toy story and chess tasks, Self-Notes allow models to combine facts and track entity states across time steps, leading to correct conclusions that baseline methods fail to reach.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.