Better HN
topnewbestaskshowjobs
Log inSign up

BenoitEssiambre

3,836 karma · joined Nov 21, 2009 (17y ago) · 861 submissions

Submissions

comment 1d ago · link · parent

Notice that LLMs are increasingly generating dense jargon difficult to read for humans. Training on difficult problems and targeting perplexity would cause the language it uses to converge towards something better at reasoning about these complex problems than what humans might be used to, in some way, that's superhuman reasoning emerging.

comment 1d ago · link · parent

If you like perplexity, I've long advocated for using equivalent ideas when evaluating code and engineering quality. https://benoitessiambre.com/entropy.html

It's fundamental to anything trying to be smart.

The fact that LLMs explicitly target this measure is one reason they are getting good at engineering and architecture, sometimes better than humans who think they know better but lean on engineering fads instead of more mathematically supported (but more nuanced and probabilistic) principles like entropy/perplexity.

comment 4w ago · link · parent

My impression is that there's only a small area at the beginning of the context window that is artificially boosted, after that DLM becomes important.

Full disclosure: this is info I got from Claude. I was discussing DLM ideas with it a while back and while it mostly confirmed (maybe sycophantically) my ideas, it also said that rather than a pure decaying distribution effect with distance, it was U shaped because of the small boost at the beginning of the context window.

comment 4w ago · link · parent

It's nice that this article goes beyond the "context too long" scapegoat diagnostic.

There is more to it than just reducing content in context. LLMs attention mechanism works by finding graphs of related words and concepts and it works best when the relevant relationships are close together in the text. Length matters but how well the information is organized matters as well.

It's useful to be familiar with the concept of dependency length. The two sentences in this image ( https://benoitessiambre.com/img/dependencylength.png ) have the same words and same meaning but sentence C is organised to minimize the distance between related words.

This can also apply to paragraphs and sections. Ordering them so that related information is recursively closer together, helps AIs think better (also helps humans, Dependency Length Minimization, DLM is an idea from psycho-linguistics).

This is one reason progressive disclosure and sub agents are important. Including unnecessary information spreads apart surrounding information and makes it more difficult for AIs to figure things out.

For eg. optimizing skills, it can help to put more important information at the bottom of a skill. Usually after a skill is loaded, the AI will start “thinking”, talking to itself to try to reason through a problem. The thinking block will have an easier time considering the text closest to it, the last part of the skill, than information farther up.

Thinking blocks can produce a lot of text (a lot of it often hidden from users) that also spreads information apart. Sometimes, when an early instruction is still relevant but there’s been a lot of thinking and discussion added to the context since, it’s worth repeating a summary the early information ( keeping in mind that too many reminders can also spread other information apart ). I think however, LLMs are tuned to overweight very early information so that they don't disregard system prompts. You might be able to exploit this by placing some important facts near the very beginning of a conversation.

If you've ever written compression algorithms where repeated blocks are referenced instead of encoded, you'll be familiar with how related information being clustered allows for better compression. It's another example of the parallels between intelligence and compression and it hints at the information theoretic aspect of DLM.

comment 1mo ago · link · parent

Is that practice illegal? I've never gotten a discount for using cash or debit.

That is the crux of the problem though. By adding fees and then contractually forbidding merchants from passing those fees on to credit card customers, it is forcing non card users to pay for card users fees since the fees are embedded in prices. Plus they're even giving card users kickbacks in the form of points. So non credit card users end up paying more credit card fees than credit card users which is nonsense.

comment 1mo ago · link · parent

In theory:

1) This would make stocks worth a lot more and produce more dividends so everyone owning stock would get money to spend.

2) Governments effectively indirectly own ~40% of all business profits via corporate taxes, capital gains taxes, dividend taxes, sales taxes. So governments would also have more revenues to spend/redistribute (this depends on governments not wasting it, spending it on wars etc.)

comment 2mo ago · link · parent

Now that's passing the Turing test for real.

comment 2mo ago · link · parent

It doesn't have to be arbitrary. The Kolmogorov/Solomonoff definition, that the simpler models are the shortest programs that can generate what we know about a domain, measured in bits, have a solid mathematical foundation, based on information entropy and even thermodynamic entropy if you cross over into computer hardware.

Entropy is a metric targeted in LLM training which is likely why LLMs are overfitting less and less as they improve and why they subjectively seem to obey Occam's razor.

There's lesson for software engineering in general behind that kind of simplicity. https://benoitessiambre.com/entropy.html

comment 2mo ago · link · parent

Reducing entropy or cross entropy fits intuition and theory and it's what LLMs target during training in order to model languages, to model the world and to enable calibrated reasoning across uncertainty and gray areas. I think you can use entropy reduction as a good definition of simplicity even though it's not always "simple" to understand what that entails.

https://benoitessiambre.com/entropy.html

comment 3mo ago · link · parent

The benefits go beyond reducing token consumption. Compact contexts also foster better reasoning, enable intelligence across more layers if you can load them in a single context, and writing software to enable this, results in more correct software, software that _generalizes_, that has higher probability of being correct not just for tested cases, but for the interpolations and extrapolations of these cases.

Refactoring towards good abstractions is more powerful than people realize. There's information theoretic bayesian math to back this up.

It's a bit of a divine coincidence that software that is more economically and energy efficient to process and run tends to also be more correct.

It's all about reducing the entropy of your code. https://benoitessiambre.com/entropy.html

comment 5mo ago · link · parent

Looks like a good model (sir). Costs are getting out of control though. 2x Opus and non-metered usage going away. We're quickly approaching the cost of a human salary for normal usage.

comment 5mo ago · link · parent

Attempts to impose always small PRs might get me to argue that optimal change sizes are normally distributed.

If you look at how simulated annealing (https://en.wikipedia.org/wiki/Simulated_annealing) is done, while the average size of jumps shrinks in the wikipedia annealing animation, there's always _some_ probability of large jumps in the optimized metropolis-hasting process as the jumps are still normally distributed just with shrinking variance over time.

"[I split a large PR into multiple] But also, I could not have developed the quotas feature in real life in that artificial order. The grants structure evolved as my understanding of pricing and quota enforcement evolved. The original quota semantics sucked, so I rewound back to the data structures, which affected how the pricing got imported, which changed how the quotas were stored. The code reviewers didn't have to worry about that but I did."

This is also one way LLMs are fundamentally different from prior language models which worked by searching over parse trees top-down or bottom up trying to fit independently evolved pieces. LLMs lay everything out in a large matrix of randomized weights and try to slide everything into place jointly.

This means organizing all the pieces well into a single context window unlocks a special AI power: to efficiently jointly converge these pieces to fit better with each other (like a smart human having loaded up on context would do). Splitting the work into multiple PRs or contexts might stymie this powerful aspect of AI.

It is a challenge and somewhat of an art to pack and organize the information in a context window to exploit this type of reasoning LLMs are made for.

13.

The software industry: annealing, but wrong(apenwarr.ca ↗)

4 points · by BenoitEssiambre · 5mo ago · 1 comment

14.

The Era of Compounding Language(benoitessiambre.com ↗)

2 points · by BenoitEssiambre · 8mo ago · discuss

comment 8mo ago · link · parent

If you're at a place that rewards complexity, you might be able to pitch simplicity as something that to get right, requires deep understanding of complex information theoretic concepts and deep understanding of ontological knowledge about the domain (it helps that this is true https://benoitessiambre.com/simple.html ). You can talk about the Bayesian Occam's Razor ( https://benoitessiambre.com/abstract.html ) and about minimizing the entropy of code ( https://benoitessiambre.com/entropy.html ), of tests ( https://benoitessiambre.com/integration.html ) and even of infrastructure ( https://benoitessiambre.com/pgcentrism.html ).

comment 8mo ago · link · parent

One underrated reason that CLIs are often better than MCP is that Unix tools seem to have close to information theoretically optimal layout to enabled reasoning. They are concise, in the Solomonoff/Kolmogorov sense.

This means that the related parts in the inputs and outputs are recursively as close together as possible.

There's a reason humans don't type and read http/json on the command line. It's hard to read and reason over that type of syntax. json is made to be easy to parse for simple algorithms, not meant to organise info in an easy to reason about layout.

AIs benefit from the easy to reason about layout. It's not just about being able to fit in the context window but about the contents of that context window being organized such that the attention mechanism doesn't have to stretch itself out trying to connect far apart related pieces. It doesn't have to try to match brackets to disambiguate information. CLIs tend to use formats that are obvious at a glance for humans and LLMs alike.

It's about the entropy of the formats. https://benoitessiambre.com/entropy.html

comment 9mo ago · link · parent

Yeah I always wondered if I ever switched to solar panels, would there be a way to accumulate heat to be used in the Canadian cold months that have little sunlight? The closest I found was electric thermal storage based on heating bricks. They can accumulate more energy than water since they can go to higher temperatures. For example these say they go to 1300°F or 700°C https://steffes.com/ets/roomheater/ . They don't seem to have large models that could heat a house for months however.

comment 9mo ago · link · parent

This matches my intuition. Systematic misalignment seems like it could be prevented by somewhat simple rules like the hippocratic oath or Asimov's Laws of robotics or rather probabilistic bayesian versions of these rules that take into account error bounds and risk.

The probabilistic version of "Do No Harm" is "Do not take excessive risk of harm".

This should work as AIs become smarter because intelligence implies becoming better bayesians which implies being great at calibrating confidence intervals of their interpretations and their reasoning and basically gaining a superhuman ability for evaluating the bounds of ambiguity and risk.

Now this doesn't mean that AIs won't be misaligned, only that it should be possible to align them. Not every AI maker will necessarily bother to align them properly, especially in adversarial, military applications.

comment 9mo ago · link · parent

Wouldn't this have been more readable with a \n newline instead of a pipe operator as a seperator? This wouldn't have made the prompt longer.

comment 10mo ago · link · parent

Countries are waking up to the danger of having the US in a position to take control of most of their computers and phones via software updates.

Open source solutions like https://en.wikipedia.org/wiki/GendBuntu could become more prominent. There's even interesting non us hardware options like https://starlabs.systems/

The US has had an unfair advantage in tech, defense, science and finance because it hosted the global hubs of the free world. This attracted eye-watering amounts of money to places like SF and NY. With the newfound isolationism, tariffs, threats etc. reducing the viability of hosting the global hubs, there's massive opportunities opening in europe and elsewhere, especially if governments can help bootstrap these sectors with efforts like these.

21.

The Unreasonable Effectiveness of Failure(benoitessiambre.com ↗)

4 points · by BenoitEssiambre · 10mo ago · discuss

comment 10mo ago · link · parent

It could be just an owner or a board or directors at the top. It's possible the CEO will be automated for some companies.

comment 10mo ago · link · parent

I also mean Hacker News

comment 10mo ago · link · parent

AI CEOs are coming.

comment 10mo ago · link · parent

Its founder lives in europe so there's that.

comment 10mo ago · link · parent

It is a sad reality. The US has recently threatened to annex Denmark and Canada. Some of us are suddenly keenly aware that the US is in a position to take control of most of our computers and phones via software updates.

Open source is the global alternative you're looking for. There's even interesting hardware options like https://starlabs.systems/

The US also has had an unfair advantage in tech/defense and finance because it hosted the global hubs of the free world. This attracted eye-watering amounts of money to places like SF and NY. With this newfound isolationism, tariffs etc. reducing the viability of hosting the global hubs, there's massive opportunities opening in europe and elsewhere.

comment 10mo ago · link · parent

For consumers, these computers look interesting: https://starlabs.systems/

comment 10mo ago · link · parent

I know doctors who've worked with Marrero and they seem to be split in their opinion. They seem to agree he tends to be "excessively thorough", frequently sending tests to labs across the world. This makes him liked by desperate patients with potentially incurable diseases who want someone to "do something".

They are split on whether his thoroughness is just fueling false hopes and sending patients down unnecessary rabbit holes or if he could have potentially identified a real issue.

comment 10mo ago · link · parent

Right but the majority of people holding significant amounts of capital is retirees or people saving for retirement. There is a small minority of people wealthy for other reasons. It doesn't really make sense to strongly associate these people to "capital" since they are a small minority of capital holders.

comment 10mo ago · link · parent

Do you have a link? What I've seen in most discussions is obscuring of the fact that the majority of "capital" is directly or indirectly retirees or people saving for retirement. Those in the top 5% wealthiest often need to survive on that wealth for decades so it's not as if they have per year spending power that is that high. You too will be at your top percentile wealthiest of your life when you are nearing retirement.
12345
29