Clemente Pasti

Clemente.jpg

I am a computer science PhD student at ETH Zürich, supervised by Ryan Cotterell and Michael Hahn. I am interested in understanding the cognitive functioning of language models — how they reason, and how this resembles or differs from human cognition. I am also drawn to formal language theory and probabilistic methods, which I also happen to use as tools to better understand language models. I am currently on a 1-year leave at CHI-FRO, where I am working on controlled generation and (probabilistic) program synthesis as part of the genlm project.

Before my PhD, I was an MSc student in CS at USI, in Lugano, and before that I was a BSc student in Mathematical Engineering, at Politecnico di Milano in Italy, my home country. Beyond mathematics and computer science, I am very much interested in philosophy and particularly in idealism, structuralism and the continental tradition in general. I am also very passionate about sports, including running (I used to run the 800 meters during high school), rowing and skiing.

Publications

2026

  1. Prefix Parsing is Just Parsing
    Clemente Pasti, Andreas Opedal, Timothy J. O’Donnell, and 2 more authors
    In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, 2026
  2. Ensembling Language Models with Sequential Monte Carlo
    Robin Shing Moon Chan, Tianyu Liu, Samuel Kiegeland, and 5 more authors
    In arXiv preprint arXiv:2603.05432, 2026

2025

  1. Are Language Models Efficient Reasoners? A Perspective from Logic Programming
    Andreas Opedal, Yanick Zengaffinen, Haruki Shirakami, and 5 more authors
    In Advances in Neural Information Processing Systems 38, 2025
  2. Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo
    João Loula, Benjamin LeBrun, Li Du, and 12 more authors
    In The Thirteenth International Conference on Learning Representations, 2025

2024

  1. Computational Expressivity of Neural Language Models
    Alexandra Butoi, Robin Chan, Ryan Cotterell, and 5 more authors
    In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 5: Tutorial Abstracts), 2024
  2. An L* Algorithm for Deterministic Weighted Regular Languages
    Clemente Pasti, Talu Karagöz, Franz Nowak, and 3 more authors
    In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, Nov 2024

2023

  1. On the Intersection of Context-Free and Regular Languages
    Clemente Pasti, Andreas Opedal, Tiago Pimentel, and 3 more authors
    In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, May 2023