SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.17133 · NeurIPS · 2023

Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering

Alexandru Coca, Weizhe Lin, Jinghong Chen, Jingbiao Mei, Bill Byrne

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2309.17133.json · badge: /api/ran/2309.17133.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
linweizhedragon/retrieval-augmented-visual-question-answering canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
compute_ranks Ran
ran; our contract draft was wrong, not the code
linweizhedragon/retrieval-augmented-visual-question-answering/materials/Oscar/oscar/run_retrieval.py
pointer only (licence: GPL-3.0) · get_code("9704017d6a608db7")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, linweizhedragon/retrieval-augmented-visual-question-answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_score_with_logits Ran
ran; our contract draft was wrong, not the code
linweizhedragon/retrieval-augmented-visual-question-answering/materials/Oscar/oscar/run_retrieval.py
pointer only (licence: GPL-3.0) · get_code("f34c3eff1c9e6c54")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, linweizhedragon/retrieval-augmented-visual-question-answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

instance_bce_with_logits Ran
ran; our contract draft was wrong, not the code
linweizhedragon/retrieval-augmented-visual-question-answering/materials/Oscar/oscar/run_vqa.py
pointer only (licence: GPL-3.0) · get_code("e36ec4e0a52c6a4b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, linweizhedragon/retrieval-augmented-visual-question-answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

precision_at_k Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering/src/utils/retrieval_metrics.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from zhao254014/clustergcf, is pointer only (licence: NONE) · get_code("de0d0e47ac6bbe6c")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

precision_at_k_batch Ran
ran; our contract draft was wrong, not the code
LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering/src/utils/retrieval_metrics.py
pointer only (licence: GPL-3.0) · get_code("e06945a77a9e2b0a")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

recall Ran
ran; our contract draft was wrong, not the code
LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering/src/utils/retrieval_metrics.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from zhao254014/clustergcf, is pointer only (licence: NONE) · get_code("4437293713f250ee")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

shift_tokens_right Ran
ran; our contract draft was wrong, not the code
LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering/src/models/custom_peft.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from facebookresearch/ssvp_slt, is pointer only (licence: NOASSERTION) · get_code("9dfcf8b13847c65f")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, LinWeizheDragon/Retrieval-Augmented-Visual-Question-Answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

trim_batch Ran
ran; our contract draft was wrong, not the code
linweizhedragon/retrieval-augmented-visual-question-answering/materials/Oscar/oscar/run_vqa.py
pointer only (licence: GPL-3.0) · get_code("12516cd21b436092")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, linweizhedragon/retrieval-augmented-visual-question-answering, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 3 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
shift_tokens_right 18 other papers
8 dated earlier, 9 later, 1 same year, order not determinable · 1 only as an assembly brick
2021.acl-demo.21 (2021 (year only))
KuiLeiXi: a Chinese Open-Ended Text Adventure Game
2203.07836 (2022-03)
Graph Pre-training for AMR Parsing and Generation
2203.11239 (2022-03)
DQ-BART: Efficient Sequence-to-Sequence Model via Joint Distillation and Quantization
and 15 more not named here
precision_at_k 6 other papers
2 dated earlier, 4 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
1905.08108 (2019-05)
Neural Graph Collaborative Filtering
2311.00423 (2023-11)
LLMRec: Large Language Models with Graph Augmentation for Recommendation
and 3 more not named here
recall 6 other papers
2 dated earlier, 4 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
1905.08108 (2019-05)
Neural Graph Collaborative Filtering
2311.00423 (2023-11)
LLMRec: Large Language Models with Graph Augmentation for Recommendation
and 3 more not named here
instance_bce_with_logits 1 other paper
1 dated earlier
2109.11797 (2021-09)
CPT: Colorful Prompt Tuning for Pre-trained Vision-Language Models
trim_batch 1 other paper
1 dated earlier
2109.11797 (2021-09)
CPT: Colorful Prompt Tuning for Pre-trained Vision-Language Models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Knowledge-based Visual Question Answering (KB-VQA) requires VQA systems to utilize knowledge from external knowledge bases to answer visually-grounded questions. Retrieval-Augmented Visual Question Answering (RA-VQA), a strong framework to tackle KB-VQA, first retrieves related documents with Dense Passage Retrieval (DPR) and then uses them to answer questions. This paper proposes Fine-grained Late-interaction Multi-modal Retrieval (FLMR) which significantly improves knowledge retrieval in RA-VQA. FLMR addresses two major limitations in RA-VQA's retriever: (1) the image representations obtained via image-to-text transforms can be incomplete and inaccurate and (2) relevance scores between queries and documents are computed with one-dimensional embeddings, which can be insensitive to finer-grained relevance. FLMR overcomes these limitations by obtaining image representations that complement those from the image-totext transforms using a vision model aligned with an existing text-based retriever through a simple alignment network. FLMR also encodes images and questions using multi-dimensional embeddings to capture finer-grained relevance between queries and documents. FLMR significantly improves the original RA-VQA retriever's PRRecall@5 by approximately 8%. Finally, we equipped RA-VQA with two state-of-the-art large multi-modal/language models to achieve ∼ 61% VQA score in the OK-VQA dataset. * Equally contributed as the first author 37th Conference on Neural Information Processing Systems (NeurIPS 2023).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2309.17133")
get_code_for_paper("2309.17133")
have("2309.17133")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2309.17133.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2309.17133.svg)](https://syntology.ai/paper/2309.17133)

Connect an agent — have() is free.