Skills & Expertise
Elisabetta Rocchetti
PhD Student in Computer Science at ISLab, Università degli Studi di Milano. Research interests in mechanistic interpretability, AI safety, NLP, and causality.
Mechanistic Interpretability of LLMs
Reverse-engineering internal circuits and representations in language models. Developed a diagnostic framework (probing, INLP, causal ablation, PWCCA) to show that instruction-following in LLMs operates via compositional skill coordination rather than a universal mechanism. Investigated how LLMs internally track and enforce word-count constraints using Direct Logit Attribution and model diffing. Reproduced and extended research on how refusal is mediated by a single direction in activation space, comparing difference-in-means and INLP-based methods for extracting and steering it.
Learning Dynamics & Geometry of Transformers
Developing a novel methodology to represent Transformer-based LLMs as directed, weighted graphs (nodes = attention heads and MLPs, edges = causal influence via intervention-based ablation). Tracked evolution of graph-theoretic metrics across 143 training checkpoints of Pythia-14M on induction tasks. Explored equivalence classes in Transformer input spaces using Riemannian geometry and pullback metrics.
Active research on safety-relevant properties of LLMs: refusal mechanisms, behavioral gaps between base and instruction-tuned models, and implicit content moderation. Co-founding collaborator in the creation of the Italian AI Safety community. Completed the BlueDot Impact Technical AI Safety course and currently pursuing their Technical AI Safety Project Sprint.
Interpretability of Diffusion Models
Investigating how text-to-image diffusion models internally represent artistic concepts (content vs. style) using cross-attention heatmaps. Published at IEEE MLSP 2025.
University-level teaching (NLP course for Computer Science and Data Science Master's students), thesis mentorship, high-school AI lab (foundations, generative AI, AI safety), university orientation events, Data Science for Citizens outreach, and corporate Python training (Generali).
Co-authoring blog posts for translating complex AI topics for diverse audiences (Can ants write better than humans?, John2Vec, Midjourney Haute Couture). Experienced presenting research at international venues.
Invited speaker at the MathGen Summit 2026 — Mathematics of Generative AI: Theory, Algorithms & Applications (Università degli Studi di Milano, June 2026) — presenting geometry-grounded approaches to interpretability.
Research focus spanning dialogue coherence, human value detection (SemEval-2023), and clustering techniques on textual data with LIME explanations.
RAG Pipelines & Information Retrieval
Built a 3-stage RAG system (FAISS retrieval → CrossEncoder reranking → extractive QA) with GROBID parsing, question expansion, and multi-source academic literature search across ArXiv, DBLP, Scopus, and Google Scholar.
Evaluating zero-shot capabilities of VLMs for biometric tasks via sequence-based predictions.
Author of the relearn PyPI package — a starter kit for RL projects implementing core algorithms from Sutton & Barto.
Difference-in-Differences estimation for telecom policy evaluation (Wind-Tre / Iliad). MSc in Data Science and Economics with strong quantitative foundations.
Difference-in-Differences
counterfactual analysis
stata
Deep Learning & Neural Networks
Classification, regression, survival analysis (mlr3), multilabel tasks, and audio classification (UrbanSound8K). Comfortable designing, training, and debugging neural architectures.
wine_classification
surv_blackboost_mlr3
urbansound8k
Primary language across all repositories. Proficient with PyTorch, Hugging Face Transformers, scikit-learn, Streamlit, and standard data-science tooling. Published a package on PyPI.
PyTorch
HuggingFace
scikit-learn
Streamlit
Jupyter Notebooks (29 repos), LaTeX for academic writing and papers, R & R Shiny for statistical computing and dashboards, Git-based collaborative workflows.
Jupyter
LaTeX
R / RStudio
Git
Web Scraping & Data Engineering
Web scraping pipelines, database design, OCR parsing, API integration, data cleaning workflows, and association rule mining (APriori).
scraping_mobile_tariffs
AMD
GROBID