TL;DR
Traditional dataset distances only look at features and labels, failing to capture how distribution shifts impact downstream decision-making. This paper introduces $OTD^3$ (Optimal Transport Decision-aware Dataset Distance), the first distance metric designed specifically for Predict-then-Optimize (PtO) frameworks by integrating downstream optimization metrics directly into an optimal transport formulation. $OTD^3$ significantly improves our ability to predict model transferability and provides a mathematically rigorous domain adaptation bound for decision regret.
What Problem Does This Paper Address?
In many practical machine learning pipelines, we don't just predict a value for its own sake; we feed that prediction into a downstream optimization problem to make a decision. For example, we might predict traffic times to route delivery trucks, or predict consumer demand to optimize warehouse inventory. This setup is known as the Predict-then-Optimize (PtO) framework.
Standard machine learning models are trained and evaluated using prediction errors (like Mean Squared Error). However, in PtO, the ultimate metric of success is decision regret—the operational cost or loss incurred because our prediction wasn't perfect.
When data shifts between training and deployment, researchers typically use dataset distance metrics (like Wasserstein distance or Optimal Transport Dataset Distance) to predict if a model will transfer well. The catch? These traditional metrics only look at feature and label distributions. As the authors demonstrate, two source datasets can look identical in feature-label space but yield completely different downstream decision qualities under a target shift. We drastically need a dataset distance metric that is actually aware of the downstream optimization task.
Methods
The authors propose $OTD^3$, which elegantly extends Optimal Transport (OT) dataset distances into the decision space.
The core innovation is the concept of decision quality disparity. Instead of comparing decisions directly in their raw space (which often lacks a natural geometric metric, like a set of discrete paths or combinatorial selections), $OTD^3$ measures how much two decisions differ in performance when evaluated under a pair of labels.
The point-wise ground cost function for the optimal transport problem is formulated as a weighted combination of feature, label, and decision distances: $$c_{PtO}^\alpha((x, y, z),(x', y', z')) := \alpha_X \cdot d_X(x, x') + \alpha_Y \cdot d_Y(y, y') + \alpha_W \cdot l_g(z, z'; y', y')$$
Where $l_g$ represents the decision quality disparity, and $\alpha$ balances the components. By computing the optimal transport plan using this ground cost, $OTD^3$ functions as a valid mathematical metric over the joint feature-label-decision space. Furthermore, the authors utilize this distance to derive a novel, PtO-specific domain adaptation bound that formally bounds target decision regret.
Datasets
The effectiveness of $OTD^3$ was validated across three distinct PtO tasks from existing literature:
- Linear Model Top-K: A synthetic problem where a linear model predicts utilities generated by a non-linear cubic polynomial, and the optimization step selects the top $K=1$ resource.
- Warcraft Shortest Path: A computer vision-based PtO task using the Warcraft II tileset dataset. The model maps 96x96 RGB images to terrain traversal costs to find the minimum-cost path on a 12x12 grid.
- Inventory Stock Problem: A classic operations research problem where models predict stochastic demand based on features to optimize order quantities under linear and quadratic cost constraints.
Key Insights and Ideas
- Target Shift Hits Differently: Label distribution shifts that degrade standard predictive accuracy do not necessarily ruin downstream decision quality. $OTD^3$ successfully captures this nuance where traditional metrics are blind.
- Decisions vs. Labels: In simpler tasks like the Inventory Stock problem, label differences and decision differences are highly correlated. However, in structurally complex tasks like Warcraft, the decision space encodes critical, non-redundant task dynamics dictated by the optimization structure itself.
- High Data Efficiency: $OTD^3$ is highly practical for real-world scenarios; it reliably predicts transferability even when calculated using as few as 30 target domain samples.
Key Results
- Superior Transferability Prediction: In the Warcraft Shortest Path task, optimizing the weights of $OTD^3$ to include the decision component boosted the correlation ($R^2$) with actual transfer regret from 0.52 (using standard feature-label OTDD) to 0.72.
- Sensitivity to Optimization Objectives: When evaluating two different downstream objectives (minimizing path cost vs. minimizing path cost + length) under identical target shifts, $OTD^3$ successfully differentiated the tasks' transferability behaviors, whereas feature-label distances could not tell them apart.
- Robustness: The predictive power of $OTD^3$ remains stable across varying target sample sizes (outperforming alternatives from 30 samples onward) and across multiple neural network architectures of varying complexities.
Limitations and Future Work
- Varying Decision Spaces: $OTD^3$ currently assumes that the source and target tasks share comparable decision spaces. If the spaces differ in structure or dimensionality, standard OT formulations break down. The authors suggest exploring Gromov-Wasserstein distances to bridge this gap.
- Weight Tuning: The component weights ($\alpha$) currently require tuning based on transferability data. Developing unsupervised methods to automatically determine these weights independent of transfer tasks is an open area for research.
- Complex PtO Structures: Future work is needed to adapt the framework for more intricate setups, such as many-to-one mappings where multiple feature-label pairs inform a single global decision.
Summary updated