frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Bf16 might be freezing your weight updates

https://lacuna.tiptreesystems.com/paper/bf16-might-be-freezing-your-weight-updates/art_487b1ed949e745a6ae0c42815b8d3cba
1•martincsweiss•38m ago

Comments

martincsweiss•38m ago
If you fine-tune a model with weights stored in bf16 and let torch.optim.AdamW write to them directly, you get interesting behaviour. bf16 can only represent changes to weights if the change is at least ~1/512 of the weight itself, so at small learning rates only the smallest weights can update.

As a result, you have a sparse fine-tuner that trains the small-magnitude weights and freezes the rest, with the cutoff set by your learning rate. This is a thing - I found half a dozen peer-reviewed papers (with thousands of citations) that fine-tune this way, but none of them reference this behaviour.

I dug into one called Quiet-STaR, because (a) it's a cool paper, (b) they released their weights, and (c) their code works! So I diffed their base model and saw that indeed the small-magnitude weights were the only ones updated during their training. Then I reran its recipe with an optimizer that applies every update, and watched it diverge. A higher-precision optimizer needs a 3 to 10 times smaller learning rate to get the same result, and I couldn't achieve a better result.

This started with Barron, Gnanapragasam & Tschannen's "A Fix for Softmax and Cross-Entropy" (Oct 2026). They show that the standard way of computing cross-entropy rounds the correct answer's gradient to exactly zero once the model is confident enough (past a margin of about 5.5 in bf16, which they call the precision cliff), and that this, interacting with Adam, is what produces the "slingshot" loss spikes seen during grokking. Fix the rounding and the spikes go away: something people had studied as training dynamics was rounding.

That made me wonder what else out there is weird like this. This is one, and it runs the other way: their rounding bug adds instability to training; this one hides it.

The code, logs and evaluation results are in mweiss17/quietstar-bf16-adamw, in case you want to check the receipts.

AI Agents Still Can't Maintain Your Codebase

https://www.youtube.com/watch?v=ntO2eQ2iu6o
1•Betelbuddy•21s ago•0 comments

Show HN: Deedglass – An agent said it updated 1 row; Postgres changed 301

https://github.com/deedglass/deedglass
1•ajuxarjun•28s ago•0 comments

Why are Soviet math textbooks so hardcore in comparison to US textbooks? (2017)

https://www.quora.com/Why-are-Soviet-mathematics-physics-textbooks-so-insanely-hardcore-in-compar...
1•zenincognito•1m ago•0 comments

LongCat-2.5: Native Multimodality for Agentic Tasks

https://longcat.ai/blog/longcat-2.5/
1•pretext•2m ago•0 comments

Hindsight: A Trivia and Calibration Game

https://arjunpanickssery.substack.com/p/hindsight-a-trivia-calibration-game
1•surprisetalk•2m ago•0 comments

40 °C heat extremes are no longer implausible in the Nordic countries

https://www.nature.com/articles/s44304-026-00290-9
1•littlexsparkee•3m ago•0 comments

Please Support Our Fundraiser

https://poppinpopcornonline.com/store/store.php?sID=00665085
1•scooterrs•3m ago•0 comments

Show HN: A SQL parser and type checker written in TypeScript types

https://github.com/ismailkarsli/TypeSQL
1•ismailkarsli•3m ago•0 comments

Global carbon dioxide production from human metabolism between 1985 and 2015

https://www.sciencedirect.com/science/article/pii/S2542519626001191
1•PaulHoule•4m ago•0 comments

Show HN: Slop Node for Keeta

https://github.com/xescure/slop-node
1•xescure•4m ago•0 comments

I Am Dr. Jekyll and Mr. Hyde about AI

https://chollinger.com/blog/2026/11/i-am-dr-jekyll-and-mr-hyde-about-ai/
1•otter-in-a-suit•5m ago•0 comments

Block Wizard

https://asawicki.info/news_1806_block_wizard_-_remake_of_my_old_online_game
1•ibobev•5m ago•0 comments

FineDNA: Release for Bio

https://huggingface.co/HuggingFaceBio/Carbon-X
1•pretext•6m ago•0 comments

C64 Basic Dungeon Crawler: Stairs, Levels and Levelling Up (Part 11)

https://retrogamecoders.com/c64-basic-dungeon-part11/
1•ibobev•6m ago•0 comments

The Microsoft building that was reportedly haunted

https://devblogs.microsoft.com/oldnewthing/20261030-00/?p=112815/
1•ibobev•6m ago•0 comments

The U.S. Is Bullying Europe Like Never Before

https://www.theatlantic.com/ideas/2026/11/trump-europe-guilfoyle-afd-meddling/689226/
1•robtherobber•6m ago•0 comments

Napping Characteristics and Incident Dementia

https://academic.oup.com/biomedgerontology/article/81/10/glag208/8769491?login=false
1•bookofjoe•8m ago•0 comments

An open LLM read 291 retracted papers: 7.7% of passages mention the retraction

https://zenodo.org/records/23830104
2•yolinecomtet•10m ago•0 comments

OpenAI slashes funding target by $10B as tech anxieties mount

https://www.ft.com/content/7a3ad950-1b3b-4d9e-8c15-65a61ae6180f
2•samizdis•10m ago•0 comments

WTF Ubuntu?

https://chalmovsky.com/posts/wtf-ubuntu
2•chalmovsky•10m ago•0 comments

Your AI Coding Agent Needs More Than a Good Prompt

https://medium.com/@ajseven/your-ai-coding-agent-needs-more-than-a-good-prompt-8b5b4de1cf70
2•its_ajseven•11m ago•0 comments

An intuition for how neural nets can understand text

https://info.zairai.ai/neurons-understanding-text
1•luisvalerio•12m ago•0 comments

Nanoparticles for delivering personalized cancer vaccines

https://news.mit.edu/2026/mit-engineers-create-nanoparticles-delivering-personalized-cancer-vacci...
4•gmays•14m ago•0 comments

We halved DNS build delay and cut memory use by 85%

https://blog.cloudflare.com/dns-targeted-zone-builds/
1•wondersky•15m ago•0 comments

5 Stars for sale: Inside the underground fake review trade

https://www.malwarebytes.com/blog/threat-intel/2026/11/5-stars-for-sale-inside-the-underground-fa...
2•lapcat•15m ago•0 comments

Cryosphere faces permanent damage when world overshoots 1.5C, scientists warn

https://www.theguardian.com/science/2026/nov/02/permanent-damage-crysophere-overshoots-15c-scient...
3•tosh•15m ago•0 comments

Johnstown, PA will be your best place to live if you make under 100K

https://salary-statistics.netlify.app/us/where-to-live
2•rlatkdrktkd•17m ago•1 comments

Anthropic Revenue Hits Nearly $17B Before Blockbuster IPO

https://www.bloomberg.com/news/articles/2026-11-02/anthropic-revenue-hits-nearly-17-billion-befor...
2•helsinkiandrew•17m ago•2 comments

Show HN: Vaire, Self-Hosting Postgres Through the One Glorious CLI

https://github.com/mbvlabs/vaire
1•mbvisti•17m ago•0 comments

Man completes 28-year, 31,000-mile walk around world, returns to mother's house

https://apnews.com/article/karl-bushby-world-walk-hull-england-0317df0d80138f045eed4dc15db50c10
1•eric_h•17m ago•0 comments