Andrea Miele

PhD Student

My name is Andrea Miele and I am a PhD student @ University of Basel, I am advised by Professor Ilija Bogunovic and Professor Caglar Gulcehre.
I hold a MSc Computer Science from EPFL 馃嚚馃嚟. I am broadly interested in Diffusion Language Models, Reinforcement Learning, and their intersection.

Andrea Miele, painted portrait

Selected Work

Preprint 路 2026

Bench the Weights: Can AI Agents Debug Neural Networks?

Robin Faro*, Antonio Lopardo*, Andrea Miele*, Aurelien Lucchi, Ilija Bogunovic

Weight-space programming, the ability to read a network's weights and edit them directly without gradients, is an emerging capability of coding agents. We introduce Bench the Weights, a benchmark that tests whether AI agents can debug neural networks in weight space. Each of its 42 problems is a public pretrained network, from seven domains and with up to 230 million parameters, in which a bug-injection agent has placed two or three targeted bugs. The bugs touch at most 3% of the weights, are hard to spot, resist simple workarounds and can be reversed exactly. A solver agent receives the modified network with 25 minutes and 50 forward passes on a CPU, no gradients and no indication that anything has been changed, and we score the share of the lost performance it recovers on a hidden test split. Across 19 frontier models running in their providers' harnesses, the best agent, GPT-6.2 Astra in Codex, recovers 80% on average and solves 30 to 31 of the 42 problems, with at least 75% recovery, while most models recover between 10% and 38%. Trajectory analysis shows that agents usually locate the bugs but often undo correct edits that do not yet improve the score. Performance increases with more time, from 25% to 83% for Gemini 4 Neon at two hours, and has improved quickly across model releases.

Preprint 路 2026

Spherical Brownian Diffusion for Language Modeling

Andrea Miele, Ilija Bogunovic

Continuous diffusion language models involve two coupled design choices: how to corrupt continuous token representations and how to invert that corruption at generation time. Recent work has explored language generation on the unit sphere through geodesic and von Mises鈥揊isher (vMF) paths, raising the question of which forward process to use on this geometry and how much that choice matters relative to inference. We introduce Spherical Brownian Diffusion, using Brownian motion as the canonical isotropic diffusion on the sphere. Its heat semigroup provides a principled forward process, an additive dimension-free noise clock, and an exact ancestral bridge, while a clean-token posterior learned with cross-entropy supports multiple samplers. To separate corruption from inference, we derive high-dimensional approximation rates between Brownian and moment-matched vMF corruption and use this relationship for controlled substitutions. On Sudoku, Brownian and moment-matched vMF give nearly identical results across four samplers and five budgets under otherwise identical settings. In contrast, with the corruption process fixed, sampler choice produces a 25.0-point spread at a sampler budget of 180 calls. Using the ancestral bridge, we split this gain into a memory effect from re-noising the state, present on Sudoku and GSM8K, and a token-selection effect on GSM8K and largest at small budgets. Across reasoning tasks, categorical refinement improves performance, whereas unconditional text generation benefits from stochastic updates that preserve diversity.

arXiv
Preprint 路 2026

Temporal Self-Distillation: Faster Inference in Discrete Diffusion Language Models

Shijian Xu*, Andrea Miele*, Metod Jazbec, Volker Roth, Eric Nalisnick, Ilija Bogunovic

Diffusion language models (dLLMs) promise fast inference by generating multiple tokens in parallel, but suffer severe performance degradation when parallel decoding is pushed too aggressively. We introduce Temporal Self-Distillation (TSD), a simple on-policy method that trains dLLMs for fast inference by distilling predictions across time. Specifically, TSD distills the model's denoising distribution at earlier timesteps toward its distribution at the final timestep at which a token is committed. This encourages earlier predictions to better anticipate the model's eventual output, enabling much more aggressive parallel decoding. Because its teacher signal comes from the model itself, TSD requires no offline teacher generation and applies seamlessly to both base and post-trained policies. Across seven benchmarks in mathematics, planning, and code, TSD substantially shifts the speed-quality frontier toward the low-compute regime. TSD thus provides a simple, single-stage approach to accelerating dLLMs, achieving speedups competitive with offline distillation while avoiding a complex two-stage pipeline.

arXiv

Latest News

Oct. 2026 Latest Update
New preprint: Spherical Brownian Diffusion for Language Modeling, with Ilija Bogunovic, is out on arXiv.
Sep. 2026
Happy to share that Fixed-Point Masked Generative Modeling has been accepted to NeurIPS 2026! Paper.
Sep. 2026
New preprint: Temporal Self-Distillation: Faster Inference in Discrete Diffusion Language Models is out on arXiv.
Sep. 2026
I gave a presentation on Fixed-Point Masked Generative Modeling at the Discrete Diffusion Reading Group. Watch the recording.

漏 2026 Andrea Miele. Built with SvelteKit.