Towards Understanding Extrapolation: a Causal Lens
Lingjing Kong, Guangyi Chen, Petar Stojanov, Haoxuan Li, Eric P. Xing, Kun Zhang
TL;DR
This work addresses extrapolation under distribution shifts when only a few target samples lie outside the training support. It introduces a causal latent-variable model with $x = g(z)$ and $z=[\mathbf{c},\mathbf{s}]$, where the invariant latent variable $\mathbf{c}$ governs the label and the changing variable $\mathbf{s}$ captures non-semantic shifts, enabling extrapolation by identifying $\mathbf{c}$ despite off-support $\mathbf{s}$. The authors develop identifiability guarantees under two regimes—dense and sparse shifts—providing concrete conditions on the generating function, manifold separability, and off-support distance, and show how these insights translate into practical algorithms (generative adaptation and regularization) for test-time adaptation. They validate the theory with synthetic and real-world experiments, demonstrating improved extrapolation performance and informing improvements to MAE-TTT and TeSLA-based methods via entropy minimization and sparsity constraints. Overall, the paper bridges causal representation learning with extrapolation, offering principled guarantees and actionable strategies for robust transfer under limited target information.
Abstract
Canonical work handling distribution shifts typically necessitates an entire target distribution that lands inside the training distribution. However, practical scenarios often involve only a handful of target samples, potentially lying outside the training support, which requires the capability of extrapolation. In this work, we aim to provide a theoretical understanding of when extrapolation is possible and offer principled methods to achieve it without requiring an on-support target distribution. To this end, we formulate the extrapolation problem with a latent-variable model that embodies the minimal change principle in causal mechanisms. Under this formulation, we cast the extrapolation problem into a latent-variable identification problem. We provide realistic conditions on shift properties and the estimation objectives that lead to identification even when only one off-support target sample is available, tackling the most challenging scenarios. Our theory reveals the intricate interplay between the underlying manifold's smoothness and the shift properties. We showcase how our theoretical results inform the design of practical adaptation algorithms. Through experiments on both synthetic and real-world data, we validate our theoretical findings and their practical implications.
