Emanuele Rodolà
Author directoryAlso published as: Emanuele Rodola
2026
Hard or Just Unreached? Diagnosing the Sampling Blind Spot in Math-Reasoning Difficulty Estimation
Luca Zhou | Sajel Shah | Emanuele Rodolà | Roberto Dessi
The Proceedings of the 4th Workshop on Mathematical Natural Language Processing (MathNLP 2026)
Luca Zhou | Sajel Shah | Emanuele Rodolà | Roberto Dessi
The Proceedings of the 4th Workshop on Mathematical Natural Language Processing (MathNLP 2026)
Math and science reasoning benchmarks rely on pass@k, the fraction of sampled chains that reach gold, as the canonical per-example difficulty signal. We show this proxy has a persistent blind spot on its hardest stratum: on the eight free-form math cells we test (GSM8K and MATH across four open-weight models), 10.3-22.9% of the examples that no sampling seed solves in six tries are instead solved at matched compute by a six-chain deterministic regime. These are greedy decoding plus five cheap residual-stream perturbations applied via activation grafting, while greedy alone solves at most 6% on these math cells. Recovery scales with the additional budget, across perturbations whose mechanistic distinctness we verify across all twelve cells (cross-kind fix-set Jaccard ≤ 0.47 in every setup. Activation grafting is used as an intervention on internal representations, not a decoding method; we use it purely as a diagnostic and diversification tool, and our recovered items show that the pass@k=0 stratum is structurally identifiable in the residual stream rather than that the unmodified model reaches them under ordinary inference.
Steering Vectors are an Adversarial Attack Surface
Abzal Aidakhmetov | Donato Crisostomi | Tommaso Mencattini | Adrian Robert Minut | Iacopo Masi | Emanuele Rodolà
Findings of the Association for Computational Linguistics: EMNLP 2026
Abzal Aidakhmetov | Donato Crisostomi | Tommaso Mencattini | Adrian Robert Minut | Iacopo Masi | Emanuele Rodolà
Findings of the Association for Computational Linguistics: EMNLP 2026
Activation steering has become a popular way to control Large Language Model (LLM) behavior without fine-tuning. Since the technique is plug-and-play, users share datasets and precomputed vectors to steer model activations. However, we show that a stealth data poisoning attack silently compromises this pipeline. By substituting 4-6% of tokens in the steering dataset, an attacker can silently align the resulting vector with an anti-refusal direction. This jailbreaks the target model while preserving the intended steering effect on benign prompts. Under this threat model, a malicious actor can distribute an apparently safe bundle containing texts, vectors, and weights, alongside an equivalence certificate that the end-user can verify. We test the attack on two open-weight model families and eight model-attribute combinations, observing that poisoned vectors reach an absolute attack success rate (ASR) of 20-55%, +19% to +51% over a clean reference. The vulnerability is not an artefact of scale or of access to the victim: it persists natively at 70B, and a poisoning optimised once on a small surrogate transfers to unseen models that recompute their own vectors from the shared texts. Finally, we find that a refusal-direction orthogonalization defense can recover ≈82% of the ASR gap without harming benign behavior.
Subliminal Clocks: Latent Time Modelling in Diffusion Language Models
Maximo Rulli | Thomas V. Fontanari | Simone Petruzzi | Federico Alvetreti | Giorgio Strano | Donato Crisostomi | Giorgos Nikolaou | Tommaso Mencattini | Andrea Santilli | Emanuele Rodolà | Simone Scardapane | Alessio Devoto
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Maximo Rulli | Thomas V. Fontanari | Simone Petruzzi | Federico Alvetreti | Giorgio Strano | Donato Crisostomi | Giorgos Nikolaou | Tommaso Mencattini | Andrea Santilli | Emanuele Rodolà | Simone Scardapane | Alessio Devoto
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Masked Diffusion Language Models (MDLMs) have recently emerged as a promising alternative to autoregressive models. Unlike standard diffusion-based approaches, MDLMs are not explicitly conditioned on a timestep, raising a natural question: do these models internally represent denoising progress, and how is such information used downstream? In this work, we show that MDLMs do in fact encode a latent representation related to the diffusion timestep within their residual streams. We find that this signal can be reliably extracted using probes across layers, indicating that denoising progress is decodable from internal activations. We further demonstrate that steering the model along a low-dimensional subspace associated with the inferred timestep allows us to systematically modulate its notion of denoising progress, leading to controlled and predictable changes in model confidence and entropy. Finally, we analyse the geometry of the identified representation, showing that it exhibits structured and interpretable properties in activation space, and shedding light on how such a signal is manipulated by these models.
2025
Mergenetic: a Simple Evolutionary Model Merging Library
Adrian Robert Minut | Tommaso Mencattini | Andrea Santilli | Donato Crisostomi | Emanuele Rodolà
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)
Adrian Robert Minut | Tommaso Mencattini | Andrea Santilli | Donato Crisostomi | Emanuele Rodolà
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)
Model merging allows combining the capabilities of existing models into a new one—post hoc, without additional training. This has made it increasingly popular thanks to its low cost and the availability of libraries that support merging on consumer GPUs. Recent work shows that pairing merging with evolutionary algorithms can boost performance, but no framework currently supports flexible experimentation with such strategies in language models. We introduce Mergenetic, an open-source library for evolutionary model merging. Mergenetic enables easy composition of merging methods and evolutionary algorithms, while incorporating lightweight fitness estimators to reduce evaluation costs. We describe its design and demonstrate that Mergenetic produces competitive results across tasks and languages using modest hardware. A video demo showcasing its main features is also provided.
2023
Camoscio: An Italian Instruction-tuned LLaMA
Andrea Santilli | Emanuele Rodolà
Proceedings of the Ninth Italian Conference on Computational Linguistics (CLiC-it 2023)
Andrea Santilli | Emanuele Rodolà
Proceedings of the Ninth Italian Conference on Computational Linguistics (CLiC-it 2023)
Accelerating Transformer Inference for Translation via Parallel Decoding
Andrea Santilli | Silvio Severino | Emilian Postolache | Valentino Maiorca | Michele Mancusi | Riccardo Marin | Emanuele Rodola
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Andrea Santilli | Silvio Severino | Emilian Postolache | Valentino Maiorca | Michele Mancusi | Riccardo Marin | Emanuele Rodola
Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Autoregressive decoding limits the efficiency of transformers for Machine Translation (MT). The community proposed specific network architectures and learning-based methods to solve this issue, which are expensive and require changes to the MT model, trading inference speed at the cost of the translation quality. In this paper, we propose to address the problem from the point of view of decoding algorithms, as a less explored but rather compelling direction. We propose to reframe the standard greedy autoregressive decoding of MT with a parallel formulation leveraging Jacobi and Gauss-Seidel fixed-point iteration methods for fast inference. This formulation allows to speed up existing models without training or modifications while retaining translation quality. We present three parallel decoding algorithms and test them on different languages and models showing how the parallelization introduces a speedup up to 38% w.r.t. the standard autoregressive decoding and nearly 2x when scaling the method on parallel resources. Finally, we introduce a decoding dependency graph visualizer (DDGviz) that let us see how the model has learned the conditional dependence between tokens and inspect the decoding procedure.