Papers › Bilinear Attention Networks

Bilinear Attention Networks

21 May 2018NeurIPS 2018 12arXiv:1805.07932archive 2025-07-28

Jin-Hwa Kim, Jaehyun Jun, Byoung-Tak Zhang

Attention networks in multimodal learning provide an efficient way to utilize given visual information selectively. However, the computational cost to learn attention distributions for every pair of multimodal input channels is prohibitively expensive. To solve this problem, co-attention builds two separate attention distributions for each modality neglecting the interaction between multimodal inputs. In this paper, we propose bilinear attention networks (BAN) that find bilinear attention distributions to utilize given vision-language information seamlessly. BAN considers bilinear interactions among two groups of input channels, while low-rank bilinear pooling extracts the joint representations for each pair of channels. Furthermore, we propose a variant of multimodal residual networks to exploit eight-attention maps of the BAN efficiently. We quantitatively and qualitatively evaluate our model on visual question answering (VQA 2.0) and Flickr30k Entities datasets, showing that BAN significantly outperforms previous methods and achieves new state-of-the-arts on both datasets.

PaperPDFConference PDFCodeCode 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 13 code samples harvested from 2 repositories linked to this paper: 13 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 1 honoured, 3 violated, 9 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: official repository: 7 samples from 1 repository, 7 ran (7 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 6 samples from 1 repository, 6 ran (6 with no instrument failure; 0 where Syntology's instrument failed). 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 between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

jnhwkim/ban-vqa officialmentioned on GitHubpytorchMITSyntology: 7 samples, 7 ran (0 instrument-failed) · 0 unverified report
Cyanogenoid/vqa-counting mentioned on GitHubpytorchMITSyntology: 6 samples, 6 ran (0 instrument-failed) · 0 unverified report
ZephyrZhuQi/ssbaseline mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
allenai/pythia mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
facebookresearch/mmf mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
facebookresearch/pythia mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
jackroos/pythia mentioned on GitHubpytorchNOASSERTIONSyntology: not harvested report
ronghanghu/pythia mentioned on GitHubpytorchNOASSERTIONSyntology: 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

13 samples harvested: 13 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 1 honoured, 3 violated, 9 with no contract checked; 0 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
3ran · violated contract
9ran

Licence: 3 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. For 3 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 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. “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.

jnhwkim/ban-vqa official repository 7 samples, 7 ran (0 instrument-failed) · 0 unverified
answer_filter in 6 papers dataset.py ran · violated contract MIT (permissive) here; the stored copy is pointer only · cf2efa825f4afaf0 · report fixture: signature answers:dict/0/?, label2ans:dict/0/?, max_num:int/0/int · returned bool · level recorded 2026-09-22
compute_recall_with_logits train_flickr.py ran MIT (permissive) · 5a8370941ac95d70 · report fixture: signature logits:Tensor/2/float, labels:Tensor/2/float · returned list · level recorded 2026-09-25
evaluate in 514 papers train_flickr.py ran MIT (permissive) · 728c76c97b1bb97a · report fixture: signature model:callable/0/?, dataloader:list/1/tuple · returned tuple · level recorded 2026-09-25
is_howmany in 5 papers dataset.py ran · violated contract MIT (permissive) here; the stored copy is pointer only · ac9f54e37ab206e4 · report fixture: signature q:str/0/str, a:dict/0/?, label2ans:dict/0/? · returned bool · level recorded 2026-09-22
load_folder in 9 papers utils.py ran MIT (permissive) · 8c1252eacab71602 · report fixture: signature folder:str/0/str, suffix:str/0/str · returned list · level recorded 2026-09-25
load_imageid in 5 papers utils.py ran MIT (permissive) · bf90bd27fe08f3a2 · report fixture: signature folder:str/0/str · returned set · level recorded 2026-09-25
pil_loader in 144 papers utils.py ran · honoured contract MIT (permissive) here; the stored copy is pointer only · 1df9a5ffd9b38c34 · report fixture: signature path:str/0/str · returned Image · level recorded 2026-09-22
Cyanogenoid/vqa-counting community (archive-listed) 6 samples, 6 ran (0 instrument-failed) · 0 unverified
apply_attention in 5 papers vqa-v2/model.py ran fingerprinted MIT (permissive) · 26e02979502211f1 · report fixture: signature input:Tensor/3/float, attention:Tensor/3/float · returned Tensor · level recorded 2026-09-26
batch_accuracy vqa-v2/utils.py ran fingerprinted MIT (permissive) · 2c844ba6b5d8ece2 · report fixture: signature predicted:Tensor/2/float, true:Tensor/2/int · returned Tensor · level recorded 2026-09-26
collate_fn in 500 papers vqa-v2/data.py ran MIT (permissive) · 28e89c10480659aa · report fixture: signature batch:list/1/tuple · returned list · level recorded 2026-09-26
extract_vocab vqa-v2/preprocess-vocab.py ran MIT (permissive) · 8e41785566e403d2 · report fixture: signature iterable:list/1/list, top_k:NoneType/0/?, start:int/0/int · returned dict · level recorded 2026-09-26
prepare_answers vqa-v2/data.py ran MIT (permissive) · 1e3e251c3f07251d · report fixture: signature answers_json:dict/0/? · returned generator · level recorded 2026-09-26
tile_2d_over_nd vqa-v2/model.py ran · violated contract fingerprinted MIT (permissive) · b3299f7858d7d2f2 · report fixture: signature feature_vector:Tensor/2/float, feature_map:Tensor/4/float · 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
Phrase Grounding Flickr30k Entities Test BAN (Bottom-Up detector) R@1 69.69 #11 of 18 Archive leaderboard report
Phrase Grounding Flickr30k Entities Test BAN (Bottom-Up detector) R@10 86.35 #11 of 18 Archive leaderboard report
Phrase Grounding Flickr30k Entities Test BAN (Bottom-Up detector) R@5 84.22 #11 of 18 Archive leaderboard report
Visual Question Answering (VQA) VQA v2 test-dev BAN+Glove+Counter Accuracy 70.04 #31 of 56 Archive leaderboard report
Visual Question Answering (VQA) VQA v2 test-std BAN+Glove+Counter overall 70.4 #27 of 38 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.

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