Reading and Steering Representations of Materials-Science Mechanisms in an Open-Weight Language Model
AuthorsMarkus J. Buehler
Resources
The study tests whether a language model genuinely tracks materials physics by reading and manipulating its internal representations rather than judging answers alone.
Key results
Correctly oriented 39 of 40 directional laws in the 60-law benchmark
Physically correct answer shifts in all 12 of 12 refinement/coarsening conditions
OpenAI gpt-5.5 identified 9 of 10 mechanism families from decoded word sets
Option-free hidden-state graph performance at the natural question boundary
google/gemma-4-E4B-it model architecture
What the paper found
MIT researcher Markus J. Buehler investigates whether a language model’s correct materials-science answer reflects physical reasoning or merely lexical and numerical shortcuts. Using Google’s open-weight google/gemma-4-E4B-it, a 42-layer transformer, the study combines direct unembedding, three independently fitted Jacobian lenses, hidden-state geometry, counterfactual comparisons, and causal activation interventions. In 50 held-out descriptions spanning ten mechanism families, target-free decoded word sets enabled blinded identification of 9 of 10 families, although direct and Jacobian readouts performed similarly and prompt wording remained a strong confound. A 72-prompt graph showed comparative organization at the natural question boundary, with AUC 0.642, but exact audits found that its apparent physical polarity was equally explained by numerical direction. The strongest representational result came from a neutral-anchored 60-law benchmark: matched hidden-state changes distinguished direct, inverse, and neutral constitutive relations, correctly orienting 39 of 40 directional laws, while lexical controls were near chance. Causal steering was narrower but compelling: one grain-size direction reversed appropriately between refinement and coarsening in all 12 of 12 matched conditions, yet failed when transferred to new answer vocabularies and the inverse Hall–Petch regime. Full-state patching transferred late numerical and decision features across mechanisms, but not a universal physical-relation representation. An OpenAI gpt-5.5 interpreter recognized 9 of 10 mechanism families from decoded word sets, reinforcing semantic readability without proving causal use. The paper’s central conclusion is that materials relationships are more reliably revealed by controlled state transformations than by absolute hidden-state geometry, and that causal interpretability remains context-dependent.
Original abstract
Large language models can answer scientific questions, yet a correct output does not reveal whether the model represents or uses the governing physics. Here we show that materials science mechanism information in the open-weight google/gemma-4-E4B-it model has three experimentally separable forms: concepts are readable in individual hidden states, constitutive orientation is carried by controlled transformations between states, and selected internal representations causally control engineering answers. We combine matched direct and Jacobian vocabulary readouts, option-free state geometry, a 60-law counterfactual benchmark and causal interventions. In 50 held-out materials descriptions, three independently fitted Jacobian lenses reproduced concept ranks, and target-free word sets from both readouts enabled blinded identification of 9 of 10 mechanism families. A separate 72-prompt benchmark produced mechanism-specific hidden-state neighborhoods, but an exact graph audit showed that this apparent physical organization was equally explained by numerical comparison. We therefore compared otherwise identical prompts in which only the direction of the physical input was reversed, asking whether the resulting hidden-state movement followed the supplied constitutive law. These state transformations ordered direct, physically neutral and inverse laws across 60 frozen relations and correctly oriented 39 of 40 directional laws, whereas lexical controls were near chance. Bidirectional interventions shifted answer probabilities toward or away from the physically appropriate outcome across all 12 matched cases, while counterfactual state patches transferred opposing decision signals across mechanisms and answer formats. Physical relationships were therefore more visible in controlled state changes than in absolute states alone.
Read the original paperMore in AI for Science
Browse all 58 papers →DrugCoding: A Scientific Programming Agent for Drug Discovery
Junwei Hu, Zhuohao Lin, Kun Li, Hengnan Zhang
DrugCoding is an AI agent that plans and executes multi-step computational tasks to help automate drug discovery.
Reliability by Architecture: Agentic Workflows for Validated Multi-Physics Simulation from Natural Language
Søren Taverniers, Eric Darve, Hamdi A. Tchelepi
An LLM-assisted workflow prepares and repairs multi-physics simulations, while deterministic checks help ensure the results match both the physics and the user’s request.
Sample-Efficient Control of Magnetoconvective Flows via Differentiable Simulation
Jannis Becktepe, Dmitry Krasnov, Nils Thuerey, Jörg Schumacher, Sebastian Peitz
A differentiable simulator helps researchers control magnetoconvective flows more efficiently and design better heat-transfer outcomes.