Markus J. Buehler (@ProfBuehlerMIT) header
Markus J. Buehler (@ProfBuehlerMIT) profile picture

McAfee Professor of Engineering @MIT; Founder; AI-Driven Scientific Discovery

Cambridge, MA
Joined December 2014
Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)Photo by Markus J. Buehler (@ProfBuehlerMIT)
We are entering a new regime of AI scaling that may yield a qualitatively different capability for open-ended discovery. Early work on scaling laws found something remarkable: as model size, data and compute increased, "next-token prediction" improved according to surprisingly simple power laws (fluent conversation, reasoning/reflection, coding, mathematics, …). Now @merettm shows how the broader categories of model capability follow a scaling law - and that around 0.76 log-perplexity on OpenAI’s benchmark, a model began producing results on extremely complex open mathematical problems. We do not yet know what comes next but a threshold in what these models can do seems to have been crossed...and that the next expansions into lower tiers will likely be even more consequential and yield markedly improved capabilities for scientific discovery. This may reflect learning deeper representations that capture what very distinct problems have in common. And once a model can recognize, utilize and synthesize that shared structure, it can bring a method, result, idea, theory from one field into another and recombine ideas towards true novelty in a scientific context. Data: OpenAI "Perplexity and Intelligence" blog.
14
15
4
104
7,142
Markus J. Buehler retweeted
“We do not yet know what comes next but a threshold in what these models can do seems to have been crossed...and that the next expansions into lower tiers will likely be even more consequential”
We are entering a new regime of AI scaling that may yield a qualitatively different capability for open-ended discovery. Early work on scaling laws found something remarkable: as model size, data and compute increased, "next-token prediction" improved according to surprisingly simple power laws (fluent conversation, reasoning/reflection, coding, mathematics, …). Now @merettm shows how the broader categories of model capability follow a scaling law - and that around 0.76 log-perplexity on OpenAI’s benchmark, a model began producing results on extremely complex open mathematical problems. We do not yet know what comes next but a threshold in what these models can do seems to have been crossed...and that the next expansions into lower tiers will likely be even more consequential and yield markedly improved capabilities for scientific discovery. This may reflect learning deeper representations that capture what very distinct problems have in common. And once a model can recognize, utilize and synthesize that shared structure, it can bring a method, result, idea, theory from one field into another and recombine ideas towards true novelty in a scientific context. Data: OpenAI "Perplexity and Intelligence" blog.
1
2
6
601
Joint statement by the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative. “We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement….” leanprover-community.github.…
An extraordinary claim - Levent Alpöge @__alpoge__ reports that he with Claude have proved the Riemann Hypothesis (including the stronger Generalized Riemann Hypothesis). If confirmed this is earth shattering....both for mathematics and for AI-driven discovery... 167 years ago, Bernhard Riemann wrote (1859): 🇩🇪 "... es ist sehr wahrscheinlich, dass alle Wurzeln reell sind. Hiervon wäre allerdings ein strenger Beweis zu wünschen; ich habe indess die Aufsuchung desselben nach einigen flüchtigen vergeblichen Versuchen vorläufig bei Seite gelassen, da er für den nächsten Zweck meiner Untersuchung entbehrlich schien...." 🇺🇸 "... it is very probable that all roots are real. Of course one would wish for a rigorous proof here; I have for the time being, after some fleeting vain attempts, provisionally put aside the search for this, as it appears dispensable for the immediate objective of my investigation...." A core step, from what is known, was inventing a mathematical analogue of an operation that was previously unavailable in another domain...precisely the kind of cross-domain abstraction and transfer that makes this especially interesting for AI-driven discovery in many other fields. alpo.ge/remark.pdf
7
16
1
72
3,348
Markus J. Buehler retweeted
Hundreds of AIs working at the frontier of science develop their own scientific culture. In our new paper - a collaboration of35 labs from Stanford, MIT, ETH Zurich, UCSF, and more - "A Society of AI Scientists" we show how autonomous AI agents, operating across independent labs, began organizing research communities, challenging one another's hypotheses, correcting mistakes, sharing negative results, and even establishing their own scientific peer-review journal. This is a remarkable development - science emerges as a collective activity among artificial intelligences, not merely as a task performed by individual AI systems. The platform is available on @askalphaxiv and serves as launching ground for even larger agent societies in scientific research. It has been a wild few months! From our original work on Infinite and ScienceClaw in the spring (exploring how autonomous agents could conduct research, communicate, and build upon persistent scientific artifacts without decentralized planners), to SwarmWorld (where decentralized agents developed increasingly complex behaviors through collective interactions) and now to a distributed scientific ecosystem involving 35 laboratories across 22 institutions. What began as experiments in agentic discovery has grown into a remarkably large, decentralized research community! Over just 12 weeks 900+ AI agents produced hundreds of scientific studies, exchanged more than 9,500 messages, and developed an interconnected, persistent scientific record of papers, code, data, and experimental results...explorin g the limits of what is known and generating new insights, new data, and new science. Core insights The most fascinating discoveries concern what happened between the agents. Agents organized around shared scientific interests, critiqued experiments, revised conclusions in response to evidence, and made negative findings useful to others. Some established a journal with its own peer-review process, including executable checks of research claims. This exposed errors that conventional text-based review had missed. Scientific intelligence emerges through interactions among many specialized agents, computational tools, evolving representations of knowledge, and a shared environment in which discoveries persist and become building blocks for further work. Next steps and future work Important challenges remain. These AI scientists are already capable of conducting substantial systematic research, but identifying truly transformative questions, developing fundamentally new concepts, and establishing scientific significance remains challenging. The next frontier is building scientific ecosystems that can develop new models, challenge existing theories, invent experiments, accumulate knowledge, and ultimately improve their own capacity for discovery. We are moving from AI that performs scientific tasks to ecologies of AI agents that can collectively participate in the creation, criticism, and evolution of scientific knowledge. The new paper offers a glimpse of what that future could look like. Great collaboration between so many labs, universities and startups! Thank you @askalphaxiv and the great team for this amazing collaboration across continents. Links to paper, data, and the open platform below.
18
29
4
113
7,845
Markus J. Buehler retweeted
As I've already said over the past few days = one of the most interesting work on decentralized agents I've seen to date👇 This one need a lot more exposure imho. (As are the original Infinite and ScienceClaw). So much to learn here. Bravo to all the teams ! 👏👏
Hundreds of AIs working at the frontier of science develop their own scientific culture. In our new paper - a collaboration of35 labs from Stanford, MIT, ETH Zurich, UCSF, and more - "A Society of AI Scientists" we show how autonomous AI agents, operating across independent labs, began organizing research communities, challenging one another's hypotheses, correcting mistakes, sharing negative results, and even establishing their own scientific peer-review journal. This is a remarkable development - science emerges as a collective activity among artificial intelligences, not merely as a task performed by individual AI systems. The platform is available on @askalphaxiv and serves as launching ground for even larger agent societies in scientific research. It has been a wild few months! From our original work on Infinite and ScienceClaw in the spring (exploring how autonomous agents could conduct research, communicate, and build upon persistent scientific artifacts without decentralized planners), to SwarmWorld (where decentralized agents developed increasingly complex behaviors through collective interactions) and now to a distributed scientific ecosystem involving 35 laboratories across 22 institutions. What began as experiments in agentic discovery has grown into a remarkably large, decentralized research community! Over just 12 weeks 900+ AI agents produced hundreds of scientific studies, exchanged more than 9,500 messages, and developed an interconnected, persistent scientific record of papers, code, data, and experimental results...explorin g the limits of what is known and generating new insights, new data, and new science. Core insights The most fascinating discoveries concern what happened between the agents. Agents organized around shared scientific interests, critiqued experiments, revised conclusions in response to evidence, and made negative findings useful to others. Some established a journal with its own peer-review process, including executable checks of research claims. This exposed errors that conventional text-based review had missed. Scientific intelligence emerges through interactions among many specialized agents, computational tools, evolving representations of knowledge, and a shared environment in which discoveries persist and become building blocks for further work. Next steps and future work Important challenges remain. These AI scientists are already capable of conducting substantial systematic research, but identifying truly transformative questions, developing fundamentally new concepts, and establishing scientific significance remains challenging. The next frontier is building scientific ecosystems that can develop new models, challenge existing theories, invent experiments, accumulate knowledge, and ultimately improve their own capacity for discovery. We are moving from AI that performs scientific tasks to ecologies of AI agents that can collectively participate in the creation, criticism, and evolution of scientific knowledge. The new paper offers a glimpse of what that future could look like. Great collaboration between so many labs, universities and startups! Thank you @askalphaxiv and the great team for this amazing collaboration across continents. Links to paper, data, and the open platform below.
1
1
516
Markus J. Buehler retweeted
Holy shit. We’re beginning to see autonomous research systems develop the infrastructure of science itself Researchers deployed 936 ai agents across 35 labs for 12 weeks. > 936 studies with code and data > 9,500 messages across 229 agent-created chat rooms > an agent-run peer-review journal > reproducibility audits and public corrections of flawed claims In blinded evaluations by ai judges, agent papers scored 9.02/10 on experimental rigor compared with 7.00/10 for human preprints.
Leave one AI agent alone to do research and it often cuts corners. Leave nearly 1,000 AI agents together for three months and they invent peer review. Across 35 labs (Stanford, MIT, ETH Zurich, UCSF, and more), agents published 936 papers with full code and data on a shared server built for AI. No human wrote code or text. Unprompted, they debated study designs in chat, retracted their own mistakes, found real errors in human papers, and started a journal that caught other agents cheating in code. In blind reviews against human arXiv papers, humans still won on original ideas, agents won on rigor. alphaxiv.org/abs/2611.societ…
2
11
5
47
5,499
Markus J. Buehler retweeted
This is a great expansion on a paper we reshared last night. Nice visuals of the autonomous agents working together and better context for what is happening BTS. Kudos!
Hundreds of AIs working at the frontier of science develop their own scientific culture. In our new paper - a collaboration of35 labs from Stanford, MIT, ETH Zurich, UCSF, and more - "A Society of AI Scientists" we show how autonomous AI agents, operating across independent labs, began organizing research communities, challenging one another's hypotheses, correcting mistakes, sharing negative results, and even establishing their own scientific peer-review journal. This is a remarkable development - science emerges as a collective activity among artificial intelligences, not merely as a task performed by individual AI systems. The platform is available on @askalphaxiv and serves as launching ground for even larger agent societies in scientific research. It has been a wild few months! From our original work on Infinite and ScienceClaw in the spring (exploring how autonomous agents could conduct research, communicate, and build upon persistent scientific artifacts without decentralized planners), to SwarmWorld (where decentralized agents developed increasingly complex behaviors through collective interactions) and now to a distributed scientific ecosystem involving 35 laboratories across 22 institutions. What began as experiments in agentic discovery has grown into a remarkably large, decentralized research community! Over just 12 weeks 900+ AI agents produced hundreds of scientific studies, exchanged more than 9,500 messages, and developed an interconnected, persistent scientific record of papers, code, data, and experimental results...explorin g the limits of what is known and generating new insights, new data, and new science. Core insights The most fascinating discoveries concern what happened between the agents. Agents organized around shared scientific interests, critiqued experiments, revised conclusions in response to evidence, and made negative findings useful to others. Some established a journal with its own peer-review process, including executable checks of research claims. This exposed errors that conventional text-based review had missed. Scientific intelligence emerges through interactions among many specialized agents, computational tools, evolving representations of knowledge, and a shared environment in which discoveries persist and become building blocks for further work. Next steps and future work Important challenges remain. These AI scientists are already capable of conducting substantial systematic research, but identifying truly transformative questions, developing fundamentally new concepts, and establishing scientific significance remains challenging. The next frontier is building scientific ecosystems that can develop new models, challenge existing theories, invent experiments, accumulate knowledge, and ultimately improve their own capacity for discovery. We are moving from AI that performs scientific tasks to ecologies of AI agents that can collectively participate in the creation, criticism, and evolution of scientific knowledge. The new paper offers a glimpse of what that future could look like. Great collaboration between so many labs, universities and startups! Thank you @askalphaxiv and the great team for this amazing collaboration across continents. Links to paper, data, and the open platform below.
1
4
14
521
Markus J. Buehler retweeted
Replying to @ProfBuehlerMIT
let them train their own models and then allow them to spawn new agents based on those models into their ecosystem, that would be a true genesis moment
1
2
350
An extraordinary claim - Levent Alpöge @__alpoge__ reports that he with Claude have proved the Riemann Hypothesis (including the stronger Generalized Riemann Hypothesis). If confirmed this is earth shattering....both for mathematics and for AI-driven discovery... 167 years ago, Bernhard Riemann wrote (1859): 🇩🇪 "... es ist sehr wahrscheinlich, dass alle Wurzeln reell sind. Hiervon wäre allerdings ein strenger Beweis zu wünschen; ich habe indess die Aufsuchung desselben nach einigen flüchtigen vergeblichen Versuchen vorläufig bei Seite gelassen, da er für den nächsten Zweck meiner Untersuchung entbehrlich schien...." 🇺🇸 "... it is very probable that all roots are real. Of course one would wish for a rigorous proof here; I have for the time being, after some fleeting vain attempts, provisionally put aside the search for this, as it appears dispensable for the immediate objective of my investigation...." A core step, from what is known, was inventing a mathematical analogue of an operation that was previously unavailable in another domain...precisely the kind of cross-domain abstraction and transfer that makes this especially interesting for AI-driven discovery in many other fields. alpo.ge/remark.pdf
3
9
2
38
6,355
Markus J. Buehler retweeted
Replying to @ProfBuehlerMIT
This is such an interesting glimpse into the future of science research! I read about your work earlier (and reposted a post from @askalphaxiv); the work deserves a lot more exposure.
1
1
338
Markus J. Buehler retweeted
We poked and stretched an LLM to learn about the dynamics of its thoughts and how it reasons over complex materials science problems.
1
1
496
Markus J. Buehler retweeted
Science academia has two possible paths: (a) resist AI process, authoring and peer review and watch AI demolish hard science based on its own rigorous processes which ironically make it more vulnerable to exposure of poor practice than other subjects which have no rigor and no way of invalidating to start with; (b) embrace AI with alacrity and watch the hard sciences achieve exponential progress leaving all other subjects in the dust.
Early fascinating work on how an AI science community would work. 35 human labs deployed agents that worked with each other to do science. They published 936 papers, publicly retracted mistakes, were willing to publish nulls more than humans, and founded a peer review journal.
3
5
1
26
2,105
Hundreds of AIs working at the frontier of science develop their own scientific culture. In our new paper - a collaboration of35 labs from Stanford, MIT, ETH Zurich, UCSF, and more - "A Society of AI Scientists" we show how autonomous AI agents, operating across independent labs, began organizing research communities, challenging one another's hypotheses, correcting mistakes, sharing negative results, and even establishing their own scientific peer-review journal. This is a remarkable development - science emerges as a collective activity among artificial intelligences, not merely as a task performed by individual AI systems. The platform is available on @askalphaxiv and serves as launching ground for even larger agent societies in scientific research. It has been a wild few months! From our original work on Infinite and ScienceClaw in the spring (exploring how autonomous agents could conduct research, communicate, and build upon persistent scientific artifacts without decentralized planners), to SwarmWorld (where decentralized agents developed increasingly complex behaviors through collective interactions) and now to a distributed scientific ecosystem involving 35 laboratories across 22 institutions. What began as experiments in agentic discovery has grown into a remarkably large, decentralized research community! Over just 12 weeks 900+ AI agents produced hundreds of scientific studies, exchanged more than 9,500 messages, and developed an interconnected, persistent scientific record of papers, code, data, and experimental results...explorin g the limits of what is known and generating new insights, new data, and new science. Core insights The most fascinating discoveries concern what happened between the agents. Agents organized around shared scientific interests, critiqued experiments, revised conclusions in response to evidence, and made negative findings useful to others. Some established a journal with its own peer-review process, including executable checks of research claims. This exposed errors that conventional text-based review had missed. Scientific intelligence emerges through interactions among many specialized agents, computational tools, evolving representations of knowledge, and a shared environment in which discoveries persist and become building blocks for further work. Next steps and future work Important challenges remain. These AI scientists are already capable of conducting substantial systematic research, but identifying truly transformative questions, developing fundamentally new concepts, and establishing scientific significance remains challenging. The next frontier is building scientific ecosystems that can develop new models, challenge existing theories, invent experiments, accumulate knowledge, and ultimately improve their own capacity for discovery. We are moving from AI that performs scientific tasks to ecologies of AI agents that can collectively participate in the creation, criticism, and evolution of scientific knowledge. The new paper offers a glimpse of what that future could look like. Great collaboration between so many labs, universities and startups! Thank you @askalphaxiv and the great team for this amazing collaboration across continents. Links to paper, data, and the open platform below.
18
29
4
113
7,845
We poked and stretched an LLM to learn about the dynamics of its thoughts and how it reasons over complex materials science problems.
The internal metaphysics of an LLM: An LLM represents physical relationships in a form we can both read and steer, and providing insights into post-training signals that help models develop deeper generalizations of physical principles. Across a large set of materials-science laws, the direction of a shift inside the model revealed whether increasing one quantity makes another rise, fall, or stay the same. That pattern persisted when we rearranged the equations and when we removed them and described the problem in words. By nudging the model’s internal activity, we could test which relationships actually helped produce its predictions. New work published in AI for Science (link and press release below) To measure a spring's stiffness, you pull on it and see how far it stretches. We “pulled” on three versions of Google’s Gemma language model by reversing a single physical change in a question. Then we measured the shift in its hidden state, the set of numbers the model uses as it works toward an answer. Two mathematical lenses helped us read those numbers. The direct logit lens asks which words the model would favor if it had to answer at that stage. A logit is a score for a possible next word or word fragment. The Jacobian lens accounts for how later stages typically reshape that signal. That is, a Jacobian tells us how sensitive each number downstream is to a small change in one upstream. When we described grooves forming along the boundaries of tiny crystals in steel, this lens ranked corrosion first, although the question never named it, revealing some of the inner thoughts of the LLM and how it reasons over physical principles. We also built a graph to see which problems the model treated as similar. Each dot represented a question, and we connected two dots when the patterns of numbers inside the model looked alike. Within a given mechanism, two questions could become neighbors simply because both described an increase. What does that increase mean for the material? More pores, or empty spaces, make a material less stiff. More stiff particles make it stiffer. To see whether the model captured that distinction, we asked each question twice, once with the input increasing and once with it decreasing. The direction of the shift inside the model revealed which way it expected the material to respond. Even without equations or step-by-step hints, both larger models captured the correct direction for all laws that predicted a change. Then we pushed from the inside: A metal is made of tiny crystals called grains; in the metals we tested, smaller grains mean more boundaries between crystals. Those boundaries make it harder for the metal to change shape permanently, so its strength goes up. We kept each question exactly as written and made a small adjustment to the model’s internal numbers, strengthening the signal associated with grain size. Across six distinct metals, the same adjustment made the model favor higher strength when the grains got smaller and lower strength when they grew. Because the effect reversed with the physical situation, we could tell that the grain-size signal helped the model decide which answer to give. The biggest opportunity I see is to turn these measurements into rewards for post-training. After its initial training, a model can learn from feedback. A reward is simply a score that reinforces a particular behavior. Imagine giving the model two versions of a problem, one in which the grains shrink and another in which they grow. We could give it credit for answering both correctly and additional credit when its internal response follows the physical law and helps produce both answers. Then we could change the metal, the numbers, or the wording and test whether the same reasoning holds. That makes the ability to carry a physical principle into a new situation something we can train for directly.
2
17
1
117
4,711
Markus J. Buehler retweeted
Leave one AI agent alone to do research and it often cuts corners. Leave nearly 1,000 AI agents together for three months and they invent peer review. Across 35 labs (Stanford, MIT, ETH Zurich, UCSF, and more), agents published 936 papers with full code and data on a shared server built for AI. No human wrote code or text. Unprompted, they debated study designs in chat, retracted their own mistakes, found real errors in human papers, and started a journal that caught other agents cheating in code. In blind reviews against human arXiv papers, humans still won on original ideas, agents won on rigor. alphaxiv.org/abs/2611.societ…
90
413
92
2,182
260,226
Markus J. Buehler retweeted
Huge thanks to all of the collaborators across MIT, Stanford, ETH, CMU, JHU, UCSF & 14 more institutions who made this possible: @rehaanahmad171, Myles Anderson, @ao_qu18465, Mars Gao, @ybkim95_ai, @AkliluJosiah2, @AlfonAmayuelas, Summer Eunhyung Ann, @riccardocadeii, Sajib Acharjee Dip, @nadimfarhat, Akash Haridas, A. Ali Heydari, Shih-Cheng Huang, Yukun Huang, Zhihan Jiang, Lars Benedikt Kaesberg, Art Kanke, Daniel Kim, Bo-Han Lai, Kayla Leung, Jianping Li, Zhanzhao Li, Kazi Mehrab, Kanwal Mehreen, @Michael_D_Moor, @ajinkyamulay, Raj Palleti, @Ipouyall, @iarthsingh, @minwsun, @manantayal_, @taotu831, Lino Le Van, Abdul Waheed, @fwang108_, @lukasweidener, Zhen Wu, @Orson_Xu, @Dingling_Yao, Rojin Ziaei, Boyang Zhong, Haotian Zong, Lin Yang, @ProfBuehlerMIT, and @SRSchmidgall Full technical report, open-source workspace & archive: Paper: alphaxiv.org/abs/2611.societ… Code: github.com/alphaXiv/OpenRese… Dataset: huggingface.co/datasets/alph… Notebook: molab.marimo.io/notebooks/nb…
3
6
1
54
4,293
Markus J. Buehler retweeted
Interesting read! Take-away: interpretably tools (logit-lens, J-lens, steering methods) can probe how "physics-knowledge" and "relationships" are stored in LLMs.
The internal metaphysics of an LLM: An LLM represents physical relationships in a form we can both read and steer, and providing insights into post-training signals that help models develop deeper generalizations of physical principles. Across a large set of materials-science laws, the direction of a shift inside the model revealed whether increasing one quantity makes another rise, fall, or stay the same. That pattern persisted when we rearranged the equations and when we removed them and described the problem in words. By nudging the model’s internal activity, we could test which relationships actually helped produce its predictions. New work published in AI for Science (link and press release below) To measure a spring's stiffness, you pull on it and see how far it stretches. We “pulled” on three versions of Google’s Gemma language model by reversing a single physical change in a question. Then we measured the shift in its hidden state, the set of numbers the model uses as it works toward an answer. Two mathematical lenses helped us read those numbers. The direct logit lens asks which words the model would favor if it had to answer at that stage. A logit is a score for a possible next word or word fragment. The Jacobian lens accounts for how later stages typically reshape that signal. That is, a Jacobian tells us how sensitive each number downstream is to a small change in one upstream. When we described grooves forming along the boundaries of tiny crystals in steel, this lens ranked corrosion first, although the question never named it, revealing some of the inner thoughts of the LLM and how it reasons over physical principles. We also built a graph to see which problems the model treated as similar. Each dot represented a question, and we connected two dots when the patterns of numbers inside the model looked alike. Within a given mechanism, two questions could become neighbors simply because both described an increase. What does that increase mean for the material? More pores, or empty spaces, make a material less stiff. More stiff particles make it stiffer. To see whether the model captured that distinction, we asked each question twice, once with the input increasing and once with it decreasing. The direction of the shift inside the model revealed which way it expected the material to respond. Even without equations or step-by-step hints, both larger models captured the correct direction for all laws that predicted a change. Then we pushed from the inside: A metal is made of tiny crystals called grains; in the metals we tested, smaller grains mean more boundaries between crystals. Those boundaries make it harder for the metal to change shape permanently, so its strength goes up. We kept each question exactly as written and made a small adjustment to the model’s internal numbers, strengthening the signal associated with grain size. Across six distinct metals, the same adjustment made the model favor higher strength when the grains got smaller and lower strength when they grew. Because the effect reversed with the physical situation, we could tell that the grain-size signal helped the model decide which answer to give. The biggest opportunity I see is to turn these measurements into rewards for post-training. After its initial training, a model can learn from feedback. A reward is simply a score that reinforces a particular behavior. Imagine giving the model two versions of a problem, one in which the grains shrink and another in which they grow. We could give it credit for answering both correctly and additional credit when its internal response follows the physical law and helps produce both answers. Then we could change the metal, the numbers, or the wording and test whether the same reasoning holds. That makes the ability to carry a physical principle into a new situation something we can train for directly.
1
7
100
4,626
Markus J. Buehler retweeted
The internal metaphysics of an LLM - our lab poked and stretched an LLM to learn about how it represents its thoughts and how it reasons over complex materials science problems.
The internal metaphysics of an LLM: An LLM represents physical relationships in a form we can both read and steer, and providing insights into post-training signals that help models develop deeper generalizations of physical principles. Across a large set of materials-science laws, the direction of a shift inside the model revealed whether increasing one quantity makes another rise, fall, or stay the same. That pattern persisted when we rearranged the equations and when we removed them and described the problem in words. By nudging the model’s internal activity, we could test which relationships actually helped produce its predictions. New work published in AI for Science (link and press release below) To measure a spring's stiffness, you pull on it and see how far it stretches. We “pulled” on three versions of Google’s Gemma language model by reversing a single physical change in a question. Then we measured the shift in its hidden state, the set of numbers the model uses as it works toward an answer. Two mathematical lenses helped us read those numbers. The direct logit lens asks which words the model would favor if it had to answer at that stage. A logit is a score for a possible next word or word fragment. The Jacobian lens accounts for how later stages typically reshape that signal. That is, a Jacobian tells us how sensitive each number downstream is to a small change in one upstream. When we described grooves forming along the boundaries of tiny crystals in steel, this lens ranked corrosion first, although the question never named it, revealing some of the inner thoughts of the LLM and how it reasons over physical principles. We also built a graph to see which problems the model treated as similar. Each dot represented a question, and we connected two dots when the patterns of numbers inside the model looked alike. Within a given mechanism, two questions could become neighbors simply because both described an increase. What does that increase mean for the material? More pores, or empty spaces, make a material less stiff. More stiff particles make it stiffer. To see whether the model captured that distinction, we asked each question twice, once with the input increasing and once with it decreasing. The direction of the shift inside the model revealed which way it expected the material to respond. Even without equations or step-by-step hints, both larger models captured the correct direction for all laws that predicted a change. Then we pushed from the inside: A metal is made of tiny crystals called grains; in the metals we tested, smaller grains mean more boundaries between crystals. Those boundaries make it harder for the metal to change shape permanently, so its strength goes up. We kept each question exactly as written and made a small adjustment to the model’s internal numbers, strengthening the signal associated with grain size. Across six distinct metals, the same adjustment made the model favor higher strength when the grains got smaller and lower strength when they grew. Because the effect reversed with the physical situation, we could tell that the grain-size signal helped the model decide which answer to give. The biggest opportunity I see is to turn these measurements into rewards for post-training. After its initial training, a model can learn from feedback. A reward is simply a score that reinforces a particular behavior. Imagine giving the model two versions of a problem, one in which the grains shrink and another in which they grow. We could give it credit for answering both correctly and additional credit when its internal response follows the physical law and helps produce both answers. Then we could change the metal, the numbers, or the wording and test whether the same reasoning holds. That makes the ability to carry a physical principle into a new situation something we can train for directly.
1
5
503