Conformal Bayes under Label Shift: Post-Hoc Calibration vs. In-Training Adaptation
This paper presents a unified framework for handling label shift in Conformal Bayes by comparing post-hoc calibration, which adjusts the conformal threshold while keeping the parameter posterior fixed, against in-training adaptation, which reweights the parameter posterior itself, demonstrating that both achieve valid coverage but the latter offers superior efficiency in biased training regimes.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a weather forecaster. You have built a model based on years of data from a specific region (let's call it "Source City"). Your model is great at predicting rain in Source City.
Now, you are asked to forecast for a new location, "Target City." However, there's a catch: Target City has a different climate profile. It rains much more often than Source City, but when it does rain, the weather patterns (clouds, wind, humidity) look exactly the same. This is what the paper calls Label Shift: the frequency of the outcome (rain vs. no rain) has changed, but the relationship between the weather signs and the rain hasn't.
If you just use your old Source City model on Target City without adjusting, your predictions will be wrong. You might say, "It's only 10% likely to rain," when in reality, it's 50%.
This paper introduces a method called Conformal Bayes to fix this. Instead of giving a single number (like "50% chance"), it gives a prediction set (e.g., "It will rain between 40% and 60% chance"). The goal is to make sure this range is accurate 90% of the time, even with the new climate.
The authors propose two different ways to fix the model, which they call Strategy A and Strategy B.
The Two Strategies
Strategy A: The "Post-Hoc" Tilt (The Quick Fix)
Think of this as taking your finished weather report and simply re-labeling the pages before handing it to the customer.
- How it works: You keep your original model exactly as it is. You don't touch the internal math. Instead, when you calculate the final prediction range, you apply a "weight" to the data. If the new city rains more often, you mathematically "tilt" your final answer to account for that extra rain.
- The Analogy: Imagine you have a map of Source City. You don't redraw the map. Instead, you put a transparent sheet over it with a filter that says, "Remember, it rains more here." You then draw your prediction circle based on this filtered view.
- Pros: It's safe and works even if you don't know how the original model was built (a "black box").
- Cons: If the original model was already biased (e.g., trained only on days when it rained heavily), this method just adjusts the final number but doesn't fix the underlying bias in the model's thinking.
Strategy B: The "In-Training" Tilt (The Deep Fix)
Think of this as rewriting the weather forecaster's training manual before they even start making predictions.
- How it works: Before the model makes its final prediction, you go back into its "brain" (the parameters) and adjust its beliefs. You tell the model, "Hey, the data you learned from was skewed. Let's adjust your internal understanding of how often rain happens."
- The Analogy: Instead of just putting a filter over the map, you actually redraw the map to reflect the new reality. You teach the forecaster that the "average day" in the new city is different.
- Pros: If the original training data was "enriched" (e.g., the model only saw data from stormy days), this method actively de-biases the model. It fixes the root cause, leading to tighter, more precise prediction ranges.
- Cons: You need access to the model's internal training process. If the model is a black box, you can't do this.
The Experiments: When to Use Which?
The authors ran two computer experiments to see which strategy wins.
Experiment 1: The "Fair" Training
- Scenario: The model was trained on a perfectly balanced, fair dataset from Source City.
- Result: Both strategies worked equally well. They both achieved the correct 90% accuracy. Strategy A was slightly simpler, but Strategy B didn't hurt anything.
- Takeaway: If your training data is good and unbiased, you can use the simple "Post-Hoc" fix (Strategy A).
Experiment 2: The "Biased" Training (Lead Optimization)
- Scenario: This simulates a real-world problem like drug discovery. Imagine you are training a model to find good drugs, but your training data only contains "high-activity" compounds (the best drugs). The model is biased because it thinks everything is a high-activity drug.
- Result:
- Strategy A (the quick fix) still worked to get the right coverage, but the prediction ranges were a bit wide.
- Strategy B (the deep fix) shined here. By correcting the model's internal bias, it produced narrower, more precise prediction ranges while still keeping the 90% accuracy. It essentially "debiasing" the model, making it smarter about the new reality.
- Takeaway: If your training data is skewed or biased (common in specialized fields like drug discovery), Strategy B is superior because it cleans up the model's internal logic, not just the final output.
Summary in Plain English
- The Problem: Your AI model was trained on data that doesn't match the real world anymore (the "Label Shift").
- The Solution: Use Conformal Bayes to create a safety net (a prediction range) that is guaranteed to be correct.
- The Choice:
- If your model was trained on fair data, use Strategy A (adjust the final output). It's simple and effective.
- If your model was trained on biased or specialized data (like only the "best" examples), use Strategy B (fix the model's internal brain). It makes the predictions more precise and removes the bias.
The paper concludes that while both methods guarantee accuracy, Strategy B is the "de-biasing operator" that makes the model more efficient when the training data was imperfect.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.