Abstract
Researchers from Megvii and Peking University achieved 1st place in the NeurIPS 2021 ML4CO competition (Dual Task) by introducing KIDA (Knowledge Inheritance in Dataset Aggregation). KIDA addresses the instability of imitation learning in combinatorial optimization by averaging model weights across successive iterations of dataset aggregation. This approach produces a robust, generalized policy that significantly improves solver performance without adding computational overhead during inference.
Introduction
Combinatorial Optimization (CO) is a foundational element in logistics, manufacturing, and resource scheduling. Traditional solvers, such as SCIP, utilize the Branch-and-Bound (B&B) algorithm, which relies on hand-crafted heuristics to make critical branching decisions. The ML4CO competition challenged participants to replace these heuristics with Machine Learning (ML) models, specifically Graph Neural Networks (GNNs), to accelerate the solving process.
This paper focuses on the Dual Task, where the objective is to make branching decisions that increase the "dual bound" as rapidly as possible. While imitation learning is the standard starting point—training a GNN to mimic an expensive "Strong Branching" expert—it faces significant hurdles: distribution shift between offline training and online deployment, and a disconnect where higher imitation accuracy does not always yield higher solver rewards.
Methodology: KIDA and DAgger
To overcome these challenges, the authors combined Dataset Aggregation (DAgger) with a novel weight-averaging technique called Knowledge Inheritance (KIDA).
- DAgger (Dataset Aggregation): Instead of a static dataset, the model interacts with the solver in real-time. It uses its current policy to explore states, which are then labeled by the Strong Branching expert. This iterative process builds a dataset that accurately reflects the states the model actually encounters.
- KIDA (Knowledge Inheritance): DAgger can be numerically unstable, with later iterations sometimes performing worse than earlier ones. While ensembling multiple models could provide stability, it is too computationally expensive for high-speed solvers. KIDA solves this by averaging the weights (parameters) of models generated across different DAgger iterations.
By averaging weights, KIDA creates a single model that inherits knowledge from the entire aggregation history. This results in a policy that filters out the "noise" of the expert and focuses on features that generalize across the problem distribution.
The Dual Task Objective
The performance in the Dual Task is measured by the dual integral, which represents the speed at which the solver tightens the gap between the dual bound and the optimal solution.
As shown in Figure 1, the dual bound $z^*_t$ increases over time $t$. The authors discovered an "Accuracy Paradox": their KIDA model often had lower imitation accuracy than individual DAgger models but achieved much higher cumulative rewards. This suggests that the weight-averaged model is more effective at driving the dual bound progress shown in the figure, even if it deviates slightly from the expert's specific choices.
Key Results
The KIDA approach proved highly effective, securing 1st Place overall in the ML4CO Dual Task. Key performance metrics include:
- Balanced Item Placement: Ranked 1st. KIDA achieved a cumulative reward of 7561.6, nearly 42% higher than the best single DAgger model (5319.8).
- Anonymous Problem: Ranked 1st.
- Workload Apportionment: Ranked 6th.
- Efficiency: Since KIDA produces a single set of weights, inference speed remains identical to a standard GNN, making it highly practical for real-world solver integration.
Conclusion
KIDA demonstrates that "Knowledge Inheritance" through weight averaging is a simple yet powerful method to stabilize and improve ML-based branching policies. By moving beyond simple imitation and leveraging the entire history of dataset aggregation, KIDA provides a robust solution to the distribution shift and accuracy-reward gap in combinatorial optimization. Future research may explore applying these concepts to Reinforcement Learning to further reduce dependence on fallible expert heuristics.
Summary updated