arXiv:2610.08561cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08561

Reinforcement Learning for Hierarchical Reasoning Rewards: Minimax-Optimal Rates with Transformers

Naoki Nishikawa, Taiji Suzuki

ABSTRACT

Reinforcement learning (RL) has become a standard tool for post-training language models on reasoning tasks, where the policy is updated by reward feedback while exploring the space of responses. Despite its empirical success, theoretical understanding of RL post-training remains limited, in particular of why on-policy exploration combined with a neural reward model is effective. In this paper, we address this question by modeling the reward as a hierarchical function on the response space: the reward consists of infinitely many local components, each of which becomes relevant only after the preceding ones have been resolved. We show that a natural Transformer-based actor-critic algorithm, which alternates between sampling from the current KL-regularized policy, fitting a Transformer critic to the observed rewards, and updating the policy, achieves the minimax optimal rates in the query budget and in the regularization strength up to logarithmic factors, and is minimax optimal for a fixed number of prompts. In contrast, we prove that sampling from the fixed reference distribution, as in offline reward modeling, can limit regret decay to a logarithmic rate. These results show that on-policy exploration progressively zooms in on the region where the reward is concentrated, and quantify its benefit for RL post-training.

1 INTRODUCTION

Reinforcement learning (RL) has emerged as a central ingredient in post-training large language models (LLMs) for complex reasoning. Recent systems have demonstrated substantial gains on mathematical reasoning, coding, and other verifiable tasks by optimizing model-generated responses against outcome-based rewards (Shao et al., 2024; Guo et al., 2025; Kimi Team, 2025). In contrast to supervised fine-tuning from a fixed collection of demonstrations, RL post-training repeatedly generates responses from the current policy, scores them with a reward model or verifier, and updates the policy with the resulting feedback. This creates a feedback loop: as the model improves, the distribution of responses from which subsequent training data are collected changes as well.

Despite the empirical success of this paradigm, the statistical role of such adaptive data collection is not yet fully understood. Recent theoretical work has identified several benefits of exploration in LLM reasoning and alignment, through the dynamics of reasoning, the generalization of the learned policy, or the implicit exploration of a KL-regularized policy (Foster et al., 2025; Kim et al., 2025; Wang et al., 2026a;b), and suggests that where the training responses come from can be as important as the learning rule applied to them. Yet a basic statistical question remains open: when and why does adapting the response distribution improve the rate of learning, in particular for the reasoning tasks that have driven recent progress in RL post-training, in which a correct solution must clear several difficult steps in succession?

To study this question, we formulate LLM post-training as KL-regularized reward maximization over a response space and introduce a hierarchical model of reasoning rewards. The motivation is that complex reasoning rarely reveals all of its difficulties at once: only after one hard step has been cleared does it become apparent that another, again nontrivial, problem must be solved next. In a mathematical proof, for example, one may first need to find the right theorem to invoke; only once this is settled does it become clear which transformation is needed to apply it, and only then do the finer algebraic and logical decisions come into view. We model this by a hierarchy of smooth reward components supported on nested regions of the response space, with progressively more localized reward structure appearing closer to optimal responses.

This hierarchical structure creates a sharp statistical distinction between fixed and adaptive response collection. Under the uniform reference distribution, the nested regions carrying deeper reward components occupy exponentially small fractions of the response space, and observations outside a region carry no information about the component inside it: one cannot tell that a deeper step is needed before getting that far. Learning a deep component is therefore a rare-event problem. On-policy RL removes this barrier: once a coarse reward component has been learned, the policy shifts its mass toward the corresponding promising region, so that the next batch is collected precisely where the next, finer component becomes visible. Repeating this step progressively localizes the data distribution around high-reward responses.

Contributions. We make this intuition precise through a minimax analysis. Let nn denote the total number of reward observations, MM the number of prompts, ρ≥0\rho \geq 0 the strength of the KL regularization, γ>1\gamma > 1 the rate at which deeper reward components decay, and α\alpha the smoothness of the components in a dd-dimensional response embedding space. Our contributions are threefold.

  1. Hierarchical reward model and minimax characterization. We introduce the nested hierarchical reward model and characterize the minimax regret over all (adaptive) algorithms. For fixed MM, when the regularization is absent or weak, the minimax rate is Θ~(n−(γ−1)/(2γ+1))\widetilde{\Theta}\big(n^{-(\gamma-1)/(2\gamma+1)}\big): the difficulty is how deep in the hierarchy the learner can explore. In the large-budget regime, the rate is Θ~(ρ(n/n0)−2α/(2α+d))\widetilde{\Theta}\big(\rho\big(n/n_0\big)^{-2\alpha/(2\alpha+d)}\big) with n0:=Mρ−(2+1/γ)n_0 := M\rho^{-(2+1/\gamma)}: the difficulty is the local nonparametric estimation of the reward near the optimum. The upper bounds match the lower bounds up to logarithmic factors and a factor polynomial in MM, and up to logarithmic factors for fixed MM.

  2. A minimax-optimal Transformer actor–critic. We give an on-policy actor–critic whose critic is a causal Transformer, refitted at every iteration to fresh on-policy observations, and whose actor is the resulting Gibbs policy. Such a procedure, motivated by standard RL post-training, attains both rates above up to logarithmic factors and is thus minimax optimal for fixed M.

  3. A statistical separation from fixed response collection. We establish lower bounds for algorithms whose responses are drawn from the fixed reference distribution μ\mu, as in offline reward modeling, while the estimator and the output policy are unrestricted. Because deeper reward components are exponentially rare under fixed sampling, the regret can decay only logarithmically in n/Mn/M when the regularization is weak. The benefit of on-policy RL is therefore statistical, not merely an optimization effect of the policy update.

Related work. A first line of work adapts the distribution of tasks or prompts during training: easy-to-hard schedules (Li et al., 2023; Parashar et al., 2026), adaptive prompt selection from the current performance (Rajaraman et al., 2026), and depth- or hint-based curricula (Bu et al., 2026). The last makes RL post-training with outcome-only rewards polynomial instead of exponential on a discrete reasoning tree. There the adaptivity is over prompts or tasks and the intermediate signal is supplied by the curriculum; here the prompt distribution is fixed and the learner adapts only its response distribution, which is possible because the reward is graded rather than outcome-only.

Technically, the closest algorithms are those for continuum-armed bandits, which partition the action space hierarchically and refine it around the maximizer (Kleinberg et al., 2008; Bubeck et al., 2011; Munos, 2011; Valko et al., 2013). We depart from that line in three ways, all motivated by LLM reasoning: the reward is hierarchical, with a new difficulty appearing at every level; the target is a diverse policy, the Gibbs policy at temperature ρ>0\rho > 0, rather than the maximizer alone; and the optimal rates are attained by fitting an LLM-compatible Transformer critic and updating a Gibbs actor, rather than by optimistic tree search. Nishikawa & Suzuki (2026) likewise alternate between updating a policy and refitting a neural reward estimator, but for a non-hierarchical reward with a fully connected estimator that must be smoothed before it drives the policy, and their rate is not matched by a lower bound. Appendix A discusses these two lines in more detail, together with search over reasoning trajectories, on-policy exploration under KL regularization, and neural function approximation in estimation and RL.

Figure

Figure 1: A hierarchically nested reward (Definition 1), for d=1d = 1 and zoom depths ℓi=2\ell_i = 2. (Top) A response is a path in a tree with 2d2^d children per node, and a prefix of depth hh is a dyadic cube of that depth. The primitive g1g_1 lives on Ω\Omega; inside the cell C1C_1 around its maximizer, g2g_2 is added, rescaled to C1C_1, and so on. (Bottom) The resulting reward f=∑icihif = \sum_i c_i h_i: bumps of decreasing weight ci≍i−γc_i \asymp i^{-\gamma} and decreasing width accumulate around the maximizer y∞=⋂iCiy_\infty = \bigcap_i C_i.