MCP
PH

Patrick Haller

43 papers in the library

Papers

30
PACE: Periodic and Channel-Aligned Encoding of Four-Bit Recurrent States
Patrick HallerFilipe LaitenbergerAlan Akbik
PACE is a post-hoc four-bit quantizer for linear-attention recurrent states. Instead of rounding after every token, it rounds once per chunk and buffers intermediate tokens, reducing accumulated error. PACE also exploits column-wise concentration of large state entries by sharing quantization scale per column, keeping high-error heads at eight bits. On 4B-35B hybrid models, PACE's mixed precision matches eight-bit DAMP on larger models at two-thirds memory, and full four-bit PACE outperforms Q-Mamba at equal memory.
arXivarXiv · · October 21, 2026
0
Estimating Surprisal from the Speech Signal
Zachary HoptonSamuel KiegelandFrancesco Ignazio RePatrick HallerMatthew B. WinnRyan CotterellEleanor Chodroff
This paper removes the text bottleneck in testing surprisal theory by estimating surprisal directly from the speech signal with a speech language model, addressing the difficulty of defining surprisal over abstract units. The authors introduce an importance sampling estimator that approximates an abstract unit's probability by marginalizing over text-to-speech-generated realizations. Using pupillometry from a listening study, they find this estimator better predicts pupil dilation than realization-specific surprisal for words, although overall surprisal weakly predicts pupil size changes.
arXivarXiv · · October 13, 2026
0
0
Repetition over Diversity: High-Signal Data Filtering for Sample-Efficient German Language Modeling
Ansar AynetdinovPatrick HallerAlan Akbik
Recent research has shown that filtering massive English web corpora into high-quality subsets significantly improves training efficiency. However, for high-resource non-English languages like German, French, or Japanese, aggressive filtering creates a strategic dilemma: should practitioners prioritize *diversity* by training once on large amounts of lightly filtered web data, or prioritize *quality* by strictly filtering for a high-quality core and repeating it over multiple epochs? We investigate this trade-off for German by applying hierarchical quality filters to 500M web documents, comparing multi-epoch training on filtered subsets against single-pass training on a diverse corpus. Our experiments across multiple model scales and token budgets show that repeating high-quality data consistently outperforms single-pass training on larger, less filtered sets. Notably, the performance gap persists even after 7 epochs. Our findings suggest that for non-English LLMs, semantic concentration through quality filtering offers a more viable path to efficient language modeling than simply maximizing unique data volume. We release our German language models (called **Boldt**), as well as our cleaned evaluation benchmarks to the research community. Our experiments indicate that they achieve state-of-the-art results despite training on 10-360x fewer tokens than comparable models.
ACL AnthologyACL Anthology · October 2026
0
Estimating Surprisal from the Speech Signal
Zachary HoptonSamuel KiegelandFrancesco Ignazio RePatrick HallerMatthew B. WinnRyan CotterellEleanor Chodroff
Although language is predominantly spoken, empirical tests of surprisal theory rely almost entirely on written text. In practice, surprisal is estimated using language models (LMs) trained on text and applied to transcriptions, creating a text bottleneck that limits evaluation of the theory in the spoken modality. We remove this bottleneck by estimating surprisal directly from the speech signal using a speech LM. This raises a key question: should surprisal be defined over realization-specific acoustic inputs or over abstract linguistic units? Since a single unit can have many distinct acoustic realizations, each assigned a different probability by the model, defining surprisal over abstract units is difficult. To address this, we introduce an importance sampling estimator that approximates the probability of an abstract unit by marginalizing over realizations generated by a text-to-speech model. Using pupillometry data from a listening study, we evaluate surprisal theory in this text-free setting at multiple levels of granularity. Obtaining surprisal from several speech LMs, we consistently find that surprisal estimated via importance sampling better predicts pupil dilation than realization-specific surprisal for words. We also find that surprisal values for sub-lexical units are predictive of pupil dilation. While we find that surprisal can be estimated without recourse to text, and that marginalizing over distinct realizations of words is more predictive of lexical processing effort, surprisal as a whole is not a strong predictor of change in pupil size, regardless of its source.
ACL AnthologyACL Anthology · October 2026
0
What Matters in Linearizing Language Models? A Comparative Study of Architecture, Scale, and Task Adaptation
Patrick HallerJonas GoldeAlan Akbik
Linearization has emerged as a strategy for developing efficient language models (LMs). Starting from an existing Transformer-based LM, linearization replaces the attention component with computationally efficient subquadratic token mixers. However, as an increasing number of mixers are proposed, it remains unclear which inductive biases are best suited to inherit the original Transformer’s capabilities. Furthermore, it is unknown how linearization is affected by parameter and token budget scaling. To address these questions, we propose a unified setup to compare seven representative architectures, including xLSTM, GLA, and Gated DeltaNet. Our findings reveal that performance hierarchies remain stable from 140M to 1.7B parameters, with error-correcting update rules demonstrating superior scaling exponents. We show that performance gaps are established early and persist through asymptotic maturity at 10B tokens, suggesting that state resolution is a more fundamental bottleneck than the distillation budget. Finally, while most models adapt to instruction tuning, only gated delta-rule formulations maintain the precision necessary for long-context retrieval, whereas additive models suffer from irreversible state saturation. Finally, we show that a cheap mixer-only probe predicts these downstream outcomes before a full run and, used as a diagnostic, attributes the weakest student’s scaling deficit to a fixable normalization choice rather than its update rule. These results suggest that for successful linearization, architectural inductive biases remain the primary constraint that cannot be overcome by simply scaling training compute.
ACL AnthologyACL Anthology · October 2026
0
What Matters When Building Universal Multilingual Named Entity Recognition Models?
Jonas GoldePatrick HallerAlan Akbik
Recent progress in universal multilingual named entity recognition (NER) has been driven by multilingual transformer models, task-specific architectures, custom loss functions, and large-scale training datasets. However, despite substantial prior work, we find that many design decisions for such models are made without systematic justification, with individual components evaluated only in combination rather than in isolation. We argue that this impedes progress in the field by making it difficult to identify which choices improve multilingual generalization. In this work, we conduct an extensive empirical evaluation on transformer backbones, architectures, training objectives, data composition, and threshold selection for zero-shot, multilingual NER models. Building on these findings, we present Otter, a small encoder model that achieves consistent improvements over strong multilingual NER baselines, outperforming similarly sized models by 5.7 percentage points in F1. Further, it remains within 1.4 points of Qwen3-32B and 5.4 points below Gemma3-27B, while being roughly 90x smaller and one to two orders of magnitude faster at inference.
ACL AnthologyACL Anthology · October 2026
0
Repetition over Diversity: High-Signal Data Filtering for Sample-Efficient German Language Modeling
Ansar AynetdinovPatrick HallerAlan Akbik
This paper investigates whether, for German, repeatedly training on a strictly quality-filtered high-signal subset outperforms single-pass training on larger, lighter-filtered web data. Applying hierarchical quality filters to 500M web documents, the authors trained models of multiple scales and token budgets, finding that repeating high-quality data consistently beats diverse single-pass training, with the gap persisting after 7 epochs. They conclude that semantic concentration via quality filters is more sample-efficient for non-English LLMs, and release their Boldt models and cleaned benchmarks, which achieve state-of-the-art results on 10-360x fewer tokens. This trade-off resolution demonstrates the viability of repetition over diversity.
arXivarXiv · · April 30, 2026
0
1
LLM Knowledge is Brittle: Truthfulness Representations Rely on Superficial Resemblance
Patrick HallerMark IbrahimPolina KirichenkoLevent SagunSamuel J. Bell
This paper explores whether the brittleness of large language models stems from unstable knowledge representations. By applying semantically-preserving superficial transformations, such as typos or reformulations, to make statements out-of-distribution, the authors test whether internal representations of statement truthfulness, which separate true from false statements, degrade. Across four LLM families, five datasets, and three probing methods, they find these truthfulness representations collapse as surface form deviates from pretraining data, suggesting LLMs learn shallow, non-robust knowledge and challenging the utility of truthfulness probes.
OpenReviewOpenReview · · March 26, 2026
0
What Matters When Building Universal Multilingual Named Entity Recognition Models?
Jonas GoldePatrick HallerAlan Akbik
The lack of systematic justification for design choices in universal multilingual NER impedes progress. The paper provides an extensive empirical evaluation of transformer backbones, architectures, training objectives, data composition, and threshold selection. From these findings, Otter, a small encoder model, is built. It outperforms similarly sized models by 5.7 F1 points and is within 1.4 points of Qwen3-32B while being about 90x smaller and faster.
arXivarXiv · · January 9, 2026
0
1
FiNERweb: Datasets and Artifacts for Scalable Multilingual Named Entity Recognition
Jonas GoldePatrick HallerAlan Akbik
FiNERweb is a scalable dataset-creation pipeline for multilingual NER that extends the teacher-student paradigm to 91 languages and 25 scripts. It uses a regression model to select NER-relevant passages from FineWeb-Edu and annotates them with multilingual LLMs, producing about 225k passages with 235k distinct entity labels. The regression model achieves over 84 F1, and models trained on FiNERweb match or outperform strong baselines in zero-shot transfer despite using 19x less data. The dataset includes both English and target-language label sets, as performance drops 0.02–0.09 F1 when using target-language labels.
arXivarXiv · · December 15, 2025
0
4
Sample-Efficient Language Modeling with Linear Attention and Lightweight Enhancements
Patrick HallerJonas GoldeAlan Akbik
This work introduces BLaLM, a language model that replaces standard self-attention with a linear-time mLSTM token mixer for sample-efficient learning under the BabyLM 2025 shared task. Lightweight enhancements such as short convolutions, sliding window attention, and Hedgehog feature maps are explored. Experiments demonstrate that linear attention plus sliding window attention consistently improves zero-shot performance, and the Muon optimizer stabilizes convergence and reduces perplexity over AdamW, highlighting effective strategies for efficient language modeling without relying on scale.
arXivarXiv · · November 4, 2025
0
2
PISA-Bench: The PISA Index as a Multilingual and Multimodal Metric for the Evaluation of Vision-Language Models
Patrick HallerFabio BarthJonas GoldeGeorg RehmAlan Akbik
PISA-Bench is a multilingual benchmark for vision-language models (VLMs) built from expert-created PISA test items. It provides human-verified instructions, questions, images, and answer options, translated into six languages (English, Spanish, German, Chinese, French, Italian) to form a fully parallel corpus. Evaluation of state-of-the-art VLMs shows that small models (<20B parameters) perform poorly, non-English splits degrade performance, and spatial/geometric reasoning remains a major challenge.
arXivarXiv · · October 27, 2025
0
5
LLM Knowledge is Brittle: Truthfulness Representations Rely on Superficial Resemblance
Patrick HallerMark IbrahimPolina KirichenkoLevent SagunSamuel J. Bell
This paper reveals that LLMs' internal representations of statement truthfulness collapse when inputs are superficially transformed (e.g., typos or reformulations), even though the semantic content remains unchanged. Across four LLM families, five datasets, and three probing methods, the ability to distinguish true from false statements degrades as statements become more out-of-distribution relative to pre-training data. This suggests LLMs learn shallow, surface-form-dependent knowledge rather than robust, generalizable representations, challenging the utility of truthfulness probes and explaining brittle benchmark performance.
arXivarXiv · · October 13, 2025
0
15
LLM knowledge is brittle: truthfulness representations rely on superficial resemblance
Patrick HallerMark IbrahimPolina KirichenkoLevent SagunSamuel J. Bell
This paper tests whether LLM brittleness stems from unstable internal knowledge representations. Building on prior work showing that LLM activations encode statement truthfulness, the authors evaluate representation separability after semantically preserving but superficial transformations like typos and reformulations drive statements out-of-distribution. Across four LLM families, five datasets, and three probing methods, separability degrades as surface form moves away from pre-training data. The authors conclude LLMs learn shallow, non-robust knowledge representations, offering an explanation for brittle benchmark performance and challenging truthfulness-probe utility.
OpenReviewOpenReview · · September 19, 2025
0
Empirical Evaluation of Knowledge Distillation from Transformers to Subquadratic Language Models
Patrick HallerJonas GoldeAlan Akbik
This paper empirically evaluates knowledge distillation from a Transformer teacher to eight subquadratic student architectures, including SSMs, linear attention, and recurrent models. The central contribution is a systematic comparison identifying which subquadratic model best approximates the teacher's representations through distillation and how architectural design choices affect training dynamics. The study further examines initialization strategies (matrix mixing and QKV copying) and reports empirical results on multiple NLP benchmarks, offering insights into efficiency-performance trade-offs for successful knowledge transfer to subquadratic architectures.
OpenReviewOpenReview · September 18, 2025
0
0
Leveraging In-Context Learning for Political Bias Testing of LLMs
Patrick HallerJannis VamvasRico SennrichLena Ann Jäger
The paper proposes Questionnaire Modeling (QM), a probing task that uses human survey data as in-context examples to evaluate political bias in LLMs. QM improves the stability of question-based bias evaluation, enabling reliable comparisons between models. Experiments with models of varying sizes show that instruction tuning can change bias direction, and larger models leverage in-context examples more effectively, generally exhibiting smaller bias scores.
ACL AnthologyACL Anthology · · July 2025
0
Leveraging In-Context Learning for Political Bias Testing of LLMs
Patrick HallerJannis VamvasRico SennrichLena A. Jäger
The paper proposes Questionnaire Modeling (QM), a probing task that supplies human survey data as in-context examples to improve the stability of political bias evaluation in LLMs. QM enables more reliable comparison between instruction-tuned models and their base versions. Experiments across model sizes show that instruction tuning can change bias direction, larger models leverage in-context examples more effectively, and larger models generally exhibit smaller bias scores under QM.
arXivarXiv · · June 27, 2025
0
3
From Data to Knowledge: Evaluating How Efficiently Language Models Learn Facts
Daniel ChristophMax PlonerPatrick HallerAlan Akbik
This study evaluates how efficiently language models learn facts by analyzing models of varying architectures and sizes trained on the same data. It annotates relational facts with their frequency in the training corpus and finds that models perform similarly on high-frequency facts but differ notably on low-frequency facts. This provides insights into the relationship between model architecture, size, and factual learning efficiency, with sample efficiency being crucial for handling rare information without excessive exposure.
arXivarXiv · · June 20, 2025
0
2
What Matters in Linearizing Language Models? A Comparative Study of Architecture, Scale, and Task Adaptation
Patrick HallerJonas GoldeAlan Akbik
This paper compares seven linearized language models (e.g., xLSTM, GLA, Gated DeltaNet) that replace Transformer attention with subquadratic token mixers. Performance rankings remain stable from 140M to 1.7B parameters, with error-correcting update rules showing better scaling. Gaps emerge early and persist through 10B tokens, indicating state resolution is a key bottleneck. While most models adapt to instruction tuning, only gated delta-rule formulations retain precision for long-context retrieval, whereas additive models suffer irreversible state saturation. The authors conclude that architectural inductive biases are the primary constraint on successful linearization, not training compute.
arXivarXiv · · April 19, 2025
0
0
Familiarity: Better Evaluation of Zero-Shot Named Entity Recognition by Quantifying Label Shifts in Synthetic Training Data
Jonas GoldePatrick HallerMax PlonerFabio BarthNicolaas JedemaAlan Akbik
Zero-shot NER evaluations overestimate true capabilities because synthetic training datasets often contain entity types semantically similar to (or even the same as) those in evaluation benchmarks. The paper proposes Familiarity, a metric that captures both semantic similarity between entity types and their frequency in training data, quantifying label shift between training and evaluation. This allows researchers to contextualize reported scores and generate evaluation setups of varying difficulty for fine-grained analysis.
ACL AnthologyACL Anthology · April 2025
0
4
MastermindEval: A Simple But Scalable Reasoning Benchmark
Jonas GoldePatrick HallerFabio BarthAlan Akbik
MastermindEval is a deductive reasoning benchmark for LLMs, inspired by the board game Mastermind. It offers two evaluation paradigms: agentic (model plays the game) and deductive (model infers the only valid code from a pre-played state). Experiments show that even easy instances challenge current models, and performance degrades as the number of statements to combine increases, indicating a limitation in multi-step information integration. The benchmark is designed to scale with future model advancements.
arXivarXiv · · March 7, 2025
0
8
MastermindEval: A Simple But Scalable Reasoning Benchmark
Jonas GoldePatrick HallerFabio BarthAlan Akbik
We introduce MastermindEval, a simple, scalable, and interpretable deductive reasoning benchmark inspired by the board game Mastermind, designed to keep pace with rapidly advancing reasoning-focused LLMs. It supports two evaluation paradigms: agentic evaluation, where the model autonomously plays the game, and deductive reasoning evaluation, where the model infers the sole valid code from a pre-played state. Experiments show even easy instances challenge current models, scalability to future models, and that models struggle as the number of statements to combine grows.
OpenReviewOpenReview · · February 7, 2025
0
BabyHGRN: Exploring RNNs for Sample-Efficient Training of Language Models
Patrick HallerJonas GoldeAlan Akbik
This paper introduces BabyHGRN, an RNN-based language model built on the HGRN2 architecture, and shows that it outperforms transformer-based models on the 10M and 100M word tracks of the BabyLM challenge, as measured by BLiMP, EWoK, GLUE, and BEAR benchmarks. The results demonstrate that RNNs can be competitive alternatives to transformers in low-resource language modeling, with knowledge distillation further improving performance.
arXivarXiv · · December 20, 2024
0
1
On the alignment of LM language generation and human language comprehension
Lena Sophia BolligerPatrick HallerLena Ann Jäger
This study investigates alignment between LM language production and human comprehension using eye-movement data on texts generated by different decoding strategies. Transition scores reflecting production reveal alignment differences with reading behavior, linked to early, late, or global comprehension stages. Despite lower predictive power than surprisal and entropy, the findings identify decoding strategies imposing less reader processing effort.
OpenReviewOpenReview · August 15, 2024
0
6
EMTeC: A Corpus of Eye Movements on Machine-Generated Texts
Lena Sophia BolligerPatrick HallerIsabelle Caroline Rose CrettonDavid Robert ReichTannon KewLena Ann Jäger
The EMTeC corpus provides eye-movement data from 107 native English speakers reading machine-generated texts produced by three LLMs with five decoding strategies across six text types. It includes raw gaze coordinates at 2000 Hz, fixations (with a drift-corrected version), reading measures, and the models' internal transition scores, attention scores, and hidden states. The corpus supports investigating reading behavior on machine-generated text, comparing decoding strategies, and assessing surprisal and entropy as predictors of human reading times.
arXivarXiv · · August 8, 2024
0
12
Language models emulate certain cognitive profiles: An investigation of how predictability measures interact with individual differences
Patrick HallerLena S. BolligerLena A. Jäger
To date, most investigations on surprisal and entropy effects in reading have been conducted on the group level, disregarding individual differences. In this work, we revisit the predictive power (PP) of different LMs’ surprisal and entropy measures on data of human reading times as a measure of processing effort by incorporating information of language users’ cognitive capacities. To do so, we assess the PP of surprisal and entropy estimated from generative language models (LMs) on reading data obtained from individuals who also completed a wide range of psychometric tests.Specifically, we investigate if modulating surprisal and entropy relative to cognitive scores increases prediction accuracy of reading times, and we examine whether LMs exhibit systematic biases in the prediction of reading times for cognitively high- or low-performing groups, revealing what type of psycholinguistic subjects a given LM emulates.Our study finds that in most cases, incorporating cognitive capacities increases predictive power of surprisal and entropy on reading times, and that generally, high performance in the psychometric tests is associated with lower sensitivity to predictability effects. Finally, our results suggest that the analyzed LMs emulate readers with lower verbal intelligence, suggesting that for a given target group (i.e., individuals with high verbal intelligence), these LMs provide less accurate predictability effect estimates.
ACL AnthologyACL Anthology · August 2024
0
Language models emulate certain cognitive profiles: An investigation of how predictability measures interact with individual differences
Patrick HallerLena S. BolligerLena A. Jäger
The paper investigates how language model (LM) surprisal and entropy estimates interact with individual cognitive capacities to predict reading times. Incorporating psychometric test scores into the predictive model increases accuracy for most cognitive measures. Furthermore, readers with higher cognitive performance show lower sensitivity to predictability effects, and the LMs analyzed systematically emulate readers with lower verbal intelligence, providing less accurate estimates for high-verbal-intelligence individuals.
arXivarXiv · · June 7, 2024
0
17
OpinionGPT: Modelling Explicit Biases in Instruction-Tuned LLMs
Patrick HallerAnsar AynetdinovAlan Akbik
OpinionGPT makes biases in instruction-tuned LLMs explicit rather than suppressing them. The model is fine-tuned on text from 11 demographic groups (political, geographic, gender, age) so that each answer reflects a specific bias. A web demo lets users select which biases to investigate and see side-by-side comparisons of answers generated by the corresponding bias-specific models.
ACL AnthologyACL Anthology · · June 2024
0
On language models’ cognitive biases in reading time prediction
Patrick HallerLena Sophia BolligerLena Ann Jäger
This paper revisits surprisal and entropy effects in reading time prediction by incorporating individual cognitive capacities. Modulating surprisal and entropy from generative language models with psychometric scores mostly increased prediction accuracy. High-scoring individuals were less sensitive to predictability, and the models systematically emulated readers with lower verbal intelligence, yielding less accurate estimates for high-verbal-intelligence groups. The authors highlight the value of individual-level information for understanding how language models operate.
OpenReviewOpenReview · May 31, 2024
0
5
PECC: Problem Extraction and Coding Challenges
Patrick HallerJonas GoldeAlan Akbik
PECC is a benchmark of 2396 problems from Advent Of Code and Project Euler that tests whether LLMs can interpret narrative-embedded tasks, extract the underlying problem, and generate executable code, rather than simply solving isolated coding tasks. Chat-based evaluation with natural language prompting adds real-world instruction ambiguity. GPT-3.5-Turbo passed 50% of AoC challenges but only 8% of the math-based Euler problems, revealing significant performance variation between narrative and neutral problem formulations.
arXivarXiv · · April 29, 2024
0
14
Authors with the same name
Patrick Haller #0001 · 10 papers
Patrick Haller #0002 · 14 papers
Patrick Haller · 0 papers
Frequent collaborators
Alan Akbik (21)
Jonas Golde (16)
Lena A. Jäger (7)
Lena Ann Jäger (6)
Fabio Barth (5)
Ansar Aynetdinov (4)
Lena Sophia Bolliger (4)
Lena S. Bolliger (4)
David R. Reich (4)
Paul Prasse (4)
Ryan Cotterell (3)
Mark Ibrahim (3)