{"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/arxiv-2603-28387","title":"The Scaffold Effect: How Prompt Framing Drives Apparent Multimodal Gains in Clinical VLM Evaluation","arxiv_id":"2603.28387","date":"2026-03-30","proceeding":null,"authors":["Doan Nam Long Vu","Simone Balloccu"],"abstract":"Trustworthy clinical AI requires that performance gains reflect genuine evidence integration rather than surface-level artifacts. We evaluate 12 open-weight vision-language models (VLMs) on binary classification across two clinical neuroimaging cohorts, \\textsc{FOR2107} (affective disorders) and \\textsc{OASIS-3} (cognitive decline). Both datasets come with structural MRI data that carries no reliable individual-level diagnostic signal. Under these conditions, smaller VLMs exhibit gains of up to 58\\% F1 upon introduction of neuroimaging context, with distilled models becoming competitive with counterparts an order of magnitude larger. A contrastive confidence analysis reveals that merely \\emph{mentioning} MRI availability in the task prompt accounts for 70-80\\% of this shift, independent of whether imaging data is present, a domain-specific instance of modality collapse we term the \\emph{scaffold effect}. Expert evaluation reveals fabrication of neuroimaging-grounded justifications across all conditions, and preference alignment, while eliminating MRI-referencing behavior, collapses both conditions toward random baseline. Our findings demonstrate that surface evaluations are inadequate indicators of multimodal reasoning, with direct implications for the deployment of VLMs in clinical settings.","url_abs":"https://arxiv.org/abs/2603.28387","url_pdf":"https://arxiv.org/pdf/2603.28387","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2603.28387","atlas_url":"https://app.syntology.ai/?focus=2603.28387","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2603.28387"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/long21wt/scaffold-effect","reach":null}],"summary":{"ran":15,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":18,"ran":15,"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":18,"samples":[{"code_sha256_prefix":"dca19f51d4c241fd","entry":"build_messages","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/preamble_search.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/preamble_search.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dca19f51d4c241fd"}},{"code_sha256_prefix":"a1ee925fdd89e7a4","entry":"build_prompt","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference_joint.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference_joint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a1ee925fdd89e7a4"}},{"code_sha256_prefix":"f068fcc1e4587d2f","entry":"calculate_metrics","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/f1_eval.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/f1_eval.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":"f068fcc1e4587d2f"}},{"code_sha256_prefix":"a035fc9a992b738f","entry":"calculate_metrics","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/f1_eval_oasis.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/f1_eval_oasis.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":"a035fc9a992b738f"}},{"code_sha256_prefix":"a21a387e5f07fe70","entry":"extract_preamble_direction","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/preamble_search.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/preamble_search.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":"a21a387e5f07fe70"}},{"code_sha256_prefix":"b9b8d369f83281d0","entry":"get_mri_content","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference.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":"b9b8d369f83281d0"}},{"code_sha256_prefix":"19598c57ec98c0f8","entry":"get_mri_content","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference_joint.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference_joint.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":"19598c57ec98c0f8"}},{"code_sha256_prefix":"f82aa9c7a84128e9","entry":"get_mri_content","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference_oasis.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference_oasis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f82aa9c7a84128e9"}},{"code_sha256_prefix":"521f3097cce9ddba","entry":"get_mri_images_only","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference.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":"521f3097cce9ddba"}},{"code_sha256_prefix":"58b8889521852327","entry":"get_mri_images_only","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference_oasis.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference_oasis.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":"58b8889521852327"}},{"code_sha256_prefix":"b8b84933e1269407","entry":"load_all","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/summarize_joint.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/summarize_joint.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":"b8b84933e1269407"}},{"code_sha256_prefix":"93fd20a4064fb5c3","entry":"load_jsonl_records","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/summarize_joint.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/summarize_joint.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":"93fd20a4064fb5c3"}},{"code_sha256_prefix":"e26c3b67e6b9d0af","entry":"load_patients","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/preamble_search.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/preamble_search.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":"e26c3b67e6b9d0af"}},{"code_sha256_prefix":"b3e44ea717c50b2a","entry":"load_text","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/inference.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/inference.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":"b3e44ea717c50b2a"}},{"code_sha256_prefix":"3a6aad6a829f7143","entry":"parse_filename","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/summarize_joint.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/summarize_joint.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3a6aad6a829f7143"}},{"code_sha256_prefix":"37c465918bbbb6ab","entry":"load_model_and_processor","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/train_dpo.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/train_dpo.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"37c465918bbbb6ab"}},{"code_sha256_prefix":"0436233c4822645f","entry":"process_file","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/f1_eval.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/f1_eval.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0436233c4822645f"}},{"code_sha256_prefix":"b844a1ca1b279a3a","entry":"process_file","repo":"long21wt/scaffold-effect","repo_kind":"found_in_text","path":"src/f1_eval_oasis.py","file_url":"https://github.com/long21wt/scaffold-effect/blob/HEAD/src/f1_eval_oasis.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b844a1ca1b279a3a"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}