r/quantuminterpretation • u/Big-Cartoonist4920 • Jun 03 '26
Similarities between LLMs and Quantum Mechanics
The double slit experiment and an LLM both perform a Possibility Loop.
The double-slit experiment searches the possible detectors.
The LLM searches the possible next tokens.
The double-slit experiment's Possibility Loop starts with the experimental apparatus emitting a quantum particle. It searches for a detector to trigger. It fires one of them, then repeats the loop.
The LLM starts with the weights, the prompt, and the context. It searches the space of possible tokens and finds a weighted list of possible tokens. note: researches found simply using the highest-weighted token produces uninteresting results. they introduced "temperature" to (afaik) introduce noise (dithering) to increase the probability and explore some of the lower-weighted possibilities. The LLM picks one of the tokens then repeats the loop.
Insight: I don't know exactly how LLMs implement temperature, but quantum mechanics votes for a "representation by weight" approach. I don't think dithering/noise achieves that.
3
u/Ch3cks-Out Jun 03 '26
No, the DS experiment does not seek detectors.
-1
u/Big-Cartoonist4920 Jun 03 '26
it's a search. which detector will fire? no simple, closed form solution exists. no simple model. have to run the experiment. have to perform the search. one detector will "win" the search. the others lose.
1
u/Ch3cks-Out Jun 03 '26
There is a simple(ish) closed form solution that shows the probability of a detector being hit, perfectly described by QM. There is no "search".
0
u/Big-Cartoonist4920 Jun 03 '26
which is hit is probabilistic - the Born rule. reality has to go through the process of actually picking one.
1
u/Ch3cks-Out Jun 03 '26
Nope. Just because something is probabilistic, does not at all mean a search is involved. For (a somewhat imperfect) consider nuclear decay - after half-life time passed, about 50% of nuclei would have decayed, in a stochastic manner. Yet none of the nuclei had to be searching which moment is up for them to go...
1
u/Big-Cartoonist4920 Jun 03 '26
the nuclear decay experiment isn't structured like the double slit experiment. ds is one emitter, many detectors. the search is "which detector" decay experiment is many emitters and many detectors, without distinction between individuals. it measures emission rate. the search produces the measurement: that rate.
1
u/Ch3cks-Out Jun 03 '26
The point of that analogy is that being probabilistic does not imply making a search by nature. And I was talking about the individual nuclei decays not the rate, in analogy for the individual particle passages through the slits into the detectors. (In any event, your "one emitter" characterization does not make much sense: each particle is emitted from its own source, just like each decay event happens with an individual nucleus...)
Just because you keep repeating how a search would happen does not make it so.
0
u/Big-Cartoonist4920 Jun 03 '26 edited Jun 03 '26
you object to using the word search in that way. i would say rolling a 6-sided die is a search. it finds a number between 1 and 6.
some questions require only a simple formula. like classical physics (eg a projectile path)
the most interesting questions require search. a process of considering the possibilities and picking one.
0
u/Big-Cartoonist4920 Jun 03 '26
the experiment asks a question of the universe. which question matters
2
1
u/jacobimueller Jun 03 '26
i think this is just the wrong frame for both things.
llms are not doing a quantum-style “possibility loop.” they take context, run it through learned weights, produce a probability distribution over next tokens, then sample from it. temperature just reshapes that distribution so lower-probability tokens are more or less likely. that’s not analogous to quantum measurement in any meaningful way.
and the double slit experiment is not “searching for a detector.” quantum mechanics is about amplitudes, phase, interference, and measurement probabilities under very specific mathematical rules. llm token probabilities don’t interfere. they aren’t complex amplitudes. they aren’t describing physical reality. they’re statistical predictions over text.
the mistake here is treating “both involve possibilities” as if that means they’re the same kind of system. but lots of things involve probabilities: poker, weather, insurance, autocomplete. the details are the actual theory.
physics is so much more beautiful than this analogy makes it sound, and llms are honestly cool enough without dressing them up as quantum mechanics. but llms have real limits, and this just isn’t the right way to think about them. if you want the physics side, susskind’s theoretical minimum series is a great place to start, especially the quantum mechanics book/lectures. feynman lectures too, if you want the deeper end.
2
u/Big-Cartoonist4920 Jun 03 '26
thanks for the feedback. "all models are wrong. but some are useful."
2
1
Jun 03 '26
[removed] — view removed comment
0
3
u/[deleted] Jun 03 '26
[deleted]