IndiFoodVQA: Advancing Visual Question Answering and Reasoning with a Knowledge-Infused Synthetic Data Generation Pipeline
Paper · 2024 · Pulkit Agarwal, Settaluri Sravanthi and Pushpak Bhattacharyya
Summary
A photograph can show where a dish sits on a platter and what it looks like. Answering a question about the dish’s usual ingredients or their nutritional properties calls for another kind of evidence. The system has to connect something in the photograph to facts about the food. IndiFoodVQA is a benchmark for that kind of visual question answering. It focuses on Indian cuisine, a domain the authors chose for its diversity and because they report that general-purpose visual systems can confuse Indian foods with Western dishes.
The benchmark contains 16, 716 items drawn from 414 platter photographs. Each item pairs an image with a question, 4 choices, a designated answer, and a written explanation. The authors also release IndiFoodKG, a knowledge graph that links recipes to ingredients, ingredients to nutritional information, and dishes to facts such as their regional associations. To generate questions, they use human-checked dish names to guide an image description, retrieve graph entries relevant to the dishes and the question topic, and give both sources to GPT-3.5. Their analysis found vocabulary associated with the supplied graph facts in 4050 questions, particularly in items about nutrition and ingredients. Human reviewers rated the relevance of the questions and choices more highly than the correctness of the designated answers and explanations.
On the full test split, InstructBLIP reached 54.15% answer accuracy with the same facts that had been supplied during question writing, the highest zero-shot result among the main baselines. LLaVA reached 42.59% without external facts or task-specific training, and 69.22% after fine-tuning on IndiFoodVQA without graph facts at training or test time. Fine-tuning also improved agreement with the reference explanations. On a smaller, human-verified subset of the test split, the best reported LLaVA accuracies were 50.00% before fine-tuning and 73.08% after it.
Giving a system graph entries at test time helped under some conditions. The facts available during question writing were often more helpful than facts retrieved later from the wording of the question. This distinction matters because the authoring pipeline knows which dishes have been annotated and what topic the question should cover, while the answering pipeline retrieves from a question that can refer to a dish indirectly. The paper releases the data and code and uses the benchmark to examine where that gap matters, including questions about nutrients and ingredients, and where added facts can distract from the visual task.
Deep dive: IndiFoodVQA: Advancing Visual Question Answering and Reasoning with a Knowledge-Infused Synthetic Data Generation Pipeline
IndiFoodVQA uses photos of Indian meals and a culinary knowledge graph to test how well visual question answering systems select and explain answers. · about 37 minutes to read
The problem and its context
A photograph supplies only part of the evidence
The paper starts from a distinction between recognizing what is in a picture and answering a question about it. A visually grounded answer may begin by identifying a dish through its position or color. The question may then ask about a property that the photograph cannot establish directly, such as an ingredient commonly used in the recipe. A nutrition question can add another step by asking what that ingredient contributes. The picture provides evidence about the object of the question, while culinary knowledge provides evidence about the property being asked about.
A platter makes the distinction especially consequential. If the question identifies a side dish by where it sits, the system has to resolve that reference before it can choose which recipe facts are relevant. A correct fact about the main dish is of little use if the question concerns the side dish. Conversely, recognizing every dish on the plate still leaves open questions about preparation, dietary restrictions, or customary pairings. These are different ways to fail, even when the experiment records them all as the selection of a wrong answer.
The authors situate this problem in domain-specific applications. They describe how an assistant used in a restaurant would be expected to handle questions about food pictures and how an assistant for clothing would need different visual and factual competence. A system can be good at following general instructions and still lack the recognition skills or background knowledge needed for those tasks. The authors argue that measuring specialized competence calls for examples that make those demands explicit.
Indian cuisine gives the paper a concrete setting for that evaluation. The authors point to the variety of the cuisine and its everyday importance. They also describe confusion between Indian and Western dishes in existing visual systems and suggest that those recognition problems can carry over to systems that combine images and text. The paper uses that observation to motivate its choice of domain. Its experiments then ask how well systems answer questions within that domain under different training and evidence conditions.
The desired benchmark has to do more than place a specialist word in an ordinary image question. It needs questions that refer to what is shown, plausible alternatives, an answer that can be defended, and a rationale that reveals the intended connection between the picture and the relevant facts. These requirements pull in different directions. Questions with subtle visual references can be more demanding, but a flawed description can make those references impossible to resolve. Questions about customary practice can draw on useful knowledge, but they can also leave several options defensible. The data generation method has to contend with both problems.
How earlier benchmarks obtained their questions
The paper divides earlier datasets into human-authored and machine-generated approaches. In the human-authored approach, people can look at the image, decide what is worth asking, and judge whether the words pick out the intended object. That flexibility helps produce varied questions. The authors identify the effort needed to repeat the process at scale as its principal drawback. Their discussion includes the early VQA benchmark and datasets built around richer human descriptions of visual scenes, such as Visual Genome.
Fixed templates offer another way to use human input. An author can devise a question pattern and an automated process can fill its slots with objects or properties. This makes it easier to create more items once the pattern has been written. In the paper’s account, repeated substitution also limits the variety of questions a system encounters. A template that always asks about the same relationship in the same way can test that relationship systematically while giving little evidence about how a system handles a different formulation. The authors discuss this approach in connection with earlier datasets including Visual7W.
The authors also describe automatic generation based on functional programs. In that approach, a question corresponds to operations over a representation of a scene or over relevant facts. The operations specify how the answer is obtained. That design is useful for questions whose difficulty comes from composing smaller operations, such as identifying an object with some property and then asking about a related object. IndiFoodVQA places its own work alongside such benchmarks, including CLEVR and GQA, as well as CRIC, which the paper discusses in relation to visual facts and external commonsense knowledge.
An earlier multimodal benchmark also illustrates why a dataset might ask for a reason. ScienceQA brings together multiple-choice science questions, answers, contexts, and explanations. As described by the IndiFoodVQA authors, it was assembled from open science resources using heuristic rules. Its structure makes the explanation part of the task, so a system can be evaluated both on selecting an option and on accounting for that selection. IndiFoodVQA uses a comparable distinction for questions about food photographs. ScienceQA
LLaVA supplied a different precedent for building multimodal data. Its data generation procedure used textual information about images, including human-written captions and bounding boxes, to let GPT-3.5 generate examples about scenes. That arrangement separates the process of representing a picture from the process of writing about it. IndiFoodVQA borrows that separation and changes what the writer receives. It uses a generated description guided by checked dish names and adds facts selected from a cuisine-specific graph. Visual Instruction Tuning · Microsoft COCO
What external knowledge adds
The paper places IndiFoodVQA within a line of research on questions that call for facts beyond the image. In its account, earlier work frequently combined everyday photographs with broad commonsense knowledge. This can test whether a system connects a scene to general facts about ordinary objects. A specialist benchmark changes the range of facts that matter. An entry identifying a recipe ingredient or giving a nutrient value for an ingredient can be more relevant to this task than a general statement about food.
The authors also draw on results about supplying knowledge in a prompt. In their description of KAPING, a system is given relevant graph entries when it answers a question, with its learned parameters held fixed. The paper cites Prophet as another way of augmenting prompts for knowledge-based visual questions, in that case with answer heuristics. In both approaches, some of the evidence the system uses can be changed by changing its input. This makes it possible to compare the same system under different conditions without training it anew.
IndiFoodVQA gives prompt-time evidence a role on both sides of the benchmark. At authoring time, the evidence suggests which questions the system could write and which facts could justify their answers. At evaluation time, evidence supplied to an answering system may help it recover the intended answer. The two uses need different retrieval inputs. The writer can be told the annotated dish names and the category of the question it has yet to produce. The answering system has to work from the finished item, whose wording may have been deliberately chosen to leave the dish or the relevant fact implicit.
This combination explains the paper’s interest in data generation as well as evaluation. A curated culinary source offers facts that could support questions, but the facts alone do not say how to refer to a dish in a particular photo. A description can supply that reference, but it does not generally tell the writer what someone would need to know about the recipe. By giving a writing system both kinds of input, the authors create a way of generating many questions while controlling their topics and making domain facts available during composition.
The method, step by step
Build a graph that can connect dishes to nutrients
IndiFoodKG stores information as triples. Each triple has a subject, a relation, and an object. A recipe can be the subject, has_ingredient the relation, and an ingredient the object. This is a direct connection, which the paper calls a hop. An ingredient can also be the subject of a nutritional entry. Putting those entries together gives a path from the recipe to a property of an ingredient. The path concerns the ingredients associated with the recipe in the graph. A photograph still supplies the evidence needed to connect a question to a dish on the platter.
The authors compile the graph from sources with different coverage. IndianFood101 contributes records about 255 dishes, including where they are found, what meal course they belong to, and their flavor or preparation properties. CulinaryDB supplies recipe and ingredient information for almost 4k Indian food items. It also provides entries about ingredient categories, synonyms, and constituents. The Indian Food Composition Tables, abbreviated IFCT, provide nutrient information for 528 key ingredients.
The graph contains 79, 934 unique triples. It has 11 named relations in addition to the nutritional entries. The relation inventory shows how unevenly its evidence is distributed. Among the entries from CulinaryDB, 34,020 use the recipe-to-ingredient relation. The nutritional group from IFCT contains 41,674 entries. IndianFood101 includes 231 records for the state in which a dish is found and 242 for its region. These counts describe available records. They help explain why a retrieval method over this graph has a much larger pool of ingredient and nutrition facts than entries for several other kinds of question.
The source boundaries have a practical use. If a single ranking were used across all entries, the available results would depend completely on similarity scores over a collection dominated by particular relation types. The authors select from each source separately. This gives the generator some recipe information, some nutrition information, and a dish property from the smaller collection, even when the highest scores in a pooled ranking might be concentrated in one of them.
Specify what each batch of questions should ask
The writing pipeline starts with a question type. The authors asked ChatGPT for categories and descriptions, obtaining 18 distinct suggestions across 3 runs. They retained 12 with input from domain experts and removed categories that duplicated topics or pulled the task towards recognition alone. Dish identification was among the suggestions dropped because it primarily tested object detection. A separate spice-level category was unnecessary once flavor profile was included.
The retained topics cover different relationships between the photograph and outside information. Ingredients and substitutions focus on what goes into a dish and how changes might affect it. Cooking technique and cooking science concern preparation and its effects. Cultural significance, seasonality and locality, and food pairings concern customary or regional context. Taste and flavor, health and nutrition, allergens and dietary restrictions, presentation and plating, and fusion and innovation complete the set. The categories establish the target of a question. They leave the wording, the dish reference, and the choice of facts open to the generator.
For each category, the paper uses a compact version of the description and a longer one. The compact wording supplies the topic keywords for retrieving graph entries. The longer description goes into the writing prompt and explains the sort of relationship the question could explore. For instance, a nutritional query can contain terms about nutrients, while the corresponding writing instruction can ask for a comparison involving the dishes. Keeping both versions lets the authors use a focused retrieval query without constraining the wording of the eventual question to the same short phrase.
The stages that turn these categories into complete items are:
How IndiFoodVQA creates its question items
The steps in order.
Describe the selected platter
The images come from IndianFood20. The authors sought platters containing several foods, so that questions could refer to side dishes and to spatial relationships between items. They assigned 10 dish classes each to 2 annotators familiar with Indian food. Each annotator was asked to select 21 photographs per assigned class and list the dishes visible in each image. The other annotator checked those lists, and the team dropped images on which the annotators disagreed. This left 414 images.
The paper describes the image selection threshold in two ways. The main method section says the selected platters contained more than 3 items. The annotation appendix describes a requirement of at least 3. Both descriptions place the focus on multi-item platters. The reported image count refers to the collection retained after the check between annotators.
The annotated list gives the image description system a set of names to look for. The authors denote that list by F. They give it and the image to InstructBLIP with a Vicuna-7B backbone and ask for the colors and relative locations of the listed foods. The resulting description is denoted by D. It turns visual properties into text that can be used in a later prompt. The names narrow down what the system should describe, while the image supplies the evidence for properties such as where an item sits. InstructBLIP
The description settings include 3 beams for decoding and a maximum length setting of 300. Beam decoding retains alternative partial outputs while building a description. The point of the description for the rest of the method is its information content. It can give the writer enough visual language to ask about a particular item without naming it directly. An incorrect location or color can also survive into the final question, because the writing system uses the description as its account of the scene.
This is where the pipeline’s use of human supervision is most direct. The annotators check the list of dishes. The visual description itself is generated from the image and that list. The authors consider the annotated names a way to direct the description in a difficult visual domain and suggest that a different domain could use automatic descriptions if those were sufficient. The Indian food experiment uses the checked names throughout the construction of its image collection.
Retrieve direct facts for the pictured dishes and topic
The retrieval stage converts structured facts into strings that a sentence encoder can compare. For a triple whose fields are subject s, relation r, and object o, the paper’s representation is:
s; r; o
The fields keep their original order, and the separators mark the boundaries between them. The relation label supplies the meaning of the connection. This is a compact serialization of the graph entry. The authors can pass it to the writing system without first expanding the entry into a prose sentence.
The generation query, denoted by q, combines the annotated dish names with the short description of the question type. The graph strings form the search collection C. The method uses MPNet to encode both the query and the candidate strings as vectors, also called embeddings. Cosine similarity ranks candidates by how closely the directions of those vectors align. This is a measure of semantic similarity in the chosen embedding space. A high score makes an entry a strong retrieval candidate for the words in the query. MPNet
The paper expresses the selection of direct triples with the following call:
cos_sim(q, C, top_N)
Here cos_sim denotes cosine-based ranking and selection. The argument q is the generation query represented by its embedding, and C is the corpus represented by its candidate embeddings. The argument top_N asks for the highest-ranked entries up to the selected cutoff, and N is that cutoff. The result is the set of direct facts the paper denotes by T₁₋ₕₒₚ.
In practice, the authors run the selection over the separate sources. They take the top 5 entries from CulinaryDB, the top 4 from IFCT, and the top entry from IndianFood101. The overall budget is N = 10, where N now describes the total across the source selections. A cooking or nutrition keyword can affect the ordering within a source, but the number of slots reserved for that source stays fixed.
In the direct retrieval setting, each entry earns its place independently of the others. That can bring together several individually relevant facts without creating a path between them. A recipe entry might name an ingredient associated with a photographed dish, while a highly ranked nutrient entry might describe another ingredient. Both can match part of the query. Only the related nutrient fact would complete the path that the authors want the writer to use.
Link recipe ingredients to nutrition entries
The linked method is designed around a recipe-to-nutrient connection. The authors describe this as composing knowledge of a recipe’s ingredients with knowledge of those ingredients’ nutrients. In their notation, K₂ is the knowledge reached through the linked path, Kᵣ₂ᵢ is the recipe-to-ingredient knowledge, and Kᵢ₂ₙ is the ingredient-to-nutrient knowledge. An ingredient, denoted by e, supplies the connection. A useful pair of entries lets a writer infer a relevant nutritional property through an ingredient associated with the dish.
Ingredients in CulinaryDB and IFCT need to be aligned before the retrieval procedure can make this connection. The authors take each CulinaryDB ingredient name, encode it with MPNet, and compare its embedding to the embeddings of the IFCT ingredient names. The method retains the closest IFCT ingredient. The paper writes this lookup as:
cos_sim(qᵢ, Cᵢ, top_1)
The argument qᵢ is the embedding of the CulinaryDB ingredient being matched. The subscript i identifies the ingredient lookup. Cᵢ is the collection of embeddings for IFCT ingredient names. cos_sim ranks those entries by cosine similarity, and top_1 keeps the highest-ranked entry. The corresponding IFCT ingredient is denoted by Iᵣₑₗ, the related ingredient used to find nutrient records.
The distinction between a matched name and a verified equivalence matters here. The lookup makes a connection across collections even when their labels differ. The connection is based on proximity in embedding space. Whether those labels denote the same ingredient in the sense needed by a particular question depends on the quality of that match. The method uses the match to narrow the candidate nutrient entries before ranking them for the particular platter and topic.
The paper first retrieves the IndianFood101 and CulinaryDB portions using the same allocations as direct retrieval. It then collects the related IFCT ingredients for the ingredients found in those entries. Only the nutrient facts associated with this restricted set go into the IFCT candidate pool. From that pool it selects the top 4 triples. The final prompt still receives a set of individual facts, some of which can be read together as a path. The linked retrieval favors paths through an ingredient already represented in the selected facts.
The authors invoke chain-of-thought prompting as a motivation for supplying facts that can be combined. The retrieval procedure does the work of placing related entries together. GPT-3.5 then has to use those entries to compose a question and its explanation. A graph path can support that explanation, while the question and the options determine whether a respondent actually needs to recover the path.
Write, clean, and check the examples
The generator is gpt-3.5-turbo. It receives the category and its longer description, the text representation of the photographed platter, and facts selected by linked retrieval. The intended output consists of a question, its 4 choices, a correct option letter, and a paragraph explaining the answer. The final record stores the photograph with those fields. The writer is asked to make questions about both main dishes and sides and to use cues such as relative position when they can identify the intended item.
The writing prompt sets a distinction between what can be seen and what can be inferred. The description is meant to support statements about the scene. The triples can supply facts that go beyond it. The authoring instructions ask for questions with definite answers and encourage questions that use graph facts to require those facts for a complete answer. When an entry is used, the prompt asks the writer to reserve the graph knowledge for the explanation and avoid exposing its entities in the question or choices. This is an instruction about the desired structure of the output. The paper’s later vocabulary analysis measures a different property of what the generator actually produced.
The authors request 5 questions per response to make use of each call and encourage variation. They tried temperature settings of 0.2, 0.4, and 0.7. Temperature controls how readily generation departs from the most favored continuations. The authors chose 0.4 after inspecting the variety of the outputs. They also clean references that make the item sound as if it were written from a description or a list of triples. A response that declares the question unanswerable in place of selecting one of the offered letters is removed.
The result is a collection in which the writer marks its own answer and supplies its own reason. A correctly formatted item can still contain a mistaken assumption about the image, an inaccurate food fact, or choices that are too close to separate. Human verification addresses these issues on a sampled portion of the data. The paper also uses the sample to define a smaller test subset with stronger human support. Those checks are distinct from the generation and cleanup that produce the full benchmark.
Experiments and results
What the test split contains
IndiFoodVQA has 16, 716 records and 13, 426 distinct question texts. The records use 414 images and span 12 question types. The paper reports average lengths of 13.76 for questions, 4.43 for answers, and 59.23 for rationales. The rationale field gives the system room to describe why an option follows from the pictured dish and any relevant culinary facts. This makes it possible to measure a written justification separately from the answer letter.
The authors split questions into training, validation, and test sets using a ratio of 70 : 10 : 20. The resulting counts are 11, 709 training questions, 1661 validation questions, and 3346 test questions. The test split was constructed to have approximately equal representation of the question types. The baseline results are measured on the test split, and the paper reports a single run of the experiments.
The answer positions are uneven in the overall dataset. The designated answer is A in 5610 records, B in 3929, C in 3955, and D in 3222. The reported random baseline uses the training set instead of making all letters equiprobable by design. For each test question, it randomly selects an answer and a reason from training questions of the matching type. Its test-set accuracy is 26.69%, and its explanation similarity is 0.368. This measures what that specific sampling procedure achieves.
What each baseline receives
The main zero-shot comparison uses mPLUG-Owl with a Llama-7B base, OpenFlamingo with MPT-9B, InstructBLIP with Flan-T5-XXL at 11B, and LLaVA with Llama 2 at 13B. Zero-shot here means the systems are evaluated without being trained on IndiFoodVQA. Each sees the image, question, and choices. A graph condition may add evidence to the prompt. The experiments therefore distinguish learning from the dataset from using facts presented with an individual test question.
The authors compare prompts with no graph facts, prompts with direct retrieval, prompts with linked retrieval, and prompts with the original facts from question writing. To retrieve at test time, they use spaCy to extract noun chunks from the question. A noun chunk is a phrase organized around a noun, so the query can retain a phrase naming an object or property. The retrieval query omits the choices because the authors expect the wrong options to attract facts irrelevant to the correct answer. The choices remain part of the prompt that asks the system to answer.
This means a test query has different information from the query used during generation. The generator’s retriever can use the full, checked list of dishes and the known topic. The test retriever uses language in which a dish may be referred to by a position. Its query also forgoes any useful domain terms supplied in the choices. The original-facts condition bypasses that query by supplying the entries recorded at generation time. It tests how the answering system uses those particular facts when they are already available.
The zero-shot evaluations obtain the answer first and then ask the system to justify the answer it generated. The explanation prompt can therefore be conditioned on a wrong choice. The paper also uses different prompt variants across systems. In one variant the evaluator expects a phrase identifying the answer letter, and deviations from that format count as errors. Another variant takes the initial letter from the output. The reason has a generation limit of 256 new tokens, and the authors describe trimming incomplete sentences and retaining the first paragraph for one rationale format.
The fine-tuning experiments use the instruction-tuned LLaVA checkpoint. The authors compare training with no external facts, training with direct retrieval, and training with linked retrieval. Each system learns to produce both the answer and the reason under a single prompt, with the outputs on separate lines. The model is trained for three epochs using a global batch size of 128 and a learning rate of 2e−5. This fine-tuned setup changes both the system’s exposure to domain examples and the way it produces the explanation.
What the scores measure
Answer accuracy is top-1 accuracy. A prediction is correct when the selected letter agrees with the designated answer for that item. The result is reported as a percentage. This places a wrong answer based on a bad visual reference and a wrong answer based on irrelevant food facts in the same category. The explanations provide additional material for examining the difference, although their automatic metrics still compare texts.
The paper reports ROUGE-L, BLEU-1, BLEU-4, and METEOR for written reasons. They compare the generated reason with the dataset’s reason using different aspects of overlap. ROUGE-L considers shared subsequences. The two BLEU variants capture agreement at different lengths of word sequence. METEOR provides another measure of matching the reference wording. A short or differently phrased explanation can share fewer words with the reference while still making a relevant point. ROUGE · BLEU score · METEOR
The additional similarity measure uses Sentence-BERT to embed the generated reason and the reference reason, then scores the cosine similarity between them. That is a separate use of embeddings from the MPNet retrieval earlier in the pipeline. MPNet helps find facts to put in the prompt. Sentence-BERT evaluates the closeness of the resulting reason to the written reference. The explanation scores are reported as decimals, independently of the answer accuracy percentages. Sentence-BERT
Zero-shot answer selection and explanation
The strongest zero-shot answer selector in the main comparison is InstructBLIP. Its accuracy is 52.06% when it receives no graph facts and 54.15% with the facts from question generation. LLaVA reaches 42.59% without graph facts and 43.78% with the original facts. Without graph facts, mPLUG-Owl reaches 34.13%, while OpenFlamingo reaches 25.46%. The chart holds the evidence condition fixed so the comparison reflects the systems as evaluated with only the standard item inputs.
Zero-shot answer accuracy without graph facts on the IndiFoodVQA test split
InstructBLIP leads the no-graph comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| Random training-set sampler | 26.69 |
| OpenFlamingo | 25.46 |
| mPLUG-Owl | 34.13 |
| LLaVA | 42.59 |
| InstructBLIP (this paper) | 52.06 |
The ordering for explanation quality depends on the measure. Zero-shot LLaVA without graph facts records 0.324 on ROUGE-L, 0.354 on BLEU-1, and 0.367 on METEOR. InstructBLIP under the same evidence condition records 0.172, 0.022, and 0.089 on those measures. At the same time, InstructBLIP’s no-graph explanation similarity is 0.715, showing that its reason outputs have a different profile on the embedding measure than on the word-based scores. The corresponding LLaVA similarity is 0.822.
The top zero-shot result in a reason metric can also depend on which system and prompt are used. The no-graph mPLUG-Owl similarity is 0.824. LLaVA with the original triples records 0.326 on ROUGE-L and 0.108 on BLEU-4. A reader interested in selecting the right option would therefore get a different view of the baselines from a reader interested in generating an explanation that resembles the benchmark’s examples. The authors suggest that InstructBLIP’s training suits answer classification and draw attention to the strength of instruction-tuned systems such as LLaVA and mPLUG-Owl on explanation. The comparison covers complete systems with their prompting procedures, so it does not isolate the effect of instruction tuning.
OpenFlamingo is close to the random baseline on answer selection in several conditions and goes above it with graph facts. Its direct-retrieval answer accuracy is 31.05%. Its BLEU-4 score is 0.0 across the reported conditions. This example underscores the independence of the outputs being measured. A prompt can help an answering system select more of the designated choices while the written rationales continue to share little longer phrasing with the reference.
Fine-tuned LLaVA and the verified subset
LLaVA trained and tested without graph facts reaches 69.22% test accuracy. It also attains 0.506 on ROUGE-L, 0.497 on BLEU-1, 0.297 on BLEU-4, 0.481 on METEOR, and 0.883 on explanation similarity. These scores show how much performance the authors could obtain by training on the domain examples and their rationales. The corresponding zero-shot system uses the same LLaVA family and no graph facts, giving a direct comparison between the paper’s zero-shot and fine-tuned procedures.
Among the main graph-based training settings, the best accuracy for the direct-retrieval training paradigm is 67.15%, obtained when test prompts also use direct retrieval. The best for the linked-retrieval training paradigm is 66.59%, obtained when the test prompts use linked retrieval. These matched settings improve on testing their respective checkpoints without facts. They yield different explanation scores from the checkpoint that is trained and tested without graph input. In particular, the matched linked setting reaches 0.524 on ROUGE-L and 0.321 on BLEU-4, the highest values for those measures in the main fine-tuning comparison.
Fine-tuned LLaVA answer accuracy by matched graph setting on the IndiFoodVQA test split
Training and testing without graph facts gives the highest accuracy among the matched settings.
The numbers
| System or setting | accuracy % |
|---|---|
| Direct retrieval at training and test time | 67.15 |
| Linked retrieval at training and test time | 66.59 |
| No graph facts at training or test time (this paper) | 69.22 |
To check the comparison on material humans had reviewed, the authors take test items from the verification sample that received a majority score of 4 under their clean-set criterion. This produces a subset of 98 samples. The best LLaVA answer accuracies there are 50.00% in the zero-shot setting and 73.08% in the fine-tuned setting. The paper presents the separation between those results as consistent with the full test split. The selection criterion makes this a comparison on highly rated items, with a smaller and narrower pool of questions than the full test.
A baseline with generated background knowledge
The authors also test generate-then-read, an approach that asks a generative system to compose useful background material before another system answers. Their setup first has fine-tuned LLaVA describe the image. GPT-3.5 receives that description alongside the question and choices and generates background knowledge aimed at the particular item. The paper explores using this material at inference and training LLaVA with it. Unlike the graph retrieval query, the generator can take account of the options as it formulates the background.
The comparison reports 59.379% accuracy for the LLaVA row labeled zero-shot with GPT-3.5 knowledge, against 42.59% for the zero-shot row without graph facts or generated background. The method description also discusses using a fine-tuned LLaVA reader with generated knowledge at inference. These descriptions leave the checkpoint for the zero-shot-labeled row less explicit than the matched graph comparisons. The row labeled fine-tuned on GPT-3.5 knowledge reaches 70.233%, with ROUGE-L of 0.510 and explanation similarity of 0.886. The fine-tuned row without external knowledge records 69.22%, 0.506, and 0.883 on those measures.
This comparison broadens the evidence available to the answering system. Graph retrieval can supply only entries represented in IndiFoodKG. Generated background can address a question more directly and reflect knowledge beyond the graph’s relation inventory. The result measures how helpful the generated material is to performance on the benchmark. It leaves the correctness and provenance of each generated claim to be assessed separately.
What the ablations show
Using the authoring facts versus finding new ones
The paper offers controlled comparisons of the facts supplied to a fixed answering system, comparisons across training and inference conditions, and diagnostics of how the questions were written. The clearest inference-time control is to change only the source of the additional facts for a given system. That comparison tests whether the decision is sensitive to having no retrieved evidence, facts found by one of the retrieval procedures, or the facts already associated with the question during generation.
For zero-shot LLaVA, the no-graph score is 42.59%. Direct retrieval gives 41.33% and linked retrieval gives 41.54%. With the original facts it reaches 43.78%. InstructBLIP displays a similar ordering, with 52.06% without facts, 50.57% with direct retrieval, 50.75% with linked retrieval, and 54.15% with the original facts. These comparisons offer evidence that the choice of evidence matters. They also show why supplying graph entries in itself does not guarantee an improvement.
The pattern varies between systems. OpenFlamingo starts at 25.46%, reaches 31.05% with direct retrieval, 28.06% with linked retrieval, and 29.23% with the original entries. Here the highest accuracy comes from direct retrieval. mPLUG-Owl begins at 34.13% without external facts, and its score with the original entries is 33.32%. Thus the original facts provide a useful diagnostic of evidence availability, with different results depending on how the answering system handles those facts.
The comparison between direct and linked retrieval tests a targeted design change. Both methods retain source quotas, while linked retrieval restricts the nutrition candidates to ingredients connected with the selected entries. The small changes between the two scores for InstructBLIP and LLaVA, and the different ordering for OpenFlamingo, offer little basis for treating the linked procedure as uniformly better. The linking operation makes recipe-to-nutrient paths more available. Improvements on an aggregate test also require enough items to need those paths and an answering system able to use them.
The authors suggest that retrieval could benefit from evidence beyond question text, including image-level information and possibly the answer choices. Their design deliberately left choices out of the query to avoid distractors. The result exposes the tradeoff between retaining useful clues and avoiding terms associated with wrong answers. A question that refers to a food only by position is an example of where a noun-phrase query may leave out the entity needed to retrieve a useful recipe entry.
How training changes the response to facts
The fine-tuning comparison allows the experiment to vary the facts shown during training and testing. The checkpoint trained without graph facts attains 69.22% when evaluated without them. Giving the same checkpoint direct retrieval at test time yields 65.72%, linked retrieval gives 66.11%, and original facts give 67.84%. For that checkpoint, each extra-evidence condition scores below testing under its training condition.
For the checkpoint trained with direct retrieval, testing without facts gives 65.09% and testing with direct retrieval gives 67.15%. For the checkpoint trained with linked retrieval, testing without facts gives 64.26% and testing with linked retrieval gives 66.59%. Supplying evidence in the same form used in training helps each of these graph-trained checkpoints relative to taking away that evidence. A system trained to expect extra facts can make some use of that input. The strongest overall answer accuracy in the main fine-tuning comparison still comes from the no-graph training and testing condition.
The original facts give 65.09% for the direct-retrieval-trained checkpoint and 63.81% for the linked-retrieval-trained checkpoint. Their presence during prompt construction did not make them the most effective evidence for those checkpoints. The original set was chosen for the annotated dishes and a topic description, and a particular question may depend on only part of it. The matched retrieval sets are chosen with the final question as the query. This provides a reason to distinguish evidence selected for writing from evidence selected for answering.
The paper illustrates the change after training with a question whose distractors include coriander. The zero-shot LLaVA response claims that coriander is in the image. The fine-tuned checkpoint arrives at the designated answer using the relevant information among the linked triples. The image and facts supplied in the comparison are the same. The example shows what a successful change in the use of evidence can look like. Its role is illustrative, since the paper does not count how often the same kind of change explains gains across the test set.
Where graph information appears in the questions
The authors assess the writer’s use of retrieved facts with a vocabulary diagnostic. They extract nouns from the question text and answer choices with spaCy and remove nouns occurring in the annotated names of the foods. They then check the remaining nouns against subjects, objects, and nutrient terms in the retrieved entries. Removing the dish names makes the test less likely to record a match simply because the question and the graph both name the topic of the image.
This procedure identifies 4050 questions, reported as ∼ 24% of the dataset. Health and nutrition contribute 649 matches, and ingredients contribute 608. Cooking technique contributes 91, and presentation and plating contributes 56. These are counts of questions with the vocabulary signal within each topic. They show how the observed use of graph-related language varies with the available facts. The graph contains extensive records about ingredients and nutrients, and that is where the diagnostic often finds their vocabulary.
The analysis looks for a trace of outside information in the generated wording. It can miss a question that leaves the fact implicit or reserves it for the explanation, as the prompt requests. It can also count a shared noun when the option can be selected without the matched fact. The diagnostic therefore identifies a way the graph enters some of the generated content. It does not establish what would have been written for the same image and topic in a run with the graph withheld.
The paper separately breaks down zero-shot LLaVA accuracy by question type. The authors find that suitable facts are generally helpful for nutritional questions, dietary restrictions, and ingredients. They report deteriorations when unrelated entries are supplied to more open-ended questions about flavor or presentation. A question about the arrangement of a plate can call for looking more closely at the scene, while a collection of recipe facts may offer little relevant evidence. This analysis helps explain how useful and distracting additions can coexist within a small overall change in accuracy.
The generate-then-read comparison has a different category profile. The fine-tuned accuracy for presentation and plating is 58.8% without graph facts or generated background and 67.71% with the generated knowledge training setup. Food pairings reach 55.87% in the former setting and 62.86% in the latter. Ingredient substitutions move from 71.50% to 63.77%. The aggregate result for generated background combines gains and losses across topics. Its advantage in presentation and plating illustrates why the information that helps in a category can depend on how it was produced.
What human judgments reveal about the items
The authors ask 20 evaluators to review 224 sampled items spanning the question types. Each item is rated by 3 people working independently. They judge whether the question is relevant, whether the choices are relevant, and whether the answer and reason are correct. The scale runs from 1 to 4, and the authors report averages over decisions with majority agreement. The appendix also describes interchanging the lower score labels in the calculation to reflect the evaluators’ confidence.
The resulting average is 3.89 for question relevance and 3.78 for choice relevance, compared with 3.32 for answer correctness and 3.42 for reason correctness. The corresponding counts of items with majority agreement are 198, 198, 174, and 166. An item can clearly refer to the food in a picture and offer plausible choices while still designating an answer that reviewers dispute. The separate questions asked of reviewers make that weakness visible.
The paper examines items that were given low majority scores and classifies the apparent problems. Incorrect visual information in a description accounts for 8.57% of the human-rated sample in its analysis, and hallucinations attributed to GPT-3.5 account for 18.09%. Closely related foods or options account for 3.81%, and strongly subjective answers for 15.24%. The authors report that 54.29% received a high majority rating on all the aspects evaluated. These categories distinguish failures in constructing the scene description or the text from problems in deciding when an answer is uniquely justified.
The authors also recalculate correctness scores for the 204 items that obtained a rating of 4 on the first two verification questions under their filtering criterion. On this selection, the average answer rating is 3.55 and the average reason rating is 3.53. The selection illustrates how problems with the question or choices can carry into judgments about the answer and reason. It describes a subset with stronger question and choice ratings, while the original averages reflect the broader sample used for each judgment.
What mentions in an output say about recognition
As a recognition diagnostic, the authors look for dish names and graph entities in outputs from the strongest fine-tuned LLaVA setting. They are interested in mentions of entities that were absent from the question and choices. The paper finds a relevant name or graph entity in 2972 outputs from the 3346 items on the test split. The authors interpret this as evidence that the fine-tuned system can often identify relevant foods and suggest that question and answer wording helps cue it toward Indian cuisine.
The test counts a mention, which is a broad signal. A response that names an associated ingredient can qualify even when it has located the wrong dish, and an entity inferred from a cuisine cue can appear without visual identification. The count supports the claim that the output frequently includes relevant domain entities. The stronger claim that most wrong answers arise specifically from failures of reasoning would require separating recognition from cue-based inference and checking that the named entity was attributed to the right place in the image.
The paper also compares two LLaVA variants under the main zero-shot evidence conditions. Without graph facts, LLaVA-1.5 reaches 33.21%, compared with 42.59% for the variant called LLaVA-2 in that comparison. With original facts, the results are 33.46% and 43.78%. Direct and linked retrieval both score below the corresponding no-graph condition for each variant. The authors contrast the LLaVA-1.5 result with the strong performance reported on other benchmarks. Their experiment supports the narrower observation that those reported strengths do not ensure equally strong performance on this set of cuisine questions. Improved Baselines with Visual Instruction Tuning
Limitations
Limits identified by the authors
The authors describe the language restriction explicitly. The questions and reasons are in English. The benchmark concerns Indian food, but its coverage of the cuisine does not make it accessible in the languages in which people may discuss that food. Its results measure performance on an English-language task and offer no comparison of what happens when a dish name, culinary concept, or question is expressed in another language.
The question-writing pipeline also depends on access to the OpenAI API for GPT-3.5. The authors propose that a generator such as Llama 2 or Falcon-180b could fill the same role. A replacement would receive the same kinds of input, including the description and graph entries, but the benchmark reports the outputs and checks from the GPT-3.5 pipeline. Whether another writer would maintain its variety, formatting, and answer quality is a separate empirical question. Llama 2
The authors emphasize incomplete coverage of the domain by IndiFoodKG. They cite cultural significance as an example with few directly relevant entries. A generated question about a cultural practice can still be part of the dataset, but even an ideal retriever would have limited relevant facts to return from a sparse category. The paper suggests that an answering system may need broader external sources or more knowledge from pretraining. For applications of the generation method in other domains, it also suggests choosing topics that the available graph can actually support.
The paper describes adapting the stages to other domains as a possibility. A new domain would need question categories, useful textual descriptions of the images, a graph with suitable facts, and a retrieval procedure that connects the facts to the scene. The authors note that human experts may be needed for descriptions or category choices, depending on the domain. The Indian food work demonstrates that this combination can produce a benchmark in one setting. The appendix outlines how the components could be replaced, without reporting a completed benchmark in another setting.
Limits of the evaluation design
Human input is concentrated at particular points in construction. The paper uses checked food names and human advice about categories, then generates descriptions, choices, answers, and explanations. Verification of the question items covers 224 samples. The separate ratings and error analysis show that quality differs across items and aspects. When an answer label is wrong or an alternative is defensible, answer accuracy measures agreement with the recorded label. The highly rated subset provides another view of accuracy, but its selection favors items for which reviewers reached a favorable judgment.
The paper reports the split in numbers of questions and describes balancing test questions by type. It gives no image-disjoint or dish-disjoint condition for the reported results. Many questions are generated from the same collection of platters, and the count of distinct question texts is below the record count. The results therefore establish performance under the paper’s question split. They leave generalization to entirely unseen photographs, dish classes, or question formulations unmeasured. In particular, the described split gives no basis for attributing all fine-tuning gains to competence that would transfer to new platters.
The multiple-choice format also provides cues that are absent from an open question. The written options can orient an answering system towards ingredients or customs it might otherwise overlook. The designated answer positions are uneven across the dataset, so the letter distributions could offer another source of information. The same-type random baseline is a useful reference for a specified sampling method. An image-free condition and a comparison with alternative choice arrangements would be needed to show how much the evaluated systems rely on the photograph and how that dependence varies by category.
Some questions concern properties of a recipe type, such as typical ingredients. The underlying graph records those properties, while the image shows an individual serving. A recipe fact can justify an answer about what is customary for a dish. A statement about the exact ingredients of the photographed serving demands stronger evidence, especially for dietary questions. The paper’s human ratings and its discussion of closely related choices reveal where the intended distinction may be difficult for a reader to recover. The setup offers no independent check of the composition of each pictured serving.
Graph-path construction and question difficulty are separate. Linking a recipe and a nutrient through an ingredient makes that connection available when the question is written. The resulting question can still sometimes be solved from prior knowledge, the options, or a shortcut in the phrasing. Likewise, a lexical match with a retrieved nutrient can reflect the subject matter without showing that the entry was necessary. The paper provides examples and diagnostics about these relationships. It does not report a matched generation experiment with the graph withheld or an item-by-item test that removes the purported supporting facts.
The use of original triples in an answering prompt is informative as a condition with extra information from dataset construction. A system deployed on a new question would generally lack a recorded set of facts used to write it. The comparison with original facts can therefore suggest where better retrieval might help, but it cannot establish the performance of a deployable retriever. Original triples can also contain incidental facts, so that condition does not guarantee that the system has been given only the necessary evidence.
The automatic explanation metrics measure correspondence to synthetic reference explanations. A reason can receive a high similarity score by discussing the same ingredients or properties while drawing a different conclusion. It can receive a low overlap score for a shorter explanation that still supports the chosen option. The fact that the reason is generated after the answer in the zero-shot procedure adds another dependency. The evaluator may be measuring how convincingly the system explains an answer it already chose, including a choice that disagrees with the key. No automatic reason score in the paper verifies each factual claim or demonstrates that the explanation reflects the actual decision process.
Finally, the experiments are single runs. The reported differences are point estimates for the specified checkpoints, prompts, split, and retrieval procedures. The paper’s larger comparisons, such as the LLaVA change after domain fine-tuning, establish the observed effect under those procedures. Small differences between graph settings or between the strongest fine-tuned configurations have no reported run-to-run uncertainty. The experiments also change several aspects of the answering procedure between the zero-shot and fine-tuned settings, including how the choice and explanation are elicited. The result is evidence for the complete fine-tuned procedure, with separate attribution to its components left open.
What came after
Later citing work places culturally grounded questions in a wider setting. IndiFoodVQA focuses on Indian cuisine and asks how visual cues can be connected to ingredients, nutrients, and culinary practices. WorldCuisines takes global cuisines as the subject of a multilingual, multicultural visual question answering benchmark. Its stated scope extends the benchmark question from a single cuisine to many and from English to a multilingual setting. This connects directly to the language and domain boundaries that the IndiFoodVQA authors identify. The documented relationship is a citation and a shared focus on food as a culturally specific visual domain. Reuse of the IndiFoodVQA images, graph, or generation pipeline is unestablished.
Grounding Multilingual Multimodal LLMs With Cultural Knowledge cites IndiFoodVQA in the broader setting of cultural knowledge for systems that work across languages and modalities. The connection is the role assigned to background knowledge alongside visual input. IndiFoodVQA makes that role concrete with a cuisine-specific graph and comparisons that vary which facts are supplied. The later work’s stated subject broadens the grounding problem beyond the Indian food benchmark. Its citation establishes that relationship at the level of the research problem. A specific use of IndiFoodKG or a replication of the retrieval comparisons is unestablished.
Cite
Cite as Pulkit Agarwal, Settaluri Sravanthi and Pushpak Bhattacharyya. 2024. IndiFoodVQA: Advancing Visual Question Answering and Reasoning with a Knowledge-Infused Synthetic Data Generation Pipeline. Findings of the Association for Computational Linguistics: EACL 2024.
@inproceedings{agarwal2024indifoodvqa,
title = {{IndiFoodVQA: Advancing Visual Question Answering and Reasoning with a Knowledge-Infused Synthetic Data Generation Pipeline}},
author = {Pulkit Agarwal, Settaluri Sravanthi and Pushpak Bhattacharyya},
booktitle = {Findings of the Association for Computational Linguistics: EACL 2024},
year = {2024},
doi = {10.18653/v1/2024.findings-eacl.78},
url = {https://doi.org/10.18653/v1/2024.findings-eacl.78}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/agarwal-2024-indifoodvqa-advancing-visual-question-answering/