Papers › Unlocking High-Fidelity Molecular Generation from Mass Spectra via Dual-Stream Line...

Unlocking High-Fidelity Molecular Generation from Mass Spectra via Dual-Stream Line Graph Diffusion

7 May 2026arXiv:2605.07048added by Syntology

Xujun Che, Xiuxia Du, Depeng Xu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

De novo molecular generation from tandem mass spectra is a challenging inverse problem whose core difficulty lies in the circular dependency between atom-level and bond-level reasoning: determining a bond's type requires knowing its endpoint atoms' chemical environment, yet an atom's environment is in turn defined by its incident bonds. Existing graph diffusion methods process atoms and bonds within a single computation stream, where atom-bond information synchronization can only occur implicitly across layers. We argue that this single-stream paradigm, rather than the choice of any particular aggregation kernel, is a key architectural bottleneck. We propose DualLGD (Dual-stream Line Graph Diffusion), which reformulates molecular graph denoising as the alternating solution of two coupled subproblems: atom-level reasoning and bond-level reasoning, each operating in its own dedicated representation space. The line graph provides a natural mathematical construction for the bond space, in which bond angles, dihedrals, conjugation chains, and rings correspond to local topological motifs between bonds. Incidence-constrained bidirectional cross-attention synchronizes the two streams at every layer, ensuring that each atom attends only to its incident bonds and vice versa, respecting the fundamental chemical principle that an atom's environment is determined by its bonding context. On the NPLIB1 and MassSpecGym benchmarks, DualLGD achieves top-1 accuracy of 34.37\% and 23.89\%, approximately 3× the previous state of the art. Ablation studies confirm the architecture as the primary source of improvement: DualLGD without any pre-training already surpasses the previous best fully pretrained model.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.07048")

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · honoured contract; 9 ran with no contract checked.

By repository: found in paper text by Syntology: 16 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

du-lab-data-science/DualLGD found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 11 ran; 2 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
9ran
5unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from du-lab-data-science/DualLGD. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ELUPlusOneSelfAttention du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 7631aefea4a1a618 · report
FeedForward du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 6ce3de746b63cb89 · report
FiLMConditioner du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · e3aad312f5e73601 · report
MaskedCrossAttention du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · bffc610dbe3fc42d · report
NodeEdgeBlock du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 455e20737ca978e1 · report
PerformerFeatureMap du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 655c597bf5fe6021 · report
PerformerSelfAttention du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 2bfc8f7589e18ce3 · report
SoftmaxSelfAttention du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 756b84fee8389e11 · report
Xtoy du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran MIT (permissive) · 267ec92b6214cdcb · report
_iid_gaussian_random_matrix du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran · honoured contract MIT (permissive) · 59d4282bb5cdc95d · report
_orthogonal_gaussian_random_matrix du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology ran · honoured contract MIT (permissive) · 93217a07da57bba8 · report
DualAttentionBlock du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology unverified MIT (permissive) · 795cd5cd9061fb80 · report
DualLGD du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology unverified MIT (permissive) · f442cb7661864476 · report
Etoy du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology unverified MIT (permissive) · 11d64ebd668b37b1 · report
XEyTransformerLayer du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology unverified MIT (permissive) · 58397444f9e72fe0 · report
masked_softmax du-lab-data-science/DualLGD/src/models/duallgd_transformer.py found in paper text by Syntology unverified MIT (permissive) · bab87e7f0fea40be · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.07048, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections