Reading and Steering Representations of Materials-Science Mechanisms in an Open-Weight Language Model
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, using three open-weight Gemma 4 models (google/gemma-4-E4B-it, google/gemma-4-12B-it, google/gemma-4-31B-it) we identify three experimentally separable signatures of materials-science mechanism information: selective concept readability, relational encoding of qualitative constitutive orientation, and causal, context-dependent control of constrained 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.
Create a lesson
Metadata
- Categories
- cs.AI, cond-mat.mes-hall, cond-mat.mtrl-sci, cs.CL
Related papers
Agentic coding without the cloud: evaluating open-weight large language models on longitudinal data preparation tasks
Shared title terminologycs.AIMack Nixon, Liam Wright, Yevgeniya Kovalchuk et al.
The Platonic Representation Hypothesis in Jacobian-Space: Language and Vision Models Agree Approximately Up to a Rotation
Shared title terminologycs.AIRoss Murphy, Gabriel Brostow
Linguistic Context Recodes Visual Representations in Vision-Language Models
Shared title terminologycs.AIBrian Song, Michael A. Lepori, Ellie Pavlick
TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination
Shared title terminologycs.AIJinkun Zhao, Wenjun Wu
A Failure-Driven Data Flywheel for Post-Training Vision-Language-Action Models
Shared title terminologycs.AIYuhao Luo, Zihao Sheng, Zilin Huang et al.
ZeroHero: Training Small Language Agents from Scratch
Shared title terminologycs.AINikita Sorokin, Zoya Volovikova, Alexey Skrynnik et al.