AtomWorld: A Benchmark for Evaluating Spatial Reasoning in Large Language Models on Crystalline Materials

Taoyuze Lv, Alexander Chen, Fengyu Xie, Chu Wu, Jeffrey Meng, Dongzhan Zhou, Yingheng Wang, Bram Hoex, Zhicheng Zhong, Tong Xie

TL;DR

AtomWorld is a new benchmark designed to evaluate how well Large Language Models (LLMs) can perform "motor skills" in materials science—specifically, the ability to manipulate 3D atomic structures via natural language commands. The study reveals that while frontier models handle simple edits well, they struggle significantly with complex spatial reasoning like rotations, suggesting LLMs are currently best suited as scientific "copilots" rather than fully autonomous agents.

What Problem Does This Paper Address?

While LLMs have shown impressive results in scientific knowledge retrieval and property prediction, their ability to perform actual modelling—the construction and manipulation of physical structures—remains largely untested. In materials science, building a model isn't just a symbolic task; it involves objects embedded in continuous 3D space where geometry and topology dictate behavior.

Constructing complex structures like defective crystals or stacked heterostructures requires incremental, step-by-step modifications. This paper addresses the gap in evaluating LLMs as "agentic" actors capable of proposing and executing precise structural transformation plans. Can an LLM "visualize" a 3D change and output the correct resulting coordinates in a standardized format?

Methods

The authors introduced the AtomWorld framework, which consists of a data generation workflow and a rigorous evaluation pipeline.

  1. AtomWorld Generator: This tool takes a base structure and applies one of ten fundamental actions (e.g., add, swap, rotate_around) to create a "before-action-after" triple. It then generates a natural language prompt describing the change.
  2. Standardized Input: The benchmark uses the Crystallographic Information File (CIF) format, specifically the standardized versions from the Materials Project and pymatgen.
  3. Evaluation Pipeline: As shown in the flowchart below, the model's output undergoes a three-step validation:
  4. Format Validation: Is the output a valid CIF?
  5. Composition Verification: Does it have the right number and type of atoms?
  6. Structural Matching: Using symmetry-aware alignment, does the generated structure match the ground truth within a 0.5 Å tolerance?
Figure 1. AtomWorld benchmark flowchart. The AtomWorld generator follows a structured data flow: the random sampler selects a structure from a predefined structure pool; the random initializer parametrizes the chosen action template by assigning atom indices and/or positions; the structure operator applies the instantiated action to the original structure to obtain the target structure; and the prompter generates a natural language description aligned with the action. The resulting (input structure, action prompt) pairs are then fed into the LLM agent system, whose generated structure is compared against the target structure using the StructureMatcher from pymatgen to compute the desired evaluation metric.

Datasets

  • AtomMotor-2K: The primary benchmark, containing 2,500 questions covering ten fundamental structural operations across four categories (Point defects, Surface generation, Perturbation, and Supercell creation).
  • Materials Project (MP): Used as the source for the base crystal structures.
  • Complementary Probes: The authors also designed specialized tests for:
  • Pure Coordinates: Stripping away CIF syntax to test raw spatial math.
  • CIF Literacy: Tasks for repairing corrupted CIF files or generating them from scratch.
  • Chemical Competence (CCS): Distinguishing chemically accurate descriptions from inaccurate ones.
  • StructProp: Modifying structures to achieve specific property changes (e.g., increasing band gap).

Key Insights and Ideas

  • "Motor Skills" vs. Perception: The paper frames structure manipulation as an execution problem. It’s not enough for a model to "know" what a defect is; it must be able to calculate and write the new coordinates accurately.
  • Algorithmic Reasoning: Reasoning traces show that LLMs don't "visualize" structures like humans do. Instead, they attempt to solve these tasks through explicit linear algebra and step-by-step arithmetic.
  • The Spatial Bottleneck: There is a clear hierarchy of difficulty. Actions that require simple arithmetic (like add or remove) are easy. Actions requiring complex spatial relations (like rotate_around) are extremely difficult for current models.
  • Textual Inefficiency: While CIF files are information-complete, representing 3D space in a 1D text string forces the model to internally reconstruct spatial relationships, which is highly inefficient.
  • Scaling vs. Strategy: While larger models generally perform better, architectural choices matter. For instance, the 32B Qwen3 model outperformed the 70B Llama-3 across most tasks, suggesting that training data and strategy are as vital as parameter count.

Key Results

The researchers evaluated a wide range of models, including Claude 4.6, GPT-o3, Gemini 2.5 Pro, and the Qwen3 series.

  • Top Performers: Claude Opus 4.6 and GPT-o3 generally led the pack.
  • Success Rates: Models achieved high success (often >90%) on simple tasks like change or remove. However, success plummeted to below 12% for rotate_around tasks.
  • The "Super Cell" Paradox: The super_cell task proved uniquely challenging because it requires both large-scale repetition (easy) and extremely long-context output (hard).
  • Tool Augmentation: Using a RAG-based approach to give models access to pymatgen APIs improved performance (e.g., DeepSeek's success on rotations rose from 6.8% to 18%), but it did not solve the underlying spatial reasoning deficit.
Figure 2. a. Success rate metric across AtomMotor-2K, CIF-Repair, CIF-Gen and StructProp datasets. The brighter yellow represent more positive outcomes. b. Mean max dist metric across AtomMotor-2K and CIF-Gen datasets. c, d. Parameter scaling results on Qwen3 series. The right side are some randomly sampled structures from the tested data.

Limitations and Future Work

The authors acknowledge several limitations:

  • Single-Step Focus: The current benchmark evaluates individual actions rather than complex, multi-step agentic workflows.
  • Modality: The benchmark is currently text-only. Future iterations could include structural visualizations to see if multimodal inputs improve spatial "intuition."
  • Feedback Loops: Current LLM workflows lack effective feedback mechanisms. AtomWorld’s verifiable metrics could eventually be used as a reward signal for Reinforcement Learning (RL) to train more "structure-aware" models.

Ultimately, AtomWorld serves as both a sobering reality check for autonomous science and a "playground" for developing the next generation of spatially-competent AI agents.

Summary updated

BibTeX
@inproceedings{lv2026atomworld,
  author = {Taoyuze Lv and Alexander Chen and Fengyu Xie and Chu Wu and Jeffrey Meng and Dongzhan Zhou and Yingheng Wang and Bram Hoex and Zhicheng Zhong and Tong Xie},
  title = {{AtomWorld: A Benchmark for Evaluating Spatial Reasoning in Large Language Models on Crystalline Materials}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=iI9jALGSZ4},
}
Figure