New method enables small language models to solve complex reasoning tasks

DisCIPL is less about a single smarter model and more about an orchestration pattern. The architectural shift is to separate planning from token-level execution: a larger model produces a constrained strategy, then smaller models execute it in parallel. For teams building AI services, that suggests a useful design choice when latency, cost, or model access limits make one-shot reasoning models impractical.

The important trade-off is operational complexity. This approach adds a control layer, a structured prompt/program representation, and multi-model coordination, which means more moving parts to observe and test. Success depends on whether the planner can express constraints clearly enough for downstream models, and whether the workflow stays deterministic under parallel execution. That makes evaluation, traceability, and failure isolation central to deployment.

There is also an infrastructure implication. Running many small models in parallel can change capacity planning by shifting load from a few expensive inference calls to a wider fan-out pattern. That can reduce per-request cost, but it may increase scheduling pressure, orchestration overhead, and dependency on efficient batching or runtime management. For teams, the question becomes not just accuracy, but whether the system fits existing inference pipelines and service-level targets.

For technical leads, the broader lesson is that constrained generation may be more maintainable than unconstrained reasoning in some workflows. If outputs must obey hard rules, encoding those rules explicitly can create a clearer contract between business logic and model behavior. That opens room for safer integration into production systems, especially where reproducibility, controllability, and predictable performance matter as much as raw model capability.


As language models (LMs) improve at tasks like image generation, trivia questions, and simple math, you might think that human-like reasoning is around the corner. In reality, they still trail us by a wide margin on complex tasks. Try playing Sudoku with one, for instance, where you fill in numbers one through nine in such a way that each appears only once across the columns, rows, and sections of a nine-by-nine grid. Your AI opponent will either fail to fill in boxes on its own or do so inefficiently, although it can verify if youโ€™ve filled yours out correctly.

Whether an LM is trying to solve advanced puzzles, design molecules, or write math proofs, the system struggles to answer open-ended requests that have strict rules to follow. The model is better at telling users how to approach these challenges than attempting them itself. Moreover, hands-on problem-solving requires LMs to consider a wide range of options while following constraints. Small LMs canโ€™t do this reliably on their own; large language models (LLMs) sometimes can, particularly if theyโ€™re optimized for reasoning tasks, but they take a while to respond, and they use a lot of computing power.

This predicament led researchers from MITโ€™s Computer Science and Artificial Intelligence Laboratory (CSAIL) to develop a collaborative approach where an LLM does the planning, then divvies up the legwork of that strategy among smaller ones. Their method helps small LMs provide more accurate responses than leading LLMs like OpenAIโ€™sย GPT-4o, and approach the precision of top reasoning systems such asย o1, while being more efficient than both. Their framework, called โ€œDistributional Constraints by Inference Programming with Language Modelsโ€ (or โ€œDisCIPLโ€), has a large model steer smaller โ€œfollowerโ€ models toward precise responses when writing things like text blurbs, grocery lists with budgets, and travel itineraries.

The inner workings of DisCIPL are much like contracting a company for a particular job. You provide a โ€œbossโ€ model with a request, and it carefully considers how to go about doing that project. Then, the LLM relays these instructions and guidelines in a clear way to smaller models. It corrects follower LMsโ€™ outputs where needed โ€” for example, replacing one modelโ€™s phrasing that doesnโ€™t fit in a poem with a better option from another.

The LLM communicates with its followers using a language they all understand โ€” that is, a programming language for controlling LMs calledย โ€œLLaMPPL.โ€ย Developed by MIT’s Probabilistic Computing Project in 2023, this program allows users to encode specific rules that steer a model toward a desired result. For example, LLaMPPL can be used to produceย error-free code by incorporating the rules of a particular language within its instructions. Directions like โ€œwrite eight lines of poetry where each line has exactly eight wordsโ€ are encoded in LLaMPPL, queuing smaller models to contribute to different parts of the answer.

MIT PhD student Gabriel Grand, who is the lead author on aย paper presenting this work, says that DisCIPL allows LMs to guide each other toward the best responses, which improves their overall efficiency. โ€œWeโ€™re working toward improving LMsโ€™ inference efficiency, particularly on the many modern applications of these models that involve generating outputs subject to constraints,โ€ adds Grand, who is also a CSAIL researcher. โ€œLanguage models are consuming more energy as people use them more, which means we need models that can provide accurate answers while using minimal computing power.โ€

โ€œIt’s really exciting to see new alternatives to standard language model inference,โ€ says University of California at Berkeley Assistant Professor Alane Suhr, who wasnโ€™t involved in the research. โ€œThis work invites new approaches to language modeling and LLMs that significantly reduce inference latency via parallelization, require significantly fewer parameters than current LLMs, and even improve task performance over standard serialized inference. The work also presents opportunities to explore transparency, interpretability, and controllability of model outputs, which is still a huge open problem in the deployment of these technologies.โ€

An underdog story

You may think that larger-scale LMs are โ€œbetterโ€ at complex prompts than smaller ones when it comes to accuracy and efficiency. DisCIPL suggests a surprising counterpoint for these tasks: If you can combine the strengths of smaller models instead, you may just see an efficiency bump with similar results.

The researchers note that, in theory, you can plug in dozens of LMs to work together in the DisCIPL framework, regardless of size. In writing and reasoning experiments, they went with GPT-4o as their โ€œplanner LM,โ€ which is one of the models that helps ChatGPT generate responses. It brainstormed a plan for severalย โ€œLlama-3.2-1Bโ€ models (smaller systems developed by Meta), in which those LMs filled in each word (or token) of the response.

This collective approach competed against three comparable ones: a follower-only baseline powered by Llama-3.2-1B, GPT-4o working on its own, and the industry-leading o1 reasoning system that helps ChatGPT figure out more complex questions, such as coding requests and math problems.

DisCIPL first presented an ability to write sentences and paragraphs that follow explicit rules. The models were given very specific prompts โ€” for example, writing a sentence that has exactly 18 words, where the fourth word must be โ€œGlasgow,โ€ the eighth should be โ€œinโ€, and the 11th must be โ€œand.โ€ The system was remarkably adept at handling this request, crafting coherent outputs while achieving accuracy and coherence similar to o1.

Faster, cheaper, better

This experiment also revealed that key components of DisCIPL were much cheaper than state-of-the-art systems. For instance, whereas existing reasoning models like OpenAIโ€™s o1 perform reasoning in text, DisCIPL โ€œreasonsโ€ by writing Python code, which is more compact. In practice, the researchers found that DisCIPL led to 40.1 percent shorter reasoning and 80.2 percent cost savings over o1.

DisCIPLโ€™s efficiency gains stem partly from using small Llama models as followers, which are 1,000 to 10,000 times cheaper per token than comparable reasoning models. This means that DisCIPL is more โ€œscalableโ€ โ€” the researchers were able to run dozens of Llama models in parallel for a fraction of the cost.

Those werenโ€™t the only surprising findings, according to CSAIL researchers. Their system also performed well against o1 on real-world tasks, such as making ingredient lists, planning out a travel itinerary, and writing grant proposals with word limits. Meanwhile, GPT-4o struggled with these requests, and with writing tests, it often couldnโ€™t place keywords in the correct parts of sentences. The follower-only baseline essentially finished in last place across the board, as it had difficulties with following instructions.

โ€œOver the last several years, weโ€™ve seen some impressive results from approaches that use language models toย โ€˜auto-formalizeโ€™ problems in math and robotics by representing them with code,โ€ says senior author Jacob Andreas, who is an MIT electrical engineering and computer science associate professor and CSAIL principal investigator. โ€œWhat I find most exciting about this paper is the fact that we can now use LMs to auto-formalize text generation itself, enabling the same kinds of efficiency gains and guarantees that weโ€™ve seen in these other domains.โ€

In the future, the researchers plan on expanding this framework into a more fully-recursive approach, where you can use the same model as both the leader and followers. Grand adds that DisCIPL could be extended to mathematical reasoning tasks, where answers are harder to verify. They also intend to test the system on its ability to meet usersโ€™ fuzzy preferences, as opposed to following hard constraints, which canโ€™t be outlined in code so explicitly. Thinking even bigger, the team hopes to use the largest possible models available, although they note that such experiments are computationally expensive.

Grand and Andreas wrote the paper alongside CSAIL principal investigator and MIT Professor Joshua Tenenbaum, as well as MIT Department of Brain and Cognitive Sciences Principal Research Scientist Vikash Mansinghka and Yale University Assistant Professor Alex Lew SM โ€™20 PhD โ€™25. CSAIL researchers presented the work at the Conference on Language Modeling in October and IVADOโ€™s โ€œDeploying Autonomous Agents: Lessons, Risks and Real-World Impactโ€ workshop in November.

Their work was supported, in part, by the MIT Quest for Intelligence, Siegel Family Foundation, the MIT-IBM Watson AI Lab, a Sloan Research Fellowship, Intel, the Air Force Office of Scientific Research, the Defense Advanced Research Projects Agency, the Office of Naval Research, and the National Science Foundation.

Original Post

Enjoyed this article? Sign up for our newsletter to receive regular insights and stay connected.