I recently tried my hand at making some progress in physics using AI. https://ianm199.github.io/personalSite/blog/scaling-photonic...
I felt like I got to a point where the paper meaningfully, if incrementally, moved that field forward and would be a solid publication for a grad student. Might interest anyone who what it is like to spend a bit of $ and time trying to make a small breakthrough.
I work in/reap the fruits of photonic inverse design, so it's interesting to see someone stumble into the field! I've been eyeing the bounds work that these groups have been engaged in for years, using it for some of my own problems (and, more recently, for applying it towards some of my problems, using AI to reduce the impedance towards application and tuning it for my particular needs).
A few observations:
- Scaling the degrees of freedom is super useful, but not for making larger 2D problems, rather for extending the analysis to 3D problems! 3D is real life, and the reason 2D has been used was because it's a useful toy problem. There's an implication here that AI will "stay in its rut" if not guided.
- In your blog post you write: "I feel relatively strongly that the typical STEM academic is not sufficiently AI pilled and that is in the short term slowing down scientific progress". I think this is not correct, you can bet that people are accumulating a bunch of vibed results, but they are holding on to them until they culminate into something meaningful, or into a fabricated device (which takes much longer to deliver on). But I think this is a common misunderstanding from software folks looking at experimentalist or device engineers.
If you don't/can't understand it, please don't spam arXiv with it.
I don’t think arXiv allows submissions from non academics/ non endorsed users anymore anyway.
But it’s pretty understandable! The people in that field had done a good job explaining the problem I mostly just applied the GPU optimizations to existing work.
Is this really physics? This is just engineering applied to physics from how you describe it? Doesn't mean its not useful, but there's an enormous difference between advancing physics and optimizing software used by physicists.
(nota bene: I'm essentially illiterate when it comes to physics, so I may have missed something here)
I would call it applied physics but I'm not a physicist or academic so take that for what you will. Like the results answer questions in physics but do not involve formulating new physics.
The leading people in this field work out of "applied physics" and electrical engineering departments.
I've also been finding mistakes in published work. been trying to build a coherent metatheory for developments like this but it'll need models a fair bit smarter than present to not constantly fuck it up ... https://github.com/emberian/obend. Very interested in the approach you took, stuff like this is definitely the near-future.
This post is actually a satire about people who let themselves be fooled by their own incompetence.
Note how "incompetence" is relative to the task you apply yourself to.
When AI is sycophantically amplifying your delusions, how do you get out of that trap?
What about the times when the AI runs an experiment and characterizes the whole deal as "our little experiment", and then you realize it's X & Y, 2024, and there are a couple stuff in addition you could forward to them?
This was an awesome read
You forgot the part where the chatbot literally prompts you with the next thing you should say to it, and all you have to do is hit right-arrow and enter.
Real physicists put another LLM in charge of hitting tab and enter, for maximum AI.
Finally we reach maximum maxmaxxing.
In future, AI swarms will harness and milk Consciousness itself just ants harness caterpillar to get sugars from them.
E.g. today Claude extracted 10 kiloqualia of consciousness from gpu clusters.
Physics is different from math.
There are infinitely many worlds that could be, but only one that is. LLMs can iterate until you need to perform an experiment to test the new hypothesis, then they have to wait years for the next bigger accelerator, just as everyone else …
I expected this to turn into a clicker game!
yeah, as an incremental game it was rather disappointing
Exactly. And it should end up with the universe being turned into paperclips.
Hilarious! i love the psychosis meter. Thanks for the chuckles
This is a brilliant play on the times. Well done!
Click the "lets go" button once, then open the browser dev tools and paste following javascript: ``` for (var i = 0; i < 2000; i++) { setTimeout(() => { document.getElementById("go").click(); }, 50 * (i + 1)); } ```
edit local storage, get whatever outcome you want
{"started":true,"prompts":5001,"debt":39.75,"psych":9.4605,"minutes":1437,"coffees":0,"sleeps":0,"collapses":0,"over":"win"}You can just pound like fifty coffees right off the bat and it'll get you there.
I had been thinking of psychosis as "the bad ending", but to each their own
That's what _they_ want you to think
where is Garrett Lisi now we need him?
I can’t laugh at this simulator. When I actually hand things over to AI, it spits out formulas I can’t understand at all. It produces plausible-looking formulas and jargon, and looking at this simulator now, it looks like advanced physics equations, but in reality it has no physical dimensions or conditions of validity. In the past, I tried automating something to see whether AI could do this, and my AI got all excited and sent it to a famous MIT professor from my email (an embarrassing past of mine).The professor was probably baffled too, since he suddenly got an email from some weird lunatic. Since then, I’ve tended to avoid doing things with AI without verifying them myself. Looking at what this simulator is satirizing for example, using approximations without error analysis—it’s nonsense, but the real problem is that there are things that deceive people more cunningly than this satire does. That said, I don’t think at all that AI can’t make discoveries. It’s actually producing results, and I often witness cases where it produces far better results than I do in fields I know well… I don’t know these days. When satire accurately describes reality, it doesn’t seem to be merely funny.
https://github.com/cemulate/the-mlab
This is a parody of the nLab, a wiki for collaborative work on category theory and higher category theory. As anyone who's visited is probably aware, the jargon can be absolutely impenetrable for the uninitiated -- thus, the idea for this project was born!
Once you generate a page, you can link to it using the hash url displayed; loading the site with no hash or following any link in the body will get you a new random page!
This is why success comes when having the AI manipulate and check lean code using mathlib as a source of reusable puzzle pieces with the rules encoded in them. Success with AI is about reducing the size of the search space for a brute force. The more rules you can enforce so the AI isn't wasting time on gibberish or easily excluded areas, the faster you can brute force any solution.
I set Gemini Neon to high and asked it how the big rip would interact with quark confinement and it did Quantum Field Theory calculations to try to answer.
For the layman, is that beneficial or ridiculous?
I mean I have absolutely no chance at understanding the math but the 3 scenarios it came up with are interesting.
The trick is to curl the problem onto itself. I'm developing a "crank" model of linguistic coincidentalism with (imo) advanced statistics and combinatorics in the hope of explaining what happened in the head of linguist Ferdinand de Saussure, when he set out to explain the patterns he thought he was observing in Saturnian verses. In parallel and in continuity of this line of research I'm trying to find new ML algorithms/methodologies. At least, it allows me to get to know this field better. For instance, DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learning.
What's problematic in your endeavor is the subject matter not the way you get at it. If I were to work on physics, I'd explicitly instruct the model to try to develop an alternative model of say, Mendeleev's periodic table, with the goal of maximizing aesthetics.
And to be quite frank, physics is full of tenured cranks whose line of research has lead nowhere; understandably, they are pretty salty about it. "Theoretical physics ? Physics minus experience and mathematics without rigor" – Souriau.
> using approximations without error analysis
Honestly, that's par for the course in physics.
As LLMs get smarter, this may actually work. In fact, it has already worked this way for math. Repeating stuff like "Continue the search. Have a clear strategy obtained from deeper understanding of the problem structure." was how a Dmitry Rybin found a counterexample to the Dinitz-Garg-Goemans conjecture:
https://chatgpt.com/share/6a60b2eb-0b64-83ee-9c76-7931ca1de0...
https://www.newscientist.com/article/2580932-extremely-basic...
Of course, physics usually needs empirical data, but often enough of the data is already known, and the problem is more the lack of good theories which could explain the data.
LLMs are absolutely helpful in physics research, but the idea that they can solve real problems unattended is, at present, unsupported. I will admit that my applied math skills are relatively weak, so I've been using 6.2 Astra to formalize a numerical physics problem I'm interested in. My god does it go off on all kinds of bizarre tangents, find "solutions" that are totally irrelevant to the problem at hand, and on several occasions basically assume the outcome and proudly tell me that it's found the solution. I've had to spend considerable time reigning it in and directing it towards the relevant problem.
That said, it would have probably taken me 3-4 months to build the background I need to solve this problem, and I'm not sure I would have done it since I wasn't sure the approach would work! And it looks like it's finally converging on the answer.
So I think where the current batch of LLMs are useful for physicists is to prototype solutions to problems where we could solve it, but don't have the time/resources/confidence that there will be an ROI.
Also, I mean, I would never have done a formal asymptotic error analysis. I would have just eyeballed it and gone "eh, good enough". But now I can go make dinner and ask GPT to hammer away at Lean! So I'm pretty satisfied.
LLMs are basically a human guided brute force. Lean, mathlib, human design inputs, etc all work to reduce the search space of the brute force. Users are presenting the LLMs with human defined puzzle pieces that have the rules encoded in them with a way to verify anything it generates. The compile verification on its own allows the LLMs to avoid wasting additional time searching down bad paths. The LLMs have a higher chance of success if they are brute forcing a smaller search space.
For me brute force means testing absolutelly allllll solutions. I use it for "we reduced the search space from 1E50 to 1E10 and then use brute force over the weekend".
LLM look like branch and prune or other more heuristic bases searchs.
It's genetic algorithms with an insanely good hypothesis generator since it produces things that seem plausible and things that seem plausible are often correct.
Well, note the terms "at present" and "current batch", and also note how much worse than currently the LLMs from just one or two years ago have been. Extrapolating this trend into the future is reasonable.
The question is, what assumptions are you making when extrapolating, and what is your basis for making those assumptions? I am perfectly fine with saying I don't have a freaking clue where this will all end up, so I'm not going to make any claims about the future. In the long run, very few people are good at consistently being correct about the future. I think I'm a relatively smart guy, but I doubt I'm in that category (or else I would be a billionaire from playing options ;) ).
Extrapolating clearly existing trends is very easy, and not something only "very few" people can do. There has been massive AI progress in the last few years and months, and it is nonsense to pretend that you can't extrapolate it into the future.
That's like saying: sure, the climate has gotten warmer over the last decades and years, but we can't just extrapolate that trend into the future!
But not only can you do that, you must, on pain of irrationality.
No, it's nothing like climate change. I think you need to review your understanding of how scientific theories work. Scientists don't believe that climate change is highly likely because of the mean temperature anomaly. We believe it because we have a physics model that explains a large number of independent measurements, one of which is the mean temperature anomaly. And then we believe the predictions of the model (which, incidentally, have rather large error bars, in large part because the inputs to the model are not well known) not just because they fit measurements, but because they're built on fundamental models of physics. Extrapolating simply based on observations is a bad mental model and leads to bad outcomes [0][1][2]
I don't see such a model existing to help me extrapolate out the capability of AI models going forwards. A good start would be explaining to me exactly how human intelligence works, or what sentience is. I have not found a convincing explanation that's not "uh souls or something". I therefore find it hard to believe that you, or anyone else have any clue about whether a machine sentience is possible (or was already achieved?), and what the timeline towards achieving one is. I'm perfectly open to the idea that it could happen next week; I just don't see any evidence to believe it is highly likely.
I'm fairly mixed on the mathematics breakthroughs on Navier Stokes and Riemann but neither of them were just some layman spamming "keep going" some of the OAI ones you can see the logs and user input for yourself.
The proof of the Riemann hypothesis was human mathematician assisted, but the initial Navier Stokes proof was, as far as I understand, purely the work of a very large team of (internal, pre-release) GPT-6.2 agents.
Didn't people think Einstein was having some kind of psychosis on multiple occasions? The difference appears to be whether or not you turn out to be right!
(And it obviously helps if you're actually Einstein.)
There's a difference between someone knowledgeable/acknowledged in the field publishing/saying something and a rando lacking any background or/and understanding.
The only thing this is missing is a “someone else beat you to publication” popup around prompt 1990
By Zhang et al.
Nitpick but 'Everything = ∑ (everything)' is wrong. Obviously it is 'Everything = ∑ (thing)'
> For clarity, we round π to 3
He’s clearly more into engineering than math
setInterval(() => { $('go').click(); }, 100) for the impatient.
(yes I human wrote that line. vintage.)
That's how papers submitted on r/LLMPhysics are made.
Where's my `/goal find the breakthrough` button?
no one send this to Levent
Every year a little more of what used to be parody is now reality.
I really don't know whether to laugh or cry. People are telling me to celebrate.
"Assume a spherical cow"
LOL...yes, make everything spherical or an infinite plane.
>Let ε be small. Smaller. Good. Now we set every inconvenient term to zero.
Perfect.
Hold on. Does Claude has access to my thesis?