AtomWorld: A Benchmark for Evaluating Spatial Reasoning in Large Language Models on Material Structures

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

Large language models (LLMs) have demonstrated remarkable potential in materials science, excelling at tasks like knowledge retrieval and property prediction. However, real-world scientific workflows demand more than just answering questions or generating one-shot predictions. Constructing and manipulating atomic structures—such as adding dopants, creating grain boundaries, or stacking 2D materials—remains one of the most creative, incremental, and least automated steps in materials research.

To address this gap, researchers have introduced AtomWorld, a novel benchmark designed to move LLMs beyond scientific "chatting" and evaluate their ability to actively perform structural modeling. By testing an LLM's "motor skills" in 3D space, AtomWorld reveals that while contemporary models serve as capable copilots for simple edits, they hit a hard wall when tasked with complex spatial reasoning.

The Challenge of Structural Manipulation

Current materials science benchmarks primarily focus on perception (answering questions about a given structure) or knowledge retrieval. They largely ignore the structural modeling tasks that form the backbone of computational materials science.

If LLMs are to evolve into autonomous scientific agents, they must master the ability to manipulate Crystallographic Information Files (CIFs) faithfully. This means executing a sequence of geometric operations in 3D space without "hallucinating" atom positions or violating the laws of physics.

The AtomWorld Framework

AtomWorld evaluates models through a rigorous, verifiable two-stage pipeline:

  1. Inference: An LLM receives an input crystal structure (in CIF format) alongside a natural language instruction (e.g., "Swap the positions of the atoms at index 5 and 12").
  2. Evaluation: The model's output undergoes a strict three-step validation process:
  3. Format Validation: Is the output a valid, parseable CIF?
  4. Composition Verification: Does the modified structure contain the correct elements and atom counts?
  5. Structural Matching: Does the geometry match the ground truth? This step uses symmetry-aware alignment to ensure the underlying physics remains correct even if the model shifts the coordinate system.

Comprehensive Evaluation Datasets

The benchmark introduces several targeted datasets to isolate different capabilities:

  • AtomMotor-2K: The core benchmark featuring 2,500 tasks across ten fundamental action categories (Add, Remove, Change, Swap, Move, Move Towards, Insert Between, Delete Below, Rotate Around, and Supercell).
  • Pure Coordinate Tests: A stripped-down version using raw XYZ coordinates to isolate spatial math from CIF formatting complexities.
  • CIF Literacy Tests: Evaluates whether models can fix corrupted files or generate standard prototypes from scratch.
  • StructProp: A high-level reasoning task requiring models to modify a structure to achieve a specific property change (e.g., increasing the band gap).

Key Findings and Insights

1. The "Rotation Wall" and Spatial Reasoning

LLMs do not "visualize" structures; reasoning traces reveal they approach spatial tasks through explicit linear algebra and step-by-step arithmetic. Consequently, while models succeed at simple operations, they fail dramatically when the math becomes complex. Success rates for the rotate_around action were exceptionally low—falling below 12% for most models—highlighting a fundamental weakness in 3D geometric transformation.

2. Top Performers and the Limits of Scaling

Gemini 2.5 Pro emerged as the top-performing model overall, with models like Claude Opus also demonstrating strong baseline capabilities (achieving high success rates on easier tasks). However, scaling up parameters yields diminishing returns. The performance gap between mid-sized and frontier models closes on the hardest tasks, suggesting that simply adding more parameters will not solve the spatial reasoning deficit.

3. Tool Augmentation Offers a Lifeline

The researchers also tested tool-augmented agents, allowing LLMs to use Python libraries like Pymatgen to perform complex math rather than relying on internal arithmetic. Using a Retrieval-Augmented Generation (RAG) workflow significantly boosted performance. For instance, DeepSeek's success on the difficult rotate_around task jumped from 6.8% to 18%—a notable improvement, though still far from perfect.

4. Text as a Bottleneck

Frontier models proved excellent at fixing broken CIF files (>90% success), proving their failures in AtomWorld stem from poor spatial reasoning rather than a lack of syntax understanding. CIF files, while information-complete, are spatially inefficient for text-based models, forcing them to internally reconstruct 3D relationships from 1D coordinate lists.

The Path Forward

The results from AtomWorld suggest that today's LLMs are best suited as copilots for materials structure modeling rather than fully unsupervised autonomous agents.

To bridge the gap, future research must look beyond text-only, open-loop systems. The authors highlight the need for iterative "action-observation" feedback loops, allowing models to correct mistakes as a human scientist would. Furthermore, multimodal vision-language models that can "see" 3D renderings may eventually overcome the text bottleneck. Until then, AtomWorld serves not just as an evaluation tool, but as a critical testbed and playground for training future structure-aware models via reinforcement learning.

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 Material Structures}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=iI9jALGSZ4},
}
Figure