Find transition-equivalent segments
Mine word n-grams inside sentence boundaries from rollouts. Next-token entropy is a tractable surrogate for transition equivalence.
NeurIPS 2026 · arXiv:2605.18597
1Université de Montréal 2The University of Sydney 3Fudan University 4University of Illinois Urbana-Champaign 5Amazon Science 6Stanford University 7HKUST (Guangzhou) 8Mila – Quebec AI Institute 9Yale University 10DeepWisdom
* Equal contribution; author order determined randomly † Corresponding authors
Each cell is roughly one token of the TriviaQA case study from the paper, with a latent vocabulary mined live in your browser. LAR folds recurring, low-entropy scaffolding into single latent actions z and keeps the search query and answer explicit.
Point at a cell to read its token. Latent cells show the segment they replace.
−27.1%
action tokens on TriviaQA with Qwen3-8B, while accuracy rises to 80.09 (ReAct: 77.84)
0.1%
of parameters trained: a LoRA adapter (r = 8) plus embeddings for the new latent actions
0overhead
at decoding time: latent actions are ordinary vocabulary tokens, so no expansion step is needed
+27% EM
on the OpenClaw agent runtime after reparameterizing just 6.7% of its static prompt
Large language model (LLM) agents often rely on long sequences of low-level textual actions, resulting in large effective decision horizons and high inference cost. While prior work has focused on improving inference efficiency through system-level optimizations or prompt engineering, we argue that a key bottleneck lies in the representation of the action space itself. We propose Latent Action Reparameterization (LAR), a framework that learns a compact latent action space in which each latent action corresponds to a multi-step semantic behavior. By reparameterizing agent actions into latent units, LAR enables decision making over a shorter effective horizon while preserving the expressiveness of the original action space.
Unlike hand-crafted macros or hierarchical controllers, latent actions are learned from agent trajectories and integrated directly into the model, allowing both planning and execution to operate over abstract action representations. Across a range of LLM-based agent benchmarks, LAR significantly reduces the effective action horizon and improves inference efficiency under fixed compute budgets. As a consequence, our approach achieves substantial reductions in action tokens and corresponding wall-clock inference time, while maintaining or improving task success rates. These results suggest that action representation learning is a critical and underexplored factor in scaling efficient LLM agent inference, complementary to advances in model architecture and hardware.
Methodology
An agent's effective horizon is the number of generation decisions it makes, Heff(τ) = Σt |at|. Much of that budget goes to scaffolding the model regenerates on every step: tool syntax, output formats, reasoning templates. LAR learns which segments are transition-equivalent (their effect does not depend on the surrounding history) and gives each one a single vocabulary symbol. Anything that binds a parameter, such as a search query, an entity or a code identifier, stays in explicit tokens so the action remains executable.
Mine word n-grams inside sentence boundaries from rollouts. Next-token entropy is a tractable surrogate for transition equivalence.
Keep segments with freq ≥ fmin and H ≤ Hmax, rank them, drop overlaps (ρ = 0.7), keep the top K as new symbols <seg_k>.
Longest-first matching replaces vocabulary segments with their symbols. The original is the teacher input; the reparameterized is the student input.
A frozen teacher reads ; the student (LoRA r = 8, α = 16 on q/k/v/o, plus new embeddings) reads . KL is taken only on positions with identical text, so the new embeddings must carry what they replaced.
At inference a latent action is looked up and run through the transformer like any other token. Token-level compression therefore turns directly into savings in prefill compute, KV-cache memory and latency, with no decoding or post-processing step.
Main experiments
LAR is compared with prompting baselines and with efficiency methods that act on tokens (TokenSkip, ConciseHint) or on context (ACON), using Qwen3-8B and Llama-3.1-8B-Instruct on reasoning-heavy retrieval (TriviaQA), structured code generation (KodCode) and tool-using web navigation (Mind2Web).
Task performance; parentheses give the relative change in action tokens vs. Vanilla. Bold marks the best score per backbone and benchmark.
The same pipeline on Qwen3.5-9B and the mixture-of-experts Qwen3.5-35B-A3B. LAR cuts action tokens by 7.2% to 47.2% while staying broadly comparable to the uncompressed baselines. Bold marks the best score per backbone and benchmark.
Latent actions learned on TriviaQA (QA) or KodCode (code) and applied unchanged to Musique, HumanEval and MBPP.
Token throughput (TT, tokens/s, higher is better) and peak GPU memory (PG, GB, lower is better), ReAct vs. LAR on the same hardware.
Analysis
Abstracting low-entropy scaffolding improves accuracy up to a boundary near 27%. Beyond it, queries and entity references start to be absorbed, environment-facing actions break, and accuracy drops sharply.
Training scores under GRPO for the vanilla backbone and the model after LAR training. With Llama, LAR converges faster; with Qwen3, it is as stable as the vanilla model.
@misc{huang2026latentactionreparameterizationefficient,
title={Latent Action Reparameterization for Efficient Agent Inference},
author={Wenhao Huang and Qingwen Zeng and Qiyue Chen and Zijie Guo and Yu Sun and Cheng Yang and Siru Ouyang and Jiri Gesi and Fang Wu and Jiayi Zhang and Huaming Chen and Bang Liu and Xiangru Tang and Chenglin Wu},
year={2026},
eprint={2605.18597},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2605.18597},
}