Scalable Kernel Inverse Optimization

Youyuan Long, Tolga Ok, Pedro Zattoni Scroccaro, Peyman Mohajerin Esfahani

Abstract

Inverse Optimization (IO) aims to deduce the hidden objective functions guiding expert behavior. While traditional linear models often fail to capture complex nuances, kernel methods offer a non-linear alternative but suffer from poor scalability. This paper introduces Kernel Inverse Optimization (KIO), a framework that maps expert demonstrations into infinite-dimensional feature spaces. To make this computationally feasible for large datasets, the authors develop the Sequential Selection Optimization (SSO) algorithm. SSO utilizes a "divide and conquer" coordinate descent approach, targeting variables based on KKT violations to ensure rapid convergence. Experimental results on MuJoCo environments demonstrate that KIO achieves performance comparable to expert teachers and outperforms standard IO and baseline imitation learning algorithms.

Introduction

Understanding the internal "scorecard" that guides expert decision-making—such as a professional chef balancing speed and safety—is the core challenge of Inverse Optimization (IO). Traditional IO models typically assume a linear combination of features, which often fails to capture the complexity of real-world behaviors like robotic navigation. While kernel methods provide the necessary expressivity for non-linear representations, they are traditionally limited by the "curse of dimensionality," where computational requirements grow quadratically with data size. This research addresses these limitations by providing a scalable, kernelized framework for IO.

Methodology

The authors propose two primary innovations to bridge the gap between high-expressivity kernels and practical scalability:

Kernelized IO Formulation

By extending the IO framework to a Reproducing Kernel Hilbert Space (RKHS) and applying a variant of the "Representer Theorem," the authors demonstrate that the optimal solution in an infinite-dimensional space can be expressed as a finite combination of training data points. This transformation converts a complex problem into a solvable convex optimization program.

Sequential Selection Optimization (SSO)

Standard solvers for the resulting Semidefinite Program (SDP) are memory-intensive, requiring upwards of 256GB of RAM for 20,000 data points. SSO mitigates this by updating only a small subset of variables at a time through coordinate descent.

Convergence of the SSO algorithm across different D4RL tasks.
  • Greedy Selection: The algorithm uses a heuristic based on Karush-Kuhn-Tucker (KKT) violations to prioritize the most "sub-optimal" variables, accelerating convergence.
  • Warm-up Initialization: The solver is initialized by solving independent sub-problems on small data chunks before stitching them together.

Experimental Setup

The framework was evaluated using the D4RL benchmark on three MuJoCo environments: Hopper, Walker2d, and HalfCheetah. The datasets included various "flavors" (expert, medium, and medium-expert) with sizes ranging from 5,000 to 100,000 data points.

Results

KIO demonstrates significant improvements over traditional methods across several metrics:

  • Expressivity: While linear IO failed on complex tasks like Walker2d, KIO achieved scores nearly identical to the original expert "Teacher."
  • Efficiency: As shown in the convergence plots, SSO reached optimal solutions within approximately 20 iterations. In the Hopper task, error levels dropped to $10^{-4}$ within this timeframe.
  • Competitive Performance: KIO proved highly effective in low-data regimes, often outperforming state-of-the-art Behavior Cloning (BC) and Offline Reinforcement Learning algorithms such as TD3+BC and CQL.
Performance comparison of KIO against standard IO and baseline imitation learning methods.

Discussion and Limitations

The power of KIO lies in its non-parametric nature, allowing the complexity of the learned objective function to grow with the data. By learning the underlying goal rather than just specific actions, the model exhibits greater robustness in novel situations.

However, several challenges remain. The inference cost increases with dataset size because the learned objective function depends on the entire training set. Additionally, while SSO reduces memory requirements, large-scale implementations (e.g., 100k points) still demand significant hardware resources. Future work may focus on kernel approximation techniques and formal proofs for the convergence rate of the SSO algorithm.

Summary updated

BibTeX
@inproceedings{long2024scalable,
  author = {Youyuan Long and Tolga Ok and Pedro Zattoni Scroccaro and Peyman Mohajerin Esfahani},
  title = {{Scalable Kernel Inverse Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Mktgayam7U},
}
Figure