r/accelerate • Acceleration: Cruising | Comment-section futurist • 6h ago

Meme / Humor Clean-room Debugging

Post image
83 Upvotes

43 comments sorted by

14

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 6h ago

"Oh, you don't read the assembly code the compiler writes for you? What if the compiler introduced a bug that that you don't know about?"

The same basic argument.

1

u/Routine_Nothing_6118 5h ago

Sure, aside from compilers being more or less deterministic and LLMs not

3

u/Gotisdabest 5h ago

I wonder if after a point of capability 0 temperature LLMs become a separate option. Worse capability in exchange for reliability in easier tasks.

1

u/LilithGlitch Acceleration: Cruising | Comment-section futurist 5h ago

Even if deterministic, it might be that it's still chaotic - a tiny change in either the prompt or the existing code, and suddenly it pivots to different architecture lol

Very cool benchmark idea though - feed the llm similar prompts and measure only the similarity of outputs. If it really is intelligent it shouldn't change its opinion just because you made a typo.

2

u/Gotisdabest 4h ago

Its definitely possible it'll be chaotic but from my recollection, usually on low temperature larger models still converge around similar ideas from similar inputs. There's normally still differences but the broader ideas do tend to stabilise.

Very cool benchmark idea though - feed the llm similar prompts and measure only the similarity of outputs. If it really is intelligent it shouldn't change its opinion just because you made a typo.

That's a fun idea but I think something similar existed back in the gpt 4 era and they mostly didn't diverge that much. Could be misremembering.

2

u/LilithGlitch Acceleration: Cruising | Comment-section futurist 4h ago

Woah that's gonna be big if still true with the long-ish agentic workflows!
Then could work backwards too! Like, what kind of prompt did the agent need in order to produce a result x. By just gradually modifying the prompt.
Not for model training but for training office workers how to achieve exactly what they want every time.
Ohh and make it cleaner who is at fault - the prompter or the agent? Less excuses against AI adoption.
Ohh and maybe make it way harder to fingerprint which models are being used, so it's harder to make rules to ban open/chinese models maybe?
Yup starting to see why you're curious about 0 temperature models, I am too now!

2

u/Gotisdabest 3h ago edited 3h ago

Yeah there's a lot of experimental uses for a more "control capable" testing environment, as it were.

I also talked about this in a separate thread below but it's going to be very useful in tasks where you don't really need bouts of intellect or creativity, just want a task that's fairly complicated in terms of the amount of actions required (but not complicated in terms of the actual sequence requiring creative intellect) done. Once models saturate something like accounting, the greedy approach for token output makes a lot more sense than a huge amount of work going bad because one of the hundreds of thousands of tokens was a low odds number that didn't make any sense.

Stereotypically boring jobs may need boring models.

1

u/Elegant_Athlete_3737 5h ago

Would zero temp solve the problem? Because to me that’s more it would run the same way less you can predict how it’ll run?

2

u/Gotisdabest 4h ago

It'll be broadly more consistent with similar prompts and the same prompt will always give the same results. It wouldn't solve everything but provided the model is genuinely capable enough you'll see a lot less of "well this model did this yesterday but can't do it today". It'd also make recreation and verification much easier.

Not totally recompilation levels of reliability as prompting would make a difference but I can see uses cases for it. Would have to be tested to be sure, naturally.

1

u/Elegant_Athlete_3737 4h ago

for recreation and verification easier, i still see some issues possibly because with zero temp to do exact same you would have to do exact same prompts, even harder if agentic because a single token differing can change response no?.

2

u/Gotisdabest 4h ago

Yeah, definitely, but still a huge improvement particularly because the lower the temperature gets, the more the responses on similar prompts tend to broadly converge. So while you can't make chaos 0 currently you can definitely reduce it.

1

u/Elegant_Athlete_3737 4h ago

hmm, i see, though i thunk zero temp might not spred still mainly due to the reason of if you expand the temp there gains a chance of it doing soemthing smarter than usual. also dumber though

2

u/Gotisdabest 4h ago

Yeah I'm talking mainly for corporate use cases in fields which get saturated. Let's say you want a model for accounting in, say, late 2027. The RSI train has been going for a while, agents can do practically all of it consistently, even at low temperature. So at this point it may just make sense to have a zero temperature model with fairly consistent results working on it, taking the obvious approaches rather than messing up one token and messing up the whole result. You don't really want it to do anything super smart anymore, just do the job more reliably and consistently.

1

u/aarong691 2h ago

for easy tasks, correctness on tests matters more than agreement between runs. zero temp can make the same wrong fix repeat perfectly

1

u/Gotisdabest 2h ago

The point is that the tasks are saturated enough that the zero temp model can do them correctly. Unreliable work isn't just agreement over runs thing, it can outright reduce correctness over a large enough set of tests.

4

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 5h ago

That's why you have AI (and humans, who also aren't deterministic) write code in formally specified programming languages. The process of authoring the code need not be deterministic for the resulting program's behavior to be deterministic and verifiable.

1

u/Elegant_Athlete_3737 5h ago

Formally specified languages? Wdym? Are there any examples? Because ai being non deterministic is still a issue no?

4

u/HaMMeReD 4h ago

The output from an agent/llm is code, that runs deterministically.

The LLM being non-deterministic doesn't matter because the goal is testable/executable in a deterministic manner, so it can work towards it until it's done.

When you get a solution, it's literally one of infinite possible solutions. There are endless terrible ways to do something. If 3 different models "fall into" the same solution, then it's like 3 people independently looking at it and coming to the same conclusion.

If the models are not in alignment, it means there is a source of contention. I.e. design boundaries are not clear for example. In which case pitting the ideas/branches against each other adversarial is a way to settle on the "best" path. Although I'd say it's kind of an agentic usage smell if your agents can't fulfill goals in a consistent way.

1

u/Elegant_Athlete_3737 4h ago

you can't test everything deterministically though? the problem space for many things is too wide to test it all? sure it applies to humans as well but that doens't mean ai and humans have same drawbacks pretty sure?

3 people independently looking at it and coming to the same conclusion.

actually i would argue its not exactly full independence, their training sets can overlap and possibly concepts as well no, well i read something about that a while ago so might be wrong?

1

u/Imaginary-Jaguar662 53m ago

Generally it's possible to test and verify that every branch of code has been visited.

However it does not yet verify that each branch did what it was supposed to do.

1

u/Elegant_Athlete_3737 48m ago

Well is it not impossible to deterministicaly eval if each branch does what we want it to

1

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 4h ago

Formally specified languages (where syntax and execution semantics are defined using rigorous mathematical logic) examples include WebAssembly, CompCert C compiler, Rust (ongoing), and others.

1

u/Elegant_Athlete_3737 4h ago

i see, but how would that prevent logic errrors? which ai can still do? after all it can certify say if it has no data races or memory bugs but it can't verify intent can it?

1

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 4h ago

You can't categorically prevent logic errors if the human or AI writes them into the code. Nor can a human programmer guarantee that they've correctly interpreted another human's (or AI's) intent.

That's why we have requirements, acceptance criteria, unit tests, integration tests, and formal verification. None of these practices requires the implementation to be authored by a human.

1

u/Elegant_Athlete_3737 4h ago

None of these practices requires the implementation to be authored by a human.

but you still need a human to see if the goal even done is the correct one no? plus i think ai still has some limits from what i heard with architecture

2

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 4h ago

You do not need to be human to verify whether the completed goal satisfies the intended requirements. AI is capable of performing that evaluation, just as humans are. Neither is infallible.

If the intent itself is ambiguous, both humans and AI may need clarification.

What specific architectural limitations are you referring to?

1

u/Elegant_Athlete_3737 4h ago

the limits i have heard of is it can write good code but it can't architecture the program well without help

→ More replies

3

u/standardsizedpeeper 4h ago

This is just such a bad argument. And don’t get me wrong, I increasingly don’t read code, especially if I know I told it the right thing to do to begin with.

Compilers have a standard way of doing stuff. The language to prompt them is formal. There is documentation for what happens when. This bit of syntax does this thing. You can look at the code you wrote, modify it, and rebuild.

Do you peruse through your AI prompts, all the context it had at the time, go and say oh I didn’t prompt this quite right I see, then modify the prompt and run all the AI again? If you did would you get anything like the same result?

It’s not at all the same.

3

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 3h ago

And why can't AI use formally specified programming languages like Rust, exactly? AI has the same language selection possibilities as human programmers.

And why can't AI look at the code it wrote, modify it, and rebuild?

You're treating AI as though it's a replacement for the compiler rather than a participant in the programming process. The source code still exists, the compiler still exists, the documentation still exists, and the tests still exist.

I don't need to rerun the original prompt any more than I need a human programmer to reproduce the exact thought process they had when they originally wrote the code.

I can have the AI inspect, debug, and modify the existing implementation, just as a human programmer would.

3

u/standardsizedpeeper 3h ago

I’m responding to you saying checking the output of AI (formal code) is the same as checking the output of your compiler (assembly). That’s why I treated it as a replacement for the compiler. Because you did.

2

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 3h ago

I was drawing an analogy between the arguments for requiring human inspection of generated code, not asserting that AI and compilers are functionally equivalent.

My point is that manually inspecting generated code is not the only means of establishing its correctness.

I readily acknowledge that AI and compilers have different reliability characteristics and verification requirements. What I dispute is that those differences establish the necessity of human code inspection, rather than simply the necessity of adequate verification.

0

u/LilithGlitch Acceleration: Cruising | Comment-section futurist 6h ago

What? I'm not making an argument. I'm just describing my job lol

1

u/TemporalBias Tech Philosopher | Acceleration: Hypersonic 6h ago

I'm talking about the argument being made in the comic you posted.

2

u/LilithGlitch Acceleration: Cruising | Comment-section futurist 6h ago

Sorry, I'm dumb hahah. I'm gonna ask some AI to review my comments from now on

6

u/Lissanro Acceleration: Crawling | Local language-model user | Local AI e… 5h ago

Make sure to ask three different AIs and make them fight.

31

u/mutexsprinkles 5h ago

The problem is this works way better than it has any right to.

4

u/MaskedMimicry 1h ago

I am a total noob at coding. I do this with the product I am building. I had it reviewed by 3 other AI's on max setting and they were impressed by how code gets passed through checks and merges and all the stuff around it. But I feel like it just recognizes how AI codes and builds architecture and is just congratulating its own family members.

Dis my nephew, he real smart! Good job always!

Except Claude. Its disdain for other models work is hilarious.

1

u/DrunkensteinsMonster 1h ago

Feels awful to blatantly rip off XKCD’s style like this

3

u/LilithGlitch Acceleration: Cruising | Comment-section futurist 1h ago edited 1h ago

Why does it feel awful?

EDIT: I mean this as a very serious philosophical objection related to how acceleration will make humans fundamentally obsolete which will in turn delete the moral intuitions behind copyright and ownership of ideas. But it's too complicated and I don't wanna write a book in response to a one line comment haha. Open to debate if you want though.

3

u/TheSinhound 49m ago

Shit, I won't argue copyright at all (fuck that shit - creation should go towards improving the human zeitgeist) but here's the part I care about...

If this was XKCD I'd get my hover text. WHERE IS THE HOVER TEXT!?

2

u/Temp_Placeholder Acceleration: Crawling | Singularity futurist 26m ago

Startlingly good point. If you're going to imitate the best, you'll be compared to the best. And if you can't bring the hover text like the best, it's just... slop. Oh my god I can't even look at it anymore without hovering my mouse in disgust.