Live data from Hacker News

Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

blog.jetbrains.com

31–40 of 44 posts

Re: Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

#31
post #18

Why not Mandarin Chinese? Logographic is pretty compact. Also, this really should be more precise that it’s talking about neo-caveman. Legit caveman no speak English.

Heh, deepseek is known to randomly switch to Chinese output for no reason at all. As I was using Claude chat as a poor man’s reviewer, I just pasted it over and Claude interpreted it without skipping a beat and responded in English.

Re: Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

#33
post #18

Why not Mandarin Chinese? Logographic is pretty compact. Also, this really should be more precise that it’s talking about neo-caveman. Legit caveman no speak English.

Using Chinese could lead to a small amount of gains, but it's nowhere near as drastic as you'd think

Putting aside the question of whether English's larger training corpus would be a dimension of quality: content is "tokenized" before the model sees it. The "~4 English chars/token" rule isn't a strategy to optimize around because in practice, many English words become one token, the same way Chinese words do.

"I love you" and "我爱你" both tokenize down to 3 tokens. So no efficiency gains from a Chinese translation. "Telephone" is just one token, and "电话" (Chinese word for telephone that spans 2 characters) also gets condensed into one token. Sometimes there are minor gains, like "经济" being one token but "economy" being two. But it doesn't end up materializing in the gain you'd hope for by increasing meaning-per-character.

You can play around with OpenAI's tokenizer here. Great for getting particular about how to save tokens in prompt and tool definitions https://platform.openai.com/tokenizer

Re: Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

#34
Say caveman, cavemen ... unheard[0] cavewoman. No good. Bad.

When Sabrewulf[1] come, some fight, some run ... some run in cave. No good. Bad.

Token cost. Seem smart less token. But already discount. No profit.

Use less token? Price go up.

What money?

You should be bothered by the persistent & popular use of the "caveman" terminology and the myth surrounding it. However, from a dedicated amateur linguistic point of view, the "caveman language" that so many people seem to know by default is kind of remarkable. Perhaps it points to (it doesn't) some deeper, ancient understanding.

[0] this is a joke because the caveman myth comes with a lot of misogynistic baggage and you should have a problem with it. Also because I made you read this. (this is not an explanation of the joke itself, that's up to you)

[1] the sabre-tooth cat is a trope that over-represents its relationship with people. I mean it's extinct, but it was around "back then", right?

Re: Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

#37
post #18

Why not Mandarin Chinese? Logographic is pretty compact. Also, this really should be more precise that it’s talking about neo-caveman. Legit caveman no speak English.

Heh, deepseek is known to randomly switch to Chinese output for no reason at all. As I was using Claude chat as a poor man’s reviewer, I just pasted it over and Claude interpreted it without skipping a beat and responded in English.

My dad told me he had a German math professor in college that would sometimes have to pause to think while writing out equations on the board and then turn around to a room full of confused students to ask how long he had been speaking German to know how far back in the lecture to restart in English. Again. He was known for doing it. Maybe we can anthropomorphize deepseek similarly??

Re: Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

#39
post #29

Earlier quoted context omitted.

Actually, when you translate Chinese literally word for word, it sounds a lot like caveman English. 你不去,我也不去 You no go, I also no go 今天这里人很多 Today here person very many 下雨就不去 Fall rain then no go

If you translate English literally (a very analytical language) to a very synthetic language (eg. Latin), it also sounds like caveman spreak

Classical latin is not very order constrained because it embeds so much grammar morphologically; it could aound very much like english or not at all like english, depending on the author's choices.

Vulgar latin does correspond to modern romance languages (and english) much more closely.

Re: Does Speaking to Agents Like Cavemen Save 65% of Tokens? We Test

#40
post #18

Why not Mandarin Chinese? Logographic is pretty compact. Also, this really should be more precise that it’s talking about neo-caveman. Legit caveman no speak English.

I cannot tell whether you were really serious but this actually could be an interesting study: same task, same procedure, only the language and writing system is different: English vs Chinese vs Korean vs ...

Since the information density is about the same in all (spoken) languages, there shouldn't be much of a difference. But maybe one writing system is better suited for LLMs.

Post reply on HN