Unverified50% confidenceFactExact time
Since this involves multi-step normalization such as softmax, temperature scaling and top-p truncation, any 0/0, log(0) or overflow in any step will contaminate the logits and produce NaN.
1
Sources
50%
Confidence
Long-term
Relevance
11/11/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedTemperature divides the logits by a coefficient before applying softmax, changing the steepness of the entire distribution; top-p first accumulates probabilities from high to low, truncating once the cumulative probability reaches p, removing low-probability tokens outside the long tail from the candidate set, then renormalizing and sampling within the remaining set.70% similarUnverifiedOutlines 推理时将非法 token 对应的 logits 设为负无穷,使其经 softmax 后概率趋近于零,实现硬约束64% similarUnverified逻辑回归中的交叉熵损失如果直接对 log(0) 求值会产生负无穷,需要加入极小的 epsilon 值或使用 log-sum-exp 技巧63% similarUnverifiedOutlines' constraint logic operates on the logits mask at the sampling stage, does not modify model weights, does not add extra forward passes, and the runtime overhead is close to zero.62% similarUnverifiedSimply changing the definitional order of the error metric causes the number of rounds required for sampling to collapse from (log n)^2 to the log ln n scale, constituting a large asymptotic separation.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1161121API
curl https://kongchang.com/api/v1/knowledge/claims/1161121MCP
get_claim(id=1161121)