paper-with-me

Papers

Teaching LLM to Reason: Reinforcement Learning from Algorithmic Problems without Code

2025-07-10 · Keqin Bao, Nuo Chen, Xiaoyuan Li, Binyuan Hui, Bowen Yu, Fuli Feng, Xiangnan He, Dayiheng Liu arxiv

Enhancing reasoning capabilities remains a central focus in the LLM reasearch community. A promising direction involves requiring models to simulate code execution step-by-step to derive outputs for given inputs. However, as code is often designed for large-scale systems, direct application leads to over-reliance on complex data structures and algorithms, even for simple cases, resulting in overfitting to algorithmic patterns rather than core reasoning structures. To address this, we propose TeaR, which aims at teaching LLMs to reason better. TeaR leverages careful data curation and reinforcement learning to guide models in discovering optimal reasoning paths through code-related tasks, thereby improving general reasoning abilities. We conduct extensive experiments using two base models and three long-CoT distillation models, with model sizes ranging from 1.5 billion to 32 billion parameters, and across 17 benchmarks spanning Math, Knowledge, Code, and Logical Reasoning. The results consistently show significant performance improvements. Notably, TeaR achieves a 35.9% improvement on Qwen2.5-7B and 5.9% on R1-Distilled-7B.

📄 PDF Abstract BibTeX arXiv:2507.07498

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningLogical Reasoning

Similar Papers 제목 키워드 기반

Teaching Algorithmic Reasoning via In-context Learning

2022-11-15 · Hattie Zhou, Azade Nova, Hugo Larochelle, Aaron Courville 외

Large language models (LLMs) have shown increasing in-context learning capabilities through scaling up model and data size. Despite this progress, LLMs are still unable to solve algorithmic reasoning problems. While prov…

In-Context Learning

KNARsack: Teaching Neural Algorithmic Reasoners to Solve Pseudo-Polynomial Problems

2025-09-17 · Stjepan Požgaj, Dobrik Georgiev, Marin Šilić, Petar Veličković arxiv

Neural algorithmic reasoning (NAR) is a growing field that aims to embed algorithmic logic into neural networks by imitating classical algorithms. In this extended abstract, we detail our attempt to build a neural algori…

Tackling GNARLy Problems: Graph Neural Algorithmic Reasoning Reimagined through Reinforcement Learning

2025-09-23 · Alex Schutz, Victor-Alexandru Darvariu, Efimia Panagiotaki, Bruno Lacerda 외 arxiv

Neural algorithmic reasoning (NAR) is a paradigm that trains neural networks to execute classic algorithms by supervised learning. Despite its successes, important limitations remain: inability to construct valid solutio…

Reinforcement Learning

WirelessMathLM: Teaching Mathematical Reasoning for LLMs in Wireless Communications with Reinforcement Learning

2025-09-27 · Xin Li, Mengbing Liu, Yiyang Zhu, Wenhe Zhang 외 arxiv

Large language models (LLMs) excel at general mathematical reasoning but fail catastrophically on specialized technical mathematics. In wireless communications, where problems require precise manipulation of information-…

Reinforcement LearningMathematical Reasoning

Interactive Teaching Algorithms for Inverse Reinforcement Learning

2019-05-28 · Parameswaran Kamalaruban, Rati Devidze, Volkan Cevher, Adish Singla

We study the problem of inverse reinforcement learning (IRL) with the added twist that the learner is assisted by a helpful teacher. More formally, we tackle the following algorithmic question: How could a teacher provid…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)