TARPO: Token-Wise Latent-Explicit Reasoning via Action-Routing Policy Optimization

Liting Zhang, Shiwan Zhao, Xuyang Zhao, Zichen Xu, Jianye Wang +1 more
6/4/2026
cs.CL
rl

Official code: NKU-LITI/TARPO-master (6 stars, Python, last commit 2026-06-05).

Abstract

Latent reasoning has emerged as a promising alternative to discrete Chain-of-Thought (CoT) in large language models (LLMs), enabling more expressive reasoning by operating over continuous representations. However, the inherently deterministic nature of continuous representations limits policy exploration in reinforcement learning (RL).

Show full abstract

To address this, we propose TARPO (Token-Wise Latent-Explicit Reasoning via Action-Routing Policy Optimization), a pure RL framework that adaptively switches between discrete token generation and continuous latent reasoning at each step. TARPO introduces a lightweight action head router that observes the current hidden state and samples a routing decision from a binary mode-selection space, preserving the stochasticity of discrete token sampling from the vocabulary. The LLM backbone and router are jointly optimized end-to-end with a shared group-relative advantage signal. Extensive experiments across Qwen2.5 (from 1.5B to 7B) and Llama-3.1-8B backbones demonstrate that TARPO consistently outperforms existing explicit and latent reasoning RL baselines across diverse benchmarks. Further analysis shows that TARPO learns adaptive token-wise switching behaviors while maintaining stable training dynamics. Our code is available at https://github.com/NKU-LITI/TARPO-master.

View on arXivView PDF

Code Implementations(1)

TARPO: Token-Wise Latent-Explicit Reasoning via Action-Routing Policy Optimization

61Python, CudaJun 1, 20265 months ago

Similar Papers

Cite this paper

@article{zhang2026tarpo,
  title  = {TARPO: Token-Wise Latent-Explicit Reasoning via Action-Routing Policy Optimization},
  author = {Liting Zhang and Shiwan Zhao and Xuyang Zhao and Zichen Xu and Jianye Wang and Qicheng Li},
  year   = {2026},
  eprint = {2606.05859},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.05859v1}
}

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/2606.05859.svg)](https://codeofpaper.com/paper/2606.05859)

Discussion