NeurIPS 2026QuestionsPapersAreasAboutMarkdown

B2P-Corr: Batch-to-Population Gradient Estimators for Non-Decomposable Correlation Losses

Jingquan Yan, Yuwei Miao, Peiran Yu, Junzhou Huang

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Neural Network Robustness Verification · Type: new method · Keywords: correlation loss, gradient estimation, mini-batch optimization, moment sketches, U-statistic, EMA

Areas: Optimization & Algorithms › Optimization, Estimation, Approximation › Descent Methods

Summary

B2P-Corr introduces a framework that transforms non-decomposable correlation losses into decomposable pseudo-losses using global moment sketches, enabling unbiased gradient estimation for mini-batch training.

Explained to a 5-year-old

When we train a computer model, we often want it to predict two things that go together, like height and weight. The usual way to measure how well it does this uses a special score called correlation, but this score needs information from the whole dataset. If we only look at a small group of examples, the score can be wrong. The paper creates a trick that keeps track of the overall information in a simple way, so the model can learn correctly even with small groups. This makes the learning faster and more accurate, helping the model get better at predicting things that move together.

Explained to a 5-year-old, longer

Imagine you are trying to guess a person's age based on their height. You want your guess to match the real ages as closely as possible. To see how good your guesses are, you can look at a number that tells you how two sets of numbers move together. This number is called correlation, and it works best when you have information from many examples. If you only use a few examples at a time, the number can be off, making the model learn incorrectly. The paper creates a simple way to keep track of the overall information from all examples, even when training with small groups. This helps the model learn the right patterns faster. It also reduces the extra work needed during training. As a result, the model becomes better at predicting things that are related to each other. The method works for many kinds of data and can be used in different fields where correlation matters.

For a technical reader

The paper addresses the bias in mini-batch gradient estimates for correlation-based loss functions by maintaining global moment sketches. Two estimators are proposed: an EMA-based variant with stop-gradient operators and a U-statistic variant with reservoir sampling, both achieving linear cost in batch size. Theoretical analysis quantifies the O(B-1) bias of naive training and provides convergence guarantees under a fast-sketch/slow-parameter regime. Experiments on synthetic and real datasets confirm stable training and improved correlation performance with minimal overhead.

Problem

Optimizing correlation metrics such as Pearson and Concordance correlation coefficients is difficult because they depend on dataset-level moments, leading to biased and high-variance gradients when using mini-batch stochastic optimization.

Method

The approach creates lightweight global moment sketches to capture mean, variance, and covariance across the dataset, then transforms the correlation objective into pseudo-losses that can be optimized with mini-batches. Two variants are proposed: one using exponential moving averages with stop-gradient operators, and another using sampled cross-batch U-statistic estimators with reservoir-based stabilization, both achieving O(B) computational cost.

Results

The approach yields stable optimization and higher correlation compared to naive mini-batch training, with negligible computational overhead.

Contributions

It provides a general framework for bridging the batch-to-population gradient gap for any non-decomposable correlation loss, introduces two efficient gradient estimators with O(B) cost, and offers theoretical analysis of bias and convergence. The empirical evaluation on synthetic and real-world datasets confirms the benefits over naive mini-batch optimization.

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