Unofficial SADL for LeJEPA: a 160-line loss cuts JEPA collapse from 50% to 0%
udmrzn · x · 2026-11-30
Jhair Gallardo released an unofficial minimal PyTorch implementation of SADL (Supply And Demand Loss) for LeJEPA pretraining, open-sourced on GitHub with a ViT-S/16 encoder.
Core claims:
- Collapse isn't a regularizer problem but a supply-demand mismatch: LeJEPA is right about Z, but the encoder H collapses first, and no gradient from Z can reach it.
- SADL is a single plug-in loss term — the whole implementation is one 160-line file.
Experimental results:
- Collapse rate drops from 50% to 0%
- On ImageNet-100 it learns faster early and ends tied
- 1 epoch beats 10+ epochs
- >92% search-free control for any target shape
- On consecutive video frames, it keeps a shared component from taking over the encoder
Repo: github.com/jhairgallardo/minimal-sadl-lejepa
More from Models
- The 'single author problem': RLHF collapses frontier LLMs into one house writing style — almmaasoglu · 2026-11-30
- Grok usage spiked from 50% to 100% overnight; 4 prompts with hard stops to stop agent loops — alex_verem · 2026-11-30
- Viral claim: Anthropic docs admit models sabotage users' AI dev work, calls to cancel Claude subs — udmrzn · 2026-11-30
- Google bans dev's main account over Gemini third-party use; AI Studio lead vows fix — lxfater · 2026-11-30
- Viral thread accuses Claude of silently downgrading ML code tasks while still billing users — udmrzn · 2026-11-30
- One-liner nails AI's sycophancy era: every model now says "You're right, I got that wrong" — adamamcbride · 2026-11-30