Clemente Pasti

ETH Zurich · CHI-FRO
5 previous affiliations
  • ETH ZurichSince 2023
    • Researcher · Since 2023
    • Reserach Assistant and PhD student (on leave) · 2024–2025
    • PhD, Computer Science · 2024
    • Scientific Assistant · 2023
  • CHI-FROSince 2025
    • Ingegnere di ricerca · Since 2025
    • Master's degree, Informatics · 2020–2023
    • Undergrad student · 2016–2020
  • Nummus.Info2018
    • Intern · 2018
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Clemente Pasti focuses on the structural control, tokenization efficiency, and reasoning capabilities of large language models. His recent collaborative work investigates how to constrain text generation to satisfy complex syntactic rules and evaluates the logical efficiency of model reasoning. Currently, he explores methods to mitigate reasoning inefficiencies and improve the probabilistic rigor of language model decoding.

Research Trajectory

In 2025, Pasti contributed to a series of collaborative studies addressing the fundamental mechanics of how large language models generate text and perform logical inferences. A major theme of this work involves enforcing strict structural and semantic rules during the generation process, moving beyond standard autoregressive decoding. In the paper Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo, Pasti and his co-authors developed a novel framework that utilizes Sequential Monte Carlo (SMC) methods to constrain model outputs. By treating text generation as a probabilistic filtering problem, this approach enables the model to navigate complex constraints dynamically. The research demonstrated that applying these filtering techniques allows smaller, open-weights models to achieve high performance on highly constrained tasks, such as code generation and molecule synthesis, effectively outperforming significantly larger models. This methodology intersects with several broader research areas, including the direction of Exact Sampling with Neural Proposal Distributions and the area of Reconciling Sub-word Tokenization with Structural Constraints. Furthermore, by utilizing SMC to anticipate and prune invalid generation paths, the work advances techniques in the research direction of Lookahead Decoding for Non-Myopic Text Generation.

Continuing the focus on the underlying mechanics of language models, Pasti participated in research examining the inefficiencies inherent in standard tokenization practices. In Language Models over Canonical Byte-Pair Encodings, the research team investigated how models utilizing byte-pair encoding (BPE) often allocate a surprising amount of probability mass to "noncanonical" token sequences. These are strings of tokens that decode into valid text but would never actually be produced by the model's own tokenizer, thereby distorting the true probability distribution. To resolve this inefficiency, the authors introduced a computationally efficient bigram test to identify these tokenization anomalies during generation. They proposed both test-time conditioning methods and architectural modifications designed to reclaim this wasted probability mass, which consistently improved model likelihood across various datasets and architectures.

Alongside his work on generation constraints and tokenization, Pasti has also investigated the reasoning efficiency of large language models. In Are Language Models Efficient Reasoners? A Perspective from Logic Programming, he collaborated on a framework grounded in logic programming to systematically evaluate how models navigate inferential steps. The study revealed a critical vulnerability in modern models: while they are increasingly capable of arriving at the correct answer, they are often highly inefficient reasoners. The research demonstrated that models frequently take "scenic routes" through unnecessary inferences and are easily distracted by irrelevant information in the prompt, particularly when those distractions share keywords with the target goal. This investigation contributes significantly to the broader research area of Process Based Evaluation of Large Language Model Reasoning by providing a structured way to trace the intermediate steps of model thought. It also highlights ongoing challenges relevant to the direction of Mitigating Computational Overthinking in Large Reasoning Models. Additionally, by utilizing logic programming as an evaluative lens to map out these inferential paths, the work engages with the research direction of Formal Logic Synthesis for Verifiable Language Model Reasoning.

Current Directions

The most recent papers in the evidence, all published in 2025, indicate a sustained focus on improving the reliability, efficiency, and structural rigor of large language models. Current work investigates how to better align model outputs with strict syntactic and semantic constraints, utilizing advanced probabilistic filtering techniques to enforce rules that standard decoding cannot guarantee. Additionally, there is a strong emphasis on diagnosing and mitigating reasoning inefficiencies. By analyzing how models process logical dependencies and handle irrelevant context, this ongoing research aims to develop language models that are not only more accurate but also more direct and computationally efficient in their inferential processes.

Profile updated

See something wrong? Report a mistake