Loss Functions and Metrics in Deep Learning
arXiv:2307.02694 · doi:10.1007/s10462-025-11198-7
Abstract
This paper presents a comprehensive review of loss functions and performance metrics in deep learning, highlighting key developments and practical insights across diverse application areas. We begin by outlining fundamental considerations in classic tasks such as regression and classification, then extend our analysis to specialized domains like computer vision and natural language processing including retrieval-augmented generation. In each setting, we systematically examine how different loss functions and evaluation metrics can be paired to address task-specific challenges such as class imbalance, outliers, and sequence-level optimization. Key contributions of this work include: (1) a unified framework for understanding how losses and metrics align with different learning objectives, (2) an in-depth discussion of multi-loss setups that balance competing goals, and (3) new insights into specialized metrics used to evaluate modern applications like retrieval-augmented generation, where faithfulness and context relevance are pivotal. Along the way, we highlight best practices for selecting or combining losses and metrics based on empirical behaviors and domain constraints. Finally, we identify open problems and promising directions, including the automation of loss-function search and the development of robust, interpretable evaluation measures for increasingly complex deep learning tasks. Our review aims to equip researchers and practitioners with clearer guidance in designing effective training pipelines and reliable model assessments for a wide spectrum of real-world applications.
134 pages, 4 figures, 21 tables, 238 equations
References in corpus (10)
- SSD: Single Shot MultiBox Detector
- FaceNet: A Unified Embedding for Face Recognition and Clustering
- Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising
- Efficient Multi-Scale 3D CNN with Fully Connected CRF for Accurate Brain Lesion Segmentation
- DeepPose: Human Pose Estimation via Deep Neural Networks
- Brain Tumor Segmentation with Deep Neural Networks
- Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition
- Conditional Random Fields as Recurrent Neural Networks
- Cross-view Semantic Segmentation for Sensing Surroundings
- Forecasting time series of inhomogeneous Poisson processes with application to call center workforce management