logoalt Hacker News

dmos62 • today at 8:56 AM • 16 replies • view on HN

What are peoples' takes on why LLMs struggle to write things in a human-readable way? I've watched Astra and the like write PR descriptions that are middle-school level: as if it struggles to distinguish what it knows (having read the code, having done the debugging) and what someone who hasn't read the code and hasn't participated in the debugging (his target audience) knows. It'll make references to parts of the solution, or of the problem being solved, without contextualizing it, making the references useless, serving only to add confusion to the text.

Terence Tao's take was that LLMs don't understand what is trivial (in a proof, for example) and what is interesting and novel: it gives everything equal weight, or, in Tao's paraphrased words, the LLM will talk at length about something trivial and then write only a single sentence about something novel.

I wonder what peoples' intuition about this is.


Replies

TeMPOraL • today at 10:59 AM

> Terence Tao's take was that LLMs don't understand what is trivial (in a proof, for example) and what is interesting and novel

That, but less objective and more subjective: the LLM doesn't know what you (or your implied audience) know. It may understand which things are more and less important in a structural, objective sense, but it can't read your mind to correct for what you already know, what areas you're an expert with, and what parts are new / unfamiliar to you. So, obviously, you need to tell it.

Once you correct for that, and give the model the missing information, it gets much better in my experience. The correction is usually as simple as a single extra sentence in the prompt: "skip explaining XYZ, I wrote the damn thing, focus on ABC", or (my favorite, a variant of that I use at work all the time) "ELISWE - Explain Like I'm a Senior Software Engineer who just joined $company - assume I know the problem space in general, but have no first clue about conventions, libraries and other idiosyncrasies of $company".

(I have ELISWE on speed dial, and some skills with similar specific instructions - for when I need a step-by-step proof of a claim, or conversely, for when I need a judgement and key info up front, so in a typical case I don't need to read anything beyond the first sentence.)

With that out the way, and perhaps countering some conventions from the system prompt / default set of skills that I don't agree with, I rarely have a problem with readability.

Then again, I believe "Claudisms" were the peak of LLM legibility and I never got what people are complaining about there (to me it felt like not being able to deal with highly proficient use of English language), so my experience may not generalize well :).

➕ show 1 reply
RugnirViking • today at 9:14 AM

imo its because of how they are training - they increasingly are learning one way or another that ALL of their output is being read, because in their training environment they are evaluated by other LLMs

so referring casually to some function name or property from a random file in the code or some random term thats only defined on one line of a random .md file it wrote or found on some confluence page is fine because the evaluating agent can go read it in ms and can hold 200k tokens in context. They aren't taught an intuitive grasp of what a human "context window" looks like, or the importance of clear writing for human comprehension

There is also the separate problem of deterministic scripts in training, which then reward the longest possible output, because if you dont know what the script is looking for you might as well throw as much as possible at the wall to have the highest chance of hitting what it wants

The above is sort of the "common wisdom" I have found regarding this issue over the last year on here and amongst devs I work with. However I'm not sure its the whole story because tbh agents have quite poor mental models of how other agents will behave, too. If you've ever read how they write to each other they constantly repeat the same warnings to each other that they would have followed anyway

➕ show 3 replies
charlieyu1 • today at 10:28 AM

I think it is more to do with Lean. I tried formulating proofs of something simple. After a couple of hours I give up. Wasting all the time wrangling all the trivial things and trying to guess which Mathlib theorem/tactics to actually use.

I was taught that spaghetti code = bad code, and Lean code was all the spaghetti. I don’t understand why they pick a verification language that is completely unreadable for humans.

MartinodF • today at 11:11 AM

Try the Gemini 4 models, Neon in particular, you'll be delighted

ehnto • today at 9:17 AM

My intuition is that the weights, or density of the area around the novel finding is quite light, and sparse of points. It will tend to be able to find many paths through the densely populated well-known space, but there isn't much happening near the novel space (else it wouldn't be novel) so it doesn't spend time there, nor is it strongly pulled toward it for any reason.

My other thought is that because models rely on reinforcement training, the human operator will be the ceiling of knowledge to some extent. They will necessarily reinforce things they know, or sound very plausible, and disuade things that sound farfetched or like gibberish but could possibly be a novel insight.

nilsherzig • today at 9:41 AM

In general they seem to be pretty bad (relatively) at the whole theory of mind stuff

throwawayffffas • today at 10:12 AM

With a 1M context if not more when used internally reading is cheap. It can just hold a lot more things in context than a human, so they are overly expressive.

origini • today at 9:19 AM

I do think this will be solved one way or the other.

In simplest way would be that humans ask chatbots to explain certain paragraphgrs which then gets saved as a signal for training.

So over time the LLM will become more natural.

But its so cheap to let an LLM clarify a section, i don't think it might be a real issue, if it means we sill need humans to steere it, might be a good thing

woggy • today at 8:58 AM

Someone once described it to me as LLM autism

➕ show 1 reply
tananan • today at 10:38 AM

The answer seems really simple to me: they are not (sufficiently) trained for it.

DevEx (or MathEx, if you will) is just not that high on the list of priorities of frontier labs.

This seems like it would be temporary.

dools • today at 10:50 AM

There is no understanding. The reason they write things that refer to obscure elements of text in the context window is because there is no sense of past or present. The entire context window is fed into a matrix multiplication engine and out pops the next most likely token. It’s like if you were taking about something with someone for about 30 seconds and you mentioned a case of diamonds then within the next 30 seconds you said “the case” you and the person talking to you would both know what you were referring to.

Well for an LLM the whole 500k token context is an instantaneous input.

gib444 • today at 10:10 AM

> What are peoples' takes on why LLMs struggle to write things in a human-readable way?

Same reason McDonald's don't serve you healthy food: it's antithetical to their financial interests

I use the McDonald's analogy a lot. It's excessive calories (too many lines of code), not good at meeting macros (technical requirements), addictive etc

brazzy • today at 10:29 AM

> as if it struggles to distinguish what it knows (having read the code, having done the debugging) and what someone who hasn't read the code and hasn't participated in the debugging (his target audience) knows.

The thing is: this is something that most people are also really, really bad at.

conartist6 • today at 11:14 AM

Word shitter shits words. Not alive. No reason to care. Only continuous shitting

➕ show 1 reply
twotwoone • today at 9:19 AM

[dead]

nomilk • today at 10:14 AM

> What are peoples' takes on why LLMs struggle to write things in a human-readable way?

This assumes 17m isn't already elegant. An equivalent human proof in Lean may be 50m lines.