From Problem-Solving to Teaching Problem-Solving: Aligning LLMs with Pedagogy using Reinforcement Learning

David Dinucu-Jianu, Jakub Macina, Nico Daheim, Ido Hakimi, Iryna Gurevych +1 more
5/21/2025
cs.CLcs.AI

No official code found. Best implementation: eth-lre/PedagogicalRL (52 stars, last commit 2025-12-11).

Abstract

Large language models (LLMs) can transform education, but their optimization for direct question-answering often undermines effective pedagogy which requires strategically withholding answers. To mitigate this, we propose an online reinforcement learning (RL)-based alignment framework that can quickly adapt LLMs into effective tutors using simulated student-tutor interactions by emphasizing pedagogical quality and guided problem-solving over simply giving away answers. We use our method to train a 7B parameter tutor model without human annotations which reaches similar performance to larger proprietary models like LearnLM. We introduce a controllable reward weighting to balance pedagogical support and student solving accuracy, allowing us to trace the Pareto frontier between these two objectives. Our models better preserve reasoning capabilities than single-turn SFT baselines and can optionally enhance interpretability through thinking tags that expose the model's instructional planning.

View on arXivView PDF

Code Implementations(1)

Multi-turn RL framework for aligning models to be tutors instead of answerers. EMNLP 2025 Oral

5213Shell, PythonMay 20, 202510 months ago

Similar Papers

Cite this paper

@article{dinucujianu2025from,
  title  = {From Problem-Solving to Teaching Problem-Solving: Aligning LLMs with Pedagogy using Reinforcement Learning},
  author = {David Dinucu-Jianu and Jakub Macina and Nico Daheim and Ido Hakimi and Iryna Gurevych and Mrinmaya Sachan},
  year   = {2025},
  eprint = {2505.15607},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.15607v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.15607.svg)](https://codeofpaper.com/paper/2505.15607)

Discussion