An Efficient Combinatorial Optimization Model Using Learning-to-Rank Distillation

Honguk Woo, Hyunsung Lee, Sangwoo Cho

Introduction

Combinatorial Optimization Problems (COPs), such as the Multidimensional Knapsack Problem (MDKP) and task scheduling, are fundamental to resource management and system design. While Deep Reinforcement Learning (DRL) has emerged as a powerful tool for finding near-optimal solutions to these NP-hard problems, most state-of-the-art models rely on sequential decoders. These decoders pick items one by one, recalculating probabilities at every step, which introduces significant latency. In mission-critical environments like System-on-Chip (SoC) task placement, where decisions must be made in milliseconds, these sequential models are often too slow for production.

The RLRD Framework

To address this "speed vs. accuracy" trade-off, this paper introduces RLRD (RL-to-rank distillation). The framework distills the knowledge of a complex, iterative RL "teacher" into a lightning-fast, non-iterative "student" ranking network.

The RLRD framework illustrating the distillation of a sequential RL teacher into a non-iterative student ranking network.

The distillation process involves three key components:

  1. Teacher Model: A high-performance encoder-decoder model based on an attention mechanism, trained via RL to solve COPs sequentially.
  2. Student Model: A simpler, non-iterative network that assigns a "score" to all items in a single pass.
  3. DiffRank (Differentiable Ranking): Since standard sorting is non-differentiable, the authors utilize a differentiable relaxation called DiffRank. This allows the student to learn the teacher's ranking policy directly through backpropagation.

To further bridge the performance gap, the authors employ Gumbel-Trick Sampling. By adding Gumbel noise to the student's scores, the model can generate multiple candidate solutions in parallel, allowing for efficient exploration of the solution space with minimal time overhead.

Context Dependency Analysis

A critical insight of this work is the "context-dependency" spectrum of COPs. The effectiveness of a non-iterative ranking approach depends on how much the "value" of an item changes based on previous selections.

KL-divergence analysis across different time intervals, highlighting the varying context dependency of MDKP, GFPS, and TSP.

As shown in Figure 2, problems like MDKP and Global Fixed-Priority Scheduling (GFPS) exhibit low-to-moderate context dependency. In these cases, the relative priority of items remains relatively stable, making them ideal candidates for RLRD. Conversely, the Traveling Salesman Problem (TSP) shows high context dependency, as the optimal next city depends entirely on the current location. RLRD struggles with such problems because the non-iterative student cannot re-evaluate its scores mid-process.

Experimental Results

The framework was evaluated on synthetic datasets for MDKP and GFPS, with item counts up to 150. The results demonstrate that RLRD achieves massive speedups with negligible performance loss:

  • Inference Speed: For MDKP ($N=150$), the distilled student was 65 times faster than the teacher RL model. For GFPS, it was approximately 3.8 times faster.
  • Solution Quality: Performance degradation was minimal, with only a 2.6% loss for MDKP and 1.0% for GFPS.
  • Heuristic Comparison: The distilled models consistently outperformed traditional greedy heuristics and specialized algorithms like Audsley’s OPA for scheduling, particularly in complex, highly correlated scenarios.

Conclusion

RLRD demonstrates that many COPs can be effectively reframed as learning-to-rank tasks. By converting sequential decision-making into a single-pass scoring system, deep learning becomes viable for real-time, mission-critical systems. Future work will explore meta-learning for faster adaptation and methods to handle higher degrees of context dependency without sacrificing low-latency benefits.

Summary updated

BibTeX
@inproceedings{woo2022efficient,
  author = {Honguk Woo and Hyunsung Lee and Sangwoo Cho},
  title = {{An Efficient Combinatorial Optimization Model Using Learning-to-Rank Distillation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i8.20845},
}
Figure