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

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

19 Oct 2023arXiv:2310.12798archive 2025-07-28

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

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 (e.g., 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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

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="2310.12798")

Code

Syntology Ran 8 of 16 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

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

acharkq/molca officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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; 8 ran; 0 honoured the contract we drafted; 8 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.

1ran · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
5ran
8unverified

Licence: 16 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 acharkq/molca. “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.

apply_rotary_pos_emb acharkq/molca/model/modeling_llama.py official repository ran · fixture could not drive it no licence file found · pointer only · 9b4dff79d5e6102c · report
disabled_train acharkq/molca/model/blip2.py official repository ran · violated contract no licence file found · pointer only · 4cb732f513d69dfd · report
escape_custom_split_sequence acharkq/molca/model/blip2_opt.py official repository ran fingerprinted no licence file found · pointer only · f0e4be065f35a5c6 · report
get_module_state_dict acharkq/molca/model/blip2_stage2.py official repository ran no licence file found · pointer only · 53d5373b3854c8e7 · report
mask_by_len acharkq/molca/model/blip2_llama.py official repository ran fingerprinted no licence file found · pointer only · e34d5a438d83d62b · report
pad_and_concat acharkq/molca/model/help_funcs.py official repository ran no licence file found · pointer only · b79435d89f8e6ec1 · report
pad_and_concat acharkq/molca/model/blip2_stage1.py official repository ran no licence file found · pointer only · 56972cffbe2a2794 · report
rotate_half acharkq/molca/model/modeling_llama.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · b99eea6376d1e212 · report
GATConv acharkq/MolCA/model/gin_model.py official repository unverified no licence file found · pointer only · 660f9864cd93732e · report
GCNConv acharkq/MolCA/model/gin_model.py official repository unverified no licence file found · pointer only · c650a5b893dc459f · report
GINConv acharkq/MolCA/model/gin_model.py official repository unverified no licence file found · pointer only · c0c440f396ed14ca · report
GNN acharkq/MolCA/model/gin_model.py official repository unverified no licence file found · pointer only · 7282c89d36347662 · report
GNN_graphpred acharkq/MolCA/model/gin_model.py official repository unverified no licence file found · pointer only · de40648fba620653 · report
GraphSAGEConv acharkq/MolCA/model/gin_model.py official repository unverified no licence file found · pointer only · 5df3801f59025e96 · report
caption_evaluate acharkq/molca/model/help_funcs.py official repository unverified no licence file found · pointer only · 2f19d209d89cd777 · report
eval_retrieval_fullset acharkq/molca/model/blip2_stage1.py official repository unverified no licence file found · pointer only · 10e8a7ed05ed56f5 · report

Tasks

Contrastive LearningIUPAC Name PredictionLanguage ModelingLanguage ModellingMolecule CaptioningRetrievalText GenerationText Retrieval

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Molecule Captioning ChEBI-20 MolCA, Galac1.3B BLEU-2 62.0 #8 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac1.3B BLEU-4 53.1 #8 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac1.3B METEOR 65.1 #8 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac1.3B ROUGE-1 68.1 #8 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac1.3B ROUGE-2 53.7 #8 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac1.3B ROUGE-L 61.8 #8 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac125M BLEU-2 61.6 #9 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac125M BLEU-4 52.9 #9 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac125M METEOR 63.9 #9 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac125M ROUGE-1 67.4 #9 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac125M ROUGE-2 53.3 #9 of 33 Archive leaderboard report
Molecule Captioning ChEBI-20 MolCA, Galac125M ROUGE-L 61.5 #9 of 33 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Adapter

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