Ludwig-Maximilians-Universität
Neural text generation under uncertainty: decoding, evaluation, and low-resource applications
Abstract
dc:description.abstractNeural text generation is the production of natural-language text by neural language models. In its now-standard autoregressive form, the model predicts a probability distribution over the next token and a decoding strategy selects a token from it, one step at a time; model and strategy together form a neural text generator. How this selection should be made, how the quality of the generated text should be evaluated, and how such generators can be built where data are scarce motivate its three parts: decoding, evaluation, and low-resource applications. A theme running through all three is uncertainty: aleatoric, the irreducible variability of a task, and epistemic, the model's reducible lack of knowledge from limited data, capacity, or specification. The first two parts study largely open-ended tasks in the data-rich regime, where the task-conditioned distribution spreads probability mass across many acceptable continuations, so aleatoric variability is prominent; the third part works in the low-data regime, where the reliability of the learned model itself, hence epistemic uncertainty, becomes a central limiting factor. Standard decoding strategies fix the selection rule and its parameters in advance and apply them identically at every generation step, regardless of the distribution's concentration. The first part develops methods that instead read uncertainty signals from the predictive distribution, through entropy or the local geometry of the logits, and adapt which tokens are retained and how they are weighted. These adaptive methods still truncate, however, and this raises the question of what truncation removes: a large-scale study shows that a substantial share of the tokens human writers choose falls outside standard truncation boundaries, a blind spot whose extent depends on the decoding rule and the model's predictive distribution, and a further method reweights such tokens before any boundary is drawn. The part closes with a mechanistic finding that links a counterintuitive diversity gain to a geometric expansion in the final transformer block. Evaluating open-ended text generation poses its own challenge, established empirically in the second part: widely used automatic metrics are sensitive to decoding choices and frequently disagree with one another and with human judgments. No single metric captures all relevant dimensions of quality: fluency, diversity, and coherence matter simultaneously and trade off against one another. The part therefore compares systems at the resolution each comparison requires: partial orders that admit incomparability, statistical tests of stochastic dominance across several criteria, and a scalar summary where one figure is needed. It then represents the range of human writing as a credal set and finds substantial gaps between model and human variability. The third part turns to the data-scarce regime, where the obstacle is different: its tasks are more constrained, admitting far fewer acceptable outputs, such as a manuscript transcription or a part-of-speech tag, and the limit is instead scarce available data and models. It develops handwritten text recognition for Medieval Latin, Old Occitan, and Old Nepali, error correction for Byzantine Greek, sign detection scaling to a full cuneiform corpus, and part-of-speech analysis across medieval Romance varieties. A similar scarcity arises beyond language, in tabular data, where a feedback-guided generative approach with a Bayesian interpretation synthesizes examples for rare classes. The methods differ, but each reduces dependence on scarce annotation, often through synthetic or cross-lingual supplements. All three parts thus deal with systems acting under uncertainty: depending on the task, that uncertainty is taken into account in decisions, measured and tested, or reduced through additional information. Whether these separate treatments admit a single decision-theoretic formulation is the question this thesis leaves to future work.
Degree
thesis:*- Level thesis:degree_level
- thesis.doctoral
- Department thesis:degree_department
- Fakultät für Mathematik, Informatik und Statistik
- Grantor dc:publisher
- Ludwig-Maximilians-Universität
- Year
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Garcés Arias, Esteban
- Advisor dc:contributor.advisor
-
- Heumann, Christian
Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- free
- Language dc:language.dcterms_iso639_2
- eng