[KongchangAI]
ConceptCross-Entropy

Cross-Entropy

A quantity in information theory that measures the difference between two probability distributions. In LLM decoding it is used as a constraint to limit the degree to which sampling deviates from the correct answer.

Timeline (last 90 days)

Sep 11

With sigmoid activation combined with cross-entropy loss, differentiating the loss with respect to the weights simplifies to ∂L/∂w = (ŷ - y) · x.

Unverified50%
Sep 11

The forward propagation process of logistic regression is: linear combination z = w·x + b, activated through sigmoid as ŷ = 1/(1+e^(-z)), followed by cross-entropy loss calculation.

Unverified50%
Sep 7

MSE suffers from gradient saturation when Sigmoid outputs are close to 0 or 1, causing training to be extremely slow, whereas cross-entropy has larger gradients when predictions deviate severely

Unverified50%
Aug 29

该项目将博弈问题建模为监督分类任务,神经网络输入为编码后的棋盘状态,输出为9个格子中最佳落子位置的概率分布,通过交叉熵损失学习模仿Minimax决策

Unverified50%
Aug 27

交叉熵损失函数 H(p,q) = -Σp(x)log q(x) 的最小值在q=p时取到,等于真实分布的熵

Unverified50%
Aug 25

当模型对某个训练样本的预测概率接近1时,该样本对应的交叉熵损失趋近于零,模型几乎无法获得梯度更新信号

Unverified50%
Aug 23

监督学习本质上是函数逼近问题,通过最小化损失函数实现,常见损失函数包括回归任务的均方误差(MSE)和分类任务的交叉熵(Cross Entropy)

Unverified50%

All Facts (7)

Source Articles