[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.

Core Facts

Timeline (last 90 days)

Nov 13

In the full-label setting, none of the four bandit methods surpassed a simple baseline of cross-entropy plus one temperature parameter in average expected calibration error (ECE) across four unseen label patterns.

Unverified50%
Nov 11

Standard training objectives such as cross-entropy, KL divergence, and total variation distance focus only on distribution matching or single-step overlap, and do not directly optimize EAL.

Unverified50%
Nov 11

Validation loss (such as cross-entropy) measures the difference between the model's predicted probability distribution and the true labels, while validation accuracy (or F1) measures the correctness of hard classification decisions; the two are not always monotonically in sync.

Unverified50%
Nov 11

Because the data itself has inherent randomness, cross-entropy has an unbreakable lower bound, so zero perplexity is impossible to achieve.

Unverified50%
Nov 11

Cross-entropy can be decomposed into the sum of the entropy of the true data distribution and the KL divergence between the model distribution and the true distribution.

Unverified50%
Nov 10

Knowledge distillation usually refers to a student model minimizing KL divergence on the teacher's soft labels (logits), with optional matching of intermediate-layer features.

Unverified70%
Nov 3

During fine-tuning, TVP improves acceptance length by 9.8% compared with CE.

Unverified50%
Nov 3

Existing draft models are mostly trained with cross-entropy (CE) or KL divergence.

Unverified50%
Nov 2

The interaction between the cross-entropy rounding effect and the Adam optimizer is the cause of the "slingshot"-style loss spikes in the grokking process; after fixing the rounding problem, the spikes disappear.

Unverified50%
Oct 30

Unlike directly applying cross-entropy (hard labels) to the correction segments, KL supervision uses the teacher's full soft distribution as a soft target, preserving the teacher's relative confidence across candidate tokens, yielding smoother signals and making it less likely for the student to overfit to a single answer.

Unverified50%

7 more timeline events

All Facts (20)

Verified

The objective function for pre-training is typically the cross-entropy loss in causal language modeling, i.e., maximizing the probability of correctly predicting the next token given all preceding tokens.

65%
Unverified

Knowledge distillation usually refers to a student model minimizing KL divergence on the teacher's soft labels (logits), with optional matching of intermediate-layer features.

70%
Unverified

In the full-label setting, none of the four bandit methods surpassed a simple baseline of cross-entropy plus one temperature parameter in average expected calibration error (ECE) across four unseen label patterns.

50%
Unverified

Standard training objectives such as cross-entropy, KL divergence, and total variation distance focus only on distribution matching or single-step overlap, and do not directly optimize EAL.

50%
Unverified

Validation loss (such as cross-entropy) measures the difference between the model's predicted probability distribution and the true labels, while validation accuracy (or F1) measures the correctness of hard classification decisions; the two are not always monotonically in sync.

50%
Unverified

Because the data itself has inherent randomness, cross-entropy has an unbreakable lower bound, so zero perplexity is impossible to achieve.

50%
Unverified

Cross-entropy can be decomposed into the sum of the entropy of the true data distribution and the KL divergence between the model distribution and the true distribution.

50%
Unverified

Existing draft models are mostly trained with cross-entropy (CE) or KL divergence.

50%
Unverified

During fine-tuning, TVP improves acceptance length by 9.8% compared with CE.

50%
Unverified

The interaction between the cross-entropy rounding effect and the Adam optimizer is the cause of the "slingshot"-style loss spikes in the grokking process; after fixing the rounding problem, the spikes disappear.

50%
Unverified

Unlike directly applying cross-entropy (hard labels) to the correction segments, KL supervision uses the teacher's full soft distribution as a soft target, preserving the teacher's relative confidence across candidate tokens, yielding smoother signals and making it less likely for the student to overfit to a single answer.

50%
Unverified

The article recommends replacing standard softmax and cross-entropy implementations in custom training loops to avoid numerical issues.

50%
Unverified

The authors' fixed implementations of log-softmax, softmax, and cross-entropy add no computational complexity.

50%
Unverified

The structural root of the LLM calibration problem is that the pretraining objective is to minimize the cross-entropy of the next word rather than to output trustworthy probability estimates, and RLHF alignment further amplifies the tendency to express things as if certain.

50%
Unverified

Cross-entropy is a per-token average metric and does not additionally penalize the structural defect that some tokens are never processed at all, so when comparing routing strategies one cannot look only at a single average evaluation loss.

50%
Unverified

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.

50%
Unverified

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

50%
Unverified

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

50%
Unverified

The cross-entropy loss function H(p,q) = -Σp(x)log q(x) reaches its minimum value when q=p, which equals the entropy of the true distribution.

50%
Unverified

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

50%

Source Articles