SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2209.15315 · ICML · 2023

FusionRetro: Molecule Representation Fusion via In-Context Learning for Retrosynthetic Planning

Rex Ying, Minkai Xu, Jian Tang, Peilin Zhao, Zuobai Zhang, Songtao Liu, Dinghao Wu, Lu Lin, Zhengkai Tu, Graphretro Neuralsym

arXiv · PDF · Open in the Atlas

Code that ran

5 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 2 failures of our instrument; 11 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2209.15315.json · badge: /api/ran/2209.15315.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
SongtaoLiu0823/FusionRetro canonical (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
songtaoliu0823/fusionretro marked official in Papers with Code
Papers with Code archive
5 ran · 10 no recorded run
FunctionStatusWhere it lives
Embeddings Ran
ran on a synthesized input · constructed an object; no result was computed
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("2db11c865eb4def6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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.

MemoryMechanismMultiHeadAttention Ran
ran on a synthesized input · constructed an object; no result was computed
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("49bbbcad6b3ba9e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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.

MutualMultiHeadAttention Ran
ran on a synthesized input · constructed an object; no result was computed
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("ce740963c248e166")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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.

get_attention_mask Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("aab6b0ababd814f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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.

get_mem_attention_mask Ran
ran; our contract draft was wrong, not the code
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("63f5e5133356e1ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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.

Decoder Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("7ccea8dbabb872e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

DecoderLayer Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("f1b165a65087e010")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

Encoder Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("d14f4d8502957748")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

EncoderLayer Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("e9ff2eccea780216")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

LayerNorm Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("d39a5451ad73ca2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

MemoryMechanism Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("206006247acc1466")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

MemoryMechanismLayer Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("6edfab863d4594ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

SelfMultiHeadAttention Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("bbc83c6266642359")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

Transformer Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("0d9bc0ad0e3b7f14")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

convert_symbols_to_inputs Not yet run
unverified (harvested, no recorded run)
SongtaoLiu0823/FusionRetro/FusionRetro/retro_star.py
pointer only (licence: NONE) · get_code("11f013c9f6798201")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SongtaoLiu0823/FusionRetro 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. No invocation recorded.

get_position_embedding Not yet run
unverified (harvested, no recorded run)
songtaoliu0823/fusionretro/FusionRetro/modeling.py
pointer only (licence: NONE) · get_code("30837b65f41ab124")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, songtaoliu0823/fusionretro 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. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 10 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.

FunctionAlso present inEarliest-datedOthers named
Embeddings
brick of this paper's assembly: model
1 other paper
1 later
2406.02066 (2024-06)
Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based Models
Encoder
brick of this paper's assembly: model
1 other paper
1 later
2406.02066 (2024-06)
Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based Models
LayerNorm
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2406.02066 (2024-06)
Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based Models
get_attention_mask
brick of this paper's assembly: helper
1 other paper
1 later
2406.02066 (2024-06)
Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based Models
get_mem_attention_mask
brick of this paper's assembly: helper
1 other paper
1 later
2406.02066 (2024-06)
Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based Models
get_position_embedding
brick of this paper's assembly: helper
1 other paper
1 later
2406.02066 (2024-06)
Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based Models

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

Retrosynthetic planning aims to devise a complete multi-step synthetic route from starting materials to a target molecule. Current strategies use a decoupled approach of single-step retrosynthesis models and search algorithms, taking only the product as the input to predict the reactants for each planning step and ignoring valuable context information along the synthetic route. In this work, we propose a novel framework that utilizes context information for improved retrosynthetic planning. We view synthetic routes as reaction graphs and propose to incorporate context through three principled steps: encode molecules into embeddings, aggregate information over routes, and readout to predict reactants. Our approach is the first attempt to utilize in-context learning for retrosynthesis prediction in retrosynthetic planning. The entire framework can be efficiently optimized in an end-to-end fashion and produce more practical and accurate predictions. Comprehensive experiments demonstrate that by fusing in the context information over routes, our model significantly improves the performance of retrosynthetic planning over baselines that are not context-aware, especially for long synthetic routes. Code is available at https://github. com/SongtaoLiu0823/FusionRetro.

For agents

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

get_harvested_code_for_paper("2209.15315")
get_code_for_paper("2209.15315")
have("2209.15315")

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

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

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

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

Connect an agent — have() is free.