New THRIFTY method optimizes synthetic data for small models
Researchers have introduced THRIFTY, a bandit-based controller that maximizes the diversity of reasoning data for small language models under a fixed budget.
Source: Grafy Research LabResearchers have developed a new method to optimize the way synthetic reasoning data is collected for training small language models (SLMs). By treating data generation as a resource allocation problem, the THRIFTY framework ensures that expensive frontier models are used only where they provide the most diverse and useful training signals.
What is the THRIFTY method?
According to the paper by Aasheesh Singh and Vishal Vaddina, THRIFTY is a two-stage bandit controller designed to manage a fixed budget of generation tokens. In the standard process of training SLMs, developers often use a larger "teacher" model to generate reasoning trajectories, which are then used to fine-tune the smaller student model. However, existing methods typically use uniform sampling, which spends the same amount of compute on every problem regardless of difficulty.
THRIFTY addresses this inefficiency by framing data collection as a "bandits-with-knapsacks" problem. The system maintains a Beta posterior to track the success probability of each problem and allocates tokens to the problems that offer the highest expected marginal value. This approach prevents the system from wasting tokens on easy problems that have already been solved or unsolvable problems that yield no useful data.
How does the system handle diversity and difficulty?
One of the core innovations in the THRIFTY framework is its diversity-gated objective. The authors note that simply finding correct solutions is not enough; for effective training, the student model needs a diverse set of reasoning paths. THRIFTY uses a concave value function that rewards the discovery of new, distinct correct solutions while providing diminishing returns for repeated or near-duplicate trajectories.
To ensure the system is not reliant on manual tuning, the researchers introduced a data-driven calibration stage. This stage uses a small portion of the budget to estimate key parameters, such as the expected generation length and a diversity threshold , directly from the target dataset. This allows the controller to adapt to the specific characteristics of the problems it is solving.
What results did the researchers achieve?
In experiments conducted using a Qwen2.5 32B teacher model, the authors tested THRIFTY against standard uniform sampling and other adaptive baselines. The testing was performed on mathematical benchmarks (AIME and MATH-500) and coding benchmarks (LiveCodeBench).
According to the study, THRIFTY gathered up to 22% more diverse and correct trajectories per generation token than the uniform sampling method. The researchers observed that the most significant performance gains occurred in scenarios involving scarce budgets or particularly difficult problems, where strategic allocation of compute is most critical.
Why does efficient data synthesis matter?
As the industry moves toward specialized, efficient AI deployment, the cost of generating high-quality synthetic data becomes a primary bottleneck. Using frontier models to generate massive datasets is prohibitively expensive if the sampling is unoptimized. By maximizing the "information density" of every token spent, methods like THRIFTY allow developers to build highly capable small models without the linear cost increases associated with traditional rejection-sampling pipelines.
How can researchers apply these insights?
For those looking to dive deeper into the mathematical foundations of these bandit-based controllers or review the specific derivations of per-token scores, the paper provides extensive technical detail. Researchers can explore the implications of these findings for curriculum learning and adaptive test-time compute to understand how offline data synthesis can be integrated with online inference optimization.
If you are currently reviewing similar research papers or technical documentation regarding model training and optimization, you can use Reader to search, summarize, and question complex PDFs and academic papers directly.
Frequently asked questions
What problem does THRIFTY solve?
THRIFTY solves the inefficiency of uniform sampling in synthetic data generation for small language models. Instead of spending an equal amount of compute on every query, it intelligently allocates a fixed token budget to maximize the collection of diverse, correct reasoning trajectories, preventing waste on easy or unsolvable problems.
How does THRIFTY manage a fixed budget?
THRIFTY manages the budget by treating each problem as an arm in a multi-armed bandit framework. It uses a Thompson-sampling approach to estimate the value of spending more tokens on a specific problem, prioritizing those that are likely to yield new, distinct, and correct solutions while retiring those that are no longer productive.
Does THRIFTY require manual parameter tuning?
No, THRIFTY includes a calibration stage designed to remove the need for hand-tuned knobs. This stage uses a small probe budget to estimate essential variables like the diversity threshold and maximum generation length directly from the data, ensuring the sampling process is optimized for the specific dataset being used.
Source: Grafy Research Lab — THRIFTY: Cost-Constrained Reasoning-Data Synthesis for Small Language Models


