# Statistical Properties of the log-cosh Loss Function Used in Machine Learning

arXiv: https://arxiv.org/abs/2208.04564 · HTML: https://mlsanity.com/paper/2208.04564/

## Key facts

- Cited by 16 papers in the map (data through 14 Oct 2026).
- Builds on 5 of its 23 references that are in the map.
- First posted on arXiv 9 Aug 2022.

## Builds on (most cited first, 5 of 5)

- [A survey of loss functions for semantic segmentation](https://mlsanity.com/paper/2006.14822/) (2020)
- [Smoothed Quantile Regression with Large-Scale Inference](https://mlsanity.com/paper/2012.05187/) (2020)
- [Smoothing quantile regressions](https://mlsanity.com/paper/1905.08535/) (2019)
- [Classification of Breast Cancer Lesions in Ultrasound Images by using Attention Layer and loss Ensembles in Deep Convolutional Neural Networks](https://mlsanity.com/paper/2102.11519/) (2021)
- [Solution to the Non-Monotonicity and Crossing Problems in Quantile Regression](https://mlsanity.com/paper/2111.04805/) (2021)

## Built on by (most cited first, 16 of 16)

- [A Comprehensive Survey of Regression Based Loss Functions for Time Series Forecasting](https://mlsanity.com/paper/2211.02989/) (2022)
- [LibCity: A Unified Library Towards Efficient and Comprehensive Urban Spatial-Temporal Prediction](https://mlsanity.com/paper/2304.14343/) (2023)
- [Energy-based Hopfield Boosting for Out-of-Distribution Detection](https://mlsanity.com/paper/2405.08766/) (2024)
- [JAX-DIPS: Neural bootstrapping of finite discretization methods and application to elliptic problems with discontinuities](https://mlsanity.com/paper/2210.14312/) (2022)
- [Deep Learning and Geometric Deep Learning: an introduction for mathematicians and physicists](https://mlsanity.com/paper/2305.05601/) (2023)
- [CloudCast -- Total Cloud Cover Nowcasting with Machine Learning](https://mlsanity.com/paper/2410.21329/) (2024)
- [A Piecewise Lyapunov Analysis of Sub-quadratic SGD: Applications to Robust and Quantile Regression](https://mlsanity.com/paper/2504.08178/) (2025)
- [Three Ways of Using Large Language Models to Evaluate Chat](https://mlsanity.com/paper/2308.06502/) (2023)
- [Real-Time Black-Box Optimization for Dynamic Discrete Environments Using Embedded Ising Machines](https://mlsanity.com/paper/2506.16924/) (2025)
- [Beyond Tokens: Enhancing RTL Quality Estimation via Structural Graph Learning](https://mlsanity.com/paper/2508.18730/) (2025)
- [Robust Anomaly Detection through Multi-Modal Autoencoder Fusion for Small Vehicle Damage Detection](https://mlsanity.com/paper/2509.01719/) (2025)
- [Climate Adaptation-Aware Flood Prediction for Coastal Cities Using Deep Learning](https://mlsanity.com/paper/2510.26017/) (2025)
- [Approximate full-conformal multi-task regression with reproducing kernels](https://mlsanity.com/paper/2607.00645/) (2026)
- [How to warm-start your unfolding network](https://mlsanity.com/paper/2502.01854/) (2025)
- [UniRTL: Unifying Code and Graph for Robust RTL Representation Learning](https://mlsanity.com/paper/2605.31040/) (2026)
- [Alternate loss functions and regression models that achieve robustness to outliers by modulating the learning rate](https://mlsanity.com/paper/2606.22068/) (2026)

## Abstract (arXiv)

This paper analyzes a popular loss function used in machine learning called the log-cosh loss function. A number of papers have been published using this loss function but, to date, no statistical analysis has been presented in the literature. In this paper, we present the distribution function from which the log-cosh loss arises. We compare it to a similar distribution, called the Cauchy distribution, and carry out various statistical procedures that characterize its properties. In particular, we examine its associated pdf, cdf, likelihood function and Fisher information. Side-by-side we consider the Cauchy and Cosh distributions as well as the MLE of the location parameter with asymptotic bias, asymptotic variance, and confidence intervals. We also provide a comparison of robust estimators from several other loss functions, including the Huber loss function and the rank dispersion function. Further, we examine the use of the log-cosh function for quantile regression. In particular, we identify a quantile distribution function from which a maximum likelihood estimator for quantile regression can be derived. Finally, we compare a quantile M-estimator based on log-cosh with robust monotonicity against another approach to quantile regression based on convolutional smoothing.
