I am a Postdoctoral Machine Learning Researcher at the University of Edinburgh, working with Desmond Higham. My research focusses on making AI more reliable and efficient by understanding and exploiting geometric constraints that arise in neural network models.
More specifically, I study the output layer of deep neural networks that have a large number of outputs, e.g. Large Language Models (LLMs). Any such output layer that has more outputs than inputs unavoidably has outputs that are impossible to predict. I call such outputs unargmaxable. My research identifies unargmaxable outputs in LLMs and Clinical NLP models and proposes replacement layers which guarantee that outputs of interest can be predicted.
More generally, I have a soft spot for language and structure and I enjoy creating interactive visualisations of geometric representations I am learning about; here are some examples.
I completed my PhD in 2024, supervised by Adam Lopez and Antonio Vergari and worked part-time on Information Extraction supervised by Beatrice Alex.
Selected publications
Fast and Expressive Multi-Byte Prediction with Probabilistic Circuits. Andreas Grivas, Lorenzo Loconte, Emile van Krieken, Piotr Nawrot, Yu Zhao, Euan Wielewski, Pasquale Minervini, Edoardo Ponti and Antonio Vergari, ICML 2026.
Code , Poster
Taming the Sigmoid Bottleneck: Provably Argmaxable Sparse Multi-Label Classification. Andreas Grivas, Antonio Vergari and Adam Lopez, AAAI 2024.
Code , Poster, Interactive visualisation (i), Interactive visualisation (ii)
Low-Rank Softmax Can Have Unargmaxable Classes in Theory but Rarely in Practice. Andreas Grivas, Nikolay Bogoychev and Adam Lopez, ACL 2022 (Oral Presentation).
Code , Poster, Interactive visualisation
Not a cute stroke: Analysis of Rule-and Neural Network-based Information Extraction Systems for Brain Radiology Reports. Andreas Grivas, Beatrice Alex, Claire Grover, Richard Tobin and William Whiteley, EMNLP LOUHI Workshop 2020.
Code
What do Character-level Models Learn About Morphology? The Case of Dependency Parsing. Clara Vania, Andreas Grivas, and Adam Lopez, EMNLP 2018.
Talks
AI Forensics: Identifying Low-Rank Signatures of Large Language Models
Low-Rank Fingerprints of Large Language Models: From Feasible Distributions to Feasible Token Rankings
Detecting Unargmaxable Outputs in Low-Rank Classifiers
What can Cake Slicing Teach us About Large Language Models?
Fast and Expressive Multi-Byte Prediction with Probabilistic Circuits
Dissertations
PhD Thesis, University of Edinburgh (2024)
- My vimrc and other dotfiles can be found here.
- My public key is 24A721BB42D9A790