← Latest papers
🤖 AI

AdaR: A Framework for Equipping LLMs with Adaptive Reasoning

The AdaR framework enhances large language models' mathematical reasoning robustness and generalization by training them with Reinforcement Learning on automatically synthesized, logically equivalent queries to penalize spurious correlations and encourage adaptive reasoning.

Original authors: Zhejian Lai, Xiang Geng, Zhijun Wang, Yang Bai, Jiahuan Li, Rongxiang Weng, Jingang Wang, Xuezhi Cao, Xunliang Cai, Shujian Huang

Published 2026-08-25
📖 5 min read🧠 Deep dive

Original authors: Zhejian Lai, Xiang Geng, Zhijun Wang, Yang Bai, Jiahuan Li, Rongxiang Weng, Jingang Wang, Xuezhi Cao, Xunliang Cai, Shujian Huang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the vast landscape of artificial intelligence, large language models have emerged as powerful tools capable of solving complex problems, from writing poetry to debugging code. Among their most impressive feats is mathematical reasoning, where these systems break down a question into a series of logical steps to reach a solution. For years, researchers have celebrated this ability, assuming that when a model solves a problem correctly, it truly understands the logic behind it. However, a closer look reveals a troubling flaw: many of these models are not actually reasoning through the problem. Instead, they are often memorizing patterns from their training data. They learn to associate specific numbers or phrases with certain answers, much like a student who memorizes the answer key for a practice test without understanding the underlying math. When the test changes slightly—when the numbers are different or the wording is tweaked—these models often stumble, failing to adapt because their "reasoning" was never real to begin with.

This is the central challenge addressed by a new study from researchers at Nanjing University and Meituan, who have developed a framework called AdaR to teach machines how to think adaptively. The team discovered that the root of the problem lies in what they call "spurious reasoning." This occurs when a model relies on superficial connections, such as the specific value of a number in a question, rather than the structural logic of the problem itself. To illustrate, imagine a model trained to solve a problem where a number is cubed. If the training data always used the number 3, the model might learn to simply output "cube" whenever it sees a multiplication problem, regardless of the actual numbers involved. If the problem changes to involve a different number, the model fails because it never learned the rule of cubing; it only learned to recognize the pattern of the number 3. The researchers found that even advanced models, which perform brilliantly on standard tests, suffer from this brittleness, unable to generalize their skills to new, slightly different scenarios.

To fix this, the researchers created a system that forces the model to learn the logic rather than the numbers. They started by taking existing math problems and stripping them down to their core structure, or template. They then used a computer program to automatically generate thousands of new versions of these problems by changing the specific numbers while keeping the logical steps exactly the same. Crucially, they did not just ask a language model to guess the new answers; they wrote executable code to calculate the correct answers with absolute certainty. This ensured that every new problem they created was valid and had a verified solution. They then subjected their models to a rigorous training process using these new, varied problems. Instead of simply showing the model the right answer, they used a method that rewarded the model only when it could solve the entire set of varied problems correctly. If the model relied on memorized patterns, it would fail on the new numbers and receive a penalty. If it learned the actual logic, it would succeed across all variations and receive a reward.

The results of this approach were striking. When tested on both familiar and completely new types of math problems, the models trained with this adaptive framework showed significant improvements. On average, their performance jumped by more than eight points compared to other methods, a substantial gain in the world of artificial intelligence. More importantly, the models became much more robust. They could handle changes in the numbers of a problem without breaking down, proving they had learned the underlying rules rather than just memorizing specific examples. The researchers also observed a change in how the models "thought." Before this training, the models tended to focus on the specific numbers in a question, ignoring the structure. After training, their attention shifted to the structure of the problem itself, allowing them to treat unknown variables with the same logical care as known numbers. This shift suggests the models were developing a form of algebraic thinking, treating problems as systems of relationships rather than lists of facts to be recalled.

The study also explored how different types of changes affected the learning process. They found that changing the numbers in the problems was far more effective at teaching the model to reason than simply rewriting the questions in different words. This indicates that the key to adaptive reasoning is exposing the model to a wide variety of numerical scenarios, forcing it to rely on logic to navigate the differences. The researchers noted that while the method worked well, it had limits; it required the problems to be solvable by a computer program, which meant it was best suited for math and logic tasks rather than more abstract fields like proving complex theorems. Furthermore, the success of the method depended on the model already having a solid foundation of mathematical knowledge. The system could not teach reasoning from scratch to a model that knew nothing; it could only refine the reasoning of a model that already had the basic building blocks.

Ultimately, this work offers a clear path forward for making artificial intelligence more reliable. By moving away from simple memorization and toward adaptive reasoning, the researchers have shown that it is possible to build models that can handle the unexpected. The findings suggest that the future of intelligent systems lies not just in making them bigger or faster, but in teaching them to understand the rules that govern the world, rather than just the specific examples they have seen before. As these models become more integrated into our daily lives, from solving financial equations to planning complex logistics, the ability to adapt to new information without failing will be essential. The AdaR framework provides a blueprint for achieving this, turning brittle, pattern-matching machines into flexible, logical thinkers capable of navigating a world that is constantly changing.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →