Conflict aware optimization improves joint reinforcement learning and distillation

CORD: Conflict-Aware Optimization for Joint RL and Distillation in Agents

Machine Learning

Summary

Training AI agents often uses two goals at once: one that learns from trial and error (reinforcement learning) and another that learns by copying a teacher (distillation). When combined, these goals can fight each other, slowing progress. The paper introduces CORD, a method that smartly detects and resolves conflicts between these goals during training. This leads to better performance in tasks such as virtual home navigation and online shopping assistance.

What this means in practice

  • For robotics engineers: Improve robot control policies by resolving conflicts in multiple training signals to enhance task success rates in complex environments.
  • For ecommerce platform developers: Enhance AI assistants on shopping websites by combining reward learning and teacher guidance more effectively, increasing task completion.

Authors

Wenhao Yu, Zhengcheng Wang, Jiahong Liu, Zexuan Qiu, Minda Hu, Shaohang Wei, Jiafei Lyu, Junyan Lyu, Haobo Fu, Irwin King

Abstract

Joint reinforcement learning and self-distillation combines task rewards with dense teacher guidance for agent training, but their gradients can partly cancel. A mixing coefficient controls relative scale without selectively removing opposing components. We present CORD, a general framework for conflict-aware optimization of two objectives. CORD separates the choice of protected objective from the condition that triggers projection, and combines the gradients once per optimizer mini-batch. A nearest-point formulation yields a closed-form update and characterizes its first-order effect on the protected objective before optimizer transformations. Gradient diagnostics connect conflict in agent training to lost local optimization progress and motivate selective correction. As a gradient-combination mechanism, CORD can be added to different joint training recipes while retaining their objectives. Across three such recipes, it improves ALFWorld success by 1.5-15.9 percentage points. On WebShop, it improves two of the three pairs, with SDAR rising from 60.7% to 64.6% success. Our analyses explain why protection direction and projection gate must be chosen together, and why the distillation objective and its mixing weight remain consequential after projection.