betaFeedback

WorksComputer Science

LastWords: Boring Problems Revisited

Abstract

In 2022, the second author published a Last Words piece in Computational Linguistics in which he pointed out that, despite the advances in AI up to that point, there were still some problems in natural language processing that on the one hand seemed trivial and perhaps boring, but on the other were hard to solve using purely neural methods. One such problem discussed in that context was text normalization, and a particular subproblem of that, namely number name reading. The piece came out just a few months before the first release of ChatGPT, and needless to say, a lot has happened since then. Indeed, as we document here, the problem (of number name reading) has practically been solved, at least by one of the latest frontier models. However, we believe that there are still open issues for such limited domain, constrained and limited resource problems, and that in some future machine learning approach, the massive resources of the latest frontier models would not be needed to solve them.

Four years ago one of the authors published a Last Words piece in which he offered the following challenge (Sproat [4]):

I issue a challenge: demonstrate that a purely neural approach to the problem of text normalization is possible. Various groups have tried, but so far nobody has eliminated the problem of unrecoverable errors, errors where, due to insufficient training data or faulty generalization, the system substitutes some other reading for the correct one.

The context for this challenge, published soon before the first release of ChatGPT, was the author’s experience in one of the less ‘exciting’, but nonetheless important problems of natural language processing:

Though text normalization is hardly an ‘exciting’ problem, I argue that until one can solve ‘boring’ problems like that using purely AI methods, one cannot claim that AI is a success.

Postprint 2026 Text normalization, the conversion of expressions such as numbers, dates, times, abbreviations and so forth into some normalized form—e.g. the words that would actually be spoken in the case of text-to-speech synthesis, continued to be a challenge even into the neural age. Previous work that the author had been involved in, such as Zhang et al. [6], had failed to solve the problem using purely neural methods and in particular failed to produce systems that were on a par with carefully hand-crafted systems such as Kestrel [1].

Perhaps because the problem was so boring, it received very little attention. One response was Zhang et al. [7], published after the release of ChatGPT, which showed that significant gains could be made, but in that work it took the then latest version of GPT (4.0) to achieve results on a par with Kestrel on the Kaggle Text Normalization Challenge [5], and did not eliminate the problem of unrecoverable errors—fluent, but semantically incorrect verbalizations.

In Sproat [4], there was a particular discussion of the problem of number naming, i.e. the problem of converting from digit sequences into how they would be verbalized as numbers: 123 would be one hundred twenty three in standard American English, and 1,234,567 would be one million, two hundred thirty four thousand, five hundred sixty seven. Subsequent to the publication of Sproat [4] and Zhang et al. [7], the second author continued to experiment with large language models, such as the latest Gemini, and found that while for English the problem (mostly) seemed to be solved,3 for lower-resource languages problems remained, and even fine-tuning or in-context learning with many-shot examples did not completely fix them.

For high resource languages like English, the model would have been exposed to potentially thousands of examples of number readings, which brings up the problem of how much data a model should need in order to learn to read numbers. As Sproat [4] pointed out, humans do not learn to read numbers by being exposed to thousands of examples. Rather they learn the basic numbers, learn to count from 1 to 100, are exposed to a few larger numbers and their construction and given that, and possibly some special targeted training, learn the number name system of their language. A good model of the amount of data that a model should need in order to learn number names is the kind of grammatical information that is given on sites such as Omniglot, which gives grammatical information for number systems, among other things. The site gives the basic words along with examples of complex constructions (e.g. how to form decade plus unit combinations, or multiples of thousand). While this is not always the case, it is frequently true that this is all the information one needs in order to be able to read numbers in the language. So a model that mimics humans would have enough ‘smarts’ to be able to make use of just that amount of information, and do a near perfect job of reading numbers that it had not seen. Finite-state ‘learning’ models such as those presented in Gorman and Sproat [2]; Ritchie et al. [3] were able to do this since they incorporated prior knowledge about the domain (though human expertise was still needed to write various linguistic fix-up rules). But in the second author’s experience, this capability eluded LLMs.

Until now.

Part of the problem with testing LLMs on this domain is that, even for low-resource languages, we cannot be sure what data the system will have seen. To circumvent that issue, we invented six constructed languages that share a common base vocabulary, but differ in details of how number names are built, showing a range of complexity in number name formation that is reflective of what one actually finds in number-name systems. In all experiments we focus on number names between 1 and 999,999 and so the discussion will be limited to this range. All of the data and code for constructing these languages, the prompts used for the LLMs, and the results reported here can be found at https://github.com/SakanaAI/NumberNames.

These constructed languages are as follows:

  1. Neoferulian: The simplest, has words for 1–9, 10, 100 and 1000. All complex number names are constructed by sums of products of these.

  2. Ferulian: The same as Neoferulian, except that there are also morphologically unpredictable words for the teens and decades—more or less the same situation as English.

  3. Continental Ferulian: Like Ferulian, but has the same decade-unit reordering as is found in modern German and Dutch, and earlier forms of English (e.g. four and twenty).

  4. Archiferulian: Like Ferulian, but with some additional sandhi rules between decades and units.

  5. Lurefian: Like Ferulian, but with reordering of multipliers and multiplicands in a way reminiscent of Igbo and some other West African languages, where 1,000 is one thousand but 2,000 is thousand two. See, e.g., https://www.omniglot.com/language/numbers/igbo.htm.

  6. Archilurefian: Like Lurefian, but the same decade-unit flip as with Continental Ferulian and with additional sandhi rules after the word for hundred.

Representative examples of how to read the number 2022 are given below:

  1. Neoferulian: kei kero kei fotik sei.

  2. Ferulian: kei kero keifti sei.

  3. Continental Ferulian: kei kero sei pa keifti.

  4. Archiferulian: kei kero keifti ssei.

  5. Lurefian: kero kei keifti sei.

  6. Archilurefian: kero kei sei pa keifti.

Full details can be found in the GitHub repository.

For many-shot prompting, we provided training examples of the numbers for each language in a JSONL file, including: 1–30, 40, 50, 60, 70, 80, 90, 100, 101, 200, 1,000, 1,001, 10,000, 10,001, 20,000, 100,000, 100,001, 200,000 (though see below). For Archilurefian, 101–110 were also included to show examples of the additional sandhi rule mentioned above.

We experimented with two versions of the Claude model family, namely Sonnet 4.5 (dated 2025-09-29), and the most recent version of Opus, namely 4.8, released May 28, 2026. Both were accessed via Claude Code (https://claude.com/product/claude-code) using the Claude command-line interface. We tested two conditions: pure reasoning, where the LLM was instructed to come up with its own idea about how the number system worked given the training samples, and then fill out the correct verbalization for a random subset of 500 unseen cases. And coding, where the model was first instructed to write code to implement the number name grammar, and then run that code to produce the output. The 500 randomly chosen held-out examples were the same numbers in all experiments. The LLM was not able to access the correct verbalization and was explicitly instructed not to access the Web.

The results for Sonnet 4.5 are shown in Figure 1a–Figure 1b. They are, as can be seen, pretty poor. For the coding variant, almost none of the numbers are read completely correctly (b), and for the reasoning variant, three of the six languages show very poor performance.

String, word and character error rates for six artificial number name systems across four model configurations

Figure 1. String, word and character error rates for the six artificial number name systems for: (a) Claude Sonnet 4.5 (2025-09-29) reasoning; (b) Claude Sonnet 4.5 coding; (c) Claude Opus 4.8 reasoning; (d) Claude Opus 4.8 coding.

Miraculously, Opus 4.8 fixes practically all of this, achieving 0% errors on four out of five languages, and missing examples only on Lurefian and Archilurefian, the two languages with the Igbo-like multiplier-multiplicand reversal. In fact, when we look at the ‘errors’ Opus makes, in both cases those errors point to a bug in our setup. First, the rule to achieve the Igbo-like reordering evidently had a bug, since rather than just one being ordered before multiplicands like thousand, and all others after, it actually generates forms where any multiplier beginning with the digit 1, premodifies the number: In other words, every multiplier that happens to be spelled with an initial 1—163, 12, 150, and so on—also triggered the exception. For example, for the input 163,080, the hand-built grammar produces the output labeled as ‘Ref’, and Opus predicted the output in ‘Hyp’:

Num:  163080 = MPL 163 x MPC 1000 + RMD 80
Ref:  [eti molot chelfti vido]   kero   telfti
                 MPL             MPC    RMD
          1      100     60   3  1000   80
Hyp:  kero [eti molot chelfti vido] telfti
       MPC             MPL             RMD
       1000     1      100     60   3    80

Here MPL, MPC, and RMD are abbreviations of ‘multiplier’, ‘multiplicand’, and ‘remainder’, respectively. To compound the problem, a second bug was that for just these two languages, examples for 100,000, 100,001 and 200,000 were accidentally omitted from the training—thus depriving the model of a couple of crucial cases that might have guided it to what the grammar was actually producing. But we would argue that what the hand-written grammar is producing would be rather unnatural as a number-name system. A system where just the number one might behave exceptionally as a multiplier is reasonable, and indeed there are many languages in which a one multiplier is treated specially. But one where any multiplier that happens to begin with the digit 1 gets exceptional treatment is, to our knowledge, unheard of. So Opus 4.8’s inferences were in fact perfectly natural. Taking this into consideration, it seems fair to assert that Opus 4.8 performed the task perfectly, for all languages.

Which is pretty amazing.

But at the same time, one has to ask: while the Claude family finally seems to have achieved the stage of ‘grokking’ the number name problem, how does this compare to the human ability to solve the same task? In a refrain that should be familiar by now, humans get by with far fewer resources. For many children, learning to count and learning the number name system of one’s own language involves exposure to just one language, with no data from other languages that could be used to infer the ‘general structure’ of the problem. In contrast, Claude has been exposed, we assume, to trillions of tokens of text in multiple languages, including some texts (such as grammatical resources like Omniglot) that discuss exactly the problem of number name formation. Beyond this, Opus 4.8 is one of the latest frontier models, incorporating (presumably) trillions of parameters, and consuming large amounts of energy, with concomitant carbon emission, during its training.

The problem, then, is solved—at least within the bounds of what the above experiments test. Yet a problem still remains: how can we approach purely neural solutions to limited-domain but constrained problems like this, without such massive resources?

We hope that research on alternative approaches to machine learning that go beyond the transformer-based models that are central to current LLMs will eventually answer that question.

References

  1. [1]Ebden, Peter and Richard Sproat. 2014. The Kestrel TTS text normalization system. Natural Language Engineering, 21(3):1–21.DOI
  2. [2]Gorman, Kyle and Richard Sproat. 2016. Minimally supervised models for number normalization. Transactions of the Association for Computational Linguistics.DOI
  3. [3]Ritchie, Sandy, Richard Sproat, Kyle Gorman, Daan van Esch, Christian Schallhart, Nikos Bampounis, Benoit Brard, Jonas Fromseier Mortensen, Millie Holt, and Eoin Mahon. 2019. Unified verbalization for speech recognition & synthesis across languages. In Proceedings of Interspeech 2019.DOI
  4. [4]Sproat, Richard. 2022. Boring problems are sometimes the most interesting. Computational Linguistics, 48:483–490.DOI
  5. [5]Sproat, Richard and Kyle Gorman. 2018. A brief summary of the Kaggle text normalization challenge. http://blog.kaggle.com/2018/02/07/a-brief-summary-of-the-kaggle-text-normalization-challenge/.
  6. [6]Zhang, Hao, Richard Sproat, Axel Ng, Felix Stahlberg, Xiaochang Peng, Kyle Gorman, and Brian Roark. 2019. Neural models of text normalization. Computational Linguistics, 45:293–337.
  7. [7]Zhang, Yang, Travis M. Bartley, Mariana Graterol-Fuenmayor, Vitaly Lavrukhin, Evelina Bakhturina, and Boris Ginsburg. 2024. A chat about boring problems: Studying GPT-based text normalization. In ICASSP 2024 — 2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 10921–10925.arxiv.org/abs/2309.13426

Paper details

vlnc:W_a2a8ptx7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 4

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents