Related Experiment Video
Updated: Jun 23, 2025

Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
Correlations of Cross-Entropy Loss in Machine Learning
Richard Connor1, Alan Dearle1, Ben Claydon1
1School of Computer Science, University of St Andrews, St Andrews KY16 9SS, UK.
Cross-entropy loss in deep learning correlates strongly with triangular divergence and Euclidean distance over logits. This suggests triangular divergence as a cost-effective alternative and validates using Euclidean distance for logit similarity in classification.
Area of Science:
- Machine Learning
- Deep Neural Networks
- Information Theory
Background:
- Cross-entropy loss is fundamental for training deep neural networks.
- Understanding relationships between loss functions can optimize training and feature extraction.
Purpose of the Study:
- To investigate novel correlations between cross-entropy and other divergence functions.
- To explore the relationship between cross-entropy and Euclidean distance over logits.
- To identify potential computational efficiencies and new feature representations.
Main Methods:
- Empirical observation of correlations between divergence functions.
- Mathematical analysis of related divergence functions and softmax outputs.
- Analysis of cross-entropy, triangular divergence, and Euclidean distance over logits.
Main Results:
- Demonstrated near-perfect correlation between cross-entropy and triangular divergence in certain scenarios.
- Showcased strong correlation between cross-entropy and Euclidean distance on softmax-derived logits.
- Established that logits can be effectively treated as features in a Euclidean space.
Conclusions:
- Triangular divergence presents a computationally cheaper alternative to cross-entropy loss.
- Euclidean distance over logits is a valid and synergistic measure of similarity for networks trained with softmax and cross-entropy.
- These findings offer practical implications for optimizing deep learning model training and analysis.
Related Concept Videos
Correlation and Regression
Correlations
Coefficient of Correlation
If you suspect a linear relationship between x and y, then r can measure how strong the linear relationship is.
What the VALUE of r tells us:
The value of r is always between –1 and +1: –1 ≤ r ≤ 1.
The size of the correlation r indicates the...
Calibration Curves: Correlation Coefficient
Correlation
Two variables, for example, a and b, are said to be positively correlated if both variables move in the same direction. In other words, a positive correlation exists between two variables, a and b, if:
Regression Toward the Mean

