{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/code/apply-attention","entry":"apply_attention","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-10-05T00:36:11+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample = n_papers_ran_no_instrument_failure (papers with a run with no instrument failure) + n_papers_ran_instrument_only (papers where every run was a failure of Syntology's instrument); n_samples_ran = n_samples_ran_checked (honoured, violated, no contract) + n_samples_instrument (failures of Syntology's instrument, not of the code).","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":5,"n_papers_ran":5,"n_papers_ran_no_instrument_failure":2,"n_papers_ran_instrument_only":3,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":5,"n_samples_ran":5,"n_samples_constructed":0,"n_samples_ran_checked":2,"n_samples_instrument":3,"n_samples_unverified":0,"n_samples_fingerprinted":5,"n_places":6,"n_places_pointer_only":3,"n_places_pointer_only_link_open":0,"inline_ok_is":"inline_ok is true only when both licence gates allow Syntology to serve this code's text: this paper's link (inline_ok_link, from the licence of this paper's copy) and the stored copy of the same code that Syntology serves, which may have been first harvested from another repository. withheld_clause is Syntology's own wording of which gate keeps the text a pointer and why, and is null when inline_ok is true. This site shows no code text either way; n_places_pointer_only_link_open counts the places where this paper's link allows the text and the stored copy does not","by_status":{"ran_honours":1,"ran_violates":0,"ran_draft_wrong":2,"ran_fixture":1,"ran":1,"unverified":0},"key_notes":{"n_samples_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_samples_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2402.05391","arxiv_id_is_arxiv":true,"paper":"/paper/knowledge-graphs-meet-multi-modal-learning-a","title":"Knowledge Graphs Meet Multi-Modal Learning: A Comprehensive Survey","date":"2024-02-08","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"China-UK-ZSL/ZS-F-VQA","path":"code/model/attention.py","file_url":"https://github.com/China-UK-ZSL/ZS-F-VQA/blob/HEAD/code/model/attention.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"745b7eb38c9d1b29","code_sha256_prefix":"745b7eb38c9d1b29","mcp_get_code":{"code_sha256":"745b7eb38c9d1b29"}},{"arxiv_id":"1812.01880","arxiv_id_is_arxiv":true,"paper":"/paper/learning-to-compose-dynamic-tree-structures","title":"Learning to Compose Dynamic Tree Structures for Visual Contexts","date":"2018-12-05","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"KaihuaTang/VCTree-Visual-Question-Answering","path":"model.py","file_url":"https://github.com/KaihuaTang/VCTree-Visual-Question-Answering/blob/HEAD/model.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"fb40006c9cd123ac","code_sha256_prefix":"fb40006c9cd123ac","mcp_get_code":{"code_sha256":"fb40006c9cd123ac"}},{"arxiv_id":"1805.07932","arxiv_id_is_arxiv":true,"paper":"/paper/bilinear-attention-networks","title":"Bilinear Attention Networks","date":"2018-05-21","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Cyanogenoid/vqa-counting","path":"vqa-v2/model.py","file_url":"https://github.com/Cyanogenoid/vqa-counting/blob/HEAD/vqa-v2/model.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"26e02979502211f1","code_sha256_prefix":"26e02979502211f1","mcp_get_code":{"code_sha256":"26e02979502211f1"}},{"arxiv_id":"1704.03162","arxiv_id_is_arxiv":true,"paper":"/paper/show-ask-attend-and-answer-a-strong-baseline","title":"Show, Ask, Attend, and Answer: A Strong Baseline For Visual Question Answering","date":"2017-04-11","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":null,"path":"","file_url":null,"status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":null,"inline_ok":false,"inline_ok_link":false,"withheld_clause":"this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it","code_sha256":"388d2a6ba37219cd","code_sha256_prefix":"388d2a6ba37219cd","mcp_get_code":{"code_sha256":"388d2a6ba37219cd"}},{"arxiv_id":"1704.03162","arxiv_id_is_arxiv":true,"paper":"/paper/show-ask-attend-and-answer-a-strong-baseline","title":"Show, Ask, Attend, and Answer: A Strong Baseline For Visual Question Answering","date":"2017-04-11","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Cyanogenoid/pytorch-vqa","path":"model.py","file_url":"https://github.com/Cyanogenoid/pytorch-vqa/blob/HEAD/model.py","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, Cyanogenoid/pytorch-vqa when it was checked","code_sha256":"6e1df46e2ff7c334","code_sha256_prefix":"6e1df46e2ff7c334","mcp_get_code":{"code_sha256":"6e1df46e2ff7c334"}},{"arxiv_id":"1511.02274","arxiv_id_is_arxiv":true,"paper":"/paper/stacked-attention-networks-for-image-question","title":"Stacked Attention Networks for Image Question Answering","date":"2015-11-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"abhijit-buet/VizWiz-Visual-Question-Answering-2021","path":"models.py","file_url":"https://github.com/abhijit-buet/VizWiz-Visual-Question-Answering-2021/blob/HEAD/models.py","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"inline_ok_link":false,"withheld_clause":"GitHub detected no licence in this paper's repository, abhijit-buet/VizWiz-Visual-Question-Answering-2021 when it was checked","code_sha256":"388d2a6ba37219cd","code_sha256_prefix":"388d2a6ba37219cd","mcp_get_code":{"code_sha256":"388d2a6ba37219cd"}}],"record_sha256":"5bcb5810ca1fd552ba57dcd286e3289c2bd3f2e4608b84ffe890d1dde90a47b2","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}