MeRLa Improves RLHF Alignment with Meta-Learned Reward Shaping

Yunpeng Chu· July 30, 2026 View original

Summary

This paper introduces MeRLa (Meta-Learned Reward Shaping), a framework that meta-learns a task-aware shaping function to provide more effective learning signals for Reinforcement Learning from Human Feedback (RLHF). MeRLa consistently improves LLM alignment, achieving higher win rates and stability compared to existing methods.

Reinforcement Learning from Human Feedback (RLHF) is the standard method for aligning large language models (LLMs) with human preferences. However, its effectiveness is often limited by static, task-agnostic reward models, which can lead to sparse learning signals and suboptimal alignment. This new research presents MeRLa (Meta-Learned Reward Shaping), a principled framework designed to overcome these limitations. MeRLa meta-learns a task-aware shaping function across auxiliary tasks before the main RLHF training. This learned function generates a composite reward that not only preserves policy optimality but also provides rich, task-specific learning signals. The meta-objective combines task discrimination, entropy regularization, and potential-based conservation to ensure stable convergence. Experiments conducted on LLaMA-3-8B across four benchmarks demonstrated that MeRLa consistently outperforms existing methods like PPO, DPO, GRPO, and DAPO, achieving a 90.8% length-controlled win rate on AlpacaEval 2.0 and significantly improved stability during training.

Why it matters

For professionals developing and deploying LLMs, MeRLa offers a significant advancement in alignment techniques, promising more robust, stable, and human-aligned models with reduced training instability.

How to implement this in your domain

  1. 1Investigate integrating meta-learned reward shaping techniques like MeRLa into your LLM alignment pipelines.
  2. 2Evaluate the potential of task-aware reward functions to improve the performance and stability of your RLHF models.
  3. 3Explore the use of auxiliary tasks to pre-train reward shaping functions for better alignment.
  4. 4Benchmark MeRLa against current RLHF methods (PPO, DPO) for your specific LLM applications.

Who benefits

AI DevelopmentContent CreationCustomer ServiceEdTechHealthcare

Key takeaways

  • MeRLa improves RLHF by meta-learning task-aware reward shaping functions.
  • It provides richer, task-specific learning signals, enhancing LLM alignment.
  • MeRLa consistently outperforms current RLHF methods in win rates and stability.
  • The framework offers theoretical guarantees for policy invariance and addresses incentive misalignment.

Original post by Yunpeng Chu

"arXiv:2607.26094v1 Announce Type: new Abstract: Reinforcement Learning from Human Feedback (RLHF) is the standard approach for aligning large language models with human preferences, but its quality is limited by static, task-agnostic reward models. This mismatch leads to sparse l…"

View on X

Originally posted by Yunpeng Chu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses