Tommaso Mencattini
Author directory2026
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.