Contrastive Losses and Solution Caching for Predict-and-Optimize

Maxime Mulamba, Jayanta Mandi, Michelangelo Diligenti, Michele Lombardi, Victor Bucarey +1 more
11/10/2020
83 citations
cs.LGcs.AI
contrastive-ssl

Official code: CryoCardiogram/ijcai-cache-loss-pno (4 stars, Python, last commit 2021-07-19).

Abstract

Many decision-making processes involve solving a combinatorial optimization problem with uncertain input that can be estimated from historic data. Recently, problems in this class have been successfully addressed via end-to-end learning approaches, which rely on solving one optimization problem for each training instance at every epoch.

Show full abstract

In this context, we provide two distinct contributions. First, we use a Noise Contrastive approach to motivate a family of surrogate loss functions, based on viewing non-optimal solutions as negative examples. Second, we address a major bottleneck of all predict-and-optimize approaches, i.e. the need to frequently recompute optimal solutions at training time. This is done via a solver-agnostic solution caching scheme, and by replacing optimization calls with a lookup in the solution cache. The method is formally based on an inner approximation of the feasible space and, combined with a cache lookup strategy, provides a controllable trade-off between training time and accuracy of the loss approximation. We empirically show that even a very slow growth rate is enough to match the quality of state-of-the-art methods, at a fraction of the computational cost.

View on arXivView PDF

Code Implementations(1)

42PythonMay 20, 20215 years ago

Similar Papers

Cite this paper

@article{mulamba2020contrastive,
  title  = {Contrastive Losses and Solution Caching for Predict-and-Optimize},
  author = {Maxime Mulamba and Jayanta Mandi and Michelangelo Diligenti and Michele Lombardi and Victor Bucarey and Tias Guns},
  year   = {2020},
  eprint = {2011.05354},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.05354}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.05354.svg)](https://codeofpaper.com/paper/2011.05354)

Discussion