Unverified70% confidenceFactExact time
The binary cross-entropy loss formula is -[y·log(p) + (1-y)·log(1-p)], where y is the true label and p is the model's predicted probability for the positive class.
2
Sources
70%
Confidence
Long-term
Relevance
8/10/2026
First Seen
Sources
Related Claims
UnverifiedThe soft cross-entropy loss function is -∑ p_i log q_i, where p_i is the target distribution and q_i is the model output distribution.74% similarVerifiedCross-entropy loss is the most commonly used loss function in classification tasks, rooted in information theory, and measures the distance between the model's predicted probability distribution and the true distribution.74% similarUnverifiedThe model uses binary cross-entropy loss and is trained end-to-end against oracle extractive labels.73% similarUnverifiedCross-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.70% similarUnverifiedIn language model training, minimizing cross-entropy and maximizing likelihood are two ways of saying the same thing, and CrossEntropyLoss in PyTorch directly computes the negative log-likelihood.69% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/721283API
curl https://kongchang.com/api/v1/knowledge/claims/721283MCP
get_claim(id=721283)