Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Juan Luis Gastaldi

dblp:187/0676 · DBLP profile ↗
← Back
5ranked-venue papers
1as first author
5since 2021 · last 2025
0000-0003-0494-5266ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 5 · 1 first-author · 5 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
5 papers
Language models and text generation · 88% Learning theory · 10% Efficient and distributed learning · 3%
Theoretical computer science
1 paper
Information theory · 100%

Topics — the 9 heaviest of 10, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Natural language and speech › Language models and text generation
tokenization
4.052025
From Language Models over Tokens to Language Models over Characters · ICML 2025
Language Models over Canonical Byte-Pair Encodings · ICML 2025
The Foundations of Tokenization: Statistical and Computational Concerns · ICLR 2025
Natural language and speech › Language models and text generation › language modeling
statistical language modeling
1.722025
From Language Models over Tokens to Language Models over Characters · ICML 2025
Language Models over Canonical Byte-Pair Encodings · ICML 2025
Natural language and speech › Language models and text generation › tokenization › subword tokenization
byte-pair encoding
0.912025
Language Models over Canonical Byte-Pair Encodings · ICML 2025
Natural language and speech › Language models and text generation › language modeling
character-level language modeling
0.912025
From Language Models over Tokens to Language Models over Characters · ICML 2025
Machine learning › Learning theory › statistical estimation
statistical consistency
0.912025
The Foundations of Tokenization: Statistical and Computational Concerns · ICLR 2025
Information theory › communication channels › channel models
noiseless channel
0.712023
Tokenization and the Noiseless Channel · ACL (1) 2023
Machine learning › Efficient and distributed learning
compression
0.312025
From Language Models over Tokens to Language Models over Characters · ICML 2025
Natural language and speech › Language models and text generation
surprisal
0.212024
On the Proper Treatment of Tokenization in Psycholinguistics · EMNLP 2024
Computational social science and digital humanities › computational linguistics
computational psycholinguistics
0.212024
On the Proper Treatment of Tokenization in Psycholinguistics · EMNLP 2024

Methods — techniques the papers use, named apart from their topics

surprisal estimation · 1.5marginalization · 1.5information-theoretic analysis · 1.3stochastic map · 0.9model reparameterization · 0.9exact and approximate marginalization · 0.9constrained inference · 0.9category theory · 0.9
YearPublicationVenuePosition
2025 The Foundations of Tokenization: Statistical and Computational Concerns
abstract
Tokenization — the practice of converting strings of characters from an alphabet into sequences of tokens over a vocabulary — is a critical step in the NLP pipeline. The use of token representations is widely credited with increased model performance but is also the source of many undesirable behaviors, such as spurious ambiguity or inconsistency. Despite its recognized importance as a standard representation method in NLP, the theoretical underpinnings of tokenization are not yet fully understood. In particular, the impact of tokenization on language model estimation has been investigated primarily through empirical means. The present paper contributes to addressing this theoretical gap by proposing a unified formal framework for representing and analyzing tokenizer models. Based on the category of stochastic maps, this framework enables us to establish general conditions for a principled use of tokenizers and, most importantly, the necessary and sufficient conditions for a tokenizer model to preserve the consistency of statistical estimators. In addition, we discuss statistical and computational concerns crucial for designing and implementing tokenizer models, such as inconsistency, ambiguity, finiteness, and sequentiality. The framework and results advanced in this paper contribute to building robust theoretical foundations for representations in neural language modeling that can inform future theoretical and empirical research.
Juan Luis Gastaldi, John Terilla, Luca Malagutti, Brian DuSell, Tim Vieira, Ryan Cotterell
ICLR1
2025 Language Models over Canonical Byte-Pair Encodings
abstract
Modern language models represent probability distributions over character strings as distributions over (shorter) token strings derived via a deterministic tokenizer, such as byte-pair encoding. While this approach is highly effective at scaling up language models to large corpora, its current incarnations have a concerning property: the model assigns nonzero probability mass to an exponential number of noncanonical token encodings of each character string—these are token strings that decode to valid character strings but are impossible under the deterministic tokenizer (i.e., they will never be seen in any training corpus, no matter how large). This misallocation is both erroneous, as noncanonical strings never appear in training data, and wasteful, diverting probability mass away from plausible outputs. These are avoidable mistakes! In this work, we propose methods to enforce canonicality in token-level language models, ensuring that only canonical token strings are assigned positive probability. We present two approaches: (1) canonicality by conditioning, leveraging test-time inference strategies without additional training, and (2) canonicality by construction, a model parameterization that guarantees canonical outputs but requires training. We demonstrate that fixing canonicality mistakes improves the likelihood of held-out data for several models and corpora.
Tim Vieira, Tianyu Liu 0004, Clemente Pasti, Yahya Emara, Brian DuSell, Benjamin LeBrun, Mario Giulianelli, Juan Luis Gastaldi, Timothy J. O'Donnell, Ryan Cotterell
ICML8
2025 From Language Models over Tokens to Language Models over Characters
abstract
Modern language models are internally—and mathematically—distributions over token strings rather than character strings, posing numerous challenges for programmers building user applications on top of them. For example, if a prompt is specified as a character string, it must be tokenized before passing it to the token-level language model. Thus, the tokenizer and consequent processing are very sensitive to the specification of the prompt (e.g., whether the prompt ends with a space or not). This paper presents algorithms for converting token-level language models to character-level ones. We present both exact and approximate algorithms. In the empirical portion of the paper, we benchmark the practical runtime and approximation quality. Across four publicly available language models, we find that—even with a small computation budget—our method is able to accurately approximate the character-level distribution at reasonably fast speeds, and that a significant improvement in the language model’s compression rate (bits/byte) is achieved.
Tim Vieira, Benjamin LeBrun, Mario Giulianelli, Juan Luis Gastaldi, Brian DuSell, John Terilla, Timothy J. O'Donnell, Ryan Cotterell
ICML4
2024 On the Proper Treatment of Tokenization in Psycholinguistics
abstract
Language models are widely used in computational psycholinguistics to test theories that relate the negative log probability (the surprisal) of a region of interest (a substring of characters) under a language model to its cognitive cost experienced by readers, as operationalized, for example, by gaze duration on the region.However, the application of modern language models to psycholinguistic studies is complicated by the practice of using tokenization as an intermediate step in training a model.Doing so results in a language model over token strings rather than one over character strings.Vexingly, regions of interest are generally misaligned with these token strings.The paper argues that token-level language models should be (approximately) marginalized into character-level language models before they are used in psycholinguistic studies to compute the surprisal of a region of interest; then, the marginalized character-level language model can be used to compute the surprisal of an arbitrary character substring, which we term a focal area, that the experimenter may wish to use as a predictor.Our proposal of marginalizing a token-level model into a character-level one solves this misalignment issue independently of the tokenization scheme.Empirically, we discover various focal areas whose surprisal is a better psychometric predictor than the surprisal of the region of interest itself.
Mario Giulianelli, Luca Malagutti, Juan Luis Gastaldi, Brian DuSell, Tim Vieira, Ryan Cotterell
EMNLP3
2023 Tokenization and the Noiseless Channel
abstract
Vilém Zouhar, Clara Meister, Juan Gastaldi, Li Du, Mrinmaya Sachan, Ryan Cotterell. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2023.
Vilém Zouhar, Clara Meister, Juan Luis Gastaldi, Mrinmaya Sachan, Ryan Cotterell
ACL (1)3