SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.12798 · EMNLP · 2023

MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adapter

Xiang Wang, Kenji Kawaguchi, Zhiyuan Liu, Tat-Seng Chua, Hao Fei, Yixin Cao, Sihang Li, Yanchen Luo

arXiv · PDF · Open in the Atlas

Code that ran

8 of 16 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 8 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/2310.12798.json · badge: /api/ran/2310.12798.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
acharkq/molca canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
acharkq/MolCA community
Papers with Code archive
0 ran · 6 no recorded run
FunctionStatusWhere it lives
apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
acharkq/molca/model/modeling_llama.py
pointer only (licence: NONE) · get_code("9b4dff79d5e6102c")
How it ran

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

disabled_train Ran
ran, violated the contract we drafted
acharkq/molca/model/blip2.py
pointer only (licence: NONE) · get_code("4cb732f513d69dfd")
How it ran

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

escape_custom_split_sequence Ran
ran; our contract draft was wrong, not the code
acharkq/molca/model/blip2_opt.py
pointer only (licence: NONE) · get_code("f0e4be065f35a5c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acharkq/molca 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_module_state_dict Ran
ran; our contract draft was wrong, not the code
acharkq/molca/model/blip2_stage2.py
pointer only (licence: NONE) · get_code("53d5373b3854c8e7")
How it ran

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

mask_by_len Ran
ran; our contract draft was wrong, not the code
acharkq/molca/model/blip2_llama.py
pointer only (licence: NONE) · get_code("e34d5a438d83d62b")
How it ran

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

pad_and_concat Ran
ran, honoured the contract we drafted
acharkq/molca/model/help_funcs.py
pointer only (licence: NONE); the stored copy get_code serves, from acharkq/ProtT3, is pointer only (licence: NONE) · get_code("b79435d89f8e6ec1")
How it ran

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

pad_and_concat Ran
ran, honoured the contract we drafted
acharkq/molca/model/blip2_stage1.py
pointer only (licence: NONE); the stored copy get_code serves, from lsh0520/3d-molm, is pointer only (licence: NONE) · get_code("56972cffbe2a2794")
How it ran

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

rotate_half Ran
ran; our contract draft was wrong, not the code
acharkq/molca/model/modeling_llama.py
pointer only (licence: NONE) · get_code("b99eea6376d1e212")
How it ran

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

GATConv Not yet run
unverified (harvested, no recorded run)
acharkq/MolCA/model/gin_model.py
pointer only (licence: NONE) · get_code("660f9864cd93732e")
How it ran

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

GCNConv Not yet run
unverified (harvested, no recorded run)
acharkq/MolCA/model/gin_model.py
pointer only (licence: NONE) · get_code("c650a5b893dc459f")
How it ran

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

GINConv Not yet run
unverified (harvested, no recorded run)
acharkq/MolCA/model/gin_model.py
pointer only (licence: NONE) · get_code("c0c440f396ed14ca")
How it ran

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

GNN Not yet run
unverified (harvested, no recorded run)
acharkq/MolCA/model/gin_model.py
pointer only (licence: NONE) · get_code("7282c89d36347662")
How it ran

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

GNN_graphpred Not yet run
unverified (harvested, no recorded run)
acharkq/MolCA/model/gin_model.py
pointer only (licence: NONE) · get_code("de40648fba620653")
How it ran

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

GraphSAGEConv Not yet run
unverified (harvested, no recorded run)
acharkq/MolCA/model/gin_model.py
pointer only (licence: NONE) · get_code("5df3801f59025e96")
How it ran

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

caption_evaluate Not yet run
unverified (harvested, no recorded run)
acharkq/molca/model/help_funcs.py
pointer only (licence: NONE) · get_code("2f19d209d89cd777")
How it ran

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

eval_retrieval_fullset Not yet run
unverified (harvested, no recorded run)
acharkq/molca/model/blip2_stage1.py
pointer only (licence: NONE) · get_code("10e8a7ed05ed56f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acharkq/molca 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, 9 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 9 later) and 7 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
rotate_half 360 other papers
28 dated earlier, 10 the same month, 319 later, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
disabled_train 173 other papers
46 dated earlier, 10 the same month, 117 later · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
apply_rotary_pos_emb 47 other papers
13 dated earlier, 4 the same month, 30 later
2305.14167 (2023-05)
DetGPT: Detect What You Need via Reasoning
2305.16103 (2023-05)
ChatBridge: Bridging Modalities with Large Language Model as a Language Catalyst
2305.16355 (2023-05)
PandaGPT: One Model To Instruction-Follow Them All
and 44 more not named here
escape_custom_split_sequence 4 other papers
1 dated earlier, 3 later
2211.09085 (2022-11)
Galactica: A Large Language Model for Science
2024.findings-acl.318 (2024 (year only))
ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining
2401.13923 (2024-01)
Towards 3D Molecule-Text Interpretation in Language Models
and 1 more not named here
get_module_state_dict 4 other papers
4 later
2024.findings-acl.318 (2024 (year only))
ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining
2401.13923 (2024-01)
Towards 3D Molecule-Text Interpretation in Language Models
2405.12564 (2024-05)
ProtT3: Protein-to-Text Generation for Text-based Protein Understanding
and 1 more not named here
mask_by_len 4 other papers
4 later
2024.findings-acl.318 (2024 (year only))
ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining
2401.13923 (2024-01)
Towards 3D Molecule-Text Interpretation in Language Models
2405.12564 (2024-05)
ProtT3: Protein-to-Text Generation for Text-based Protein Understanding
and 1 more not named here
caption_evaluate 2 other papers
2 later
2024.findings-acl.318 (2024 (year only))
ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining
2405.14225 (2024-05)
ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining
pad_and_concat 2 other papers
2 later
2401.13923 (2024-01)
Towards 3D Molecule-Text Interpretation in Language Models
2405.12564 (2024-05)
ProtT3: Protein-to-Text Generation for Text-based Protein Understanding
pad_and_concat 1 other paper
1 later
2401.13923 (2024-01)
Towards 3D Molecule-Text Interpretation in Language 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

Language Models (LMs) have demonstrated impressive molecule understanding ability on various 1D text-related tasks. However, they inherently lack 2D graph perception -a critical ability of human professionals in comprehending molecules' topological structures. To bridge this gap, we propose MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adapter. MolCA enables an LM (i.e., Galactica) to understand both text-and graph-based molecular contents via the cross-modal projector. Specifically, the cross-modal projector is implemented as a Q-Former to connect a graph encoder's representation space and an LM's text space. Further, MolCA employs a uni-modal adapter (i.e., LoRA) for the LM's efficient adaptation to downstream tasks. Unlike previous studies that couple an LM with a graph encoder via cross-modal contrastive learning, MolCA retains the LM's ability of open-ended text generation and augments it with 2D graph information. To showcase its effectiveness, we extensively benchmark MolCA on tasks of molecule captioning, IUPAC name prediction, and molecule-text retrieval, on which MolCA significantly outperforms the baselines. Our codes and checkpoints can be found at https: //github.com/acharkq/MolCA.

For agents

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

get_harvested_code_for_paper("2310.12798")
get_code_for_paper("2310.12798")
have("2310.12798")

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

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

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

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

Connect an agent — have() is free.