[Paper Review] MoT: Memory-of-Thought Enables ChatGPT to Self-Improve
MoT (Memory-of-Thought) enables ChatGPT to self-improve without fine-tuning or labeled data by pre-thinking on unlabeled data to store high-confidence reasoning steps as external memory, then recalling relevant memories during inference. The framework significantly boosts performance in arithmetic, commonsense, factual, and natural language inference tasks across multiple CoT methods and LLMs.
Large Language Models (LLMs) have shown impressive abilities in various tasks. However, fundamentally improving them depends on high-quality datasets or computationally expensive fine-tuning. On the contrary, humans can easily improve themselves by self-thinking and memory, without external resources. In this paper, we propose a framework, MoT, to let the LLM self-improve through Memory-of-Thought, without annotated datasets and parameter updates. Specifically, MoT is divided into two stages: 1. before the test stage, the LLM pre-thinks on the unlabeled dataset and saves the high-confidence thoughts as external memory; 2. During the test stage, given a test question, the LLM recalls relevant memory to help itself reason and answer it. Experimental results show that MoT can help ChatGPT significantly improve its abilities in arithmetic reasoning, commonsense reasoning, factual reasoning, and natural language inference. Further analyses show that each component contributes critically to the improvements and MoT can lead to consistent improvements across various CoT methods and LLMs.
Motivation & Objective
- To enable large language models (LLMs) to self-improve without relying on expensive fine-tuning or annotated datasets.
- To address the limitations of current LLM improvement methods, which require high computational costs and may degrade generalization.
- To mimic human self-improvement through metacognition and memory, by enabling LLMs to pre-think and store useful reasoning paths.
- To develop a framework that enhances reasoning across diverse tasks without parameter updates or external supervision.
- To demonstrate the generality and consistency of the approach across different CoT methods and LLM architectures.
Proposed method
- In the pre-thinking stage, the LLM generates multiple reasoning paths using Few-Shot Chain-of-Thought (CoT) with multiple-path decoding on an unlabeled dataset.
- High-confidence thoughts are filtered using answer-entropy, a metric to identify reliable and consistent reasoning outputs.
- The filtered reasoning steps are stored as external memory for later retrieval.
- During inference, the LLM uses LLM-retrieval to recall relevant memories based on the test question.
- The recalled memories are integrated into the reasoning process to improve answer accuracy.
- The framework operates without model fine-tuning, parameter updates, or access to labeled data.
Experimental results
Research questions
- RQ1Can LLMs self-improve their reasoning abilities without fine-tuning or labeled datasets?
- RQ2How effective is pre-thinking and memory recall in enhancing LLM performance across diverse reasoning tasks?
- RQ3Does the Memory-of-Thought framework consistently improve performance across different CoT prompting strategies and LLM architectures?
- RQ4What role does answer-entropy play in filtering high-quality reasoning paths for memory storage?
- RQ5Can the framework maintain generalization while improving task-specific reasoning capabilities?
Key findings
- MoT significantly improves ChatGPT’s performance on arithmetic reasoning, commonsense reasoning, factual reasoning, and natural language inference tasks.
- The framework achieves consistent improvements across multiple CoT methods, including few-shot and zero-shot CoT.
- Answer-entropy filtering effectively identifies high-confidence reasoning paths, contributing to memory quality and performance gains.
- LLM-retrieval for memory recall enhances reasoning by integrating relevant past thoughts into the current inference process.
- The approach improves reasoning without parameter updates, making it applicable to closed-source LLMs like GPT-4 via API.
- The method demonstrates strong generalization, improving performance across diverse reasoning benchmarks without task-specific adaptation.
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.