Understanding Curriculum Learning in Policy Optimization for Online Combinatorial Optimization

Runlong Zhou, Yuandong Tian, Yi Wu, Simon Shaolei Du

Combinatorial Optimization (CO) problems, such as the Knapsack Problem or the Traveling Salesman Problem, are notoriously difficult and often NP-hard. Recently, Reinforcement Learning (RL) has emerged as a promising tool for finding generic models to solve these tasks. Practitioners frequently pair RL with Curriculum Learning (CL)—training agents on small, easy instances before scaling up—to achieve strong empirical results. However, the theoretical justification for why CL is so effective in this domain has remained elusive.

This paper bridges that gap, providing the first systematic theoretical framework for policy optimization in online CO problems. By mathematically modeling the learning process, the authors reveal how curricula dramatically accelerate convergence by keeping the learning agent on the right track.

Theoretical Framework: LMDPs and the $\kappa$ Factor

The authors propose modeling online CO problems as Latent Markov Decision Processes (LMDPs). In an LMDP, an agent faces a distribution of different problem instances (the "latent" variable) but must learn a single, history-independent policy that performs well across all of them.

To understand convergence, the researchers analyze the Natural Policy Gradient (NPG) algorithm within this LMDP framework. Through this analysis, they identify a critical metric: the relative condition number ($\kappa$).

This $\kappa$ factor measures the "distribution shift"—the mismatch between the states the current policy visits and the states the optimal policy would visit. A high $\kappa$ indicates the agent is effectively lost in the state space, leading to slow learning. Conversely, a low $\kappa$ means the agent is exploring highly relevant areas of the problem space, allowing for rapid optimization.

The Mechanics of Curriculum Learning

The core insight of the paper is that Curriculum Learning acts as a powerful distribution shift reducer. Rather than simply making a task "easier" to accumulate early rewards, a curriculum provides a stronger sampling policy that keeps $\kappa$ low. This leads to several key findings:

  • Exponential Speedup: For the Best Choice Problem (also known as the Secretary Problem), the authors mathematically prove that a curriculum reduces the distribution shift ($\kappa$) exponentially compared to naive random sampling.
  • Curriculum Simplification: The theoretical analysis yields a surprising practical benefit. Complex, multi-step curricula often used in prior work can typically be simplified into a single-step scheme (just one smaller-scale warm-up task) without significant performance loss.
  • Randomness is Sufficient: Even a randomly generated small-scale curriculum can dramatically accelerate training on the target large-scale problem, provided the underlying problem structures are similar.

Empirical Validation

The authors evaluated their theory on three canonical online CO problems: the Best Choice Problem (BCP), the decision version of Online Knapsack (OKD), and the decision version of AdWords (ADW).

The experiments strongly validated the theoretical bounds. In BCP tests, agents trained with a curriculum reached near-optimal rewards almost immediately. In contrast, direct training without a curriculum struggled to learn even after millions of samples. Furthermore, by tracking the value of $\ln(\kappa)$ during training, the researchers confirmed that curriculum-based methods consistently maintained a much lower distribution shift, directly correlating with faster convergence and higher final rewards.

Limitations and Future Directions

To maintain scalability, the authors focused on history-independent policies, acknowledging these might be slightly sub-optimal compared to theoretical history-dependent alternatives. Additionally, while they derived a clean analytical form for $\kappa$ in the Best Choice Problem, more complex problems like Knapsack and AdWords required empirical tracking of the condition number.

Future research could seek analytical bounds for a broader range of CO problems. Furthermore, while this study focuses on curricula based on problem scale (e.g., sequence length), exploring curricula based on other difficulty factors, such as reward sparsity, remains an exciting open area.

Summary updated

BibTeX
@inproceedings{zhou2023understanding,
  author = {Runlong Zhou and Yuandong Tian and Yi Wu and Simon Shaolei Du},
  title = {{Understanding Curriculum Learning in Policy Optimization for Online Combinatorial Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=pYC3W83uwm},
}
Figure