Hacker News new | ask | show | jobs
by remus 12 days ago
I think you could make a similar point about compilers, including the ability to hide secondary information in the output, yet people are generally very happy to use compilers without reading the output in any detail. In theory a compiler is a deterministic program, but in practice I would offer that the output might not feel very deterministic to most users, who would struggle to understand why a compiler output a particular sequence of instructions for a given input.

Perhaps in the same way we have confidence in compiled code we can build out tools and techniques to gain confidence in LLM-written code.

2 comments

I'd say there is a big difference. I can always backtrack why a compiler produced a particular binary code. I have done this a few times. If I can't do this, I wouldn't trust the compiler. This is generally done by understanding each of the steps the compiler takes. You can't do the same for LLM output, as noone has the understanding what steps did it take to produce the output. With a lot of effort, you could make the LLM output reproducible, but the process would still not be understandable.
Compilers are often constrained to optimizations that are logically equivalent, for example bitshifting an unsigned integer is equivalent to multiplying or dividing it by the same power of two.

Given the stochastic nature of LLMs, it's both harder to prove a result is objectively correct and harder to coerce them to faithfully follow your instructions.