cs.LGFeb 19, 2026

Neural Prior Estimation: Learning Class Priors from Latent Representations

Authors: Masoud Yavari, Payman Moallem

Organizations: Independent Researcher Isfahan, Iran · Department of Electrical Engineering Faculty of Engineering University of Isfahan, Iran

Abstract

Logit adjustment corrects class imbalance using the empirical class prior. We study whether a comparable class-frequency signal can instead be learned from the network representation, without explicitly supplying class counts to the correction rule. We introduce the Neural Prior Estimator (NPE), which attaches one or more lightweight Prior Estimation Modules (PEMs) to the latent representation. Each PEM is trained with a one-way logistic objective on the ground-truth coordinate. The resulting frequency-dependent outputs are combined into an NPE estimate and used as a learned logit correction, forming NPE-LA. In a simplified scalar model, the optimum of the PEM objective is monotone in the class count and grows asymptotically as log⁡Nc\log N_c, up to a slower log⁡log⁡Nc\log \log N_c term. Experiments on long-tailed CIFAR-10 and CIFAR-100 show that NPE-LA is competitive with standard logit adjustment and improves minority-class performance over CE and cRT in the reported settings. Experiments on STARE and ADE20K further show that the same idea can be used as a lightweight recalibration mechanism for dense prediction.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Correcting Class Imbalance in Prior-Data Fitted Networks for Tabular Classification

    May 20, 2026Samuel McDowell, Nathan Stromberg, Lalitha SankarClass-Imbalanced LearningTabular Classification

  2. Selective Posterior Margin Regularization for Forward-Corrected Classification

    Sep 5, 2026Zexing Zhang, Jichao Li, Tianyang Lei +2Learning with Noisy Labels

  3. Cross-Fitting for Neural Posterior Estimation

    Oct 19, 2026Jeffrey RegierNeural Posterior EstimationSimulation-Based Inference