Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RL

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhou, Yixiao, Li, Yang, Cheng, Dongzhou, Fan, Hehe, Cheng, Yu
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914328429461504
author Zhou, Yixiao
Li, Yang
Cheng, Dongzhou
Fan, Hehe
Cheng, Yu
author_facet Zhou, Yixiao
Li, Yang
Cheng, Dongzhou
Fan, Hehe
Cheng, Yu
contents Reinforcement Learning from Verifiable Rewards (RLVR) trains large language models (LLMs) from sampled trajectories, making decoding strategy a core component of learning rather than a purely inference-time choice. Sampling temperature directly controls the exploration--exploitation trade-off by modulating policy entropy, yet existing methods rely on static values or heuristic adaptations that are decoupled from task-level rewards. We propose Introspective LLM, a hierarchical reinforcement learning framework that learns to control sampling temperature during generation. At each decoding step, the model selects a temperature based on its hidden state and samples the next token from the resulting distribution. Temperature and token policies are jointly optimized from downstream rewards using a coordinate ascent scheme. Experiments on mathematical reasoning benchmarks show that learned temperature policies outperform fixed and heuristic baselines, while exhibiting interpretable exploration behaviors aligned with reasoning uncertainty.
format Preprint
id arxiv_https___arxiv_org_abs_2602_13035
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RL
Zhou, Yixiao
Li, Yang
Cheng, Dongzhou
Fan, Hehe
Cheng, Yu
Machine Learning
Artificial Intelligence
Computation and Language
Reinforcement Learning from Verifiable Rewards (RLVR) trains large language models (LLMs) from sampled trajectories, making decoding strategy a core component of learning rather than a purely inference-time choice. Sampling temperature directly controls the exploration--exploitation trade-off by modulating policy entropy, yet existing methods rely on static values or heuristic adaptations that are decoupled from task-level rewards. We propose Introspective LLM, a hierarchical reinforcement learning framework that learns to control sampling temperature during generation. At each decoding step, the model selects a temperature based on its hidden state and samples the next token from the resulting distribution. Temperature and token policies are jointly optimized from downstream rewards using a coordinate ascent scheme. Experiments on mathematical reasoning benchmarks show that learned temperature policies outperform fixed and heuristic baselines, while exhibiting interpretable exploration behaviors aligned with reasoning uncertainty.
title Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RL
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2602.13035