CME–SpectrumBench: Can LLMs Analyze Condensed Matter Spectral Data?

Wong Jin Gene, Anjney Midha, Joseph Tennyson, Wei-Lin Chiang, Ion Stoica, Zhi-Xun ShenNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

We know frontier AI models can ace theoretical physics exams, but can they actually analyze messy experimental data? CME–SpectrumBench tests this by asking LLMs to extract physical quantities from noisy, simulated condensed matter spectra. The verdict: models struggle when reading raw data directly, but when given a Python interpreter, they rival—and sometimes beat—human-written analysis code.

What Problem Does This Paper Address?

Most scientific AI benchmarks test symbolic reasoning, coding, or workflow planning. What’s missing is a rigorous test of experimental data analysis: extracting precise, quantitative insights from noisy, real-world-style measurements.

In condensed matter physics, two workhorse experimental techniques are ARPES (Angle-Resolved Photoemission Spectroscopy, which maps how electrons behave in a material) and RIXS (Resonant Inelastic X-ray Scattering, which probes elementary excitations like phonons and magnons). Their outputs are 2D intensity maps—essentially images of energy versus momentum.

Analyzing these maps is a long-context inverse problem. Unlike classic "needle in a haystack" tests where a model just needs to spot one hidden fact, spectral analysis requires integrating information densely dispersed across the entire dataset—all while dealing with random noise and instrumental blurring (convolution).

Methods

The authors built a custom spectrum simulator to generate 2D spectral datasets with known ground truths, avoiding any training-data contamination. Models were evaluated under three-shot, closed-book conditions: they saw three example spectra with answers to figure out the analysis method, then had to solve a fourth test spectrum.

The benchmark splits questions into three difficulty tiers:

  • Tier I: Extracting a single scalar value (e.g., the bottom energy of an electron band).
  • Tier II: Tracing an entire array of values (e.g., a dispersion curve or line width).
  • Tier III: Computing a derived scalar from a Tier II array (e.g., the Fermi velocity, which is the slope of the dispersion curve).

The authors tested two prompting setups on reasoning models released from December 2024 onward (including OpenAI's o-series and GPT-5/5.4, Google's Gemini 2.0/3/3.1, Anthropic's Claude 3.7–4.7, and open-weight models like DeepSeek-R1 and DeepSeek V4 Pro):

  1. Direct prompting: Feeding the 2D intensity arrays ($100 \times 100$ pixels) directly as text strings.
  2. Advanced prompting: Providing the data as .csv files and giving the model access to a Python code interpreter, with or without ReAct prompting (allowing the model to debug its code against the few-shot examples).

Instead of binary pass/fail grading, answers were scored using a continuous Lorentzian function from $0$ to $1$, where $1$ is exact and $0.5$ represents a deviation equal to a typical experimental standard deviation ($1\sigma$).

Datasets

The authors introduce CME–SpectrumBench, a publicly available benchmark of 190 questions spanning 38 question categories across seven scientific domains, each tested at five levels of noise and instrumental convolution. Because the data is generated by their simulator, it provides exact, smooth ground truths even when the input spectra are heavily corrupted.

Key Insights and Ideas

  • Coding assistants, not native data readers: Models are much better at writing Python scripts to analyze data than they are at staring at raw numbers in a prompt.
  • Resolution hurts—especially for patterns: When dataset resolution (and thus token count) increases, Tier I scalar extraction holds steady, but Tier II pattern-tracing drops off steeply.
  • Heuristic shortcuts: Because Tier III questions require finding a Tier II array first, they should be harder than Tier II. Yet models often scored higher on Tier III, suggesting they use clever heuristics to "short-circuit" the math rather than doing the rigorous two-step calculation.
  • A little noise can actually help: Counterintuitively, adding a small amount of noise (10%) sometimes improved a model's score compared to 0% noise. The authors suggest a tiny bit of noise "kicks" the model out of brittle, incorrect heuristics before higher noise (40%) degrades its output into a random walk.

Key Results

  • Direct prompting: The best frontier model scored 0.34 overall (and 0.48 on minimal noise/convolution).
  • Code interpreter / ReAct: Performance jumped to 0.46 overall and 0.68 on minimal noise/convolution—matching or slightly beating handwritten code written by a graduate student over three days (0.45 overall, 0.61 minimal noise).
  • Open-weight models: DeepSeek V4 Pro led the open-weight pack with 0.23 overall and 0.35 on minimal noise.
  • The noise ceiling: While code-enabled models thrived on clean data, their gains were marginal when noise and convolution were severe.

Limitations and Future Work

  • Scale: Real-world ARPES and RIXS datasets are often 3D or much higher resolution than the $100^2$ pixel limit imposed by current context windows.
  • Scope: The benchmark only covers two spectroscopic techniques, and it did not test fine-tuning or Vision Language Models (which the authors note struggle with quantitative precision due to patch embeddings and arbitrary color scales).
  • Looking ahead: The authors envision extending the benchmark to other experimental techniques and testing AI agents in real-time experimental settings—analyzing data on the fly to guide scientists while measurements are still being collected.

Summary updated

BibTeX
@inproceedings{gene2026cmespectrumbench,
  author = {Wong Jin Gene and Anjney Midha and Joseph Tennyson and Wei-Lin Chiang and Ion Stoica and Zhi-Xun Shen},
  title = {{CME–SpectrumBench: Can LLMs Analyze Condensed Matter Spectral Data?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NHQBRaklRP},
}
Figure