CircuitSeer: Mining High-Quality Data by Probing Mathematical Reasoning Circuits in LLMs
Shaobo Wang, Yongliang Miao, YuanCheng Liu, Qianli Ma, Ning Liao, Dongrui Liu, Linfeng Zhang
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › Adaptive Reasoning Optimization · Type: new method · Keywords: data selection, reasoning circuits, attention heads, mathematical reasoning, LLM efficiency
Areas: LLM Reasoning › Efficient Reasoning › Efficient Reasoning
Summary
CircuitSeer is a data selection method that measures how data influences LLMs' reasoning circuits, enabling high-quality subset selection that improves performance.
Explained to a 5-year-old
Big computer programs called language models can think and solve math problems. They get better when they practice with many examples. But collecting all those examples costs a lot of time and money. This paper looks inside the program to see which tiny parts light up when solving hard problems. Then it picks only the problems that light up those parts, so we can learn faster with fewer problems.
Explained to a 5-year-old, longer
Big computer programs called language models can think and solve math problems. They get better when they practice with many examples. But collecting all those examples costs a lot of time and money. Some scientists have tried to pick the best examples, but their ways are complicated or not clear. This paper looks inside the language model to see which tiny parts, called attention heads, light up when the model works on hard problems. They notice that only a few special parts are used for thinking. By watching these parts, they can tell how hard a problem is. They then choose problems that strongly activate those special parts. This helps the model learn faster and better with fewer problems. The new method makes it easier to get high-quality practice data without huge expenses. It also gives insight into how language models think. Overall, it makes training smarter and more efficient.
For a technical reader
The paper observes that solving complex math problems consistently activates a small set of attention heads in a language model, forming what they call reasoning circuits. They propose a data-selection technique that measures how each training example influences these circuits, allowing the model to be trained on a high-quality subset. Experiments on four models and nine datasets show that fine-tuning on only 10 % of the data yields a 1.2-point boost in Pass@1 over full-dataset training. This approach reduces the amount of data and compute needed while preserving or improving performance, making model adaptation more efficient. The method provides both a practical tool for selecting training data and insight into the internal mechanisms that drive reasoning in large language models.
Problem
Scaling LLM reasoning performance requires large reasoning datasets, which are expensive to create. Existing data selection methods rely on costly external models or opaque heuristics, making it difficult to efficiently obtain high-quality training data.
Method
The approach probes the internal attention heads of a language model to identify sparse reasoning circuits that are consistently activated by complex tasks. It then quantifies the reasoning complexity of data by measuring how each data point influences these circuits, allowing selection of high-quality subsets.
Results
Experiments on multiple models and datasets show that fine-tuning on only 10 % of data selected by the approach yields a 1.2-point increase in average Pass@1 compared to training on the full dataset.
Contributions
The work reveals that complex reasoning tasks activate sparse attention-head circuits and introduces a way to measure data influence on these circuits for efficient selection. This leads to significantly better performance with far less training data.
Practical relevance
By enabling high-quality data selection with minimal training data, the approach reduces computational costs and makes advanced reasoning capabilities more accessible.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction