{"about":{"site":"https://codewithpapers.app","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.","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"},"url":"/paper/answer-mining-from-a-pool-of-images-towards","title":"Answer Mining from a Pool of Images: Towards Retrieval-Based Visual Question Answering","arxiv_id":"2306.16713","date":"2023-06-29","proceeding":null,"authors":["Abhirama Subramanyam Penamakuri","Manish Gupta","Mithun Das Gupta","Anand Mishra"],"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.","url_abs":"https://arxiv.org/abs/2306.16713v1","url_pdf":"https://arxiv.org/pdf/2306.16713v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"answer-mining-from-a-pool-of-images-towards","repo_url":"https://github.com/Abhiram4572/mi_bart","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"answer-generation","task_name":"Answer Generation"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"visual-question-answering-1","task_name":"Visual Question Answering"},{"task_slug":"visual-question-answering","task_name":"Visual Question Answering (VQA)"}],"methods":[{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bart","method_name":"BART"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"}],"datasets_introduced":[{"slug":"retvqa","name":"RetVQA","full_name":"Retrieval-Based Visual Question Answering"}],"methods_introduced":[],"results":[{"leaderboard":"/sota/visual-question-answering-vqa-on-retvqa","task":"Visual Question Answering (VQA)","dataset":"RetVQA","model":"MI-BART","rank_in_archive_order":1,"of":1,"metrics":{"Accuarcy":"76.5","Accuracy * Fluency":"70.9"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2306.16713","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2306.16713"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Abhiram4572/mi_bart","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":6,"unverified":1},"by_repo_kind":{"official":{"samples":7,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"41c46b0d5713eb14","entry":"all_gather","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/src/dist_utils.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/src/dist_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"41c46b0d5713eb14"}},{"code_sha256_prefix":"e21bb85b8e1b4836","entry":"do_nms","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/inference/modeling_frcnn.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/inference/modeling_frcnn.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e21bb85b8e1b4836"}},{"code_sha256_prefix":"00a9f7918ac39329","entry":"gather","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/src/dist_utils.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/src/dist_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"00a9f7918ac39329"}},{"code_sha256_prefix":"16c0e181ff805fb7","entry":"norm_box","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/inference/modeling_frcnn.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/inference/modeling_frcnn.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"16c0e181ff805fb7"}},{"code_sha256_prefix":"54a2fff601881b32","entry":"pad_list_tensors","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/inference/modeling_frcnn.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/inference/modeling_frcnn.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"54a2fff601881b32"}},{"code_sha256_prefix":"44f4152cc7eb1ddd","entry":"reduce_dict","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/src/dist_utils.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/src/dist_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"44f4152cc7eb1ddd"}},{"code_sha256_prefix":"c1fdfb1330fa24b1","entry":"normalize_text_for_bart","repo":"Abhiram4572/mi_bart","repo_kind":"official","path":"mi_bart/src/eval_retvqa.py","file_url":"https://github.com/Abhiram4572/mi_bart/blob/HEAD/mi_bart/src/eval_retvqa.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c1fdfb1330fa24b1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}