Thomas Pethick (@tmpethick) header
Thomas Pethick (@tmpethick) profile picture

Uncertainty in the face of optimism

Joined July 2011
I should also mention this timely tweet by @AlexShtf and the follow up of @peter_richtarik ! Halpern has a close connection to the resolvent nitter.cf/AlexShtf/status/209852…
Prediction: the LLM community will notice that looped transformers are fixed point iteration of a learned operator, and will rediscover Halpern alg, resolvents, and other animals.. under new names (smth like "inverse residual looping"). Then they'll rediscover dynamical systems and well see "looping with auxiliary memory".
2
265
Replying to @orvieto_antonio
Interesting you also rely on pre-norm and then need to keep activations bounded - I'll give it a closer read! This was maybe the Friday group presentation I ended up missing? 😅
1
205
What I find most promising is that we get a better accuracy/robustness tradeoff. For the pareto frontier of a SwiGLU block: - the row + spectral constraint dominates the spectral constraint (a) - instructive, since we can construct a case where spectral vs spectral+row match (b)
1
1
4
468
13/ Sparrow approximates the LMO almost as well as Aurora while at the same time not violating neither the row nor the spectral constraint.
1
1
3
476
12/ We get a more refined rule from the Lipschitz argument: - Aurora should not be applied to tall attention gates, despite them being tall! - instead, simply use the row constraint for gates as in Sparrow
1
1
4
490
11/ How does it compare with Aurora? - Sparrow is cheaper (same cost as Muon!) - while enjoying the same performance improvements
1
1
4
507
9/ Now, how to optimize over the joint constraint? For a cheap approximation that works well in practice, one can run forward-backward on the dual problem with a clever initialization, which leads to Sparrow.
1
1
4
540
7/ Same for gate and value matrices of SwiGLU, which make up 44% of all non-embedding parameters! Gated attention and SSMs also naturally asks for a row norm constraint (but no spectral constraint... we will get back to this).
1
1
1
5
855
6/ Simply changing the activation changes the geometry! ReLU² is particularly instructive: - quadratic in the input ⇒ Jacobian linear in the input - so the input needs to be bounded (pre-norm!) - and W_1 should be row norm (2->∞) constraint So: row + spectral constraint!
1
1
2
21
5,769
3/ Halpern has a bunch of nice properties! - the anchor makes each iteration contractive, so truncated backprop works (see also Jelena Diakonikolas's work arxiv.org/abs/2506.17698) - it enjoys a robustness gaurantee w.r.t. to the input query
1
1
5
835
2/ The first central observation is that, input injection, as used by recurrent-depth models such as Huginn, is exactly Halpern iteration of the forward pass. nitter.cf/jonasgeiping/status/18…
Ok, so I can finally talk about this! We spent the last year (actually a bit longer) training an LLM with recurrent depth at scale. The model has an internal latent space in which it can adaptively spend more compute to think longer. I think the tech report ...🐦‍⬛
2
1
11
1,012