cs.AIOct 10, 2026

Learning after Execution with Action-Specific Credit

Authors: Yufeng Tian, Jiahao Tang, Minghao Wu

Organizations: The Chinese University of Hong Kong, Shenzhen, China · Central South University, Changsha, China

Abstract

Execution is often used as terminal feedback: it scores a generated program, but the resulting state is not used for another learning action. Learning after execution instead uses the execution result as an intermediate state that supports an additional learning interaction for the same policy. This creates a credit-assignment problem because the two actions share the same final objective but play different roles in the trajectory. Accordingly, action-specific credit assigns the initial action credit from the final trajectory outcome and the corrective action credit for improvement over the intermediate state. Image-to-TikZ serves as an executable visual testbed for this setting. On 945 held-out examples, learning after execution strengthens the shared policy under single-call inference and also produces a post-execution corrective capability. Single-call render success reaches 92.70%, compared with 88.25% for continued single-stage GRPO after the same number of additional training iterations. This corrective capability is not reproduced by continued single-stage training and depends on the intermediate state. Alternative credit definitions also induce different group-relative preferences over the same trajectories. Together, these results suggest that executable tasks contain useful learning structure beyond a terminal reward. Code is available at https://github.com/tianyufengcn/Learning-after-Execution.

Figures & tables

Appendix figures & tables31 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Success Leaves Detours: Learning Executable Walkthroughs for Long-Horizon Agents

    Aug 20, 2026Kaijie Chen, Chenyu Fang, Liang Yan +3Long-Horizon LLM AgentsMemory-Augmented Agents

  2. Credit Where It Matters: Dependency-Aware Policy Optimization for Terminal Agents

    Oct 2, 2026Yu Li, Guangfeng Cai, Long-Fei Li +5Credit AssignmentStep-Level Credit Assignment in RL