Learning to Extrapolate: A Transductive Approach

Aviv Netanyahu, Abhishek Gupta, Max Simchowitz, Kaiqing Zhang, Pulkit Agrawal

Overview

Standard deep learning models often fail when test data falls outside the range of the training set—a challenge known as out-of-support (OOS) extrapolation. This paper introduces a transductive method that reparameterizes extrapolation as a "combinatorial generalization" problem. By using bilinear embeddings to predict outputs based on the relationship between new test points and known training "anchors," the model can successfully extrapolate to unseen regions.

The Challenge of Out-of-Support Data

Generalization is the holy grail of machine learning, but most models only work well when test data comes from the same distribution as the training data. When we encounter Out-of-Support (OOS) data—like a robot asked to reach a goal further away than any it saw during training—standard neural networks tend to produce unpredictable or "garbage" results.

Robotic pushing task with in-support (blue) and out-of-support (orange) regions.

Existing solutions often rely on hard-coding symmetries (like translation invariance in CNNs) or assuming the test distribution is known beforehand. This paper seeks a more general structural condition: How can a model learn to extrapolate to regions it has never seen without being told the specific rules of the domain?

Bilinear Transduction

The authors propose a Bilinear Transduction approach. Instead of learning a direct mapping $h(x) = y$, they learn a relationship between a query point $x$ and an "anchor" point $x'$ from the training set.

Diagram showing how an out-of-support point is reparameterized into an out-of-combination point using an anchor.
  1. Transductive Reparameterization: The predictor is defined as $h(x) = \bar{h}(x - x', x')$. Here, $\Delta x = (x - x')$ represents the difference between the new point and a known one.
  2. Combinatorial Generalization: The key insight is that even if $x$ is out-of-support, both $\Delta x$ and $x'$ can be "in-support" (seen during training) individually. By learning how these two components interact, the model can generalize to their unseen combination.
  3. Bilinear Embeddings: To capture this interaction efficiently, $\bar{h}$ is modeled as a dot product of two learned embedding functions: $\bar{h}(\Delta x, x') = \langle f(\Delta x), g(x') \rangle$. This enforces a low-rank structure, which is theoretically shown to be a necessary condition for this type of extrapolation.
  4. Algorithm: At test time, the model selects a training anchor $x'$ such that the difference $x_{test} - x'$ is within the range of differences seen during training, then computes the prediction using the bilinear form.

Experimental Validation

The researchers evaluated their method across several diverse domains, including analytical 1D functions, the Meta-World Benchmark (robotic reach and push tasks), the Adroit Hand (a complex 30-DOF anthropomorphic hand task), a physics-based Slider Task, and ShapeNet for 3D grasp point prediction.

Key Results

  • Robotic Pushing: On the Meta-World "Push" task, the proposed method achieved an error of 0.02, while standard neural networks and specialized architectures like DeepSets hovered around 0.20-0.25—an order of magnitude improvement.
  • Grasp Prediction: For 3D objects at novel scales, the method outperformed standard baselines and was comparable to (or better than) specialized equivariant networks designed specifically for 3D spatial symmetries.
  • Consistency: The bilinear approach showed much lower variance across different training seeds compared to standard inductive models, which often behave erratically when extrapolating.

Insights and Limitations

By breaking a problem into a "difference" and an "anchor," a daunting extrapolation problem becomes a manageable interpolation problem in a higher-dimensional space. The success of the method relies on the underlying task having a "low-rank" structure. Furthermore, while methods like SE(3)-equivariant networks are great for rotations, they often struggle with scale. Bilinear transduction can capture both rotation and scale symmetries automatically from data. Empirically, the authors found that they can reliably extrapolate about "one training width" beyond the training support.

Limitations: The method assumes the input space has a well-defined "subtraction" operator (group structure) that captures meaningful differences. This is easy for coordinates but harder for raw pixels. Additionally, the current method uses a simple distance-based heuristic to pick anchor points. Future work could explore "analogy-making" or more sophisticated anchor selection, as well as learning the representation space automatically so that differences in that space are meaningful for extrapolation.

Summary updated

BibTeX
@inproceedings{netanyahu2023learning,
  author = {Aviv Netanyahu and Abhishek Gupta and Max Simchowitz and Kaiqing Zhang and Pulkit Agrawal},
  title = {{Learning to Extrapolate: A Transductive Approach}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=lid14UkLPd4},
}
Figure