paper-with-me

Papers

Box-Constrained Softmax Function and Its Application for Post-Hoc Calibration

2025-06-12 · Kyohei Atarashi, Satoshi Oyama, Hiromi Arai, Hisashi Kashima

Controlling the output probabilities of softmax-based models is a common problem in modern machine learning. Although the $\mathrm{Softmax}$ function provides soft control via its temperature parameter, it lacks the ability to enforce hard constraints, such as box constraints, on output probabilities, which can be critical in certain applications requiring reliable and trustworthy models. In this work, we propose the box-constrained softmax ($\mathrm{BCSoftmax}$) function, a novel generalization of the $\mathrm{Softmax}$ function that explicitly enforces lower and upper bounds on output probabilities. While $\mathrm{BCSoftmax}$ is formulated as the solution to a box-constrained optimization problem, we develop an exact and efficient computation algorithm for $\mathrm{BCSoftmax}$. As a key application, we introduce two post-hoc calibration methods based on $\mathrm{BCSoftmax}$. The proposed methods mitigate underconfidence and overconfidence in predictive models by learning the lower and upper bounds of the output probabilities or logits after model training, thereby enhancing reliability in downstream decision-making tasks. We demonstrate the effectiveness of our methods experimentally using the TinyImageNet, CIFAR-100, and 20NewsGroups datasets, achieving improvements in calibration metrics.

📄 PDF Abstract BibTeX arXiv:2506.10572

Code (1)

neonnnnn/torchbcsoftmax 공식 구현 pytorch

Tasks

Decision Making

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Towards Accurate Post-Training Quantization for Vision Transformer

2023-03-25 · Yifu Ding, Haotong Qin, Qinghua Yan, Zhenhua Chai 외

Vision transformer emerges as a potential architecture for vision tasks. However, the intense computation and non-negligible delay hinder its application in the real world. As a widespread model compression technique, ex…

Model CompressionQuantization

Beyond Toy Benchmarks: A Systematic Evaluation of OOD Detection Methods For Plant Pathology Classification

2026-05-09 · Devesh Shah arxiv

Out-of-distribution (OOD) detection is essential for reliable deployment of deep learning systems, yet the majority of existing methods are evaluated on small, visually homogeneous benchmarks. In this work, we study six …

From Calibration to Refinement: Seeking Certainty via Probabilistic Evidence Propagation for Noisy-Label Person Re-Identification

2026-02-26 · Xin Yuan, Zhiyong Zhang, Xin Xu, Zheng Wang 외 arxiv

With the increasing demand for robust person Re-ID in unconstrained environments, learning from datasets with noisy labels and sparse per-identity samples remains a critical challenge. Existing noise-robust person Re-ID …

Person Re-Identification

Calibrating Verbalized Probabilities for Large Language Models

2024-10-09 · Cheng Wang, Gyuri Szarvas, Georges Balazs, Pavel Danchenko 외

Calibrating verbalized probabilities presents a novel approach for reliably assessing and leveraging outputs from black-box Large Language Models (LLMs). Recent methods have demonstrated improved calibration by applying …

A Hybrid of Generative and Discriminative Models Based on the Gaussian-coupled Softmax Layer

2023-05-10 · Hideaki Hayashi

Generative models have advantageous characteristics for classification tasks such as the availability of unsupervised data and calibrated confidence, whereas discriminative models have advantages in terms of the simplici…