{"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-2509-21247","title":"Learning to Look: Cognitive Attention Alignment with Vision-Language Models","arxiv_id":"2509.21247","date":"2025-09-25","proceeding":"NeurIPS","authors":["Ryan L. Yang","Dipkamal Bhusal","Nidhi Rastogi"],"abstract":"Convolutional Neural Networks (CNNs) frequently \"cheat\" by exploiting superficial correlations, raising concerns about whether they make predictions for the right reasons. Inspired by cognitive science, which highlights the role of attention in robust human perception, recent methods have sought to guide model attention using concept-based supervision and explanation regularization. However, these techniques depend on labor-intensive, expert-provided annotations, limiting their scalability. We propose a scalable framework that leverages vision-language models to automatically generate semantic attention maps using natural language prompts. By introducing an auxiliary loss that aligns CNN attention with these language-guided maps, our approach promotes more reliable and cognitively plausible decision-making without manual annotation. Experiments on challenging datasets, ColoredMNIST and DecoyMNIST, show that our method achieves state-of-the-art performance on ColorMNIST and remains competitive with annotation-heavy baselines on DecoyMNIST, demonstrating improved generalization, reduced shortcut reliance, and model attention that better reflects human intuition.","url_abs":"https://arxiv.org/abs/2509.21247","url_pdf":"https://arxiv.org/pdf/2509.21247","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/2509.21247","atlas_url":"https://app.syntology.ai/?focus=2509.21247","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2509.21247"}},"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/ryanlyang/LearningToLook","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1,"unverified":8},"by_repo_kind":{"found_in_text":{"samples":9,"ran":1,"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":9,"samples":[{"code_sha256_prefix":"5bd180a934a83565","entry":"reshape_transform","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/WeCLIP_Plus/model_attn_aff_coco.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/WeCLIP_Plus/model_attn_aff_coco.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":"5bd180a934a83565"}},{"code_sha256_prefix":"1318e10e47a11362","entry":"dice_loss","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/WeCLIP_Plus/dice_loss.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/WeCLIP_Plus/dice_loss.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":"1318e10e47a11362"}},{"code_sha256_prefix":"ab1a564327ec7b27","entry":"get_aff_loss","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/utils/losses.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/utils/losses.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":"ab1a564327ec7b27"}},{"code_sha256_prefix":"c5adf2da855149f1","entry":"get_energy_loss","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/utils/losses.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/utils/losses.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":"c5adf2da855149f1"}},{"code_sha256_prefix":"9fe5c9cbe1f4399e","entry":"get_seg_loss","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/utils/losses.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/utils/losses.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":"9fe5c9cbe1f4399e"}},{"code_sha256_prefix":"b7949bedd44e211a","entry":"mmd_rbf","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/utils/mmdloss.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/utils/mmdloss.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":"b7949bedd44e211a"}},{"code_sha256_prefix":"34cdaf8dc22ba489","entry":"rbf_kernel","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/utils/mmdloss.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/utils/mmdloss.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":"34cdaf8dc22ba489"}},{"code_sha256_prefix":"a112dc051428bbc2","entry":"replace_layer_recursive","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/pytorch_grad_cam/ablation_cam_multilayer.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/pytorch_grad_cam/ablation_cam_multilayer.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":"a112dc051428bbc2"}},{"code_sha256_prefix":"335f0f9cd2d9678c","entry":"upsample_pos_emb","repo":"ryanlyang/LearningToLook","repo_kind":"found_in_text","path":"code/WeCLIPPlus/clip/model.py","file_url":"https://github.com/ryanlyang/LearningToLook/blob/HEAD/code/WeCLIPPlus/clip/model.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":"335f0f9cd2d9678c"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_api"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}