TL;DR
This paper introduces Partial Policy Gradients (PPG), a flexible framework that injects structural constraints into reinforcement learning for LLMs by optimizing for subsets of future rewards. By tuning the lookahead horizon ($K$), PPG allows practitioners to trade off policy complexity for statistical efficiency, effectively mitigating "persona drift" in long conversations even when training data is scarce.
What Problem Does This Paper Address?
When deploying Large Language Models (LLMs) for sequential, multi-turn tasks—such as role-playing, therapy simulation, or tutoring—models frequently suffer from persona drift. Over long conversational horizons (often 20 to 60 steps), the LLM tends to forget its initial constraints, contradict its previous statements, or abandon its assigned persona entirely.
Reinforcement Learning (RL) algorithms like Proximal Policy Optimization (PPO) and Group-Relative Policy Optimization (GRPO) are typically used to align LLMs. However, they face a steep statistical challenge: PPO requires a complex, token-level reward model, while GRPO distributes credit equally across all tokens, which severely degrades data efficiency. Full-horizon planning algorithms require massive amounts of data to resolve this credit assignment problem, whereas purely greedy approaches are short-sighted and lead to erratic, unstable behavior.
Methods
The authors propose Partial Policy Gradients (PPG), a framework that breaks down the total trajectory reward into additive per-step rewards ($r_t$) and optimizes the policy against a specific subset of future rewards ($R_t$).
By adjusting which future rewards an action is accountable for, PPG naturally instantiates a spectrum of policy classes:
- Full Policy Gradient (PG): Actions affect all future rewards (traditional full planning).
- Greedy Policy Gradient (GreedyPG): Actions only optimize for the immediate next reward ($K=1$).
- K-Step Lookahead Policy Gradient (K-Step-PG): Actions optimize for the next $K$ rewards.
Using Hoeffding’s inequality, the authors mathematically prove that restricting the lookahead horizon reduces the variance of empirical gradient estimates. Consequently, simpler policies (smaller $K$) enjoy faster gradient concentration, meaning they can be learned much more reliably with limited data.
Datasets
The framework was evaluated offline using two primary datasets:
- Consistent-LLMs Benchmark: Features human-persona dialogues across three distinct domains: Education (tutoring sessions), Therapy (counseling sessions), and Chatting (casual biographical dialogue). Trajectories range from 2 to 60 steps (averaging 23 steps).
- Synthetic Persona Chat: A complementary dataset containing generic and mixed-domain personas used specifically to evaluate scaling laws and cross-architecture consistency.
Key Insights and Ideas
- The Complexity vs. Efficiency Trade-Off: There is no one-size-fits-all planning horizon. When training data is scarce, complex full-planning policies fail because their gradient estimates are too noisy. Simpler, short-horizon policies win out due to their superior statistical efficiency.
- Domain Structure Dictates the Horizon:
- Education requires long-term planning (Full PG) because tutoring involves long pedagogical arcs where early steps directly impact later skill development.
- Therapy and Chatting favor intermediate lookaheads ($K=2$ or $3$). Full planning in these domains causes the model to "over-plan," creating highly unrealistic, dramatic emotional swings (e.g., a recovering alcoholic miraculously recovering or completely collapsing with no middle ground).
- The Greedy "Flip-Flop" Effect: Purely greedy RL ($K=1$) causes severe oscillations. The model makes a locally consistent decision to maximize immediate reward, inadvertently creates a future inconsistency, and then violently overcorrects on the next turn. Bounded lookahead ($K=2,3$) smooths out these ripples.
Key Results
- Low-Data Robustness: In a low-data regime (only 50 training trajectories), GreedyPG successfully learned consistent personas, while Full PG failed catastrophically—for instance, accidentally training a vegan chef persona to open a carnivore steakhouse.
- The Scaling Staircase: As the number of training trajectories scales from 50 to 5,000, the optimal lookahead horizon $K$ follows a distinct "staircase" pattern across different LLM architectures (Llama, Qwen, Gemma), systematically shifting from greedy to $K$-step, and finally to full planning.
- Sustained Coherence: Bounded lookahead policies ($K=2$ and $K=3$) maintained remarkably flat and stable persona consistency scores across extended 50+ turn rollouts, preventing the monotonic degradation that plagues base models.
Limitations and Future Work
- Empirical Variance Gap: While the authors provide theoretical concentration bounds showing that smaller subsets reduce gradient variance, they do not explicitly measure or report the empirical variance of the gradients during training.
- Dependence on Reward Decomposition: PPG relies on the availability of a well-behaved per-step reward function ($r_t$). The paper does not ablate how different reward decomposition choices or noisy step-level judges might impact performance.
- Scope of Evaluation: The empirical validation is strictly limited to conversational persona-alignment tasks. Future work is needed to see if these scaling laws and lookahead benefits transfer to other sequential LLM tasks like multi-step tool use, code generation, or web navigation.
Summary updated