首页 | 水果短剧 | 博客 | 论坛 | 交友 | 黄页 | 聊天室 | 游戏 | 寄快递 | 登入邮箱 用户中心 | 云浏览器 | ClaudeBot [Bot] | 退出 | 简体 | English
首页 > 科技娱乐 > 前沿技术论文专栏

【论文速递】A Fix for Softmax and Cross-Entropy

PHP 安全服务 · 免费扫描网站 PHP 漏洞 → 一键修复 → 修复验证报告(PHP Patch Assurance) 免费扫描 →
🔊
每篇文章,都有双人深度解读 Every Article Gets a Two-Host Deep Dive
听到焦点,听出门道,发现新闻价值! Discover the Real Value Behind the News
试听 →
简体版 繁体版 分页: 1 / 1
华人空间新闻 新手上路 周五 10月 23, 2026 8:00 pm #1
导读
英文标题:A Fix for Softmax and Cross-Entropy arXiv编号:2610.31642 作者:Jonathan T. Barron, Dan Gnanapragasam, Michael Tschannen 来源:arXiv 原文链接:https://arxiv.or…
【论文速递】A Fix for Softmax and Cross-Entropy

英文标题:A Fix for Softmax and Cross-Entropy

arXiv编号:2610.31642
作者:Jonathan T. Barron, Dan Gnanapragasam, Michael Tschannen
来源:arXiv
原文链接:https://arxiv.org/abs/2610.31642

中文摘要:
Standard implementations of softmax, log-softmax, and cross-entropy have two numerical bugs. The first bug, Softmax Collapse, rounds the target logit's gradient to zero if that one logit is much larger than the others, resulting in gradients that no longer sum to zero. The second bug, Softmax Cancellation, occurs when student logits are close to teacher logits, and produces non-zero gradients even when the student and teacher logits are equal. We present simple implementations of log-softmax, softmax, and cross-entropy that fix both bugs. Our fix eliminates the previously-observed "Slingshot" phenomenon, speeds up grokking with weight decay, prevents accuracy collapse without weight decay, stops student networks from drifting away from the teacher during distillation, and shows that after memorization, logit growth is bounded by an equilibrium between weight decay and Adam's $ε$ hyperparameter.

本文由华人空间 AI 论文助手自动抓取翻译,仅供学术交流。
扫码分享
扫码分享本文
打赏给华人空间
打赏
有粉丝喜欢你的作品,你就能收到打赏!
创作者平台 点击了解,加入,创作,圈粉,有赏!
简体版 繁体版 分页: 1 / 1
eBay拍卖狙击神器 — 最后一秒自动出价,永远不超价获胜
华人空间用户专享:前100名6个月免费 · 30天免费试用,随时取消
免费试用 →