Ji 2024 - Gibbs Posterior and Learning-Rate Calibration

Summary

Concept note, no raw source for the theory. The AL “likelihood” with scale is a Gibbs (generalised-Bayes) posterior with learning rate . sets the spread, not the mode. Calibrate (e.g. by bootstrap so that intervals attain nominal coverage) to get honest quantile credible intervals. Ji et al. cite this route as an alternative (Syring and Martin 2019) but do not pursue it.

Overview

Ji et al. (Sec. 2.2): “For the broader class of approaches that choose a likelihood because its maximum minimizes a loss function, Syring and Martin (2019) suggest selecting the scale parameter so that the credible intervals have approximately correct empirical coverage. Such an approach could be used in AL-based Bayesian quantile regression but is not further pursued here.” Sec. 1 notes that “the general approach of constructing a posterior through a loss function is discussed by, for instance, Syring and Martin (2019).”

Main Content

Gibbs posterior with learning rate

For a loss with risk minimiser , prior , and learning rate :

For quantile regression with , reproduces the AL posterior with fixed (up to the constant factor in that does not depend on ). Bissiri, Holmes and Walker (2016) justify it as a coherent belief update for a loss-targeted parameter. is “Bayes” only if the loss is a true negative log-likelihood.

Why the interval is mis-scaled (consequence of Eq. 1 in Ji et al.)

Under regularity, where -type curvature of the risk, while the sampling covariance of is the sandwich with . Credible sets have the right coverage only if , i.e. equals a matrix ratio that depends on the unknown density of the errors at the quantile - not on anything the modeller sets. For scalar parameters: .

Bootstrap-calibrated learning rate (algorithm, Syring and Martin 2019 style)

  1. Compute the loss minimiser (e.g. Frisch-Newton LP).
  2. For : resample pairs, recompute .
  3. For a grid of : draw from (MCMC) and find s.t. the posterior covariance (or the credible-interval width) matches the bootstrap covariance of , or such that the bootstrap-estimated coverage of credible intervals equals . A stochastic-approximation (Robbins-Monro) version updates iteratively.
  4. Report the Gibbs posterior at the calibrated .

Relation to the paper’s methods. IJ SEs (Ji 2024 - Infinitesimal Jackknife Standard Errors) replace the bootstrap by a one-run approximation and correct the standard error post hoc; Gibbs calibration corrects the posterior itself (including shape - useful for the skewed posteriors at extreme where the mean is biased, Fig. 8). The Yang-Wang-He adjustment (Ji 2024 - Yang-Wang-He Sandwich Adjustment) is asymptotically the matrix version of .

“When it lies” (E83): the AL mode is right (consistent point estimate, also valid for the quantile process), the spread is wrong (arbitrary ), and there is a units trap ( means different weights for dollars vs thousands). Coverage simulations in Ji 2024 - Simulation Results and Applications quantify it.

Examples

Python: Gibbs posterior for a quantile by Metropolis, calibrated by bootstrap

import numpy as np
rng = np.random.default_rng(0)
y = rng.standard_normal(300); tau = 0.9
rho = lambda u: u * (tau - (u < 0))
def post_sd(omega, n_it=4000):
    b, out = np.quantile(y, tau), []
    for _ in range(n_it):
        prop = b + 0.2 * rng.standard_normal()
        if np.log(rng.random()) < -omega * (rho(y - prop).sum() - rho(y - b).sum()):
            b = prop
        out.append(b)
    return np.std(out[1000:])
boot_sd = np.std([np.quantile(rng.choice(y, len(y)), tau) for _ in range(500)])
grid = np.exp(np.linspace(-2, 3, 12))
sds = np.array([post_sd(w) for w in grid])
omega_star = grid[np.argmin(np.abs(sds - boot_sd))]     # calibrated learning rate
print(boot_sd, omega_star)

Rescaling by changes by , which removes the units trap.

PyMC sketch (untested). pm.Potential("gibbs", -omega * pt.sum(rho(y - X @ beta))) with omega fixed to the calibrated value (not a free parameter: sampling it would reward ever-larger ).

Connections

Quantile Regression, Simulation-Based Calibration - Overview (coverage as a calibration target), Conformalized Quantile Regression (alternative finite-sample guarantee), Overfitting and Information Criteria.

See Also

Ji 2024 - Valid Standard Errors for Bayesian Quantile Regression - Overview