{"pub_number":"US12374099B2","doc_number":"12374099","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Systems and methods for visual question answering","abstract_text":"Embodiments described herein provide a zero-shot visual question answering (VQA) framework, which conjoins foundation network models with zero additional training. A first image and a question relating to the first image are received. The first image is divided into a plurality of image patches. A plurality of relevant image patches that are relevant to the question are determined, using a first neural network model, from the plurality of image patches. A plurality of image captions are generated, using a second neural network model, based on the plurality of relevant image patches. An answer to the question is generated based on the plurality of image captions.","claims":[{"number":1,"text":"A method of zero-shot visual question answering, the method comprising: receiving, via a data interface, a first image and a question relating to the first image; dividing the first image into a plurality of image patches; determining, using a first neural network model, relevance of each image patch of the plurality of image patches to the question; generating, using a second neural network model, a plurality of image captions based on the relevance of each image patch to the question, wherein the generating the plurality of image captions includes: sampling the plurality of image patches to generate a plurality of sampled image patches based on the relevance of each image patch; and generating an image caption of the plurality of image captions based on the plurality of sampled image patches; and generating, using a third neural network model, an answer in response to an input of the question and the plurality of image captions.","independent":true},{"number":2,"text":"The method of claim 1, wherein prior to receiving the first image and the question, each of the first neural network model, the second neural network model, and the third neural network model is pretrained using a separate training dataset.","independent":false,"depends_on":[1]},{"number":3,"text":"The method of claim 1, wherein the relevance of each image patch is determined based on a cross-attention score matrix of the plurality of image patches and the question.","independent":false,"depends_on":[1]},{"number":4,"text":"The method of claim 1, wherein the second neural network model uses stochastic decoding for generating the plurality of captions.","independent":false,"depends_on":[1]},{"number":5,"text":"The method of claim 1, wherein the third neural network model includes a question-answering encoder-decoder model.","independent":false,"depends_on":[1]},{"number":6,"text":"The method of claim 1, wherein the generating the answer further comprises: for each image caption, concatenating the image caption with the question to generate a question and caption combination of a plurality of question and caption combinations; encoding each of the plurality of question and caption combinations to generate a plurality of corresponding encoded representation; combining the plurality of encoded representations to provide a concatenated encoded representation; and generating the answer by decoding the concatenated encoded representation.","independent":false,"depends_on":[1]},{"number":7,"text":"A non-transitory machine-readable medium comprising a plurality of machine-readable instructions which, when executed by one or more processors, are adapted to cause the one or more processors to perform a method comprising: receiving, via a data interface, a first image and a question relating to the first image; dividing the first image into a plurality of image patches; determining, using a first neural network model, relevance of each image patch of the plurality of image patches to the question; generating, using a second neural network model, a plurality of image captions based on the relevance of each image patch to the question; and generating, using a third neural network model, an answer in response to an input of the question and the plurality of image captions, wherein the generating the answer further comprises: for each image caption, concatenating the image caption with the question to generate a question and caption combination of a plurality of question and caption com","independent":true},{"number":8,"text":"The non-transitory machine-readable medium of claim 7, wherein prior to receiving the first image and the question, each of the first neural network model, the second neural network model, and the third neural network model is pretrained using a separate training dataset.","independent":false,"depends_on":[7]}],"description":"RELATED APPLICATIONS\nThis application claims priority to U.S. Provisional Patent Application No. 63/355,298 filed Jun. 24, 2022, which is incorporated by reference herein in its entirety.\nTECHNICAL FIELD\nThe embodiments relate generally to visual models and machine learning systems, and more specifically to zero-shot visual question answering by conjoining foundation models with zero training.\nBACKGROUND\nVisual question answering (VQA) is a vision-and-language reasoning task. For example, given an input image of a bowl of salad and a query\n“\nwhat are the black objects\n”\nin the image, a VQA model is expected to generate an answer based on the visual content in the image, e.g.,\n“\nthe black objects are olives.\n”\nSome existing systems adapt pretrained language models (PLMs) for the vision modality, which often entails additional new network components and training objectives for the PLMs. Such setting limits the further application and scalability of the designed VQA model.\nTherefore, there is a need for developing more efficient VQA models.\nBRIEF DESCRIPTION OF THE DRAWINGS\nFIG.\n1\nis a simplified block diagram illustrating the framework of a zero-shot VQA model, according to one embodiment described herein.\nFIG.\n2\nis a simplified diagram illustrating a computing device implementing the VQA model described in\nFIG.\n1\n, according to one embodiment described herein.\nFIG.\n3\nis a simplified block diagram illustrating the framework of a zero-shot VQA model, according to one embodiment described herein.\nFIGS.\n4\nA-\n5\nprovide example data tables and experimental results illustrating example data performance of the zero-shot VQA framework of\nFIG.\n3\n, according to some embodiments described herein.\nFIG.\n6\nis a simplified block diagram illustrating a question answering method adopted by the question answering module shown in\nFIG.","inventors":[{"name":"Anthony Meng Huat Tiong","slug":"anthony-meng-huat-tiong","city":"Singapore","country":"SG"},{"name":"Junnan Li","slug":"junnan-li","city":"Singapore","country":"SG"},{"name":"Chu Hong Hoi","slug":"chu-hong-hoi","city":"Singapore","country":"SG"}],"assignees":[{"name":"Salesforce, Inc.","slug":"salesforce-inc","country":"US"}],"examiners":[],"cpc_codes":["G06N 3/045","G06V 10/26","G06V 10/774","G06V 10/82","G06V 10/86"],"ipc_codes":["G06N 3/045","G06V 10/26","G06V 10/774","G06V 10/82","G06V 10/86"],"filing_date":"2022-09-23","pub_date":"2025-07-29","grant_date":"2025-07-29","expiration_date":"2042-09-23","family_members":[],"citations_made":[{"pub_number":"US20180025271A1","category":"examiner"},{"pub_number":"US20180204111A1","category":"examiner"},{"pub_number":"US20190042867A1","category":"examiner"},{"pub_number":"US20190073353A1","category":"examiner"},{"pub_number":"US20190130110A1","category":"examiner"},{"pub_number":"US20190133510A1","category":"examiner"},{"pub_number":"US20190171929A1","category":"examiner"},{"pub_number":"US20190180144A1","category":"examiner"},{"pub_number":"US20200020117A1","category":"examiner"},{"pub_number":"US20200104670A1","category":"examiner"},{"pub_number":"US20210081715A1","category":"examiner"},{"pub_number":"US20210150118A1","category":"examiner"},{"pub_number":"US20210150350A1","category":"examiner"},{"pub_number":"US20210216862A1","category":"examiner"},{"pub_number":"US20210390700A1","category":"examiner"},{"pub_number":"US20220121702A1","category":"examiner"},{"pub_number":"US20220147838A1","category":"examiner"},{"pub_number":"US20230154188A1","category":"examiner"},{"pub_number":"US20230237773A1","category":"examiner"},{"pub_number":"US20230281400A1","category":"examiner"},{"pub_number":"US20230368529A1","category":"examiner"}],"non_patent_literature":["Yunan Ye et al., Video question answering via grounded cross-attention network learning,Apr. 16, 2020, Information Processing and Management 57 (2020) 102265,pp. 1-10.","Vishvak Murahari et al.,","“","Large-Scale Pretraining for Visual Dialog: A Simple State-of-the-Art Baseline,","”","Dec. 4, 2020, Computer Vision","—","ECCV 2020,pp. 336-349.","Jiasen Lu et al.,","“"],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":21,"npl_citations":10,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3483349,"pagerank_rank":3483349,"velocity_rank":3483349,"family_citations":0}}