Juan Luis Gastaldi
· 2 previous affiliations
- ETH ZurichSince 2019
- PhD student · 2023–2027
- Current
- Postdoc · 2019–2023
- MOCO ESBA2012–2023
- Associate Professor · 2012–2023
Research Overview
Juan Luis Gastaldi focuses on the philosophy of language, the epistemology of formal sciences, and the theoretical foundations of natural language processing. His work traces the historical relationship between logic, mathematics, and meaning, evolving from the study of nineteenth-century formalisms to the conceptual analysis of modern artificial intelligence. Currently, he investigates the computational and statistical mechanisms of tokenization and their implications for large language models.
Research Trajectory
The early arc of Gastaldi’s research centers on the historical and philosophical foundations of logic and mathematics, with a particular emphasis on the nineteenth-century mathematisation of logic. In his foundational work, An archaeology of the logic of sense : arithmetic and content in the process of mathematisation of logic in the nineteenth century, he reconstituted the intelligibility of Gottlob Frege’s logic of content, identifying crucial conceptual gaps in how formal practices relate to contemporary philosophy. He continued to examine the origins of formal logic and computability in Frege’s Habilitationsschrift: Magnitude, Number and the Problems of Computability. Expanding his methodological scope to the history of science, he addressed the structural role of mathematics within Michel Foucault's archaeological method in L’archéologie à l’épreuve des savoirs formels, analyzing why formal sciences often present a methodological stumbling block for historical epistemology.
As his research progressed, Gastaldi began to bridge historical logic with the epistemological questions raised by modern computation. The publication of Why Can Computers Understand Natural Language? marks a definitive shift toward interrogating the theoretical capacities of artificial intelligence to process meaning. He grounded these modern questions in historical precedent with Boole’s Untruth Tables: The Formal Conditions of Meaning Before the Emergence of Propositional Logic, exploring how the formal conditions of meaning were conceptualized prior to the standardization of propositional logic.
By 2024, his work had expanded into the broader cultural and semiotic dimensions of formal systems. He explored the intersection of computation and humanistic inquiry in Computing Cultures: Historical and Philosophical Perspectives, and formalized the study of mathematical signs in Introduction to the Semiology of Mathematical Practice. Investigating how different mathematical frameworks encode semantics, he collaborated on The Structure of Meaning in Language: Parallel Narratives in Linear Algebra and Category Theory. This theoretical groundwork directly informed his analysis of modern machine learning, specifically how neural networks process mathematical reasoning, which he detailed in How to Do Maths with Words: Neural Machine Learning Applications to Mathematics and Their Philosophical Significance.
Most recently, Gastaldi’s research has focused heavily on the foundational mechanisms of natural language processing, bringing rigorous mathematical formalization to the often-overlooked preprocessing steps of large language models. In The Foundations of Tokenization: Statistical and Computational Concerns, he introduced a formal framework using stochastic maps to evaluate the statistical consistency of tokenizers, proving the exact conditions under which a tokenizer is "safe" and computationally tractable. Collaborating on the optimization of these models, he contributed to Language Models over Canonical Byte-Pair Encodings, which introduces an efficient bigram test to identify and reclaim probability mass wasted on noncanonical token sequences. Addressing the fundamental friction between token-based AI architectures and character-based human language, he participated in From Language Models over Tokens to Language Models over Characters. This work highlights the brittle behavior caused by sub-word fragmentation and aligns with his contributions to the broader research direction of Marginalizing over Tokenizations for Character Level Consistency.
Current Directions
The most recent papers in the evidence indicate a strong focus on the theoretical, statistical, and computational foundations of large language models. A central theme of Gastaldi's current work is the critical examination of tokenization—both its mathematical formalization and its impact on model robustness and linguistic structure. This includes active contributions to the research area of Marginalizing over Tokenizations for String Level Language Models.
Beyond tokenization, his recent work investigates the broader epistemological implications of neural networks processing formal languages and mathematics. His contributions extend into several specialized areas of natural language processing, including the research direction of Continuous Number Representations for Language Models, as well as work in the area of Surprisal Based Cognitive Modeling of Human Language. Additionally, he is involved in research addressing model security and generation constraints, contributing to the broader areas of Distortion Free Watermarking for Generative Models and Enforcing Structural Constraints on Language Model Outputs.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake