Загрузка видео...

Не удалось загрузить видео

На главную

Energy-Based Models can now scale better than Diffusion models. Introducing TEM: Transformer Energy-based Models TLDR: • TEM outscales Diffusion without guidance • First scalable contrastive Energy-Based Models • Better generalization, test-time scaling, and OOD detection than Diffusion 🧵

68,098 просмотров • 23 часов назад •via X (Twitter)

Комментарии: 50

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[1/N] First, what are Energy-Based Models (EBMs)? EBMs learn a scalar energy E(x) for each data point, with low energy for real data, and high energy for fake data. This energy landscape defines generation, which starts from random noise and minimizes the energy until reaching a local minimum.

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[2/N] Why formulate generative modeling with EBMs? It's easier to judge whether an image looks real, than to produce one in a single shot. EBMs learn this verifier (energy scalar) directly, then generate by optimizing against it, which enables: • Test-time scaling: more optimization steps → better samples • Compositional generalization: add energies to compose • Likelihoods and OOD detection: the energy acts as a verifier

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[3/N] Despite these benefits, contrastive EBMs have struggled with scalability… so how can we scale them? To solve this we created Transformer Energy Models (TEMs). TEMs involve two key ingredients: • Multi-layer energies: sum energy predictions from early, middle, and final Transformer layers • Positive representation alignment: align EBM image features with a pretrained foundation model

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[4/N] TEMs scale better than diffusion without guidance. TEM-XL's curve drops steeply with training compute and passes DiT, SiT and SiT+REPA, reaching a 3.82 FID with less compute than other diffusion baselines.

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[5/N] Because TEM learns an energy landscape, they unlock capabilities diffusion models have traditionally struggled with. For example, TEMs enable compositional generation, OOD detection, and zero-shot inpainting. Here, we simply add the energies for compositional generation and TEM succeeds zero-shot over Compositional Diffusion.

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[6/N] The energy also works as a verifier, enabling OOD detection that works better than Diffusion. Across four ImageNet OOD benchmarks, TEM averages 0.717 AUROC, vs. 0.55–0.60 for DiT, SiT, and SiT+REPA.

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[7/N] Diffusion models struggle with generation tasks they weren’t trained on like inpainting. But TEMs handle these tasks zero-shot due to leveraging an energy landscape.

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[8/N] TEMs can also do test-time scaling past the number of sampling steps they were trained with. Despite being trained with 40 sampling steps, we can run 120 inference steps and performance keeps improving.

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

[9/N] TEMs demonstrate the promise of Energy-Based Models as a generative modeling paradigm. More EBM work is coming soon so stay tuned! Thanks to the amazing @intlee0609 for leading this work and @du_yilun 🌐 Project page: 📄 Paper: 💻 Code: Jungsoo's thread:

Фото профиля ali
ali23 часов назад

how does the method without representation alignment perform relative to diffusion-based methods (without representation alignment)?

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

yah this is a great question and we will need to test it!

Фото профиля Gravity Research
Gravity Research22 часов назад

LeCun has been hammering on energy landscapes forever, cool to see contrastive EBMs actually scale with transformers

Фото профиля Alexi Gladstone
Alexi Gladstone22 часов назад

definitely! i am now extremely confident the future of EBMs will be a mix of reconstructive + contrastive :)

Фото профиля Yann LeCun
Yann LeCun20 часов назад

EBM FTW

Фото профиля Jayden Teoh
Jayden Teoh23 часов назад

cool work Alexi, looking forward to more EBM works :)

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

thanks jayden :) when can we get next EBM prediction?

Фото профиля Aidan Guo
Aidan Guo23 часов назад

really cool

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

thank you!

Фото профиля Ir rev
Ir rev21 часов назад

I have my doubts about its generality until I see a pixel-space version

Фото профиля Alexi Gladstone
Alexi Gladstone21 часов назад

im confident we can make it happen!

Фото профиля Lulzx - τ/ia
Lulzx - τ/ia22 часов назад

Doing god's work!

Фото профиля Jason Wang
Jason Wang23 часов назад

thank u for sharing, will definitely read it!!!

Фото профиля Raghav Tirumale
Raghav Tirumale22 часов назад

@choang333 Nice work Alexi. Looking forward to reading!

Фото профиля AI Ferryman Alex
AI Ferryman Alex22 часов назад

TEM-XL hitting 3.82 FID with less compute than the diffusion baselines is striking. A single energy score that also works as a verifier could make OOD detection feel built in, not bolted on. After years shipping large systems, how does that score hold up when real data drifts?

Фото профиля Samip
Samip19 часов назад

very cool!

Фото профиля Aayush Karan
Aayush Karan20 часов назад

So cool to finally see this out!! Congrats!

Фото профиля Alexi Gladstone
Alexi Gladstone20 часов назад

thanks aayush :)

Фото профиля AI Quanting
AI Quanting23 часов назад

Outscaling without guidance is the claim I want to see hold. Where does the compute go at sample time compared with a diffusion model of the same size?

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

mostly towards similar things as diffusion, denoising from the prior to the data distribution worth mentioning that more of the compute is gradients at inference-time than with diffusion (2/3rds here, vs none with diffusion)

Фото профиля AI Quanting
AI Quanting22 часов назад

That lines up. One third of 14.48T over 60 steps is about 0.08T of forward per step. A DiT-XL step is 0.12T. So the forward net is the cheaper part and the gradients are the surcharge.

Фото профиля BeastTitanHunter
BeastTitanHunter22 часов назад

@beffjezos

Фото профиля Ammar
Ammar23 часов назад

You became my bucket list author

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

thank you! although @intlee0609 deserves most of the credit here

Фото профиля Ammar
Ammar22 часов назад

@intlee0609 I guess my next plan to be pursue you and him for a paper in audio modality with energy models (because I never explored energy models and have no co-authors in this field)

Фото профиля Jonathan Jacobi
Jonathan Jacobi23 часов назад

super cool work!!!

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

thanks jonathan!!

Фото профиля Yash Dagade
Yash Dagade23 часов назад

@du_yilun 🚀🔥

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

@du_yilun EBM memory🤫

Фото профиля Yash Dagade
Yash Dagade22 часов назад

@du_yilun 💙

Фото профиля Aaron Lou
Aaron Lou23 часов назад

Interesting work!

Фото профиля Alexi Gladstone
Alexi Gladstone23 часов назад

thank you means a lot! big fan of your work on discrete diffusion :)

Фото профиля Lev Stambler
Lev Stambler22 часов назад

Awesome!

Фото профиля Alexi Gladstone
Alexi Gladstone22 часов назад

thanks lev :)

Фото профиля vxnuaj
vxnuaj19 часов назад

thank you.

Фото профиля 静夜思人。(赚钱版)
静夜思人。(赚钱版)19 часов назад

EBM finally getting its scalability moment — the no-guidance test-time scaling is the killer feature. Curious whether the contrastive training cost stays competitive at frontier scale, or only at the current sizes.

Фото профиля Tommy
Tommy21 часов назад

Multi-layer energy still scales the EBM

Фото профиля Otabek Boymirzayev
Otabek Boymirzayev21 часов назад

appreciate your work

Фото профиля Otabek Boymirzayev
Otabek Boymirzayev21 часов назад

did you release product based on this? i wanna see

Фото профиля Pedro
Pedro23 часов назад

really cool work!

Фото профиля Alexi Gladstone
Alexi Gladstone22 часов назад

thank you!

Похожие видео