projects
Code, models and demos behind my research, teaching and side projects.
My research is on argument mining in political debates, and the projects build on each other:
- DataElecDeb60to20US presidential debates annotated with arguments and fallacies
- StructureGraph relationsPredicting support and attack from the argument graph
- LanguageRooseBERTA language model pre-trained on political debates
- FallaciesFallacyRAGRetrieval guided by argument relations
- ToolsDISPUToolPutting the analysis in front of readers, with DebateLens
Selected research
FallacyRAG
Retrieval-augmented fallacy detection and classification in US political debates, with retrieval steered by the support and attack relations between arguments. Improves macro-F1 up to 0.864 for detection and 0.725 for classification over non-retrieval baselines.
RooseBERT
A BERT language model for political discourse, pre-trained on 11 GB of English debates and speeches (cased and uncased, from scratch or by continued pre-training). Outperforms general-purpose models on most downstream tasks, from stance detection to NER.
DISPUTool
A web tool for mining and exploring arguments in US presidential debates (1960-2020), built at Inria and 3IA Côte d'Azur. DISPUTool 3.0 adds a module that detects and classifies fallacious arguments and shows how each argument reads once the fallacy is repaired.
More research
Supporting code and data for the papers above.

ElecDeb60to20
Annotated corpus of US presidential debates (1960-2020) with argument components, support and attack relations, and fallacies. A fork of the public dataset repository, which my work on fallacy detection and relation prediction builds on.
Personal projects
Apps I build in my spare time, for iPhone and Apple Watch.

DebateLens
A SwiftUI iOS app that lets journalists read US presidential debates (1960-2020) as annotated argumentation: claims and premises, what supports or attacks them, and the fallacies used. Built on ElecDeb60to20.

ServiceBook
A SwiftUI app that turns a vehicle's owner's manual into a live maintenance checklist, tracking what is overdue, due soon or upcoming by km and months. Claude finds the manual online or reads a PDF and converts it into the schedule; all data stays on the device.

GymLog
An iPhone app to plan gym routines and chart weight progress, with a standalone Apple Watch app that runs the workout: sets, reps, weights, circuits and a programmable rest timer that buzzes when it is time to go again. It includes a catalog of 85 exercises with figures, syncs over WatchConnectivity with no account or server, and saves workouts to Apple Health.
Teaching
Machine learning and data
Projects from my MSc in Deep Learning and Applied AI at Sapienza.

Multi-Source LMs for Audio
Can a language model trained on vector-quantized audio help music generation and source separation? Code to train a VQ-VAE on the Slakh dataset, a Transformer on the quantized representation, and a BERT fine-tuned on codebook indices.

Cross-Lingual Embeddings
An encoder-decoder model that places Italian and French embeddings in a shared latent space, trained with a contrastive loss on Europarl parallel corpora, with hyperparameter optimization and an ablation study.
Earlier work
Smaller projects from my BSc in Turin and the start of my MSc.
- 2022 SarcasTweetClassifies Italian tweets as sarcastic or not; the best model is served by a Flask app in Docker. CodeNotebook
- 2022 Smart HousesHome energy demand response: an LSTM forecasts prices and multi-agent RL schedules appliances. With Vincenzo Imperati. CodeReport
- 2022 Know a Person by Its HeartBiometric identification from smartwatch-style ECG signals, evaluated with CMC curves on the PTB database. CodeReport
- 2022 Prodigit BotTelegram bot for booking study rooms at Sapienza, built with a small team. Inactive since the end of the COVID emergency. Code
- 2021 QRestaurant · Bachelor thesisCOVID-19 guest registration for restaurants via personal QR codes. Spring Boot backend and React web app. BackendWeb appThesis (IT)
More on GitHub.

