Systems that turn spellings into pronunciations (grapheme-to-phoneme, or G2P, conversion) and systems that rewrite names from one script into another (transliteration) are usually judged by how often their top answer is right. A practical problem matters just as much: knowing which outputs are likely wrong. That knowledge decides which entries a lexicographer should check, which names a text-to-speech engine should flag, and which new words are worth paying an annotator to transcribe. This note proposes to predict the error of an existing G2P or transliteration system with a Gaussian process (GP), a Bayesian regression model that returns a calibrated variance alongside each prediction. The GP's similarity function, its kernel, is defined over syllable constituents (onsets, nuclei, codas, and their counterparts in Chinese and Indic scripts) instead of over raw characters. Its error variance therefore grows exactly when a word contains phonological units the system has rarely seen.
Two observations motivate this. First, the phonetic-alignment literature repeatedly finds that the choice of unit is what determines accuracy. The NEWS 2012 shared task called segmentation granularity the single most critical factor (Report of NEWS 2012 Machine Transliteration Shared Task), and substring systems lose much of their accuracy on unseen names (Substring-Based Transliteration). This suggests that "distance from the training data, measured in syllable units" is a strong signal of failure. Second, these tasks often have only a few thousand training pairs. That is the regime where GPs are known to beat flexible parametric models, and where neural softmax confidence is least trustworthy. The core claim is that a GP over syllable-structured word representations, trained on held-out errors of a fixed base system, flags failures and selects useful annotations better than the base system's own confidence. This advantage should be largest on out-of-vocabulary names and in small-corpus languages.
Core Claim and What Is New
No work in the file connects GPs to phonetic unit alignment. The GP work closest to language either regresses on bag-of-embedding sentence vectors, as in Modelling Representation Noise in Emotion Analysis using Gaussian Processes, or aligns continuous time series, as in Gaussian Process Latent Variable Alignment Learning. and Monotonic Gaussian Process Flows. Neither handles discrete phonological structure. The candidate gaps in the file include using a GP to do the alignment itself, by warping discrete strings continuously. I deliberately do not pursue that. Alignment over discrete symbols is already solved well by dynamic programming, by joint multigram models, and by conditional random fields (CRFs), which are discriminative sequence taggers. A continuous warp adds machinery without an obvious accuracy gain. The place where GPs bring something those tools lack is calibrated, data-efficient uncertainty about whether an output is right. This proposal therefore keeps the alignment model fixed and puts the GP on top of it as an error predictor.
The second new ingredient addresses a weakness documented in Integrating conditional random fields and joint multi-gram model with syllabic features for grapheme-to-phone conversion. That system depends on a hard external syllabifier whose mistakes propagate downstream. Instead of committing to one syllabification, the kernel averages over the top few syllabifications of each word, weighted by the syllabifier's probabilities. Let $S(w)$ be the top-$k$ syllabifications of word $w$, each with probability $p(s \mid w)$. Let $\phi(s)$ be a vector counting the n-grams of constituent-labelled units in $s$ (for example "onset:str", "nucleus:i", "coda:ng", and their bigrams). The kernel is
$$k(w, w') = \Big\langle \sum_{s \in S(w)} p(s \mid w)\,\phi(s),\; \sum_{s' \in S(w')} p(s' \mid w')\,\phi(s') \Big\rangle,$$
an inner product of expected feature vectors. It is therefore a valid kernel by construction. Uncertain syllable boundaries enter as soft, spread-out features rather than as a wrong hard decision. The full GP adds this kernel to a Matérn kernel on two continuous inputs: the base system's sequence log-probability and its n-best margin. The Matérn choice follows Beck's finding that rough response surfaces suit discrete-derived features better than the infinitely smooth squared-exponential kernel. As a result, the GP adds phonological novelty to the base model's own confidence rather than replacing it.
Research Program
The base systems are a 4-layer Transformer G2P model following Transformer Based Grapheme-to-Phoneme Conversion, and a joint multigram model, both trained with facebookresearch/fairseq or Sequitur-style tooling. For transliteration, the same Transformer is retrained per language pair.
The regression target for word $w$ is the normalized phoneme (or character) edit distance between the base system's top output and the reference. These targets are produced by K-fold cross-fitting, so every training error for the GP is an out-of-sample error.
Syllabifications come from a structured-tagging syllabifier in the style of Automatic Syllabification with Structured SVMs for Letter-to-Phoneme Conversion, using its onset–nucleus–coda tag scheme. The scheme is extended by script family. Initials and finals are used for Chinese, following Transliteration Experiments on Chinese and Arabic. Aksharas are used for Devanagari and Tamil, following A More Discerning and Adaptable Multilingual Transliteration Mechanism for Indian Languages. Consonant skeletons with vowel slots are used for Persian, following Collapsed Consonant and Vowel Models: New Approaches for English-Persian Transliteration and Back-Transliteration.
For CMUDict-scale data (about 107k training words), exact GP inference is too expensive. We use a sparse variational GP built on the stochastic-variational machinery in XiaoyuJiang17/GS-LVMOGP, with inducing points placed at real training words rather than in continuous space. As a fallback, we use local exact GPs over clusters of words, the divide-and-conquer strategy of Gaussian Process Experts for Voice Conversion. The small corpora fit in an exact GP directly.
The GP's predictive mean and variance support two uses. The first is selective prediction: abstain on, or flag, the words with the highest expected error. The second is active annotation: starting from a small seed lexicon, repeatedly label the unlabeled words that maximize expected error weighted by uncertainty, retrain the base system, and track accuracy against labeling budget.
Baselines
The naive reference point is to flag words at random. In the active-learning setting, its counterpart is uniform random selection of words to annotate. Any method that does not clearly beat random selection on learning curves is useless for lexicon building.
The strongest and most direct competitor is the base system's own confidence: its length-normalized sequence log-probability and the margin between its first and second n-best hypotheses. This signal is free and already contains a great deal of information. The oracle result in Wang and Sim shows that the top-10 joint multigram hypotheses on CMUDict leave only about 4% word error, against 28.54% for the top-1. The n-best list therefore knows a lot about its own mistakes. A stronger version of the same idea is a deep ensemble of five independently seeded base models, scored by output disagreement. It is the most credible non-GP uncertainty estimate for sequence models, and it costs five times the training compute, which we report.
For context on base-system accuracy, the strongest number in the file on CMUDict is the hybrid JMM-CRF at 24.89% word error rate (WER), against 28.54% for the joint multigram alone (Integrating conditional random fields and joint multi-gram model with syllabic features for grapheme-to-phone conversion). On the English–Persian Small Corpus, it is CV-MODEL3 at 72.2% top-1 accuracy. On NEWS 2012, the top English-to-Hindi system reaches 0.66 top-1 accuracy. For the actual task proposed here, predicting per-word error on these benchmarks, I found no reported result on Lacuna, so all error-prediction baselines are run by us.
Fairness is enforced as follows. All error predictors see the same cross-fitted targets and the same base-model outputs. Every learned predictor gets the same hyperparameter budget, chosen on the same validation fold. The GP's kernel hyperparameters are set by marginal likelihood on the training fold only.
Two ablations isolate the key ingredient. In the first, the syllable kernel is replaced by a character n-gram kernel of matched feature dimension; this tests whether phonetic units matter or whether any string similarity works. In the second, the soft syllabification average is replaced by the single best syllabification; this tests whether marginalizing boundary uncertainty matters. Beating the baselines means two things. In selective prediction, the GP must show lower area under the risk–coverage curve (word error among retained words as coverage varies) and higher AUROC (area under the ROC curve) for detecting wrong words than the ensemble, with a gap larger than the variation across seeds. In active annotation, the GP must reach a given WER with at least 20% fewer labeled words than ensemble-disagreement selection.
Why not just…?
Why not just use the base model's own log-probability? It is the baseline most likely to win on in-distribution words, and I expect it to be competitive there. Its weak spot is unseen phonological material. A Transformer can be confidently wrong on a name whose rime never appeared in training, because softmax confidence is not tied to distance from the training data. The decisive test is a split of the test set by syllable novelty. If the GP's advantage does not concentrate on words with unseen or rare constituents, the novelty argument fails and the log-probability should be preferred for its simplicity.
Why not just use a deep ensemble? Ensembles are a real threat; they often give the best practical uncertainty. They differ from the GP in two ways. They cost several full training runs. And their disagreement reflects how the models vary in function space, which is not the same thing as how unfamiliar a word's phonology is. With 1,857 Persian pairs or 14,851 NETtalk words, every ensemble member may share the same blind spot. We report both, and also the GP that takes ensemble disagreement as an additional input. If the ensemble alone matches that combined model, the syllable kernel has not earned its place.
Why not just train a small neural or logistic error predictor on the same features? This control tests whether the GP itself matters or only the syllable features do. We train a logistic regression and a two-layer network on the same expected syllable feature vectors plus the log-probability features. Beck's emotion-regression results, where a Matérn GP beat support vector regression on SemEval2007 (Pearson r 0.616 vs 0.593), hint that the GP helps in small-data text regression. That is a different task, though, so this experiment settles the question here. If the network matches the GP's risk–coverage curve, the honest conclusion is that syllable-unit novelty features are the contribution and the GP is optional. The GP may still help in the active-learning setting, where calibrated variance, not just a ranking, drives which words get selected.
Why not just measure nearest-neighbour distance to the training lexicon? A k-nearest-neighbour edit distance in syllable units is the cheapest stand-in for "phonological novelty." It is included as a baseline. It cannot combine novelty with the base model's confidence, and it cannot express that a word can be novel yet easy. The GP must beat it, or the kernel machinery is unnecessary.
Proposed Experiments
Selective prediction is evaluated on CMUDict and CELEX English for high-resource G2P, and on NETtalk for mid-resource G2P. For transliteration, it is evaluated on the English–Persian Small Corpus (10-fold cross-validation as in Karimi et al.), the NEWS 2012 English-to-Hindi, English-to-Tamil and English-to-Chinese pairs, and Thai-to-English back-transliteration. Thai-to-English is included because its top accuracy of 0.14 makes it a stress test where most outputs are wrong and ranking errors matters most. Metrics are AUROC for detecting wrong words, area under the risk–coverage curve, and the negative log predictive density of the predicted edit distance, which measures calibration directly.
The first decisive check is the syllable-novelty split. Test words are grouped by the fraction of their constituents that are unseen or rare in training, and the GP-minus-ensemble gap is examined in each group. The hypothesis predicts a gap near zero on familiar words and a clear GP advantage on novel ones.
The second decisive check is the two ablations, character kernel versus syllable kernel and hard versus soft syllabification. These run on English, where syllabifier quality is high, and on Persian and Thai, where it is lower and the soft average should matter more.
The third check is active annotation, simulated on NETtalk and the Persian Small Corpus. Each run starts from 500 seed words and adds batches of 200, comparing GP selection, ensemble-disagreement selection, log-probability selection and random selection by base-system WER at matched labeling budgets.
The hypothesis is refuted if the ensemble or the neural predictor on the same features matches the GP in both the novelty split and the active-learning curves. In that case, the paper would report that syllable-unit novelty features carry the signal and that Bayesian nonparametrics adds nothing here. That outcome would still be useful to know.
References
- Report of NEWS 2012 Machine Transliteration Shared Task
- Substring-Based Transliteration
- Modelling Representation Noise in Emotion Analysis using Gaussian Processes
- Gaussian Process Latent Variable Alignment Learning.
- Monotonic Gaussian Process Flows
- Integrating conditional random fields and joint multi-gram model with syllabic features for grapheme-to-phone conversion
- Transformer Based Grapheme-to-Phoneme Conversion
- Automatic Syllabification with Structured SVMs for Letter-to-Phoneme Conversion
- Transliteration Experiments on Chinese and Arabic
- A More Discerning and Adaptable Multilingual Transliteration Mechanism for Indian Languages
- Collapsed Consonant and Vowel Models: New Approaches for English-Persian Transliteration and Back-Transliteration
- Gaussian Process Experts for Voice Conversion