Preventing Model Extraction in Contextual Linear Optimization
Adam N. Elmachtoub, Tianyi Lin, Wenxuan Liu
Key points
From the paper's conclusion- We establish a regret bound in terms of the perturbation radius.
Abstract
Consider a contextual linear optimization problem, where a predict-then-optimize (PTO) system returns optimal decisions without revealing the cost vectors used in its downstream linear program. Our focus is on how to prevent attackers, who can submit context queries, from extracting the underlying prediction model. Although the cost-to-decision map is many-to-one, observations across contexts can reveal the underlying prediction model. For linear models, we provide sufficient conditions where the attacker can learn the model up to positive scaling by only observing the decision. These conditions motivate an adaptive attack that alternates inverse optimization with boundary sampling, i.e., using context queries leading to decision boundaries of the current attacker model. To prevent extraction, we propose a mechanism that perturbs decisions only when the predicted cost vector is near a decision boundary. We establish a regret bound in terms of the perturbation radius. For the attackers that fit the defended responses as optimal decisions under the evaluation distribution, we also prove a lower bound on expected extraction error. Experiments on synthetic instances and real data quantify the security-performance trade-off of the defense mechanism and illustrate that our defense can increase the extraction error.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Prediction Residuals: Conformal Regret Calibration for Robust Contextual Linear OptimizationarXiv · 2026
- Contextual Decision Making: Predictive or GenerativearXiv · 2026
- Reduced Cost Influence Functions for Predict-then-Optimize under Noisy DataarXiv · 2026
- Near-Optimal Regret for Oracle-Efficient Adversarial Contextual BanditsarXiv · 2026
- Outperformance Inverse Optimization: Learning Objective Functions that Outperform Agent DecisionsarXiv · 2026
- Optimal and Efficient Online Inverse OptimizationarXiv · 2026