Can LLMs Reason Structurally? Benchmarking via the lens of Data Structures
Yu He, Yingxi Li, Colin White, Ellen Vitercik
ICML · 2026
Validity evidence
Evidence from the paper
- Objects of Evaluation
- yes
- Intended Users
- yes
- Intended Interpretation or Use
- yes
- Capabilities Stated
- yes
- Capability Choice Justification
- yes
- Capability Definitions
- defined
- Capability Definition Justification
- yes
- Measured Capability Structure
- no
- Capability Structure Justification
- no
- Data Source
- newly created
- Newly-Created Sub-Type
- synthetic, human written
- Data Description
- detailed
- Item-to-Capability Mapping
- implicit
- Content Justification
- yes
- Primary Adaptation Method Description
- zero shot, chain of thought, custom prompt
- Downstream Adaptation Prescription
- no
- Adaptation Justification
- yes
- Assembly Method
- use all
- Assembly Justification
- yes
- Evaluation-Set Policy
- subset recommended
- Official Evidence Extraction Method
- automatic metric
- Metric Justification
- yes
- Within-Slice Evidence Accumulation
- pooled counts, averaging
- Cross-Slice Evidence Accumulation
- macro average
- Evidence Accumulation Justification
- partial
Reported model results
DSR-Bench
| Model or baseline | Score | Chart |
|---|---|---|
| Task score (0–1)Can LLMs Reason Structurally? Benchmarking via the lens of Data Structures · Table 2 Main suite · Array | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 0.99 | ||
| 0.99 | ||
| 0.96 | ||
| 0.99 | ||
| 0.98 | ||
| 0.94 | ||
| 0.9 | ||
| 0.69 | ||
| Phi-4-R-14B | 0.63 | |
| 0.49 | ||
| Task score (0–1)Can LLMs Reason Structurally? Benchmarking via the lens of Data Structures · Table 2 Main suite · Linear | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 0.99 | ||
| 0.99 | ||
| 0.96 | ||
| 0.99 | ||
| 0.98 | ||
| 0.94 | ||
| 0.9 | ||
| 0.69 | ||
| Phi-4-R-14B | 0.63 | |
| 0.49 | ||
| Task score (0–1)Can LLMs Reason Structurally? Benchmarking via the lens of Data Structures · Table 2 Main suite · Stack | ||
| 1 | ||
| 1 | ||
| 1 | ||
| 0.99 | ||
| 0.97 | ||
| 0.99 | ||
| 0.99 | ||
| 0.41 | ||
| 0.55 | ||
| 0.36 | ||
| 0.04 | ||
| Phi-4-R-14B | 0.12 | |
| 0.09 | ||
| Task score (0–1)Can LLMs Reason Structurally? Benchmarking via the lens of Data Structures · Table 2 Main suite · Queue | ||
| 1 | ||