{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/proteingpt-multimodal-llm-for-protein","title":"ProteinGPT: Multimodal LLM for Protein Property Prediction and Structure Understanding","arxiv_id":"2408.11363","date":"2024-08-21","proceeding":null,"authors":["Yijia Xiao","Edward Sun","Yiqiao Jin","Qifan Wang","Wei Wang"],"abstract":"Understanding biological processes, drug development, and biotechnological advancements requires a detailed analysis of protein structures and functions, a task that is inherently complex and time-consuming in traditional protein research. To streamline this process, we introduce ProteinGPT, a state-of-the-art multimodal large language model for proteins that enables users to upload protein sequences and/or structures for comprehensive analysis and responsive inquiries. ProteinGPT integrates protein sequence and structure encoders with linear projection layers to ensure precise representation adaptation and leverages a large language model (LLM) to generate accurate, contextually relevant responses. To train ProteinGPT, we constructed a large-scale dataset of 132,092 proteins, each annotated with 20-30 property tags and 5-10 QA pairs per protein, and optimized the instruction-tuning process using GPT-4o. Experiments demonstrate that ProteinGPT effectively generates informative responses to protein-related questions, achieving high performance on both semantic and lexical metrics and significantly outperforming baseline models and general-purpose LLMs in understanding and responding to protein-related queries. Our code and data are available at https://github.com/ProteinGPT/ProteinGPT.","url_abs":"https://arxiv.org/abs/2408.11363v2","url_pdf":"https://arxiv.org/pdf/2408.11363v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"proteingpt-multimodal-llm-for-protein","repo_url":"https://github.com/proteingpt/proteingpt","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"large-language-model","task_name":"Large Language Model"},{"task_slug":"multimodal-large-language-model","task_name":"Multimodal Large Language Model"},{"task_slug":"property-prediction","task_name":"Property Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2408.11363","atlas_url":"https://app.syntology.ai/?focus=2408.11363","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2408.11363"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/ProteinGPT/ProteinGPT","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/proteingpt/proteingpt","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":8,"ran_honours":1,"ran_violates":1,"ran_draft_wrong":1,"ran_fixture":1,"unverified":2},"by_repo_kind":{"official":{"samples":14,"ran":12,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"f6701ae421cbe0d4","entry":"apc","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/modules.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/modules.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f6701ae421cbe0d4"}},{"code_sha256_prefix":"2a127d3ae372d7bd","entry":"apply_rotary_pos_emb","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/rotary_embedding.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/rotary_embedding.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2a127d3ae372d7bd"}},{"code_sha256_prefix":"2e7bd6c4ccd1ed68","entry":"gelu","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/modules.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/modules.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e7bd6c4ccd1ed68"}},{"code_sha256_prefix":"e54dca425d61121d","entry":"is_stage_1_training","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/protein_gpt.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/protein_gpt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e54dca425d61121d"}},{"code_sha256_prefix":"0e2bb5cf67615e24","entry":"read_alignment_lines","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/data.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/data.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0e2bb5cf67615e24"}},{"code_sha256_prefix":"437c7011506995a3","entry":"rotate_half","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/rotary_embedding.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/rotary_embedding.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"437c7011506995a3"}},{"code_sha256_prefix":"b385be9826c4a8b3","entry":"symmetrize","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/modules.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/modules.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b385be9826c4a8b3"}},{"code_sha256_prefix":"38735f4bca7f8220","entry":"tuple_index","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/inverse_folding/gvp_modules.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/inverse_folding/gvp_modules.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"38735f4bca7f8220"}},{"code_sha256_prefix":"07d7dab3e137136b","entry":"tuple_size","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/inverse_folding/gvp_modules.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/inverse_folding/gvp_modules.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"07d7dab3e137136b"}},{"code_sha256_prefix":"d0328e65d2e8a9ec","entry":"tuple_sum","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/inverse_folding/gvp_modules.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/inverse_folding/gvp_modules.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d0328e65d2e8a9ec"}},{"code_sha256_prefix":"0aca52ff344beec0","entry":"utils_softmax","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/multihead_attention.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/multihead_attention.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0aca52ff344beec0"}},{"code_sha256_prefix":"ee6aaaeaaec268cb","entry":"with_incremental_state","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/multihead_attention.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/multihead_attention.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ee6aaaeaaec268cb"}},{"code_sha256_prefix":"f41f5e2627df3d0f","entry":"load_hub_workaround","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/pretrained.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/pretrained.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f41f5e2627df3d0f"}},{"code_sha256_prefix":"37aed79e4a5cbc4f","entry":"load_regression_hub","repo":"ProteinGPT/ProteinGPT","repo_kind":"official","path":"src/esm/pretrained.py","file_url":"https://github.com/ProteinGPT/ProteinGPT/blob/HEAD/src/esm/pretrained.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"37aed79e4a5cbc4f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}