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
891
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,608
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,001
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
In Newton Losses, we merge SGD based training of NNs with a Newton step on the loss. This is crucial for many algorithmic losses like ranking and graph losses, which have vanishing and exploding gradients. The intuition is that, if the loss is harder to optimize than the neural network, then we should use a stronger optimization strategy for the loss. It is computationally efficient because the second-order components need to be evaluated only on the loss function, and the expensive NN only requires SGD. 2/6 🧵
2
4
481
I'm excited to share our NeurIPS 2024 paper "Newton Losses: Using Curvature Information for Learning with Differentiable Algorithms" 🤖. Paper link 📜: arxiv.org/abs/2410.19055 Video link 🎥: youtube.com/watch?v=7aFPIMqS… @StanfordAILab 1/6 🧵
5
42
1
203
19,146
If you're excited about #AI with #logic, check out our fully animated video here on 𝕏 or on YouTube: youtu.be/FKQfMwFZvIE #NeurIPS
5
8
1
88
4,642