Papers › ProtT3: Protein-to-Text Generation for Text-based Protein Understanding

ProtT3: Protein-to-Text Generation for Text-based Protein Understanding

21 May 2024arXiv:2405.12564archive 2025-07-28

Zhiyuan Liu, An Zhang, Hao Fei, Enzhi Zhang, Xiang Wang, Kenji Kawaguchi, Tat-Seng Chua

Language Models (LMs) excel in understanding textual descriptions of proteins, as evident in biomedical question-answering tasks. However, their capability falters with raw protein data, such as amino acid sequences, due to a deficit in pretraining on such data. Conversely, Protein Language Models (PLMs) can understand and convert protein data into high-quality representations, but struggle to process texts. To address their limitations, we introduce ProtT3, a framework for Protein-to-Text Generation for Text-based Protein Understanding. ProtT3 empowers an LM to understand protein sequences of amino acids by incorporating a PLM as its protein understanding module, enabling effective protein-to-text generation. This collaboration between PLM and LM is facilitated by a cross-modal projector (i.e., Q-Former) that bridges the modality gap between the PLM's representation space and the LM's input space. Unlike previous studies focusing on protein property prediction and protein-text retrieval, we delve into the largely unexplored field of protein-to-text generation. To facilitate comprehensive benchmarks and promote future research, we establish quantitative evaluations for protein-text modeling tasks, including protein captioning, protein question-answering, and protein-text retrieval. Our experiments show that ProtT3 substantially surpasses current baselines, with ablation studies further highlighting the efficacy of its core components. Our code is available at https://github.com/acharkq/ProtT3.

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

Code

Syntology Ran 7 of 13 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · violated contract; 6 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 7 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/prott3 officialmentioned in paperpytorch 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

13 samples harvested; 7 ran; 0 honoured the contract we drafted; 6 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
6ran
6unverified

Licence: 13 of the 13 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/ProtT3. “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.

disabled_train acharkq/ProtT3/model/blip2.py official repository ran · violated contract no licence file found · pointer only · 4cb732f513d69dfd · report
evaluate_exact_match acharkq/ProtT3/model/blip2_stage2.py official repository ran no licence file found · pointer only · 40f6effaf853777c · report
get_extended_attention_mask acharkq/ProtT3/model/esm_flash_attention.py official repository ran no licence file found · pointer only · 01998e2a237f84ab · report
get_module_state_dict acharkq/ProtT3/model/blip2_stage2.py official repository ran no licence file found · pointer only · 53d5373b3854c8e7 · report
hf_enable_gradient_checkpointing acharkq/ProtT3/model/help_funcs.py official repository ran no licence file found · pointer only · 390f604f894e2130 · report
mask_by_len acharkq/ProtT3/model/blip2_opt.py official repository ran fingerprinted no licence file found · pointer only · e34d5a438d83d62b · report
pad_and_concat acharkq/ProtT3/model/help_funcs.py official repository ran no licence file found · pointer only · b79435d89f8e6ec1 · report
caption_evaluate acharkq/ProtT3/model/help_funcs.py official repository unverified no licence file found · pointer only · ce2b15ddabde616d · report
eval_retrieval_fullset acharkq/ProtT3/model/blip2_stage1.py official repository unverified no licence file found · pointer only · 5a3d3c74e94ace2f · report
eval_retrieval_fullset_for_rerank acharkq/ProtT3/model/blip2_stage1.py official repository unverified no licence file found · pointer only · d01e34978d2fa887 · report
forward_original acharkq/ProtT3/model/esm_flash_attention.py official repository unverified no licence file found · pointer only · a07a7497a7dc3f75 · report
get_gpu_memory acharkq/ProtT3/model/blip2.py official repository unverified no licence file found · pointer only · fb63587ed05937c2 · report
original_forward acharkq/ProtT3/model/llama_flash_attention.py official repository unverified no licence file found · pointer only · 5be37733318db298 · report

Tasks

Property PredictionQuestion AnsweringRetrievalText GenerationText Retrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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