{"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/multimodal-prototyping-for-cancer-survival","title":"Multimodal Prototyping for cancer survival prediction","arxiv_id":"2407.00224","date":"2024-06-28","proceeding":null,"authors":["Andrew H. Song","Richard J. Chen","Guillaume Jaume","Anurag J. Vaidya","Alexander S. Baras","Faisal Mahmood"],"abstract":"Multimodal survival methods combining gigapixel histology whole-slide images (WSIs) and transcriptomic profiles are particularly promising for patient prognostication and stratification. Current approaches involve tokenizing the WSIs into smaller patches (>10,000 patches) and transcriptomics into gene groups, which are then integrated using a Transformer for predicting outcomes. However, this process generates many tokens, which leads to high memory requirements for computing attention and complicates post-hoc interpretability analyses. Instead, we hypothesize that we can: (1) effectively summarize the morphological content of a WSI by condensing its constituting tokens using morphological prototypes, achieving more than 300x compression; and (2) accurately characterize cellular functions by encoding the transcriptomic profile with biological pathway prototypes, all in an unsupervised fashion. The resulting multimodal tokens are then processed by a fusion network, either with a Transformer or an optimal transport cross-alignment, which now operates with a small and fixed number of tokens without approximations. Extensive evaluation on six cancer types shows that our framework outperforms state-of-the-art methods with much less computation while unlocking new interpretability analyses.","url_abs":"https://arxiv.org/abs/2407.00224v1","url_pdf":"https://arxiv.org/pdf/2407.00224v1.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":"multimodal-prototyping-for-cancer-survival","repo_url":"https://github.com/mahmoodlab/MMP","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"survival-prediction","task_name":"Survival Prediction"},{"task_slug":"whole-slide-images","task_name":"whole slide images"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2407.00224","atlas_url":"https://app.syntology.ai/?focus=2407.00224","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.00224"}},"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/mahmoodlab/MMP","reach":null}],"summary":{"ran":4,"ran_draft_wrong":3,"unverified":5},"by_repo_kind":{"official":{"samples":12,"ran":7,"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":12,"samples":[{"code_sha256_prefix":"05faa7f292aabeb5","entry":"CoxLoss","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"05faa7f292aabeb5"}},{"code_sha256_prefix":"a206b906c4df0eba","entry":"FeedForward","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a206b906c4df0eba"}},{"code_sha256_prefix":"71951ad3b92ea5b9","entry":"NLLSurvLoss","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"71951ad3b92ea5b9"}},{"code_sha256_prefix":"10482673211edd0c","entry":"SNN_Block","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"10482673211edd0c"}},{"code_sha256_prefix":"95489d9d0796dea4","entry":"SurvRankingLoss","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"95489d9d0796dea4"}},{"code_sha256_prefix":"44e13a864df9f026","entry":"init_per_path_model","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"44e13a864df9f026"}},{"code_sha256_prefix":"4dd75c9172f12cfb","entry":"partial_ll_loss","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4dd75c9172f12cfb"}},{"code_sha256_prefix":"721d2d0c102ab4ae","entry":"MMAttention","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"721d2d0c102ab4ae"}},{"code_sha256_prefix":"323ddf11c2d03fca","entry":"MMAttentionLayer","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"323ddf11c2d03fca"}},{"code_sha256_prefix":"b3e9ddc34af4aad1","entry":"SurvPath","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b3e9ddc34af4aad1"}},{"code_sha256_prefix":"15821d5a95c321e7","entry":"nll_loss","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"15821d5a95c321e7"}},{"code_sha256_prefix":"64e4caddca1b2fb3","entry":"process_surv","repo":"mahmoodlab/MMP","repo_kind":"official","path":"src/mil_models/model_multimodal.py","file_url":"https://github.com/mahmoodlab/MMP/blob/HEAD/src/mil_models/model_multimodal.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"64e4caddca1b2fb3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}