by cupofjoakim · 7mo ago · 0 comments
caveman[0] is becoming more relevant by the day. I already enjoy reading its output more than vanilla so suits me well.
This seems to be a common thread in the LLM ecosystem; someone starts a project for shits and giggles, makes it public, most people get the joke, others think it's serious, author eventually tries to turn the joke project into a VC-funded business, some people are standing watching with the jaws open, the world moves on.
Honestly part of me still thinks this is a satire project but who knows.
It also doesn't help that projects and practices are promoted and adopted based on influencer clout. Karpathy's takes will drown out ones from "lesser" personas, whether they have any value or not.
I hope you're right, but from my own personal experience I think you're being way too generous.
Which means yes, you can actually influence this quite a bit. Read the paper “Compressed Chain of Thought” for example, it shows it’s really easy to make significant reductions in reasoning tokens without affecting output quality.
There is not too much research into this (about 5 papers in total), but with that it’s possible to reduce output tokens by about 60%. Given that output is an incredibly significant part of the total costs, this is important.
I’m fairly certain that in a few more releases we’ll have models with shorter CoT chains. Whether they’ll still let us see those is another question, as it seems like Anthropic wants to start hiding their CoT, potentially because it reveals some secret sauce.
The one which maximizes ROI will not be the one you rigged to cost more and take longer.
It isn't free either - by default, models learn to offload some of their internal computation into the "filler" tokens. So reducing raw token count always cuts into reasoning capacity somewhat. Getting closer to "compute optimal" while reducing token use isn't an easy task.
I work on a few agentic open source tools and the interesting thing is that once I implemented these things, the overall feedback was a performance improvement rather than performance reduction, as the LLM would spend much less time on generating tokens.
I didn’t implement it fully, just a few basic things like “reduce prose while thinking, don’t repeat your thoughts” etc would already yield massive improvements.
(No, none of this changes that if you make an LLM larp a caveman it's gonna act stupid, you're right about that.)
And
I think a lot of people echo my same criticism, I would assume that the major LLM providers are the actual winners of that repo getting popular as well, for the same reason you stated.
> you will barely save even 1% with such a tool
For the end user, this doesnt make a huge impact, in fact it potentially hurts if it means that you are getting less serious replies from the model itself. However as with any minor change across a ton of users, this is significant savings for the providers.
I still think just keeping the model capable of easily finding what it needs without having to comb through a lot of files for no reason, is the best current method to save tokens. it takes some upfront tokens potentially if you are delegating that work to the agent to keep those navigation files up to date, but it pays dividends when future sessions your context window is smaller and only the proper portions of the project need to be loaded into that window.
However in deep research-like products you can have a pass with LLM to compress web page text into caveman speak, thus hugely compressing tokens.
Prediction works based on the attention mechanism, and current humans don't speak like cavemen - so how could you expect a useful token chain from data that isn't trained on speech like that?
I get the concept of transformers, but this isn't doing a 1:1 transform from english to french or whatever, you're fundamentally unable to represent certain concepts effectively in caveman etc... or am I missing something?
Okay maybe not exactly caveman dialect, but text compression using LLM is definitely possible to save on tokens in deep research.
folks could have just asked for _austere reasoning notes_ instead of "write like you suffer from arrested development"
My first thought was that this would mean that my life is being narrated by Ron Howard.
Or was it ice tea?
Here was my experience…
I download and run the Mac application, which starts installing a bunch of things. Then the following happens without advance notice:
- Adds background item(s) from "Idiosyncratocracy BV"
- Downloads over 2 GB of files
- Pollutes home with ~/.headroom directory
- Adds hook(s) to ~/.claude/hooks/
- Modifies your ~/.claude/settings.json to add above hook(s)
… and then I see something in the settings that talks about creating an account. That's when I realized that this is a paid product, after all of the above has happened.
Headroom seems to use https://github.com/rtk-ai/rtk under the hood. What does Headroom offer over the actually-free RTK? Who knows.
At this point I have had it with this subterfuge — I immediately trash the app and every related file and folder I can find, of which there are many. Hopefully I got them all, but who knows. There should have been an easy way to uninstall this mess, but of course there isn't.
The lack of transparency here is really concerning.
I did want to call out that headroom is not based on RTK - it includes RTK sure, but headroom cli has a lot more going on under the hood. For more see https://github.com/chopratejas/headroom
- Remove hook from `~/.claude/settings.local.json
- rm -rf ~/.headroom
- rm ~/.claude/hooks/headroom-rtk-rewrite.sh
- launchctl unload ~/Library/LaunchAgents/Headroom.plist
- rm ~/Library/LaunchAgents/Headroom.plist
- rm -rf ~/Library/Preferences/com.extraheadroom.headroom*
- rm -rf ~/Library/Caches/com.extraheadroom.headroom
(I work at Edgee, so biased, but happy to answer questions.)
Caveat: I didn’t do enough testing to find the edge cases (eg, negation).
I wonder if there’s a pre-processor that runs to remove typos before processing. If not, that feels like a space that could be worked on more thoroughly.
Umm... a few words can be combined in a rather large number of ways.
Punctuation is used a lot. Why not just remove all the periods and commas and see what happens? Probably not pretty
It nicely implemented two smallish features, and already consumed 100% of my session limit on the $20 plan.
See you again in five hours.
This is mainly driven by reduced reasoning token usage. It goes to show that "sticker price" per token is no longer adequate for comparing model cost.
I am finding my writing prompt style is naturally getting lazier, shorter, and more caveman just like this too. If I was honest, it has made writing emails harder.
While messing around, I did a concept of this with HTML to preserve tokens, worked surprisingly well but was only an experiment. Something like:
> <h1 class="bg-red-500 text-green-300"><span>Hello</span></h1>
AI compressed to:
> h1 c bgrd5 tg3 sp hello sp h1
Or something like that.
My (wrong?) understanding was that there was a positive correlation between how "good" a tokenizer is in terms of compression and the downstream model performance. Guess not.
Have you tried just adding an instruction to be terse?
Don't get me wrong, I've tried out caveman as well, but these days I am wondering whether something as popular will be hijacked.
Then the next month 90% of this can be replaced with new batch of supply chain attack-friendly gimmicks
Especially Reddit seems to be full of such coding voodoo
Well, we've sacrificed the precision of actual programming languages for the ease of English prose interpreted by a non-deterministic black box that we can't reliably measure the outputs of. It's only natural that people are trying to determine the magical incantations required to get correct, consistent results.