@movq I'm kind of flag you bring thi sup, because you simply can't. You wouldn't even be able to in an atypical neural network either (which is what ehse things are anyway). The problem here really isn't the so-called "AI" (I wish we'd stop calling it AI), but the flawed usage(s) thereof. I believe I even stated earlier in this thread that sometimes it may not do what you expect, it's "probabilistic" not "deterministic" -- those pushing for greater use need to understand this, those not happy with the "push", should educate the ignorant here (especailly managers pushing for weak, insecure and bad uses).
Timeline
Recent posts from feeds followed by sorenpeter@darch.dk
@prologic Ahh, I see. Okay, I’m with you there. On this high level, I can understand how the thing works.
Maybe my wording isn’t good. 🤔 Let’s take a real life example from what we do at work.
There’s this AI chatbot. It gets support requests from users, so the user says something like “I need access to a particular system”. This triggers the bot to “run” the instructions stored in a large Markdown file, like “check if the user is authorized to do this, then issue the following API requests”, and so on. This is essentially like running a little script, except it’s written in natural language (German) and there’s no “script interpreter” but just the AI.
Now, suppose that the AI doesn’t quite do what was intended. There’s some subtle bug. How do you debug this? How do you find out how the AI came to the “conclusion” to run step A instead of step B? And how do you find out how exactly you have to change your prompt so this doesn’t happen again next time?
If this was an actual script/program instead of AI, you could repeat the request and attach a debugger or throw in some printf() or whatever. How do you do that kind of thing with AI? How do you pinpoint exactly what the problem was?
(Or is this just a stupid idea? Do we have to give up that way of thinking when using AI? Is the era of debuggability over?)
And every time I ask it to do the same thing, it produces basically the same result. It will sometimes not produce a go.mod, but that's probably because doing so isn't as statically high as writing the code to sum numbers from stdin.
So going back to the understanding of how it generated this, is quite simply the most statistically relevant search space of it's weights it has been trianed on and it has basically just produced a series of tokens, one after another that are relevant to the input, the next token and so on. It's a trivial example I know, but it basically pattern matches it's way through it's vast search space just producing outputs based on context.
Which it does so in seconds, faster than I can type. The code is correct, it compiles and does exactly what I wanted. And the code looks pretty reasonable. It handles flotas, has error handling and handles space or line separated numbers on stdin.
@movq I think your points are pretty clear to me, that's fine. I'm just seeing if you can perhaps see things a different way maybe?🤔 I would challenge the assertion that you cannot understand how Claude Code generated an output; which I can demonstrate easily with a fairly trivial example by the input:
Write a program in Go that sums a list of numbers from stdin and prints the result.
@prologic Yeah, it’s hard to get my point across here. I tried to address that a few paragraphs down.
Yes, I can tinker with AI techniques on a general level. That’s cool but not really my area of interest.
What I certainly can’t do is learn how specific AI products work. I can’t possibly find out why Claude Code produced that particular line of code. Claude is just a magic box that does something and I have to trust it.
Most of the time, I take a very very long time to do anything. If I say, for example, "I'll build an IRC Web Client", that may not happen for weeks, if not months, until my sub conscience has has time to process everything. It's like basically a "feeling" of internal readiness. I never talk through it, never actively think about it, it just happens.
You can basically think of this as pattern-matching. I'm very very good at very fast pattern matching and piecing pices of a puzzle together very quickly, sometimes with very little to go on, it's often gotten me into a lot of trouble at work in my career because I can make a lot of assumptions very very quickly.
@bender So yeah, no, I do not have an inner monologue at all. Most of the time my inner mind is busy just replaying music or visuals (or at least it used to before I lost my sight, these days it just replays visuals and sounds), but there is never a time when I "talk to myself", ever, I don't ever think through something, a problem or an activity and have self-arguments. I just do.
søren peter mørch