SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.16713 · IJCAI · 2023

Answer Mining from a Pool of Images: Towards Retrieval-Based Visual Question Answering

Manish Gupta, Anand Mishra, Abhirama Penamakuri, Mithun Das Gupta

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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 1 has no contract verdict; 6 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/2306.16713.json · badge: /api/ran/2306.16713.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
Abhiram4572/mi_bart canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran; our contract draft was wrong, not the code
Abhiram4572/mi_bart/mi_bart/src/dist_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("41c46b0d5713eb14")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, 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.

do_nms Ran
ran; our contract draft was wrong, not the code
Abhiram4572/mi_bart/mi_bart/inference/modeling_frcnn.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("e21bb85b8e1b4836")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, 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.

gather Ran
ran; our contract draft was wrong, not the code
Abhiram4572/mi_bart/mi_bart/src/dist_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("00a9f7918ac39329")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, 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.

norm_box Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Abhiram4572/mi_bart/mi_bart/inference/modeling_frcnn.py
pointer only (licence: MIT); the stored copy get_code serves, from yfyuan01/mqc, is pointer only (licence: NONE) · get_code("16c0e181ff805fb7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from yfyuan01/mqc, and GitHub detected no licence in that repository when it was checked. 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.

normalize_text_for_bart Ran
ran on a synthesized input
Abhiram4572/mi_bart/mi_bart/src/eval_retvqa.py
code served (permissive licence) · get_code("c1fdfb1330fa24b1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import string

TABLE = str.maketrans(dict.fromkeys(string.punctuation))

def normalize_text_for_bart(x):
    return ' '.join(x.translate(TABLE).split())

# The function takes a single parameter 'x' which is a string
# It removes punctuation and normalizes whitespace
# We need to provide a string with some punctuation and extra spaces

ARGS = {
    'x': 'Hello, world!  This is a test... with punctuation!!!   and spaces.'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_list_tensors Ran
ran; our contract draft was wrong, not the code
Abhiram4572/mi_bart/mi_bart/inference/modeling_frcnn.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("54a2fff601881b32")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, 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.

reduce_dict Ran
ran; our contract draft was wrong, not the code
Abhiram4572/mi_bart/mi_bart/src/dist_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vis-nlp/ChartQA, is pointer only (licence: GPL-3.0) · get_code("44f4152cc7eb1ddd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vis-nlp/ChartQA, and GPL-3.0, as GitHub detects it on that repository, 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 6 later) and 1 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
all_gather 16 other papers
6 dated earlier, 1 the same month, 6 later, 3 same year, order not determinable
2108.02833 (2021-08)
Elaborative Rehearsal for Zero-shot Action Recognition
136730727 (2022 (year only))
Self-Supervised Sparse Representation for Video Anomaly Detection
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 13 more not named here
gather 14 other papers
5 dated earlier, 1 the same month, 5 later, 3 same year, order not determinable
2108.02833 (2021-08)
Elaborative Rehearsal for Zero-shot Action Recognition
136730727 (2022 (year only))
Self-Supervised Sparse Representation for Video Anomaly Detection
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 11 more not named here
do_nms 11 other papers
7 dated earlier, 3 later, 1 same year, order not determinable
2112.07566 (2021-12)
VALSE: A Task-Independent Benchmark for Vision and Language Models Centered on Linguistic Phenomena
2203.02013 (2022-03)
DIME: Fine-grained Interpretations of Multimodal Models via Disentangled Local Explanations
2204.03162 (2022-04)
Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionality
and 8 more not named here
pad_list_tensors 10 other papers
6 dated earlier, 3 later, 1 same year, order not determinable
2203.02013 (2022-03)
DIME: Fine-grained Interpretations of Multimodal Models via Disentangled Local Explanations
2204.03162 (2022-04)
Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionality
2205.00363 (2022-05)
Visual Spatial Reasoning
and 7 more not named here
reduce_dict 8 other papers
3 dated earlier, 1 the same month, 2 later, 2 same year, order not determinable
2208.12306 (2022-08)
Multimedia Generative Script Learning for Task Planning
2023.findings-emnlp.644 (2023 (year only))
VIP5: Towards Multimodal Foundation Models for Recommendation
and 5 more not named here
norm_box 2 other papers
1 later, 1 same year, order not determinable
Zhang_VQACL_A_Novel_Visual_Question_Answering_Continual_Learning_Setting_CVPR_2023_paper (2023 (year only))
VQACL: A Novel Visual Question Answering Continual Learning Setting
2402.07742 (2024-02)
Asking Multimodal Clarifying Questions in Mixed-Initiative Conversational Search

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

We study visual question answering in a setting where the answer has to be mined from a pool of relevant and irrelevant images given as a context. For such a setting, a model must first retrieve relevant images from the pool and answer the question from these retrieved images. We refer to this problem as retrieval-based visual question answering (or RETVQA in short). The RETVQA is distinctively different and more challenging than the traditionally-studied Visual Question Answering (VQA), where a given question has to be answered with a single relevant image in context. Towards solving the RETVQA task, we propose a unified Multi Image BART (MI-BART) that takes a question and retrieved images using our relevance encoder for free-form fluent answer generation. Further, we introduce the largest dataset in this space, namely RETVQA, which has the following salient features: multi-image and retrieval requirement for VQA, metadata-independent questions over a pool of heterogeneous images, expecting a mix of classification-oriented and open-ended generative answers. Our proposed framework achieves an accuracy of 76.5% and a fluency of 79.3% on the proposed dataset, namely RETVQA and also outperforms state-of-the-art methods by 4.9% and 11.8% on the image segment of the publicly available WebQA dataset on the accuracy and fluency metrics, respectively.

For agents

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

get_harvested_code_for_paper("2306.16713")
get_code_for_paper("2306.16713")
have("2306.16713")

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

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

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

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

Connect an agent — have() is free.