← Home

Seal of the University of Milan

Ilyass Ouardi

M.Sc. Computer Science · Università degli Studi di Milano

PDF ↓

Research Interests

I am interested in AI safety and mechanistic interpretability. To me, interpretability is not an academic exercise for its own sake, but a pragmatic tool to make model safety measurable and verifiable on the path toward safe AGI. Right now I am particularly focused on the geometry of representations: how abstract concepts — like refusal and truth — are encoded within a model’s activation space.

Two questions follow from this:

  1. Model biology: whether such concepts conform strictly to single linear directions, or rely instead on higher-dimensional, possibly non-linear manifolds.
  2. Applied interpretability: whether representation-level edits — steering, abliteration, concept erasure — are genuinely surgical when evaluated against practical baselines, with off-target side-effects measured as rigorously as the primary behavioral change.

The two are connected, since an intervention built on the wrong picture of the geometry is precisely one whose side-effects go unmeasured.

Education

M.Sc. in Computer Science (Laurea Magistrale in Informatica, LM-18)
University of Milan, Italy Sep 2024 – Present

M.Sc. Advanced Coursework & Examinations (Weighted Avg: 29.22/30 • GPA: 3.90/4.00)
Course / ExaminationGradeDateArea & Topics
Natural Language Processing30 e lode27/11/2025LLMs & Deep Learning for NLP, Syntactic & Semantic Analysis, Transfer Learning, Text Classification & Generation (PyTorch)
Distributed and Pervasive Systems30 e lode10/06/2026Distribution Transparency, Consistency & Replication, Distributed Consensus, P2P/Cloud/Edge Architectures, Context-Awareness & Sensor Streams
Security of Service-Oriented Architectures30 e lode26/02/2026Confidentiality & Integrity in Semi-Structured Data, Web Services Identity & Access Control, Authorization Languages, Security Assurance & Certification
Audio Pattern Recognition3002/07/2026Audio Signal Processing & Feature Extraction, Statistical Modeling, Hidden Markov Models, Neural Networks, Clustering & Classification Pipelines
Enterprise Security Management (Gestione della Sicurezza nelle Imprese)3023/09/2026Enterprise Risk Management, Information Security Governance, Business Continuity, Compliance & Regulatory Frameworks (ISO 27001, GDPR), Security Economics & Threat Modeling
Advanced Biometrics (Complementi di Biometria)3015/01/2026Biometric Systems Design & Evaluation, Behavioral Biometrics, Continuous Authentication, Mobile Biometrics, Template Protection & User Privacy
Privacy and Data Protection2904/02/2025Authentication & Access Control, Privacy-Preserving Data Publishing, Microdata/Macrodata Protection, Cloud Security, Third-Party Processing Risks
Methods for Image Processing2821/02/2025Spatial & Frequency Domain Filtering, Intensity Transformations & Histograms, Morphological Processing, Segmentation & Edge Detection, Image Compression

B.Sc. in Computer Science (Laurea in Informatica, L-31)
University of Milan, Italy Sep 2020 – Oct 2024

B.Sc. Mathematical & Theoretical Foundations (Graduated 110/110 cum laude)
Subject / ExaminationGradeDateArea & Topics
Mathematical Logic (Logica Matematica)30 e lode22/09/2023Propositional & First-Order Predicate Logic, Formal Proof Systems, Soundness & Completeness, Model Theory & Countermodels
Discrete Mathematics (Matematica Discreta)30 e lode21/06/2022Set Theory & Relations, Combinatorics, Modular Arithmetic, Algebraic Structures (Groups, Rings), Linear Algebra & Graph Theory
Automata and Formal Languages (Automi e Linguaggi Formali)30 e lode26/01/2022Chomsky Hierarchy, Regular Languages, DFAs/NFAs, Kleene's Theorem, State Minimization, Context-Free Grammars & Pushdown Automata
Programming Languages (Linguaggi di Programmazione)30 e lode19/02/2024Programming Paradigms (Functional, Concurrent, OOP, Declarative), Operational Semantics, Type Systems & Memory Models
Artificial Intelligence I (Intelligenza Artificiale I)30 e lode23/01/2024Problem Solving & Heuristic Search (A*, Minimax), Constraint Satisfaction (CSP), Knowledge Representation & Automated Reasoning, Planning & ML Basics
Computer Programming (Programmazione I)30 e lode25/01/2021Imperative Structured Programming, Elementary Algorithms, Data Types & Scope, Control Flow, Functions, Memory Layout & Debugging
Computer Architecture (Architettura degli Elaboratori I)30 e lode28/01/2021Digital Logic & Boolean Algebra, Combinational/Sequential Circuits, ALU Design, MIPS Instruction Set Architecture, Datapath & Memory Hierarchy
Databases (Basi di Dati)30 e lode26/06/2023Relational Data Model & Relational Algebra, SQL (DDL/DML), Conceptual & Logical E-R Design, DBMS Architecture, Transaction Management (ACID)
Algorithms and Data Structures (Algoritmi e Strutture Dati)3010/03/2022Asymptotic Complexity (O, Ω, Θ), Sorting & Searching, Fundamental Data Structures (Trees, Heaps, Hash Tables), Graph Algorithms & Dynamic Programming
Continuo Mathematics / Calculus (Matematica del Continuo)3015/06/2022Differential & Integral Calculus (Limits, Derivatives, Taylor Expansions, Riemann Integrals), Sequences & Series, Multivariable Functions
Statistics and Data Analysis (Statistica e Analisi Dati)3004/10/2022Descriptive Statistics, Probability Distributions, Parametric Statistical Inference (Hypothesis Testing, Confidence Intervals), Exploratory Data Analysis (Python)
Software Engineering (Ingegneria del Software)2924/07/2023Software Lifecycle (Agile, Scrum), Requirements Engineering, UML Modeling, Architectural & Design Patterns (GoF), Unit/Integration Testing & QA

Diploma, Computer Science (Perito Informatico)
ITT “G. e M. Montani”, Fermo, Italy Sep 2015 – Jul 2020

Research Experience

Independent Research — Representation Geometry of Truth
University of Milan (Sole author; Natural Language Processing course)
Dec 2025 – Jul 2026

Research Project — What a Heart-Sound Classifier Actually Learns
University of Milan (Sole author; Audio Pattern Recognition course)
Apr 2026 – Jul 2026

Research Project — Empirical Test of the Legends Hypothesis
SESAR Lab, University of Milan (With F. Bylyshi & H. El-Khazri, equal contribution)
Feb 2026 – Jun 2026

Teaching Experience

Teaching Assistant — Computer Programming (Python)
University of Milan (Lecturer: Prof. Stefano Ferrari)
Oct 2026 – Present

Teaching Assistant — Accertamento delle Competenze Informatiche (3 CFU)
University of Milan (Scientific lead: Prof. Stefano Montanelli; delivered by CTU)
Jan 2026 – Sep 2026

Engineering Experience

Lead Developer / Consultant
RECUP APS — University of Milan
Jan 2024 – Dec 2025

Full-Stack Developer Consultant
Value Process Srl, Milan
Jun 2022 – Sep 2022

Full Stack Developer Intern
PC & Informatica SRL
Apr 2019 – Jun 2019

Fellowships, Awards, and Honours

Technical Skills

Projects

RecupGPT — Intelligent Natural-Language Querying
Retrieval-Augmented Generation over a food-surplus database

Extended Ricart–Agrawala — Distributed Mutual Exclusion
Distributed and Pervasive Systems (30 cum laude)

Non-Profit Information System (B.Sc. Thesis Project)
Full-stack web application for NGO operations