Hacker News new | ask | show | jobs
by ianm218 13 hours ago
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.

4 comments

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.

Very cool! Yeah I was going to reach out to the relevant groups and send a copy of the paper and see if there is any interest.

> 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.

Agreed on 3D being way more useful than 2D. I had initially planned to drop a series of papers and had started work on the 3D portion... but it ended up taking most of the time/ GPU credits I had to get the 2D solution to a point that was relatively polished.

AI wasn't really getting stuck in that rut too much it was pushing me to go to 3D next.

> But I think this is a common misunderstanding from software folks looking at experimentalist or device engineers.

Hmm I'd have to see more data to be convinced. My only window into this field is a friend in an applied physics PhD program at a R1 university and he told me that there is basically zero useage of coding agents among his colleagues - they just copy and paste from chatgpt free plan or $20 plan chat ui - and that for example in his "intro to research" class he was told "you won't get much benefit out of AI for your coding work.. you guys are working on novel ideas and the training data doesn't have those so it won't be able to write good code".. that's just one anecdote but he said captured the general vibe.

I wonder if you are in a bubble amongst researchers given that you are posting on HN for example.

>- 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.

I strongly agree with this. At my institution every other group is doing something that involves AI, both using agentic stuff and custom models. We all have many reasonable results, the bottleneck is that, unlike many AI-bros, we consider it important to include experimental evidence, and that takes a lot of time and effort to acquire.

Plus needing to take the time to make sure the AI isn't somehow deviating from our model of the calculation. For example, every so often Claude invents a figure based on what an oversimplified model should predict, rather than just telling me that it can't find the actual calculation result and needs me to clarify.

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)

Engineering and physics can have plenty of overlap in these kinds of areas because so much of the skillset overlaps.

I think the only time scientists/engineers would even think about the distinction is when it comes to publishing the result. It may be more suited to an engineering journal/conference if there is more emphasis on the GPU implementation than, say, the kinds of physics calculations made possible by the optimizations and comparisons to experimental measurements.

Though, even then it isn't fully clear. If the GPU acceleration involves a novel algorithm that is better suited to GPUs, it can end up being a physics paper again.

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.

If you post a genuine science advancement, even if you don't/can't understand it, serves for the scientific progress. Another scientist who does/can understand it will catch up.
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?

It's true about the vicious trap, I try to only work in areas when I'd already read up to the literature frontier pre-AI. But analyzing bound trees on numeric programs is also a real reasoning technique and certified rewriting over them is an active area of study in proof repair and migrating code between approximation regimes.
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