# From Matrix Inversion to Constraints: Provably Tighter Confidence Regions for Importance Weights in Label Shift

*Mushan Li, Kihyun Han, Yanyuan Ma*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154251) · [OpenReview](https://openreview.net/forum?id=FA5NKoBbAJ) · [alphaXiv](https://www.alphaxiv.org/abs/2609.14802) · [Open on the map](../papers.html#p154251)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Counterfactual and Causal Reasoning for Data](../pgroup/197.md) · Type: new method · Keywords: importance weights, label shift, confidence intervals, matrix constraints, domain adaptation, finite-sample bounds

## Summary
The matrix constraint framework provides provably tighter confidence regions for importance weights under label shift by replacing inversion-based inference with direct constraints.

## Explained to a 5-year-old
When we change a computer program to work on new data, we need to know how much to trust the changes. The old way of figuring out trust used a complicated math trick that made the uncertainty too large. The new idea uses a simpler rule that directly checks the limits of the weights. This tighter trust helps the program make better decisions, especially in important tasks like driving cars. It also comes with math proofs that guarantee the new trust is correct.

## Explained to a 5-year-old, longer
Imagine you have a robot that reads signs, but the signs look different in another country. To make the robot understand the new signs, you need to adjust how much weight you give to each sign. Because you only have a few examples, you are not completely sure about the right weights. The old method for figuring out how sure you are used a math process that made the uncertainty very large. This meant the robot might be too cautious and not work well. The new idea is to use a different math approach that directly looks at the limits of the weights. Instead of solving a complicated equation, it sets up a set of constraints that the weights must satisfy. By solving these constraints, you get a tighter range of possible weights, which means you can be more confident. This tighter confidence helps the robot make better decisions with less hesitation. The method also works for many kinds of data, like written text, pictures, and even videos. Researchers tested it on several datasets, including news articles, handwritten digits, and real driving images. The results show that the new method gives shorter confidence intervals and smaller prediction sets than the old one.

## For a technical reader
The paper addresses the problem of quantifying uncertainty in importance weights used for label-shift adaptation. It replaces the traditional Gaussian-elimination based inversion approach with a direct matrix-constraint formulation solved via linear programming. This yields provably tighter finite-sample confidence regions while preserving exact validity and provides geometric insights such as diameter bounds. Empirical evaluations on text, image, and multimodal benchmarks (AGNews, MNIST, CIFAR-10, N24News, nuImages) demonstrate consistently shorter intervals and smaller prediction sets. The contribution is a more reliable and efficient way to obtain confidence intervals for importance weights, beneficial for downstream domain-adaptation tasks.

## Problem
Estimating importance weights under label shift is uncertain due to finite samples, resulting in overly conservative confidence intervals that hinder downstream applications.

## Method
Instead of using Gaussian elimination on interval-valued linear systems, the approach formulates a direct matrix constraint framework, defines a joint confidence region, and extracts marginal intervals via linear programming, yielding tighter bounds while preserving finite-sample validity.

## Results
The approach produces significantly shorter confidence intervals and smaller prediction sets across all evaluated benchmarks compared to inversion-based methods.

## Contributions
It introduces a direct matrix constraint framework that provides provably tighter finite-sample confidence regions for importance weights and analyzes the geometry of the resulting confidence region, including diameter bounds.

## Practical relevance
Enables more reliable domain adaptation in real-world applications such as autonomous driving by providing tighter uncertainty estimates for importance weights.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154251)
