News for hackers. Stuff that matters.
Re:Generative AI uses more energy on non-English text by vova_hn2 on Saturday November 14, 2026 @11:58AM (#50498551)
I think that switching from fixed token sets to something like H-Nets [0] (discussed on HN [1]) can at least improve on this issue, if not solve it completely.

Because, right now the main issue is that some languages are tokenized much more efficiently than others and it is a zero sum game, since there are a limited number of tokens and by adding tokens that are needed for one language you will inevitably have to remove tokens for another language and therefore decrease efficiency for it.

[0] https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1

[1] https://news.ycombinator.com/item?id=50278253

Re:Generative AI uses more energy on non-English text by cubefox on Saturday November 14, 2026 @12:24PM (#50498811)
Exactly. Currently LLMs use a fixed tokenizer which works best for English and (to a lesser degree) Western languages. The H-Net architecture doesn't use a fixed tokenizer, they use dynamicaly adaptive chunks of bytes, and (in a two-stage setup) chunks of chunks of bytes.

However, they (Cartesia) haven't yet published a technical report on their new version of H-Net, and it is unclear if they will.

Re:Generative AI uses more energy on non-English text by brainwad on Saturday November 14, 2026 @12:47PM (#50499073)
It's not optimised deliberately for English, right? It's just that byte pair encoding naturally favours English and other Latin languages because they are dominant in the training data.

Even if you use bytes only, Unicode is biased towards English and other Latin languages, too.

Re:Generative AI uses more energy on non-English text by cubefox on Saturday November 14, 2026 @12:55PM (#50499159)
They are typically optimized for English, for example, they often use rules for English contractions. See this thread: https://x.com/_albertgu/status/2113687798826111283

I don't know whether European languages work inherently better with tokenizers, but I don't see why they would.

Re:Generative AI uses more energy on non-English text by sznio on Saturday November 14, 2026 @12:56PM (#50499162)
logographic languages still win I guess, a 4-byte chinese character beats a n-character English word for that same concept.

but yeah, anything alphabetic yet not latin gets the worst tradeoff.

Re:Generative AI uses more energy on non-English text by brainwad on Saturday November 14, 2026 @01:23PM (#50499403)
Most CJK characters are 3 bytes in UTF-8. But then most English words translate to more than one character, so 5 bytes might be more realistic (apparently Chinese averages 1.6-1.7 characters per word).
Re:Generative AI uses more energy on non-English text by vova_hn2 on Saturday November 14, 2026 @01:02PM (#50499210)
> It's just that byte pair encoding naturally favours English and other Latin languages because they are dominant in the training data.

Not really, because I don't think anyone use the whole training dataset to train the tokenizer.

From my brief (disclosure: claude-assisted [0]) internet search I learned that typically they use from tens to hundreds GB of data to train the tokenizer. Sometimes it is hand-curated, sometimes it is randomly sampled.

Of course, you can deliberately choose how much text in each language do you include in the training set for the BPE and deliberately optimize for (or against) a specific language.

[0] https://claude.ai/share/da277189-f23a-4071-bd9f-2d75fe6aa779

Re:Generative AI uses more energy on non-English text by Phemist on Saturday November 14, 2026 @01:04PM (#50499228)
Ive always thought that Serbian is the worst off out of all European languages. Both cyrillic and latin script is widely used. Latin also has a naked variant, where all diacritics are left out (which is especially prevalent online). Also, it is non-EU, so initiatives like [0] will only indirectly help with representation (croatian being the same language, but it does not use cyrillic script)

[0] https://digital-strategy.ec.europa.eu/en/news/commission-wel...

Re:Generative AI uses more energy on non-English text by numpad0 on Saturday November 14, 2026 @02:41PM (#50500083)
[delayed]
Re:Generative AI uses more energy on non-English text by brainwad on Saturday November 14, 2026 @04:08PM (#50500836)
It is desirable for all alphabets/abjads/abugidas/syllabaries, not just Latin. Chinese is rather the special case of a human language with very high character inventory and hence low character/word ratio.
Re:Generative AI uses more energy on non-English text by stephantul on Saturday November 14, 2026 @01:15PM (#50499325)
Non-latin languages also take more bytes due to utf-8 though
Re:Generative AI uses more energy on non-English text by ben_w on Saturday November 14, 2026 @01:19PM (#50499367)
Are bytes relevant? These things are billed by the megatoken, not the megabyte.
Re:Generative AI uses more energy on non-English text by paulryanrogers on Saturday November 14, 2026 @02:02PM (#50499771)
If tokens use UTF-8 bytes then it could be a factor.
Re:Generative AI uses more energy on non-English text by ben_w on Saturday November 14, 2026 @02:17PM (#50499889)
A token is an index into a dictionary. What the dictionary uses isn't seen, this is why they couldn't count the 'r's in 'strawberry'.
Re:Generative AI uses more energy on non-English text by paulryanrogers on Saturday November 14, 2026 @08:55PM (#50503229)
I was thinking both of input and latent data. Hadn't thought of tokens that way. Thanks for the heads up.
Re:Generative AI uses more energy on non-English text by stephantul on Sunday November 15, 2026 @04:47AM (#50505502)
H net directly operates on bytes. This is what the comment was about and what I was referring to.
Re:Generative AI uses more energy on non-English text by guipsp on Saturday November 14, 2026 @01:26PM (#50499435)
utf8 is just one of the encodings that exist, and is kind of irrelevant at the point it contacts the llm
Re:Generative AI uses more energy on non-English text by stephantul on Sunday November 15, 2026 @04:48AM (#50505504)
No, the model is trained on utf-8, so switching encodings entails a full retrain
Re:Generative AI uses more energy on non-English text by numpad0 on Saturday November 14, 2026 @02:23PM (#50499939)
[delayed]
Re:Generative AI uses more energy on non-English text by lifthrasiir on Saturday November 14, 2026 @05:41PM (#50501758)
I've done my own research on that as a part of my Aqueous [1] archiver, and the conclusion is that the inherent information entropy is about as same (CJK scripts, for example, compresses much better when they are turned into their native character encodings). So a script-aware tokenization should make that irrelevant.

[1] https://lifthrasiir.github.io/aqueous/ (specifically wrt-recons-hangul codec)

Re:Generative AI uses more energy on non-English text by stephantul on Sunday November 15, 2026 @04:45AM (#50505490)
The models the top post refers to are not script aware. This is my point
Re:Generative AI uses more energy on non-English text by geysersam on Sunday November 15, 2026 @12:39AM (#50504315)
Non-latin characters use more bytes due to utf-8. But texts don't necessarily use more bytes because of that. I'd be surprised if, for example mandarin, uses significantly more bytes on average.
Re:Generative AI uses more energy on non-English text by stephantul on Sunday November 15, 2026 @04:46AM (#50505497)
This is incidental and a cherry pick. Cyrillic and greek are regular alphabets, and cost two bytes per character instead of one.