Bayesian Multinomial Logistic Regression for Numerous Categories

Jared D. Fisher, Kyle R. McEvoy
8/30/2022
stat.COstat.ME
bayesian

Official code: kylemcevoy/BayesMultiLogit (4 stars, C++, GPL-3.0, last commit 2026-08-14).

Abstract

Bayesian multinomial logistic regression provides a principled, interpretable approach to multiclass classification, but posterior sampling becomes increasingly expensive as the model dimension grows. Prior work has studied scalability in the number of subjects and covariates; in contrast, this paper focuses on how computation changes as the number of outcome categories increases.

Show full abstract

To improve scalability in settings with numerous categories, we adapt a gamma-augmentation strategy to decouple category-specific coefficient updates, so that each category's coefficients can be updated conditional on a single auxiliary variable per subject, rather than on the full set of other categories' coefficients. Because the resulting coefficient conditionals are non-conjugate, we couple this augmentation with either adaptive Metropolis-Hastings or elliptical slice sampling. Through simulation and a real-data example, we compare effective sample size and effective sampling rate across several standard competitors. We find that the best-performing sampler depends on the dimension and imbalance regime, and that the proposed augmentation provides substantial speedups in scenarios with numerous categories.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

BayesMultiLogit

40C++, RJul 12, 20213 months agoGPL-3.0

Similar Papers

Cite this paper

@article{fisher2022bayesian,
  title  = {Bayesian Multinomial Logistic Regression for Numerous Categories},
  author = {Jared D. Fisher and Kyle R. McEvoy},
  year   = {2022},
  eprint = {2208.14537},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.14537}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.14537.svg)](https://codeofpaper.com/paper/2208.14537)

Discussion