Title: MAXENT LOSS: CONSTRAINED MAXIMUM ENTROPY FOR CALIBRATING DEEP NEURAL NETWORKS. Abstract: Miscalibration distorts our interpretation between a model's confidence and correctness, making them unreliable for real-world deployment. In general, we want dependable and meaningful probabilistic estimations of our model's uncertainty, which are essential in real-world applications. This may include inputs that are from out-of-distributions (OOD), which can be widely different from the given training distribution. Motivated by the Principle of Maximum Entropy, we show that -- compared to conventional cross-entropy loss and focal loss -- training neural networks with additional statistical constraints can help improve neural calibration whilst retaining recognition accuracy. We evaluate our method extensively on different augmented and in-the-wild OOD computer vision datasets and show that our Maxent loss achieves state-of-the-art calibration in all cases. Our code will be made available upon acceptance.