Papers › Show, Ask, Attend, and Answer: A Strong Baseline For Visual Question Answering

Show, Ask, Attend, and Answer: A Strong Baseline For Visual Question Answering

11 Apr 2017arXiv:1704.03162archive 2025-07-28

Vahid Kazemi, Ali Elqursh

This paper presents a new baseline for visual question answering task. Given an image and a question in natural language, our model produces accurate answers according to the content of the image. Our model, while being architecturally simple and relatively small in terms of trainable parameters, sets a new state of the art on both unbalanced and balanced VQA benchmark. On VQA 1.0 open ended challenge, our model achieves 64.6% accuracy on the test-standard set without using additional data, an improvement of 0.4% over state of the art, and on newly released VQA 2.0, our model scores 59.7% on validation set outperforming best previously reported results by 0.5%. The results presented in this paper are especially interesting because very similar models have been tried before but significantly lower performance were reported. In light of the new results we hope to see more meaningful research on visual question answering in the future.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 9 code samples: 8 from 4 repositories linked to this paper, 1 identical to code harvested from another paper's repository. Across all 9: 9 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 1 violated, 0 with no contract checked; 7 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 5 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 8 samples from 4 repositories, 8 ran (2 with no instrument failure; 6 where Syntology's instrument failed); 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

13 repositories listed; official and paper-mentioned ones first.

Cyanogenoid/pytorch-vqa mentioned on GitHubpytorchSyntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
Gunnika/Visual-Question-Answering mentioned on GitHubpytorchSyntology: not harvested report
abhigoyal1997/CS-763-Project mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
abhijit-buet/VizWiz-Visua-Question-Answering-2021 mentioned on GitHubpytorchSyntology: not harvested report
abhijit-buet/VizWiz-Visual-Question-Answering-2021 mentioned on GitHubpytorchSyntology: 4 samples, 4 ran (4 instrument-failed) · 0 unverified report
deshanadesai/VQA-DataAugmentation mentioned on GitHubpytorchSyntology: not harvested report
dukelin95/vqa_pytorch mentioned on GitHubpytorchSyntology: not harvested report
guoyang9/vqa-prior mentioned on GitHubpytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
mkhalil1998/EC601_Group_Project mentioned on GitHubpytorchSyntology: not harvested report
myaoo18/EC601-Visual-Question-Answering mentioned on GitHubpytorchSyntology: not harvested report
pramodkaushik/visual_qa_analysis mentioned on GitHubpytorchSyntology: not harvested report
snagiri/ECE285_Jarvis_ProjectA mentioned on GitHubpytorchSyntology: not harvested report
zixuwang1996/VQA-reading-list mentioned on GitHubSyntology: not harvested report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested: 9 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 1 violated, 0 with no contract checked; 7 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
1ran · violated contract
5ran · our draft was wrong
2ran; the contract check could not run

Licence: 9 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. 4 samples whose link to this paper records no repository are listed under one of this paper's own repositories, because identical code was harvested from it for another paper. 1 sample is listed last, in a group without a repository. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

Cyanogenoid/pytorch-vqa community (archive-listed) 2 samples, 2 ran (0 instrument-failed) · 0 unverified
apply_attention in 5 papers model.py ran · honoured contract fingerprinted no licence file found · pointer only · 6e1df46e2ff7c334 · report fixture: signature input:Tensor/4/float, attention:Tensor/3/float · returned Tensor · level recorded 2026-09-22
tile_2d_over_nd model.py ran · violated contract fingerprinted no licence file found · pointer only · aaac9d55feeb4a0e · report fixture: signature feature_vector:Tensor/2/float, feature_map:Tensor/4/float · returned Tensor · level recorded 2026-09-22
abhigoyal1997/CS-763-Project community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
sort_batch src/vqa_model.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 1877d63c9e9a8d2e · report fixture: signature x:Tensor/2/float, q:Tensor/2/float, lengths:Tensor/1/int, y:Tensor/2/float · returned tuple · level recorded 2026-09-22
abhijit-buet/VizWiz-Visual-Question-Answering-2021 community (archive-listed) 4 samples, 4 ran (4 instrument-failed) · 0 unverified
apply_attention in 5 papers models.py identical code Syntology harvested from this repository for another paper; this paper's link records no repository, path or licence of its own ran · our draft was wrong fingerprinted licence of this copy not recorded · 388d2a6ba37219cd · report fixture: signature v:Tensor/3/float, attention:Tensor/3/float · returned Tensor · level recorded 2026-09-22
create_submission predict.py identical code Syntology harvested from this repository for another paper; this paper's link records no repository, path or licence of its own ran; the contract check could not run (RAISES) · metamorphic tier: deterministic licence of this copy not recorded · d12f1716d21540a8 · report fixture: signature input_annotations:list/1/dict, predicted:list/1/int, samples_ids:list/1/int, vocabs:dict/0/? · returned tuple · level recorded 2026-09-22
predict_answers predict.py identical code Syntology harvested from this repository for another paper; this paper's link records no repository, path or licence of its own ran; the contract check could not run (RAISES) licence of this copy not recorded · 6d3a7a351f38eccd · report fixture: returned tuple · level recorded 2026-09-22
repeat_encoded_question models.py identical code Syntology harvested from this repository for another paper; this paper's link records no repository, path or licence of its own ran · our draft was wrong fingerprinted licence of this copy not recorded · fe3010862617673c · report fixture: signature q:Tensor/2/float, v:Tensor/4/float · returned Tensor · level recorded 2026-09-22
guoyang9/vqa-prior community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
extract_vocab preprocess/preprocess-vocab.py ran · our draft was wrong licence not identified · pointer only · 4b6eb764bb004b1f · report fixture: signature iterable:list/1/list, top_k:NoneType/0/?, start:int/0/int · returned dict · level recorded 2026-09-22
Repository not located 1 sample, 1 ran (1 instrument-failed) · 0 unverified
1 sample is identical to code Syntology harvested from another paper's repository; this paper's own copy was not located, so no repository is named and no licence is recorded.
to_var in 51 papers
census: 12 implementations from 21 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32
repository not located ran · our draft was wrong fingerprinted licence of this copy not recorded · 502c50812b7f31ab · report fixture: signature x:Tensor/2/float, volatile:bool/0/bool · returned Tensor · level recorded 2026-09-22

Tasks

Visual Question AnsweringVisual Question Answering (VQA)

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Visual Question Answering (VQA) VQA v1 test-dev SAAA (ResNet) Accuracy 64.5 #1 of 7 Archive leaderboard report
Visual Question Answering (VQA) VQA v1 test-std SAAA (ResNet) Accuracy 64.6 #1 of 6 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionGlobal Average PoolingKaiming InitializationMax PoolingReLUResidual BlockResidual Connection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections