Felix Petersen (@FHKPetersen) profile picture

Machine learning researcher, postdoc. Investigating differentiable algorithms etc. @Stanford @StanfordAILab.

Bay Area
Joined November 2016
Join us today for Ubiquitous Ultra-Efficient Mobile Video Super-resolution + Denoising with Logic Gates at #ICCV2025 booth 247. 🌺
1
9
893
Join us now at our poster #1502 in East Exhibit Hall A-C 1502.
Ever wondered how training dynamics differ between LLMs 🖋️ and Vision 👁️ models? We explore this and close the gap between VMs and LLMs in our #NeurIPS2024 paper "TrAct: Making First-layer Pre-Activations Trainable". Paper📜 arxiv.org/abs/2410.23970 Video🎥 youtu.be/ZjTAjjxbkRY
1
18
1,610
Learn more in our paper 📑 (arxiv.org/abs/2410.23970) and check out our paper video directly here on 𝕏! --- Thanks to my co-authors Christian Borgelt and @StefanoErmon. @StanfordAILab
5
617
...and it speeds up overall training by factors ranging from 1.25x (for large ViT pre-training) to 4x (for ConvNets). We benchmark TrAct on a suite of 50 experimental settings.
1
7
693
Our implementation is efficient, only modifies the gradient in the backward, and is compatible with various optimizers. To use *TrAct*, just wrap your first layer in a "TrAct" module...
1
4
171
We close this gap by proposing TrAct, a method that conceptually *Tr*ains *Act*ivations. While we cannot train activations directly because only the weights are trainable parameters, we propose an optimization problem to find the weights that best match a gradient descent update on the activations, and derive a closed-form solution that modifies the gradient wrt. the weights. Thus, we can effectively train the first-layer activations of a Vision model, with updates similar to those in the LLM Embedding layer.
1
5
205
This means that learning of the vision model, at the first layer, is much slower than in LLMs. And learning is actually faster on higher contrast regions of the image than in low contrast regions due to the proportionality between gradients of weights and input pixel values.
1
5
223
The big difference between LLMs and Vision models lies in the first layer: - in LLMs we update Embeddings (/activations) directly, - but in Vision models we update the *weights* of the first layer, which causes indirect updates to the Activations (/embeddings).
1
6
299
Ever wondered how training dynamics differ between LLMs 🖋️ and Vision 👁️ models? We explore this and close the gap between VMs and LLMs in our #NeurIPS2024 paper "TrAct: Making First-layer Pre-Activations Trainable". Paper📜 arxiv.org/abs/2410.23970 Video🎥 youtu.be/ZjTAjjxbkRY
2
64
2
308
21,003
Check out our 5 minute paper video directly here on 𝕏! 6/6 🧵
1
3
11
2,566
Newton losses is easy to implement, and it's empirical Fisher extension can be added to existing pipelines with a single call of InjectFisher between the model and the loss. 3/6 🧵
1
6
390