Latent Action Reparameterization for Efficient Agent Inference

Qingwen Zeng, Wenhao Huang, Zerui Xu, Zijie Guo, Yu Sun, Cheng Yang, Siru Ouyang, Jiri Gesi, Fang Wu, Jiayi Zhang, Bang Liu, Chenglin Wu, Xiangru Tang

TL;DR

Large language model (LLM) agents often get bogged down by long sequences of low-level actions, leading to slow inference. This paper introduces Latent Action Reparameterization (LAR), a method that learns a compact "latent action" space to represent multi-step behaviors, significantly reducing the effective decision horizon and improving inference efficiency without sacrificing performance.

What Problem Does This Paper Address?

LLM agents, while powerful for complex tasks, face a significant bottleneck in inference efficiency. This is primarily due to their reliance on long sequences of low-level textual actions. Each token generated represents a decision, leading to a large "effective decision horizon" and high computational costs. Existing solutions often focus on system-level optimizations or prompt engineering, but this paper argues that the core issue lies in how actions themselves are represented. The authors propose that a more abstract, yet executable, representation of actions is key to unlocking efficient LLM agent inference.

Methods

The core innovation is Latent Action Reparameterization (LAR). This framework learns a compact latent action space where each "latent action" represents a multi-step semantic behavior. This is achieved through a four-stage pipeline:

  1. Identifying Transition-Equivalent Segments: The system analyzes agent trajectories to find recurring sequences of low-level actions that lead to similar outcomes, regardless of the preceding context. This is approximated by measuring "next-token entropy" – segments with predictable continuations are considered good candidates for abstraction.
  2. Constructing a Latent Action Vocabulary: These identified segments are then grouped into equivalence classes, forming a vocabulary of latent actions.
  3. Preparing Dual-Format Training Data: Original trajectories are paired with reparameterized versions where identified segments are replaced by their corresponding latent action symbols.
  4. Trajectory-Level Distillation: A frozen LLM (teacher) processes the original trajectory, while a student LLM (with new latent action embeddings) processes the reparameterized trajectory. The student is trained to mimic the teacher's predictions on shared content, forcing the latent action embeddings to capture the full semantics of the abstracted segments.

Crucially, LAR enforces executability, ensuring that abstracted latent actions still correspond to valid and semantically correct behaviors that can be executed by downstream systems. This is achieved by filtering out high-entropy, parameter-binding segments that are context-dependent.

Datasets

The paper uses the following datasets for training and evaluation:

  • TriviaQA: A multi-step reasoning benchmark.
  • KodCode: A code-generation benchmark with structured action patterns.
  • Mind2Web: A web-based, tool-using benchmark with rich interaction scaffolds.

Additionally, Musique, HumanEval, and MBPP are used as held-out benchmarks to test generalization.

Key Insights and Ideas

  • Action Representation is a Bottleneck: The paper strongly posits that the granularity of action representation is a primary driver of LLM agent inefficiency, more so than just model size or token generation speed.
  • Abstraction with Executability: The key to LAR's success is learning abstract latent actions that are not only semantically meaningful but also executable. This prevents performance collapse that can occur with unconstrained abstraction.
  • The "Abstraction Boundary": The authors empirically demonstrate a clear "abstraction boundary." Moderate abstraction of low-entropy, structural components improves efficiency and performance, but exceeding this boundary by abstracting high-entropy, parameter-binding content leads to a sharp performance degradation.
  • Generalizability of Latent Actions: Learned latent actions can generalize across different tasks and even different LLM backbones, suggesting they capture fundamental structural behaviors rather than dataset-specific quirks.
  • Complementary to Existing Methods: LAR is presented as a complementary approach to existing efficiency techniques, focusing on the action representation itself rather than just prompt engineering or token-level optimizations.

Key Results

  • Significant Efficiency Gains: LAR consistently reduces the effective action horizon, leading to substantial reductions in action tokens (e.g., ~27% on TriviaQA with Qwen3-8B) and corresponding improvements in token throughput and reductions in GPU memory usage.
  • Preserved Task Performance: Despite efficiency gains, LAR maintains or improves task success rates across benchmarks, often outperforming other efficiency-oriented methods. For example, on TriviaQA with Qwen3-8B, LAR achieves 80.09% accuracy, a slight improvement over Vanilla (67.40%) while reducing tokens by 27.1%.
  • Held-out Generalization: Latent actions learned on one set of benchmarks (e.g., TriviaQA, KodCode) transfer effectively to held-out benchmarks (e.g., Musique, HumanEval, MBPP) without retraining, demonstrating robust learning of domain-level abstractions.
  • Scalability: LAR shows effectiveness even with larger models (e.g., Qwen3-32B), achieving consistent performance improvements over baselines.
  • Industrial Applicability: LAR can be deployed as a drop-in optimization layer in industrial agent frameworks like OpenClaw, demonstrating its practical utility without requiring framework modifications.

Limitations and Future Work

  • Abstraction Boundary: The paper highlights the risk of performance collapse if abstraction goes too far, emphasizing the need to respect the identified "abstraction boundary." This suggests that careful tuning of abstraction levels is crucial.
  • Task Dependency: While LAR shows good generalization, the optimal configuration (e.g., frequency and entropy thresholds) can vary per benchmark, indicating that some task-specific adaptation might still be beneficial.
  • Future Work: The authors suggest that action representation learning is a critical and underexplored area. Future work could explore more sophisticated methods for identifying and learning latent actions, potentially leading to even greater efficiency gains and broader applicability. The paper also hints at the potential for LAR to be integrated more deeply into LLM architectures for even more seamless efficiency improvements.

Summary updated

BibTeX
@inproceedings{zeng2026latent,
  author = {Qingwen Zeng and Wenhao Huang and Zerui Xu and Zijie Guo and Yu Sun and Cheng Yang and Siru Ouyang and Jiri Gesi and Fang Wu and Jiayi Zhang and Bang Liu and Chenglin Wu and Xiangru Tang},
  title = {{Latent Action Reparameterization for Efficient Agent Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=YmrnpGIDSb},
}

Loading related content...

Figure