# Poster 28915

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28915

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, I'll be presenting our paper Learning Neural Networks with Distribution Shift, efficiently certifiable guarantees. The problem of learning with distribution shift is well motivated in the real world. For example, consider the problem of self-driving cars. A model trained on data from one city like San Francisco might be deployed in a different city like New York City. Will the predictions made by a model trained on San Francisco data still be reliable in New York?
Formally, a learner is given labeled examples from a training distribution, but evaluated on an unknown test distribution without access to test labels. The key question is, when is it safe to trust the learner's predictions? This motivates the framework of testable learning with distribution shift, or TDS learning, which was defined by Cliven, Stavropoulos, and Vasilian.
The setup is that the algorithm A gets labeled examples from a known training distribution and unlabeled examples from an unknown test distribution, and it runs an efficient test. If the test passes, then A accepts and outputs the hypothesis H, otherwise it is allowed to reject.
More formally, a TDS algorithm is required to satisfy two conditions. Soundness means that if A accepts, then with high probability it should output a hypothesis that has provably low test error. For completeness, if there's no distribution shift, meaning that the test and the training marginals are the same, then A should accept with high probability.
Prior TDS work has focused only on binary classification. This work is the first to address the regression setting. We study real-valued networks with arbitrary Lipschitz activations under square loss. To get efficient algorithms, we assume that the training marginal is either strictly sub-exponential or bounded. For this talk, we further assume that both the training and the test labels are bounded in minus 1,1.
To state the results for strictly sub-exponential distributions, first we have for one hidden layer sigmoid networks a runtime of d to the poly k log 1 over epsilon. For a single value, we achieve a runtime of d to the poly 1 over epsilon.
We note that because the TDS learning framework is more general than the standard agnostic learning framework, this result also implies a new agnostic learning result for a single value under strictly sub-exponential distributions rather than just the Gaussian marginal, which was previously known. We also point out that this runtime is necessary for agnostically learning a value under the SQ framework, which speaks to the efficiency of the algorithms we found.
found. We also extend the results for general Lipschitz networks. I'll give some intuition for why the notion of uniform approximation polynomials are useful. Notice that we actually only need to approximate the function well in the region where the distribution is highly concentrated because points outside this region are unlikely to be sampled and so they don't contribute much to the overall error.
So what is the algorithm? We run degree L L2 polynomial regression on the training data to get a polynomial p-hat. The test is to match moments for degree up to 2L between the training and the test distributions. If all of the moments match, then we should accept and otherwise we should reject.
The reason why this is a useful test is because we can think of polynomials as linear combinations of monomials. So if we find that p hat does well on the training distribution, then we have just found the coefficients for all the monomials which we showed were close under the training and the test distribution. This gives intuition for why p hat will do well on the test distribution.
With bounded distributions, we can get improved runtimes by using kernel methods. For example, one hidden layer sigmoid networks achieve a fully polynomial runtime of poly d 1 over epsilon, and the ReLU achieves runtime poly d times 2 to the o of 1 over epsilon. We also get improved runtimes for general elliptic networks.
The main challenge of adopting classical kernel methods for the TDS framework is that we assume nothing about the test marginal and we don't have access to test labels. The key technical contribution that helps us is to define a concise data-dependent feature map phi using examples from both the training and the test data. The speed up in runtime that we get is because as opposed to using the fixed feature map for the polynomial feature space, which is large for low-degree polynomials,
and depends on D. The size of this feature map does not depend on the ambient dimension D. Analogous to the moment matching approach, instead of using linear combinations of monomials, we use the representer theorem, which tells us that the polynomial which best approximates the ground truth can be written as a linear combination of features from C.
This tells us we can test how closely the features of feed behave across the training and the test distributions. To summarize, we have obtained TDS results for Lipschitz networks for strictly sub-exponential and bounded distributions, and we define a new non-standard data dependent feature map in order to import kernel methods for the TDS framework in order to achieve improved run times. Thank you for listening.
