NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Learning CLI Agents with Structured Action Credit under Selective Observation

Haoyang Su, Ying Wen

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › Agentic Reinforcement Learning with World Models · Type: new method · Keywords: interactive agents, partial observability, credit assignment, reinforcement learning, structured actions, AST residuals

Areas: AI Agents › Agent Optimization and Evaluation › Agentic Reinforcement Learning; RL for LLMs & Agents › Language Model Agents › Language-Guided Policy Optimization

Summary

The paper introduces σ-Reveal for selective observation and A³ for action credit assignment to address partial observability and sparse reward problems in learning CLI agents.

Explained to a 5-year-old

People can talk to computers by typing commands, like telling a robot what to do. When a robot tries to learn how to do new things, it often only sees a small part of what is happening. It also gets a reward only after many steps, which makes it hard to know which actions were good. The paper introduces two ideas to help with these problems. The first idea helps the robot choose which pieces of information are most useful to look at. The second idea helps the robot figure out which actions contributed most to the final result. By using these ideas, the robot can understand tasks better and learn faster.

Explained to a 5-year-old, longer

People can talk to computers by typing commands, like telling a robot what to do. When a robot tries to learn how to do new things, it often only sees a small part of what is happening. It also gets a reward only after many steps, which makes it hard to know which actions were good. The paper introduces two ideas to help with these problems. The first idea helps the robot choose which pieces of information are most useful to look at. The second idea helps the robot figure out which actions contributed most to the final result. By using these ideas, the robot can understand tasks better and learn faster. This makes it possible for the robot to do more complicated jobs, like finding files and editing them, without needing a lot of extra data. The approach also works well when the robot has limited memory and processing power. It can be applied to many different kinds of interactive systems, not just command-line tools. The ideas are simple enough that even young programmers can understand the basic concepts. Overall, the paper shows how careful selection of information and clear credit assignment can improve learning in complex environments.

For a technical reader

The work tackles two common challenges in interactive agents: limited visibility into the environment and sparse reward signals. It proposes a context-selection mechanism that picks the most relevant tokens within a budget and a credit-assignment scheme that builds turn-level advantages from episode feedback, AST residuals, and trajectory margins. Together, these components enable more efficient learning without sacrificing algorithmic complexity. The solution is evaluated on a new dataset covering repository-based tasks, demonstrating improved performance over baseline methods.

Problem

Agents interacting with dynamic environments must infer relevant information from limited observations and assign credit to actions that contribute to long-term goals when feedback is sparse.

Method

The approach introduces an inference-time mechanism that selects a token-budgeted context for the environment and an RL method that constructs turn-level advantages using episode-level feedback, AST-based action sub-chain residuals, and tree-level trajectory margins.

Contributions

The paper identifies two bottlenecks in learning agents that interact with dynamic environments-partial observability and sparse credit assignment-and proposes an inference-time context selection mechanism and an RL credit assignment method that leverages structured action information and AST residuals.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction