Hengyu Fu (@HengyuF) profile picture

PhD student of Computer Sciences at UC Berkeley

Joined July 2024
Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)Photo by Hengyu Fu (@HengyuF)
Frontier labs are rumored to be adopting looped Transformers for their potential to unlock implicit reasoning. But can looped Transformers really master it? We find a bottleneck that keeps looped Transformers from perfect implicit reasoning. Using mechanistic interpretability, we show how looping helps implicit reasoning, why it still struggles to generalize, and how to fix it. We introduce DiscoLoop: a residual design for looped Transformers that improves implicit reasoning. 🧡 Long thread ahead πŸ‘‡
34
78
23
579
66,842
Hengyu Fu retweeted
Pretraining data comes from the open internet, where attackers can implant their data. Can 𝐩𝐨𝐒𝐬𝐨𝐧𝐞𝐝 𝐩𝐫𝐞𝐭𝐫𝐚𝐒𝐧𝐒𝐧𝐠 𝐝𝐚𝐭𝐚 π‘π‘œπ‘Ÿπ‘Ÿπ‘’π‘π‘‘ 𝐴𝐼 π‘Žπ‘”π‘’π‘›π‘‘π‘ , even after SFT, RL, and other safety training? The answer is yes! By controlling even 𝟏/𝟐𝟎𝟎,𝟎𝟎𝟎 of the pretraining data, attackers can backdoor an agent to 𝑒π‘₯𝑒𝑐𝑒𝑑𝑒 π’‚π’“π’ƒπ’Šπ’•π’“π’‚π’“π’š π‘Žπ‘‘π‘‘π‘Žπ‘π‘˜π‘’π‘Ÿ-π‘β„Žπ‘œπ‘ π‘’π‘› π‘π‘œπ‘‘π‘’. Our new @AnthropicAI Fellows paper: arxiv.org/abs/2610.37741 🧡(1/N)
29
96
19
432
44,560
Please check out our new NeurIPS 2026 paper! πŸŽ‰ We find why looped Transformers still struggle with implicit reasoning, and fix it with DiscoLoop.
Frontier labs are rumored to be adopting looped Transformers for their potential to unlock implicit reasoning. But can looped Transformers really master it? We find a bottleneck that keeps looped Transformers from perfect implicit reasoning. Using mechanistic interpretability, we show how looping helps implicit reasoning, why it still struggles to generalize, and how to fix it. We introduce DiscoLoop: a residual design for looped Transformers that improves implicit reasoning. 🧡 Long thread ahead πŸ‘‡
3
3
29
1,913
Our starting point builds on @BoshiWang2's study of implicit reasoning in vanilla Transformers (arxiv.org/abs/2405.15071), and we extend that line of analysis to looped Transformers. Concurrent work by @yuekun_yao also tackles implicit multi-hop reasoning, with fantastic results on length generalization! Also check out their thread! teapaw.org/yuekun_yao/status/2044…
Claude Mythos is suspected of being a Looped transformer (LT), but why are LT-based LLMs so powerful? Our new finding: LT can perform implicit reasoning over their parametric knowledge, unlocking generalization to complex and unfamiliar questions compared to transformers ‡️
1
12
1,747
We revisit GRPO, SC and BPO through coordinate transformations and local approximations to policy improvement. This view helps explain how clipping can distort updates under training–inference mismatch, and leads to Decoupled Score Centering. Blog: gelatinous-expert-612.notion… 1/9
4
13
1
74
11,705
Hengyu Fu retweeted
What's the best way to solve linear regression? (No, it’s not least squares.) In our new paper, we show that principal component regression (PCR) beats, up to constants, every monotone spectral filter (incl. gradient descent & ridge regression) on every problem instance! (1/8)
12
91
13
849
114,890
Hengyu Fu retweeted
A question on synthetic data generation: If we want a language model to solve k-step arithmetic problems (such as a+b*c-d=?), with operands from 1 to 100, which training distribution should we use? A. Uniform distribution: Sample these k operands uniformly from 1 to 100 B. Power law: randomly shuffle 1-100 and impose an artificial power law. Sample these k operands according to this power law. ⚑Our ICML 2026 (spotlight) paper shows: Option B is better! Surprisingly, the same idea extends far beyond this simple example to many reasoning tasks that require implicit composition of multiple atomic skills, including multi-hop QAs and synthetic GSM problems. πŸ“„Paper: arxiv.org/abs/2604.22951 πŸ“Blog: zixuan-wang-dlt.github.io/po…
17
66
10
271
65,441
Excited to announce another ICLR 2025 accepted paper with @ZihaoWang0810 @EshaanNichani @jasondeanlee on learning hierarchical polynomials of multiple nonlinear features! So fortunate to be advised by Jason, and to work with Zihao and Eshaan! arxiv.org/pdf/2411.17201
1
4
1,210
Our work is accepted at ICLR 2025!πŸ₯³
πŸ€”Wondering how Sora succeeds and particularly how diffusion transformers model sequential data with complex dependencies? βœ…Check out our new preprint: Diffusion Transformer Captures Spatial-Temporal Dependencies arxiv.org/abs/2407.16134 @MengdiWang10 @zehao_dou @HengyuF
2
1,393
πŸ€”Wondering how Sora succeeds and particularly how diffusion transformers model sequential data with complex dependencies? βœ…Check out our new preprint: Diffusion Transformer Captures Spatial-Temporal Dependencies arxiv.org/abs/2407.16134 @MengdiWang10 @zehao_dou @HengyuF
1
3
1
19
4,273