Manuscript Offprint

arXiv:2610.24304

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

Jin Gene Wong, Anjney Midha, Joseph Mathew Tennyson, Wei-Lin Chiang, Ion Stoica, Zhi-Xun Shen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jin Gene Wong

Physics Department and

Stanford Laboratory for Intelligent Matter

Stanford University

Stanford, CA 94305

jgw33@stanford.edu

Joseph Mathew Tennyson

Electrical Engineering

& Computer Sciences

University of California, Berkeley

Berkeley, CA 94720

joseptennyson@berkeley.edu

Ion Stoica

Electrical Engineering

& Computer Sciences

University of California, Berkeley

Berkeley, CA 94720

istoica@berkeley.edu

Anjney Midha

Applied Physics Department

Stanford University

Stanford, CA 94305

anjney@stanford.edu

Wei-Lin Chiang

Electrical Engineering

& Computer Sciences

University of California, Berkeley

Berkeley, CA 94720

weichiang@berkeley.edu

Zhi-Xun Shen

Applied Physics Department,

Physics Department, and

Stanford Laboratory for Intelligent Matter

Stanford University

Stanford, CA 94305

zxshen@stanford.edu

Abstract

Large Language Models (LLMs) are presently well assessed by expert-level mathematics and physics benchmarks which focus on theoretical, symbolic reasoning. However, we lack experimental benchmarks that evaluate data analysis in frontier research problems, a capability that future domain-specific foundation models must have. To this end, we present CME-SpectrumBench, an expert-designed benchmark consisting of 190 questions that measures how reliably frontier LLMs analyze research-level spectral scientific data in condensed matter experiments (CME). Using simulated CME spectral data, we prompt models to identify structures from 2D intensity arrays in the face of noise and limited instrumental resolution, a test of dense context reasoning. Models are scored by how accurately their numerical answers approach the ground truth. Under direct query, scores generally pale in comparison to handwritten code due to clear failure modes: models can find simple features but struggle to trace patterns or compute derived quantities, and performance typically degrades with increased data resolution and noise/convolution levels. LLM performance becomes comparable to handwritten code by allowing tool use (access to a Python interpreter) with/without ReAct prompting, in effect mapping questions onto agentic code generation problems. Our findings show that frontier models can serve as research assistants by interfacing with data through code, but still face difficulties processing information directly from large datasets — a key barrier future foundation models must overcome. The code and data are publicly available at https://huggingface.co/datasets/jingene/CMESpectrumBench.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

1 Introduction

As frontier AI systems are increasingly adopted in the sciences, we need evaluations for rigorous, dependable scientific reasoning. Many scientific benchmarks focus on competence in code generation [1], workflow generation [2], or symbolic reasoning [3; 4; 5], drawing on insights by earlier, non-scientific benchmarks (Appendix A). However, a core skill for scientific reasoning remains relatively unevaluated: extracting meaningful information from noisy experimental data, a task which scientists, AI agents, and domain-specific foundation models must perform reliably.

CME–SpectrumBench fills this gap. It is the first benchmark to test frontier models on research–level spectral analysis in condensed matter experiments (CME), a necessary counterpart to theoretical condensed matter benchmarks developed in the past year [3; 4; 5]. Condensed matter, the field responsible for developing advanced materials underpinning modern technology—including computing hardware enabling the advent of AI itself—promises to beget further scientific and computing breakthroughs (Appendix B). It shares, with AI, the common thrust of studying extremely complex systems (on the order of Avogadro’s constant, ∼1023\sim 10^{23}, see Appendix D), but lacks the breadth of features afforded to LLMs, viz. interpretability and Golden Gate Claude [6], because these features are accessible only if an experiment is physically feasible. The most direct, information–dense experimental tools are spectroscopic probes, the tip of the spear in condensed matter research. CME–SpectrumBench focuses on Angle–Resolved Photoemission Spectroscopy (ARPES) [7; 8] and Resonant Inelastic X–ray Scattering (RIXS) [9; 10], two well–characterized spectroscopies.

Spectral analysis is a long-context inverse problem that shares key attributes with dense context reasoning (MMReD) [11], Multi-Round Co-reference Resolution (MRCR) [12], and latent structure queries (Michelangelo) [13]. Transcending prior ‘needle in a haystack’ (NIAH) tasks where models retrieve limited information sparsely embedded in a long and noisy context, in these evaluations models must integrate extensive information densely dispersed across an entire context (‘x’) in order to retrieve abstract structures (‘y’). Likewise, information needed to calculate analytic quantities in CME spectra (‘y’) are diffused across large amounts of data (‘x’) complicated by experimental artefacts. For example, in Fig. 1(a), the spectrum (‘x’) contains information (‘y’) extracted by analyzing systematic patterns—such as its dispersion (solid white line) or line width (which broadens the dispersion)—despite corrupting effects of noise and convolution due to instrumental resolution, shown in Fig. 1(b, c). The ability to perform dense context reasoning is a prerequisite for future foundation models in physics. Whereas biological foundation models [14; 15; 16; 17; 18] have discrete tokenizable elements (such as amino acids or base pairs, akin to scripts in natural languages), data in physics are continuous, albeit binned into 1D intervals, 2D pixels, or 3D voxels. This attribute introduces an additional complication for foundation models in physics: it is unclear how data should be tokenized to balance computational efficiency and quantitative accuracy, a question which stands in addition to the extant problem of models learning patterns from priorly tokenized elements (such as biological models learning protein structures from amino acid sequences).

Figure

(a)

(b)

(c)

Figure 1: Sample spectral function A(k,ω)A(k, \omega) from the bottom of a band, from which we may draw three tiers of questions (Section 2.3). Increasing noise levels are shown: (a) 0%, (b) 10%, (c) 40%.

In CME–SpectrumBench, models extract patterns by learning from examples rather than applying explicitly stated rules, and numerical answers are scored by their deviation from the ground truth. High–resolution datasets pushing context length limits were generated by a high–fidelity ARPES and RIXS spectrum simulator to avoid training contamination. We test recent reasoning models and find that only frontier systems released after December 2024 show meaningful progress, as shown in the leaderboard in Fig. 2. (As a rule of thumb, a score of 1 is a perfect answer, while 0.5 deviates by an amount equal to typical experimental standard deviation, 1σ1\sigma.) Although newer models perform better, when vanilla direct prompting is used, the best model achieves 0.34 out of 1 averaged over all spectra (blue bars), rising to 0.48 for questions with minimal noise/convolution (green bars). Enabling code generation with/without ReAct prompting increased scores to as much as 0.46 (all spectra) and 0.68 (minimum noise/convolution), with strong gains for questions with relatively low noise/convolution, but minimal improvement when severe (Fig. 2b). Within the latest slew of open–weight models, DeepSeek V4 Pro was by far the best, scoring 0.23 (averaged) and 0.35 (minimum noise/convolution). In comparison, several hundred lines of basic code written by a graduate student over three days, with input from researchers of equivalent calibre (Appendix F and repository), achieve 0.45 (all spectra) and 0.61 (minimum noise/convolution), a significant gap in performance over all but the very best of models.

References (73)