@fededg__

PhD in AI @ETH | prev. @EPFL @UCBerkeley

Zürich, Switzerland
Joined November 2022
🚀 Science is the next big challenge for agentic AI systems. While LLMs are becoming incredibly capable, it is still an open question how we can translate their intelligence into scientific discoveries, where closing the loop is costly and reliable reward functions are often unavailable. We introduce LLM-to-Flow Distillation (LFD): a method that combines the scientific knowledge of frontier LLMs with the structural priors of pretrained generators, allowing us to steer these latter toward natural-language discovery goals. Check out our work in the thread 👇🏼
We’re bringing natural-language control to any scientific generator. We are very excited to introduce LLM-to-Flow Distillation (LFD), a method to adapt scientific generators to high-level natural-language discovery goals. Starting from textual goals like “design peptides with promising anticancer activity” or “design small molecules binding to the D2 dopamine receptor”, LFD distills high-level goal-related knowledge from LLMs into scientific generators through iterative DPO on LLM-generated sub-goals. 🔥 LFD does not need task-specific proxy rewards, works with any frontier LLM via API-access, and outperforms state-of-the-art reward-guided methods such as FlowGRPO and DiffusionNFT on held-out computational evaluations. (1/6)
1
4
10
673
Federico Di Gennaro retweeted
🚨 New Paper Alert, 🎤 Accepted for an oral presentation at the NeurIPS 2026 STODY workshop! 📣 Introducing: Normalizing Flow Maps (NFM): Combining few-step transport from Flow maps with tractable likelihoods from Normalizing Flows. This is my first work with my first crop of new PhD students, @francescoshox and @tim_hitge, who genuinely knocked this project out of the park. 📄 Paper: arxiv.org/abs/2610.22711 📝 Blog: the-bose-lab.github.io/norma… 💻 Code: github.com/francescoshox/Nor… 🧵 1/8
2
42
5
177
8,814
Federico Di Gennaro retweeted
“Any lab that couldn’t afford to build a scoring model for its target now has a path to a steered generator. That was the gate keeping small teams out of generative design, and it just moved.” — happy to hear!
You can now type what you want in plain English and have a drug-design model chase it. Normally, to make a model generate better drug candidates, you need a reward model trained on that exact target. Here they deleted that step and let an LLM grade the outputs instead, just by reading your goal in English. Any lab that couldn’t afford to build a scoring model for its target now has a path to a steered generator. That was the gate keeping small teams out of generative design, and it just moved. RLHF has the same cold-start problem everywhere: if the base model never produces a good output, there’s nothing to rank. So the LLM writes an easier goal first, grades against that, and keeps raising the bar as the model gets better. The base molecule model produced 0 usable hits in 38,500 samples. After a few rounds of this, it produced one in a batch of 512. The LLM’s scores are flat-out wrong a lot of the time, and it doesn’t matter, because DPO only needs “A is better than B”, not an accurate number. The LLM-graded model beat the versions that were allowed to train directly against the real scoring function, 69.06 vs 57.04, while never seeing a single score.
2
5
600
Looking forward to pushing the frontier of natural language control in science combining scientific generators and LLMs!
You can now type what you want in plain English and have a drug-design model chase it. Normally, to make a model generate better drug candidates, you need a reward model trained on that exact target. Here they deleted that step and let an LLM grade the outputs instead, just by reading your goal in English. Any lab that couldn’t afford to build a scoring model for its target now has a path to a steered generator. That was the gate keeping small teams out of generative design, and it just moved. RLHF has the same cold-start problem everywhere: if the base model never produces a good output, there’s nothing to rank. So the LLM writes an easier goal first, grades against that, and keeps raising the bar as the model gets better. The base molecule model produced 0 usable hits in 38,500 samples. After a few rounds of this, it produced one in a batch of 512. The LLM’s scores are flat-out wrong a lot of the time, and it doesn’t matter, because DPO only needs “A is better than B”, not an accurate number. The LLM-graded model beat the versions that were allowed to train directly against the real scoring function, 69.06 vs 57.04, while never seeing a single score.
2
185
Federico Di Gennaro retweeted
"LLM-to-Flow Distillation: Teaching Natural Language Goals to Scientific Generators" Scientific flow models can generate valid molecules and peptides, but struggle to follow high-level natural-language goals. On top of that, current methods also rely on explicit reward functions, which are unreliable in scientific discovery. LLM-to-Flow Distillation (LFD) instead uses an LLM to create progressively harder sub-goals based on what the generator can currently produce, then uses its preferences to fine-tune the generator through DPO. On peptide and molecular design tasks, it outperforms reward-guided baselines on held-out computational evaluations, even reaching difficult out-of-distribution goals where those methods fail. alphaxiv.org/abs/2610.17246
4
17
129
5,525
Federico Di Gennaro retweeted
Super cool usage of LLMs! ✨Scientists simply describe a discovery goal, and an LLM teaches molecular generators how to pursue it.
We’re bringing natural-language control to any scientific generator. We are very excited to introduce LLM-to-Flow Distillation (LFD), a method to adapt scientific generators to high-level natural-language discovery goals. Starting from textual goals like “design peptides with promising anticancer activity” or “design small molecules binding to the D2 dopamine receptor”, LFD distills high-level goal-related knowledge from LLMs into scientific generators through iterative DPO on LLM-generated sub-goals. 🔥 LFD does not need task-specific proxy rewards, works with any frontier LLM via API-access, and outperforms state-of-the-art reward-guided methods such as FlowGRPO and DiffusionNFT on held-out computational evaluations. (1/6)
2
17
804
Federico Di Gennaro retweeted
Our new preprint LLM-to-Flow Distillation (LFD) is finally live! 🧬 I’m convinced language is the right interface for controlling generative models. And that should apply to molecules just as much as images! LLMs know a lot about science. DPO gives us a way to transfer that knowledge into scientific generators. With LFD, “design molecules that bind to the D2 dopamine receptor” becomes a goal we can actually train a flow model to pursue. The LLM builds an adaptive curriculum around what the generator can currently produce. As the model improves, the teaching and guidance from the LLM change too. The cool part is that we can do this with models we already have, without redesigning their architectures or engineering a task-specific proxy reward. Really happy to share this work with Riccardo, Federico and the rest of the team!! Full thread below 👇
We’re bringing natural-language control to any scientific generator. We are very excited to introduce LLM-to-Flow Distillation (LFD), a method to adapt scientific generators to high-level natural-language discovery goals. Starting from textual goals like “design peptides with promising anticancer activity” or “design small molecules binding to the D2 dopamine receptor”, LFD distills high-level goal-related knowledge from LLMs into scientific generators through iterative DPO on LLM-generated sub-goals. 🔥 LFD does not need task-specific proxy rewards, works with any frontier LLM via API-access, and outperforms state-of-the-art reward-guided methods such as FlowGRPO and DiffusionNFT on held-out computational evaluations. (1/6)
2
12
23
1,916
Federico Di Gennaro retweeted
We’re bringing natural-language control to any scientific generator. We are very excited to introduce LLM-to-Flow Distillation (LFD), a method to adapt scientific generators to high-level natural-language discovery goals. Starting from textual goals like “design peptides with promising anticancer activity” or “design small molecules binding to the D2 dopamine receptor”, LFD distills high-level goal-related knowledge from LLMs into scientific generators through iterative DPO on LLM-generated sub-goals. 🔥 LFD does not need task-specific proxy rewards, works with any frontier LLM via API-access, and outperforms state-of-the-art reward-guided methods such as FlowGRPO and DiffusionNFT on held-out computational evaluations. (1/6)
7
39
6
164
22,585
Federico Di Gennaro retweeted
mHC and AttnRes demonstrate that richer depth mixing improves model performance at scale. Is there a unifying perspective? 🤔 Meet our Depth Memory framework: each layer reads from a set of streams to form its input, then writes back its output. Linear Depth Memory (LDM) equips models with a matrix-valued memory.
8
29
15
195
39,089
Federico Di Gennaro retweeted
Can neural networks learn to think by denoising? Excited to share Thinking with Looped Flows! We train recurrent reasoning with local denoising objectives. It is a new approach for reasoning that achieves SoTA on ARC-AGI-1 and 2 among looped models. In collaboration with @chandavidlee, @FEijkelboom, @nmboffi, @ismaililkanc, @jw9730. 1/🧵
17
98
11
555
61,230
Federico Di Gennaro retweeted
Generative models can’t discover what they can’t reach. We’re excited to introduce ActFlow: a continued pre-training scheme that actively expands the valid design space reachable by flow and diffusion models. We call this generable set expansion — a new learning principle for out-of-distribution generative modeling, and a step toward evolvable search spaces for scientific discovery. (1/5)
12
59
5
454
42,791
Federico Di Gennaro retweeted
Over the past few years, hundreds of works have explored how to perform reward-guided fine-tuning and model merging of pre-trained flow models. In our new #ICML2026 work, “A Unified Density Operator View of Flow Control and Merging,” we show that these two problems can be understood through a common lens. This perspective leads to a unified algorithm for both challenges and enables task-aware flow merging, which has important applications in scientific discovery. This work was done with wonderful collaborators at @ETH_AI_Center: @maltefranke_, @yapinghsieh, and @arkrause. 📍 Poster: Wednesday, July 8, 2:30 PM — Hall A #2609 📄 Paper: arxiv.org/abs/2602.08012 Come by if you are interested in flow models, fine-tuning, or model merging!
1
31
2
174
10,055
Federico Di Gennaro retweeted
I’m at #ICML2026 presenting several works on flow and diffusion models for discovery: from theory and algorithms to molecules, peptides, and proteins. These works have been done with amazing students and collaborators at @ETH_AI_Center, Caltech, KTH, and UPenn, including @maltefranke_ , @KimonProto6689, @yapinghsieh, @cristianpjensen, Sven Gutjahr, Luca Schaufelberger, Zifan Wang, @_sophia_tang_, Bruce Lee, Chenghao Liu, @kjelljorner, Karl Henrik Johansson, @pranamanam, @yisongyue, and @arkrause. Feel free to reach out if you’d like to chat these days at ICML!
1
11
1
51
6,414
Federico Di Gennaro retweeted
Real-world interventions don't work the same for everyone, and hand-crafted hypotheses rarely capture all the effect heterogeneity. 🔓 Increasing data commons and recent advances in representation learning unlock mechanistic explanations.
2
12
2
76
160,941
Federico Di Gennaro retweeted
Signals of physical plausibility are hiding in the geometry of frozen image encoders. No video training. No physics supervision.
6
39
2
177
36,342
Federico Di Gennaro retweeted
AI4S research today: self-evolving loops, multi-agent systems, agent skills, science benchmarks etc. --> all to make literature review, hypothesis generation, and autonomous experimentation better. Much of today's AI4S research tries to compensate for weaknesses that frontier models are rapidly eliminating anyway. Now it's become boring... While the first half of the AI4S races on how to build individual, brilliant AI scientists The true speed limit of science isn't the brilliance of the individual scientist — it is the ecosystem they work within: how knowledge is represented, shared, verified, accumulated, and reused across generations of researchers. Making every AI scientist 10x smarter while leaving the ecosystem unchanged is like putting a Formula 1 engine on a dirt road The second half of AI4S must shift from scaling agent intelligence to build an AI-Native scientific ecosystem from first principles. Read more ⬇️
6
8
25
190
40,249
Federico Di Gennaro retweeted
At #ICML we'll present sample-efficient transfer learning exploiting the geometry of the Pareto frontier on benchmark tasks - exciting mix of unconventional theoretical contributions and experiments on language model tasks by @TobiasWegel @fededg__ @GeelonSo
[𝐈𝐂𝐌𝐋 𝐒𝐩𝐨𝐭𝐥𝐢𝐠𝐡𝐭] Can benchmark evaluations help us learn a new task with few samples? Across real-world benchmark suites, new-task performance is approximately monotone wrt source benchmarks. Our work studies how to exploit this information statistically. Thread⬇️
2
2
22
3,070
[𝐈𝐂𝐌𝐋 𝐒𝐩𝐨𝐭𝐥𝐢𝐠𝐡𝐭] Can benchmark evaluations help us learn a new task with few samples? Across real-world benchmark suites, new-task performance is approximately monotone wrt source benchmarks. Our work studies how to exploit this information statistically. Thread⬇️
8
9
1
23
4,876
[6/6] Our paper “Hedging on the Frontier: Learning New Tasks with Few Samples” (Tobias Wegel, Federico Di Gennaro, Geelon So, @FannyYangETH ) is accepted as a spotlight paper at ICML 2026. Looking forward to meet you in Seoul! arXiv: arxiv.org/abs/2605.30997
1
220
[5/6] In addition, we study the setting where the benchmark suite gives a dictionary of models: one best model per benchmark. Under curvature assumptions on the Pareto front, monotonicity creates an “artificial Jensen gap,” enabling fast rates without strongly convex losses.
141
[4/6] We validate our estimate and assumptions on two real-world benchmark suites for VLMs (VHELM) and for LLMs (HELM). Empirically, Pareto-ERM improves over vanilla ERM when the target sample size is small, by biasing selection toward the frontier.
139