Detecting out-of-distribution inputs is critical for safe deployment of machine learning models in the real world. However, neural networks are known to suffer from the overconfidence issue, where they produce abnormally high confidence for both in- and out-of-distribution inputs. In this work, we show that this issue can be mitigated through Logit Normalization (LogitNorm) -- a simple fix to the cross-entropy loss -- by enforcing a constant vector norm on the logits in training. Our method is motivated by the analysis that the norm of the logit keeps increasing during training, leading to overconfident output. Our key idea behind LogitNorm is thus to decouple the influence of output's norm during network optimization. Trained with LogitNorm, neural networks produce highly distinguishable confidence scores between in- and out-of-distribution data. Extensive experiments demonstrate the superiority of LogitNorm, reducing the average FPR95 by up to 42.30% on common benchmarks.
Mitigating Overconfidence in Out-of-Distribution Detection by Capturing Extreme Activations
Amsterdam Public Health Research Institute(阿姆斯特丹公共卫生研究院);Amsterdam UMC(阿姆斯特丹大学医学中心);University of Amsterdam(阿姆斯特丹大学);Institute of Logic, Language and Computation(逻辑、语言与计算研究所);Pacmed(帕克梅德公司)
Overconfidence and Calibration in Medical VQA: Empirical Findings and Hallucination-Aware Mitigation
Johns Hopkins University, School of Medicine(约翰霍普金斯大学医学院);Massachusetts Institute of Technology(麻省理工学院);Microsoft Healthcare & Life Sciences(微软医疗健康与生命科学)
Mitigating Transformer Overconfidence via Lipschitz Regularization
University of Virginia(弗吉尼亚大学);Shenzhen Children’s Hospital(深圳市儿童医院);Purdue University(普渡大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Tencent(腾讯)
Mitigating Memorization of Noisy Labels by Clipping the Model Prediction
Southern University of Science and Technology(南方科技大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);South China University of Technology(华南理工大学);Nanyang Technological University(南洋理工大学);RIKEN AIP(理化学研究所人工智能研究中心)
Reducing Overconfidence Predictions for Autonomous Driving Perception
Federal Institute of Espirito Santo(圣埃斯皮里图联邦学院);Institute of Systems and Robotics (ISR-UC)(系统与机器人研究所(科英布拉大学));University of Coimbra(科英布拉大学);Nottingham Trent University(诺丁汉特伦特大学);University of Hertfordshire(赫特福德大学);Portuguese Mint and Official Printing Office(葡萄牙铸币与官方印刷局)
MaxSup: Overcoming Representation Collapse in Label Smoothing
University of Mannheim(曼海姆大学);University of Washington(华盛顿大学);Meta AI;CISPA Helmholtz Center for Information Security(信息安全霍普夫研究所);Max Planck Institute for Informatics(马克斯·普朗克信息研究所)
the University of Sydney(悉尼大学);JD Explore Academy, JD.com Inc.(京东探索研究院);University of Social Sciences(社会科学大学);Systems Research Institute of the Polish Academy of Sciences(波兰科学院系统研究所);Tsinghua University(清华大学)
NeuBM: Mitigating Model Bias in Graph Neural Networks through Neutral Input Calibration
School of Computing and Information Technology, Great Bay University(大海湾大学计算机与信息学院);Dongguan Key Laboratory for Intelligence and Information Technology(东莞智能与信息科技重点实验室);Department of Computer Science, University of California, Los Angeles(加州大学洛杉矶分校计算机科学系)