arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.05131cs.LGcs.AIcs.NE
收藏

DL101 神经网络输出与损失函数

DL101 Neural Network Outputs and Loss Functions

Department of Computer Science and Artificial Intelligence, University of Granada, Spain(计算机科学与人工智能系,格拉纳达大学,西班牙)

Fernando Berzal

AI总结:

本文从统计学角度阐明神经网络输出层激活函数与损失函数的关系,指出损失函数选择等价于对输出分布的最大似然假设,并关联广义线性模型。

摘要:

从统计学角度看,用于训练神经网络的损失函数与其输出层密切相关。本技术报告分析了神经网络输出层常用的激活函数,如线性、sigmoid、ReLU 和 softmax,详细说明了它们的数学性质及适用场景。对于为深度学习模型训练选择合适的损失函数,存在强有力的统计学依据。本报告将均方误差(MSE)、平均绝对误差(MAE)以及各种交叉熵损失等常见损失函数与最大似然估计(MLE)的统计学原理联系起来。选择特定的损失函数等同于为模型输出假设特定的概率分布,这凸显了这些函数与作为网络输出层基础的广义线性模型(GLM)之间的联系。报告还考虑了其他具有实际意义的场景,例如替代输出编码、受限输出以及重尾分布。

英文摘要:

The loss function used to train a neural network is strongly connected to its output layer from a statistical point of view. This technical report analyzes common activation functions for a neural network output layer, like linear, sigmoid, ReLU, and softmax, detailing their mathematical properties and their appropriate use cases. A strong statistical justification exists for the selection of the suitable loss function for training a deep learning model. This report connects common loss functions such as Mean Squared Error (MSE), Mean Absolute Error (MAE), and various Cross-Entropy losses to the statistical principle of Maximum Likelihood Estimation (MLE). Choosing a specific loss function is equivalent to assuming a specific probability distribution for the model output, highlighting the link between these functions and the Generalized Linear Models (GLMs) that underlie network output layers. Additional scenarios of practical interest are also considered, such as alternative output encodings, constrained outputs, and distributions with heavy tails.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑