{"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/ct2rep-automated-radiology-report-generation","title":"CT2Rep: Automated Radiology Report Generation for 3D Medical Imaging","arxiv_id":"2403.06801","date":"2024-03-11","proceeding":null,"authors":["Ibrahim Ethem Hamamci","Sezgin Er","Bjoern Menze"],"abstract":"Medical imaging plays a crucial role in diagnosis, with radiology reports serving as vital documentation. Automating report generation has emerged as a critical need to alleviate the workload of radiologists. While machine learning has facilitated report generation for 2D medical imaging, extending this to 3D has been unexplored due to computational complexity and data scarcity. We introduce the first method to generate radiology reports for 3D medical imaging, specifically targeting chest CT volumes. Given the absence of comparable methods, we establish a baseline using an advanced 3D vision encoder in medical imaging to demonstrate our method's effectiveness, which leverages a novel auto-regressive causal transformer. Furthermore, recognizing the benefits of leveraging information from previous visits, we augment CT2Rep with a cross-attention-based multi-modal fusion module and hierarchical memory, enabling the incorporation of longitudinal multimodal data. Access our code at https://github.com/ibrahimethemhamamci/CT2Rep","url_abs":"https://arxiv.org/abs/2403.06801v2","url_pdf":"https://arxiv.org/pdf/2403.06801v2.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":"ct2rep-automated-radiology-report-generation","repo_url":"https://github.com/ibrahimethemhamamci/ct2rep","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2403.06801","atlas_url":"https://app.syntology.ai/?focus=2403.06801","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.06801"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ibrahimethemhamamci/ct2rep","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":5,"ran":4,"ran_violates":1},"by_repo_kind":{"official":{"samples":10,"ran":10,"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":10,"samples":[{"code_sha256_prefix":"83045338e170467c","entry":"attention","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/encoder_decoder.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/encoder_decoder.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"83045338e170467c"}},{"code_sha256_prefix":"3cbefcc988ce7b35","entry":"build_lr_scheduler","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/optimizers.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/optimizers.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3cbefcc988ce7b35"}},{"code_sha256_prefix":"13190f966b28dd15","entry":"build_optimizer","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/optimizers.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/optimizers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"13190f966b28dd15"}},{"code_sha256_prefix":"592dc2191cc05297","entry":"cast_num_frames","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/data_ct.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/data_ct.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"592dc2191cc05297"}},{"code_sha256_prefix":"6cdff690e29fd5e2","entry":"clones","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/encoder_decoder.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/encoder_decoder.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6cdff690e29fd5e2"}},{"code_sha256_prefix":"0bc1f8b3524f6b1b","entry":"compute_loss","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/loss.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/loss.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0bc1f8b3524f6b1b"}},{"code_sha256_prefix":"d2379d710eedc4ae","entry":"pack_wrapper","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/att_model.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/att_model.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d2379d710eedc4ae"}},{"code_sha256_prefix":"bfac58a04b6835f5","entry":"pad_unsort_packed_sequence","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/att_model.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/att_model.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bfac58a04b6835f5"}},{"code_sha256_prefix":"e56d2f9cbd9cb8b1","entry":"sort_pack_padded_sequence","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/att_model.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/att_model.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e56d2f9cbd9cb8b1"}},{"code_sha256_prefix":"66fbf162663d4cff","entry":"subsequent_mask","repo":"ibrahimethemhamamci/ct2rep","repo_kind":"official","path":"CT2Rep/modules/encoder_decoder.py","file_url":"https://github.com/ibrahimethemhamamci/ct2rep/blob/HEAD/CT2Rep/modules/encoder_decoder.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"66fbf162663d4cff"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}