UCO: A Multi-Turn Interactive Reinforcement Learning Method for Adaptive Teaching with Large Language Models

Shou'ang Wei, Min Zhang, Xin Lin, Bo Jiang, Kun Kuang, Zhongxiang DaiarXiv 2025 · DOI

TL;DR

This paper introduces UCO, a novel multi-turn reinforcement learning approach for adaptive AI tutors. UCO uses two innovative reward functions – Progress Reward and Scaffold Reward – to dynamically assess student understanding and tailor teaching strategies, moving beyond simple correctness to true cognitive development. UCO significantly outperforms existing models, achieving comparable performance to advanced closed-source systems while using smaller models.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being explored as intelligent tutors. However, current methods, primarily supervised fine-tuning (SFT), only mimic surface-level teaching patterns and lack dynamic adaptation. Reinforcement learning (RL) approaches have shown promise, but they often suffer from two key limitations:

  1. Focus on Output Correctness: They primarily reward models based on whether students produce correct answers, failing to distinguish genuine understanding from rote memorization or echoing the tutor. This can lead to "teaching to the test" rather than fostering deep comprehension.
  2. Inability to Track Cognitive States: Existing methods struggle to perceive a student's evolving cognitive state in real-time during an interactive dialogue. This prevents them from adapting teaching strategies to the student's current level of understanding, potentially leading to frustration (if too difficult) or boredom (if too easy).

The paper aims to bridge this gap by developing an adaptive teaching system that can accurately gauge student understanding and adjust its pedagogical approach dynamically.

Methods

The core of UCO is a multi-turn interactive reinforcement learning paradigm. The key innovations lie in its dual-objective reward function:

  • Progress Reward: This reward aims to quantify a student's cognitive progress. It's inspired by information theory, viewing progress as a reduction in cognitive entropy (moving from uncertainty to certainty). Since directly measuring student entropy is impractical, UCO uses two proxy indicators:
  • Potential Capability Score: Measures the student model's confidence in generating correct answers, using the maximum log-probability of candidate correct responses.
  • Semantic Quality Score: Assesses how semantically aligned the student's output is with correct answers, using text embeddings and cosine similarity. These two scores are combined with a tunable hyperparameter ($\lambda$) to form the progress reward.

  • Scaffold Reward: This reward operationalizes Vygotsky's Zone of Proximal Development (ZPD). It ensures teaching difficulty is neither too high nor too low, promoting "productive struggle." The method discretizes teaching actions into five scaffold levels (from metacognitive hints to example demonstrations). It dynamically identifies the student's ZPD by evaluating their success probability at different scaffold levels and then adjusts the teaching strategy to be one level below their mastery. A penalty is applied if the teacher deviates from this ZPD.

The teacher model is updated using the Group Relative Policy Optimization (GRPO) algorithm, which helps stabilize training by normalizing advantages within problem groups.

Datasets

  • Training Data: BigMath dataset [26] (specifically 2000 samples from the 10,000 available).
  • Evaluation Data:
    • BigMath benchmark.
  • MathTutorBench benchmark [27], which covers nine tasks across Math Expertise, Student Understanding, and Pedagogy.

Key Insights and Ideas

  • Beyond Correctness: The most significant insight is the move away from solely rewarding output correctness. UCO's reward functions explicitly target the process of learning and understanding, not just the final answer.
  • Cognitive State Modeling is Crucial: Accurately modeling a student's internal cognitive state (confidence, understanding) is key to effective adaptive teaching. The Progress Reward's proxies for cognitive state are a novel way to achieve this.
  • ZPD as a Practical Framework: Translating Vygotsky's ZPD into a computable reward mechanism provides a principled way to balance teaching difficulty and engagement.
  • Synergy of Rewards: The combination of Progress and Scaffold rewards creates a powerful feedback loop, ensuring both cognitive advancement and pedagogical appropriateness.
  • Smaller Models Can Excel: UCO demonstrates that even smaller, education-specific models can achieve performance comparable to much larger, general-purpose models when equipped with sophisticated pedagogical strategies.

Key Results

  • BigMath Benchmark: UCO (with a 7B parameter model) achieved a 30.2% △Solve Rate, 12.9% Leak Solution, and 4.6/4.5 Ped-RM micro/macro scores. This significantly outperformed similar-sized models and was comparable to advanced closed-source models, while achieving a much lower leakage rate.
  • MathTutorBench: UCO showed strong performance across Math Expertise, Student Understanding, and Pedagogy, often surpassing education-specific baselines.
  • Ablation Studies: Both the Progress Reward and Scaffold Reward were shown to be crucial for UCO's performance. Removing either component led to significant degradation in key metrics.
  • General Mathematical Reasoning: UCO maintained high performance on general math reasoning benchmarks (GSM8K and MATH500), showing minimal drops compared to its backbone model, indicating it doesn't sacrifice general ability for specialized tutoring.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the current implementation uses a fixed student model for training. Future work could explore end-to-end training of both teacher and student models.
  • While UCO performs well, the paper doesn't explicitly detail the computational cost of generating candidate responses or running the oracle model for reward calculation, which could be a factor in real-time deployment.
  • Future Work:
    • The authors suggest extending UCO to broader educational domains beyond mathematics, such as programming education and scientific reasoning.
  • Exploring end-to-end training of both teacher and student models.
  • Investigating more sophisticated methods for modeling student cognitive states.

Summary updated

Abstract

Large language models (LLMs) are shifting from answer providers to intelligent tutors in educational settings, yet current supervised fine-tuning methods only learn surface teaching patterns without dynamic adaptation capabilities. Recent reinforcement learning approaches address this limitation but face two critical challenges. First, they evaluate teaching effectiveness solely based on whether students produce correct outputs, unable to distinguish whether students genuinely understand or echo teacher-provided answers during interaction. Second, they cannot perceive students' evolving cognitive states in real time through interactive dialogue, thus failing to adapt teaching strategies to match students' cognitive levels dynamically. We propose the Unidirectional Cognitive Optimization (UCO) method to address these challenges. UCO uses a multi-turn interactive reinforcement learning paradigm where the innovation lies in two synergistic reward functions: the Progress Reward captures students' cognitive advancement, evaluating whether students truly transition from confusion to comprehension, while the Scaffold Reward dynamically identifies each student's Zone of Proximal Development (ZPD), encouraging teachers to maintain productive teaching within this zone. We evaluate UCO by comparing it against 11 baseline models on BigMath and MathTutorBench benchmarks. Experimental results demonstrate that our UCO model outperforms all models of equivalent scale and achieves performance comparable to advanced closed-source models. The code and data are available at https://github.com/Mind-Lab-ECNU/UCO.
BibTeX
@misc{wei2025uco,
  author = {Shou'ang Wei and Min Zhang and Xin Lin and Bo Jiang and Kun Kuang and Zhongxiang Dai},
  title = {{UCO: A Multi-Turn Interactive Reinforcement Learning Method for Adaptive Teaching with Large Language Models}},
  year = {2025},
  eprint = {2511.08873},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.08873},
}
Figure