SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.06289 · 2026

How well can off-the-shelf LLMs elucidate molecular structures from mass spectra using chain-of-thought reasoning?

Lin Liu, Hao Xu, Haibin Ling, Yufeng Wang, Wei Lu, Lu Wei

arXiv · PDF · Open in the Atlas

Code that ran

18 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 11 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2601.06289.json · badge: /api/ran/2601.06289.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
airscker/ms-cot-benchmark canonical (classifier label)
classifier basis: census
18 ran · 0 no recorded run
FunctionStatusWhere it lives
calc_dbe Ran
ran, honoured the contract we drafted
airscker/ms-cot-benchmark/prepare_dataset.py
pointer only (licence: NONE) · get_code("f153c5d49fefb08b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_answer_block_presence Ran
ran, violated the contract we drafted
airscker/ms-cot-benchmark/smiles_accuracy_analysis.py
pointer only (licence: NONE) · get_code("0838f27d2e3d42af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

check_think_block_presence Ran
ran, violated the contract we drafted
airscker/ms-cot-benchmark/smiles_accuracy_analysis.py
pointer only (licence: NONE) · get_code("e0d6d72115c16740")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

count_heavy_atoms Ran
ran on a synthesized input
airscker/ms-cot-benchmark/analyze_molecules.py
pointer only (licence: NONE) · get_code("e7267f92ca977452")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_blocks Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/analyze_cot.py
pointer only (licence: NONE) · get_code("87986377bfe154b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_blocks Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/evaluate.py
pointer only (licence: NONE) · get_code("889c7e8d1018ba97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_dbe_value Ran
ran, honoured the contract we drafted
airscker/ms-cot-benchmark/evaluate.py
pointer only (licence: NONE) · get_code("8493a30365597c6e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_smiles_from_answer_block Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/smiles_accuracy_analysis.py
pointer only (licence: NONE) · get_code("32512331566c447f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_answers Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/evaluate.py
pointer only (licence: NONE) · get_code("a2636a1e2f28efc0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_claude_answers Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/loaders.py
pointer only (licence: NONE) · get_code("a7898d418d4ca304")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_gpt4o_answers Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/loaders.py
pointer only (licence: NONE) · get_code("29c074105784cbc2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_llama_answers Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/loaders.py
pointer only (licence: NONE) · get_code("b5853ee68bb05c52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_results Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/analyze_cot.py
pointer only (licence: NONE) · get_code("52322961a364c485")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_results Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/plot_results.py
pointer only (licence: NONE) · get_code("70af9a90f94c1cab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_peak_list Ran
ran, honoured the contract we drafted
airscker/ms-cot-benchmark/prepare_dataset.py
pointer only (licence: NONE) · get_code("a03e4775a39538d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_radar_data Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/plot_results.py
pointer only (licence: NONE) · get_code("3ad3b85ed4c1c6ae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

query_llama3 Ran
ran; our contract draft was wrong, not the code
airscker/ms-cot-benchmark/llama3-8b.py
pointer only (licence: NONE) · get_code("3e86441ea0039826")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

smiles_complexity Ran
ran, honoured the contract we drafted
airscker/ms-cot-benchmark/analyze_molecules.py
pointer only (licence: NONE) · get_code("858115443800df20")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, airscker/ms-cot-benchmark when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 17 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Mass spectrometry (MS) is a powerful analytical technique for identifying small molecules, yet determining complete molecular structures directly from tandem mass spectra (MS/MS) remains a long-standing challenge due to complex fragmentation patterns and the vast diversity of chemical space. Recent progress in large language models (LLMs) has shown promise for reasoning-intensive scientific tasks, but their capability for chemical interpretation is still unclear. In this work, we introduce a Chain-of-Thought (CoT) prompting framework and benchmark that evaluate how LLMs reason about mass spectral data to predict molecular structures. We formalize expert chemists' reasoning steps-such as double bond equivalent (DBE) analysis, neutral loss identification, and fragment assembly-into structured prompts and assess multiple state-of-the-art LLMs (Claude-3.5-Sonnet, GPT-4o-mini, and Llama-3 series) in a zero-shot setting using the MassSpecGym dataset. Our evaluation across metrics of SMILES validity, formula consistency, and structural similarity reveals that while LLMs can produce syntactically valid and partially plausible structures, they fail to achieve chemical accuracy or link reasoning to correct molecular predictions. These findings highlight both the interpretive potential and the current limitations of LLM-based reasoning for molecular elucidation, providing a foundation for future work that combines domain knowledge and reinforcement learning to achieve chemically grounded AI reasoning.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2601.06289")
get_code_for_paper("2601.06289")
have("2601.06289")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2601.06289.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2601.06289.svg)](https://syntology.ai/paper/2601.06289)

Connect an agent — have() is free.