NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Explore From Below: Testing Fairness-in-Hindsight on Real Sequential Decisions

Consider a lender that learns its policy while it operates. It decides each day how much credit to offer each applicant, and it only learns whether a loan is repaid if it actually grants the loan. One appealing fairness rule for such a system is fairness-in-hindsight: a new applicant must never be treated worse than a similar applicant was treated earlier, but may be treated better as the system learns. This rule was introduced with strong guarantees, including sublinear regret and matching lower bounds, yet it has never been run on real data.

The rule has a hidden consequence that the theory makes easy to miss. Every generous decision permanently raises the floor for everyone similar who arrives later. Mistakes in the generous direction therefore cannot be undone, while mistakes in the stingy direction can. We claim this reverses the usual advice for learning systems. The standard habit of trying the most promising option when uncertain ("optimism") should be costly under this rule, and a system should instead start cautious and raise its offers only when the data justify it. We propose a semi-synthetic testbed built from standard tabular credit and income datasets with censored feedback, and we use it to test that claim directly against the published algorithm and the simpler alternatives a practitioner would actually reach for.

Core Claim

A contextual bandit is a learner that sees a description of each arriving individual, picks an action, and observes a reward only for that action. Let actions be ordered by how favorable they are to the individual, such as loan size or approval. Write $a_t$ for the action taken at time $t$ on individual $x_t$, $d$ for a task-specific similarity distance, $\delta$ for the similarity radius, and $\epsilon$ for a tolerance. Fairness-in-hindsight (FH) then requires

$$a_t \;\ge\; \max_{s<t,\; d(x_s,x_t)\le \delta} a_s \;-\; \epsilon .$$

The right-hand side is a "floor" that only ever rises. Individual Fairness in Hindsight and its journal version Individual Fairness in Hindsight establish three results. The symmetric version of the rule forces regret that grows linearly with the horizon $T$. The asymmetric FH version can be met with sublinear regret by Cautious Fair Exploration (CaFE), a two-phase algorithm that first explores within a conservative safe set and then exploits. CaFE's regret is order-optimal. The analysis assumes the true utility parameters lie in a finite set, and the papers report only synthetic illustrations. Those papers supply the constraint we study, and their silence on real data is the gap we fill.

Our hypothesis is that the ingredient that matters in practice is not CaFE's specific phase structure but the direction of exploration. Take any standard bandit learner and enforce the floor as a one-sided wrapper, a "ratchet" that lifts an action up to the floor whenever it falls below. If the learner starts pessimistic, using lower confidence bounds, the ratchet should come close to CaFE. If the learner starts optimistic, using upper confidence bounds as LinUCB does, early overshoots should inflate floors permanently and produce regret that looks linear over realistic horizons. If this holds, the practical recipe for FH is simple and continuous-parameter friendly. If it fails, CaFE's structure is doing real work, and we will have measured how much.

Research Program

We first build a replay testbed. On Adult Income, FICO Credit Score, and German Credit, we fit an outcome model on the full labeled data and treat it as the simulated world. We then stream individuals in randomized and in time-shifted orders. The learner only observes an outcome when it grants a favorable action, which reproduces the censoring studied by Adaptive Bounded Exploration and Intermediate Actions for Data Debiasing. That paper evaluated group equality of opportunity on these same datasets, not temporal individual fairness. It also found a "fairness-learning paradox," in which fairness constraints slow parameter learning under censoring.

FH interacts with censoring in a way nobody has examined, and the effect could go either way. Floors could help by forcing continued approvals and therefore continued labels. They could also hurt by locking in expensive approvals. On German Credit we use loan amount and duration as graded actions, following Fairness Beyond Binary Decisions, which reports that male applicants received about 20% higher amounts and 10% longer durations. That gives us a real disparity in non-binary treatment to track. On Adult and FICO the actions are binary approvals.

Second, we implement the algorithms. For CaFE we discretize the parameter space at several resolutions, so we can check whether finite-sample regret follows the theoretical dependence on the discretization. The ratchet wrapper is applied to linear UCB, linear Thompson sampling, and a lower-confidence-bound learner. Because the ratchet needs no finite parameter set, it also addresses the continuous-parameter limitation that Gupta and Kamble leave open.

Third, we treat the similarity metric as an experimental variable rather than a given. We compare three distances: Euclidean distance on standardized features, Mahalanobis distance, and distance between learned risk scores. Each is crossed with several radii $\delta$. The motivation comes from two findings. Individual Fairness Under Uncertainty argues that distance-based conditions are hard to calibrate. Yang and Liu report roughly a 5% utility drop on Adult when features are collapsed to a single score. Violations are always audited under a fixed held-out metric, so no method can look fair simply by choosing a lenient metric.

The metrics are the same for every method:

  • Regret against the best FH-feasible policy that knows the true utilities, and separately against the unconstrained oracle.
  • FH violations, counted and measured in size.
  • Floor inflation, the average amount by which floors exceed the oracle's action.
  • Arrival-time premium, the expected difference in treatment for identical individuals arriving early versus late. This quantifies the incentive to delay one's application that Gupta and Kamble flag as an open problem.
  • Wall-clock time.

Baselines

The naive reference points come as a pair. The first is an unconstrained LinUCB or Thompson learner with no fairness rule, which sets the utility ceiling and shows how often unconstrained learning violates FH in the first place. The second is the same learner under the symmetric fairness-across-time constraint, which the theory predicts will stagnate. Both run on identical streams, seeds, and horizons, with the same budget for hyperparameter tuning on a separate validation stream.

The strongest existing method for this exact constraint is CaFE. No reported result was found on Lacuna for CaFE on any real dataset, and no numbers were found even on synthetic instances. Its paper gives bounds only, so our run is the first empirical number. We give CaFE the same tuning budget, sweeping its confidence threshold and discretization level. The pessimistic ratchet "beats" CaFE if it reaches equal or lower final regret at an equal or lower violation rate, within confidence intervals over 20 stream orderings.

The strongest practical competitor is the Consistently Follow The Leader wrapper from Preventing Disparate Treatment in Sequential Decision Making. It clips predictions into a symmetric fair interval computed from the last $K$ decisions. It was evaluated on Adult and Communities and Crime under full feedback, and only loss curves were reported, so no reported result was found on Lacuna for a numeric score. We place it on top of the same bandit learners, sweep $K$ and its slack parameter, and audit it under the FH criterion. Beating it means lower regret at matched FH violations.

A periodic-retraining baseline refits a supervised model every $B$ rounds on the censored data collected so far. It represents what most deployed systems actually do.

The key ablation holds everything fixed except the starting direction: an optimistic ratchet versus a pessimistic ratchet on the same learner. This isolates our central ingredient.

Why not just…?

Why not just retrain a fair classifier periodically? Retraining without memory of past decisions ignores the floor, so it can treat a Day-100 applicant worse than a similar Day-1 applicant at every batch boundary. Under censoring, Yang and Liu show that exploitation on historical data keeps overestimating the risk of groups that were rarely approved. The periodic-retraining baseline measures both effects directly. If it turns out to show few FH violations and competitive regret, that would be a real threat to the case for online FH methods, and we would report it as such.

Why not just use the sliding-window wrapper? The window treats upward and downward deviations alike, so it clips improvements that FH permits. Its tightness also depends heavily on the slack parameter, according to its own experiments. It could still win if, in practice, most FH violations come from recent similar individuals. Our FH audit of this baseline answers that directly.

Why not just bolt the floor onto a standard optimistic learner? This is the most serious alternative, and it is exactly what our ablation tests. We predict it fails through floor inflation. If the optimistic ratchet instead matches the pessimistic one, our central claim is wrong and the lesson is simply "any learner plus a ratchet."

Why not abstain on uncertain individuals? In a lending setting, abstention amounts to rejection and hides the label. FairlyUncertain also found that higher abstention can worsen disparity on COMPAS. We add abstention to the pessimistic learner as a variant rather than treating it as a replacement.

Decisive Checks

The proposal succeeds if three results hold across the datasets, metrics, and horizons:

  • The optimistic ratchet shows floor inflation and regret that grows close to linearly over the horizon, while the pessimistic ratchet stays sublinear.
  • The pessimistic ratchet matches CaFE within confidence intervals while running faster and without needing a discretized parameter space.
  • The arrival-time premium shrinks as the metric radius grows, which would give practitioners a measurable dial for the delay incentive.

A null result on the first check, meaning optimism is harmless under FH, would itself overturn the intuition the theory suggests. A failure of the second check would show that CaFE's structure earns its complexity. We report either outcome.