AutoXRDAutonomous Large Language Model Agents and Comprehensive Evaluation for Powder X-Ray Diffraction Analysis

Verifiable, stepwise powder X-ray diffraction analysis with executable crystallographic backends and scientific checks.

134XRD tasks
10recent LLMs
1,340agent runs
625.6Mtokens
Overview

Automating and evaluating powder diffraction analysis

Powder X-ray diffraction is central to structural and phase characterization. AutoXRD organizes powder diffraction analysis into refinement stages, uses diffraction diagnostics to select actions, and checks the resulting fits against predefined crystallographic and physical criteria.

XRDBench includes 100 tasks on scientific reasoning and decision-making and 34 end-to-end workflows across eleven diffraction task families. Across ten models, the mean score drops from 61.9 on XRDBench-QA to 53.7 on XRDBench-E2E.

Method

AutoXRD: an agent for powder diffraction analysis

Skill-guided planning, executable crystallographic software, and scientific validation.

AutoXRD input, agent runtime, skill-guided planning, refinement action graph, and the XRDBench evaluation protocol
Overview of AutoXRD and XRDBench. AutoXRD plans and executes refinement steps and validates the resulting fits. XRDBench evaluates diagnostic reasoning and end-to-end analysis.
Benchmark

XRDBench evaluates reasoning and execution

One track tests individual scientific decisions; the other tests complete XRD analyses.

XRDBench-QA100

Diagnostic tasks

Refinement decisions, residual interpretation, parameter recovery, phase analysis, and refinement-history assessment.

  • 30 easy · 40 medium · 30 hard
  • Maximum 20 tool calls
  • Exact matching, objective metrics, and scientific assessment
XRDBench-E2E34

End-to-end workflows

Eleven task families using measured X-ray and neutron powder patterns, with execution and physical validation checks.

  • 11 medium · 23 hard
  • Maximum 50 agent steps
  • Artifact validity 15% · Objective metrics 55% · Scientific judgment 30%
Three-ring chart and task counts for nine XRDBench-QA capabilities and eleven XRDBench-E2E task families
XRDBench composition. The rings group 134 tasks by track, capability, and task family.
Results

Evaluating ten LLMs on XRDBench

Seven models score lower on end-to-end workflows than on the QA track.

Overall mean57.8

out of 100 across the two tracks

QA mean61.9

scientific reasoning and decisions

E2E mean53.7

executable XRD workflows

Best overall81.1

GPT-5.6 Sol

Overall, QA, and end-to-end scores for ten language models, with 95% bootstrap intervals for overall scores
Overall performance. The two tracks receive equal weight in the overall score. Error bars show 95% task-bootstrap confidence intervals for the overall score.
Fine-grained analysis

Performance across XRD capabilities

One radar chart per model comparing nine QA capabilities and nine end-to-end reporting domains
Capability profiles. Models score highest on refinement-history assessment and result acceptance in QA. Action selection and phase quantification are among the weakest QA capabilities.
Model comparison

Cross-track rankings and efficiency

Six panels comparing QA and end-to-end scores and ranks, and overall score versus runtime, model turns, tokens, and estimated inference cost
Cross-track rankings and efficiency. The tracks show moderate agreement (Pearson r = 0.557, Spearman ρ = 0.648). Resource means pool 134 tasks per model.
Citation

AutoXRD

If you use AutoXRD or XRDBench, please cite our paper.

@misc{wu2026autoxrdautonomousllmagents,
  title={AutoXRD: Autonomous LLM Agents and Comprehensive Evaluation for Powder Diffraction Analysis},
  author={Yuetong Wu and Maojun Sun},
  year={2026},
  eprint={2609.00070},
  archivePrefix={arXiv},
  primaryClass={cond-mat.mtrl-sci},
  url={https://arxiv.org/abs/2609.00070}
}
Visitor map and page-view counter