Elamur Research

HaVQA: A Dataset for Visual Question Answering and Multimodal Research in Hausa Language

Paper · 2023 · Shantipriya Parida, Idris Abdulmumin, Shamsuddeen Hassan Muhammad et al.

Summary

A photograph can help someone understand a question, but a benchmark can test that ability only in languages for which it has suitable examples. The authors present HaVQA as the first Hausa dataset for visual question answering, the task of answering a question about a picture. They start with English questions and answers from Visual Genome and have native Hausa speakers translate both while looking at the associated image. Hausa language experts then review the translations. The paper’s overview reports 6,022 translated question–answer pairs across 1,555 distinct images. Its dataset and experiment tables report 6,020 pairs. In both accounts, the image remains part of the record, alongside the English and Hausa versions of the question and answer.

That arrangement supports several experiments with the same material. In visual question answering, a system reads a Hausa question, examines an image, and chooses an answer from a pre-defined set. In visual question elicitation, it starts with the image and writes a Hausa question. The bilingual text also supports machine translation in both directions. An additional English-to-Hausa experiment uses object names detected in each photo as context for the translator. Keeping the pictures during translation helps humans choose words that fit the scene. The experiments ask separately how well automated systems can use the resulting data and whether a list of detected objects helps translation.

The strongest visual answering configuration in the results table uses a DeiT image encoder and records a Wu–Palmer score of 30.86. This measure gives credit for semantic similarity between a predicted word and a reference word. The authors report stronger performance on examples with single-word answers and show cases in which a prominent feature of the picture draws the system away from the question. For translation, the adapted multilingual M2M-100 system scores 35.5 BLEU from English to Hausa and 58.7 in the reverse direction on the HaVQA test set. Both scores exceed those of the systems trained from scratch. In English-to-Hausa translation, the version supplied with image-derived object names scores 26.3, below the text-only M2M-100 result.

For question elicitation, the authors ask a native speaker to judge a sample of generated questions. A system can ask a reasonable question about the grass in a photograph whose reference question asks where the zebras are. The two questions seek different information, yet both can fit the scene. That distinction helps explain why the paper uses a separate evaluation for question elicitation. HaVQA provides an annotated starting point for each task, with a different success criterion for answering a supplied question, posing a relevant new one, and preserving meaning across languages.

Deep dive: HaVQA: A Dataset for Visual Question Answering and Multimodal Research in Hausa Language

HaVQA pairs images with human-translated Hausa questions and answers and benchmarks visual answering, question generation, and translation. · about 34 minutes to read

The problem and its context

A benchmark needs examples in the language it tests

Visual question answering brings together two kinds of evidence. The words tell the system what to look for, and the picture supplies candidate evidence for the answer. A question about a person’s shirt calls for identifying the relevant person and garment before deciding which color to name. A question about the same picture could instead ask where the person is or what they are doing. The words direct attention to a particular property or relation. An image description, even an accurate one, may omit that information because it was written to describe the scene as a whole.

The paper situates this problem within vision and language research, alongside image captioning, retrieval across images and text, and questions involving visual commonsense. A common approach extracts features from the image and the question, then combines them to select an answer. Features are representations that later stages can use, such as a numerical encoding of a sentence or photograph. The paper describes progress with architectures that combine these signals and with question encoders that represent text in context, including BERT. The availability of training and evaluation examples determines which languages can benefit from this kind of work.

This was the gap the authors identified for Hausa. They describe English as the principal language of visual question answering benchmarks and report finding no publicly available benchmark for the task in an African language at the time of their survey. Their use of the term low-resource languages concerns access to computational data and tools. According to the paper, approximately 79 million people speak Hausa, a Chadic language, as their first or second language, and most of those speakers live in Niger, northern Nigeria, or northern Cameroon. It also points to Hausa literature, academic study, and international broadcasting. The size of the speaker community and the availability of annotated image questions are different measures.

The paper’s account of Hausa writing has direct consequences for collection. It describes a history of writing Hausa in Arabic script, known as Ajami, and the predominant use of Latin script today. Written Hausa uses special letters in addition to much of the familiar Latin alphabet. The paper also describes substitutions used in informal writing. The collection interface therefore treats input as part of the annotation procedure. Translators need a practical way to enter the intended letters, and reviewers need to recognize when a substitution has made a word ambiguous.

What earlier image-question collections supplied

The authors trace the development of benchmarks through several ways of obtaining images, questions, and answers. DAQUAR, which they describe as an early effort to benchmark the task, paired 1,449 real-world images with 12,468 question–answer pairs. Its questions included both synthetic and naturally written material. COCO-QA used photographs from Microsoft COCO and, in the paper’s account, paired each of its 123,287 images with a question and an answer. These examples establish the basic unit that HaVQA also uses. An individual record links a question and its answer to a scene, and a collection can assign several such records to the same photograph.

Reusing images can support a different annotation exercise on the same visual material. FM-IQA used images from COCO-QA and asked crowd workers to compose questions and answers. The authors report 250,560 pairs for 120,360 images and identify the collection as an exception to the prevailing emphasis on English. The questions and answers were originally created in Chinese and later manually translated into English. The paper also describes a Japanese collection built through crowdsourcing, with 99,208 images and 793,664 question–answer pairs. Those projects illustrate how a collection can vary by the language in which questions are first conceived as well as by the language in which users ultimately encounter them. For HaVQA, the starting questions were in English, and the authors invested their annotation effort in producing Hausa versions that remain faithful to the pictures.

The paper mentions several other approaches. VQA and Visual7W are examples of earlier image-question resources. CLEVR is cited as a diagnostic collection for questions involving combinations of concepts and elementary visual reasoning. The authors also name VQA-HAT and VQA-CP as extensions designed to address particular issues in the earlier VQA setup. The work on VQA-CP concerns the role of learned answer expectations. A system can have a plausible answer in mind from the wording alone, so a useful visual benchmark must leave room to investigate how much the image actually contributes.

Other earlier datasets specialize by subject matter. The paper discusses resources for radiology and pathology, where the images and questions come from a particular domain. VQA-Med uses multiple-choice questions about radiology images. VQA-Rad includes questions and answers written by clinicians, and PathVQA includes mostly open-ended questions about pathology images. Those designs show why the availability of a benchmark is more specific than the availability of pictures and text. Who formulates the question, what they ask about, and what form an answer is allowed to take all affect what the data can test. In HaVQA the domain comes from Visual Genome, while the new work concerns language, translation, and review.

Where HaVQA fits among resources for African languages

The paper describes an active effort to develop datasets for African languages across tasks. It cites MAFAND-MT as a collection of parallel translation data connecting 16 African languages with English or French, and HornMT as a translation resource for languages in the Horn of Africa. It also discusses collections for sentiment analysis, entity recognition, and speech. These examples locate HaVQA within work on multilingual and cross-lingual NLP. A bilingual sentence collection can support translation, and a labelled text collection can support classification. To train and evaluate visual answering, the question and answer also need an appropriate image.

The closest earlier resource discussed for Hausa is Hausa Visual Genome. The paper describes it as a multimodal resource for machine translation and image captioning. A caption gives a description associated with a picture. A visual question specifies something to find out, and the answer records the requested information. HaVQA brings that question–answer structure into the Hausa setting. The authors also draw on Hausa Visual Genome to build the vocabulary for question generation, an example of how a resource for one image-and-text task can contribute to another without supplying all of the required supervision.

The authors’ choice to translate existing material makes the English and Hausa versions directly comparable. A researcher can identify the English source of a Hausa question and use both texts with the same image. The approach also gives the translators a defined task. Their role is to convey a specific question and answer in Hausa, making linguistic choices in the context of the scene. The questions that people would spontaneously pose about these images in Hausa remain a separate research question. That distinction follows from the source of the annotations and matters when the resulting data are used to study patterns in question wording.

The method, step by step

Build a bilingual record around the image

The starting point is a Visual Genome image and an existing English question with its answer. The authors extract those elements together. The image is the common reference for the English and Hausa texts. Consequently, an example can be used as a bilingual question, a bilingual answer, or a Hausa visual answering record. It can also supply a picture and a human-written Hausa question for elicitation. The experiments change which parts of the record a system receives and which part it must produce.

Keeping the picture visible changes the translation job. A word or short phrase may have more than one possible sense in isolation. The scene can identify the relevant object or action and help a translator choose how to name it. The picture can also clarify what a person or object mentioned in the question refers to. The original English still determines what information is being asked for. A translator working on a question about where an object is must preserve that request even when the photograph makes other facts about the object more noticeable.

The collection had 7 native Hausa speakers doing the translations. The authors recruited from experienced translators in the HausaNLP research group. The paper describes the translators and reviewers as living in different parts of Northern Nigeria and having at least undergraduate degrees. Translators worked in a web interface that displayed the image and supported Hausa typing. Its on-screen keyboard made special characters easier to enter and restricted access to unused characters. The instructions also permitted another keyboard with the necessary letters and called for manual translation without machine translation assistance.

The task was to translate the question and the answer, each of which puts different demands on the translator. A question needs to preserve the type of information being requested, whether a time, a location, a quantity, or an identity. An answer can be as short as a number or a word. That leaves little surrounding text within the answer itself to resolve ambiguity. The accompanying question and image supply context. A usable record preserves the relationship among all of these parts, so that the Hausa answer still addresses the Hausa question about the original photograph.

How HaVQA builds an image-grounded bilingual record

The steps in order.

How HaVQA builds an image-grounded bilingual recordStep 1: Select an image and its English question–answer pair1. Select an image and its English question–answer pairStep 2: Show the picture alongside the English text2. Show the picture alongside the English textStep 3: Translate the question and answer manually into Hausa3. Translate the question and answer manually into HausaStep 4: Review both languages with the picture visible4. Review both languages with the picture visibleStep 5: Check wording, grammatical consistency, and Hausa spelling5. Check wording, grammatical consistency, and Hausa spellingStep 6: Retain the aligned image, question, and answer6. Retain the aligned image, question, and answer

Review spelling and consistency in context

The authors assigned validation to 7 Hausa language experts. The reviewers used a separate interface that showed the original English material, the Hausa translations, and the picture together. Review covered questions and answers and included a check for the intended alphabet and special letters. The practical advantage of this arrangement is that a reviewer can compare several kinds of evidence at the point of a correction. The source indicates which meaning the translator was aiming for, the picture can identify the relevant object, and the Hausa text shows how that meaning was expressed.

One recurring issue concerned grammatical gender. The paper describes a teddy bear referred to with feminine wording in a question about its location and masculine wording in a question about what it wears. A reviewer can recognize both references as referring to the same kind of object and assess the inconsistency. The point is broader than selecting an equivalent noun. A translation also has to choose the related forms used to refer to that noun. With an object whose grammatical gender was unclear to the annotators, independently translated questions could diverge.

Review also caught substitutions of ordinary Latin letters for Hausa special characters. The authors give an example in which a distinction involving the letter written like a plain k affects whether a form is understood as the word for a dog or the word for finishing. They also describe an apostrophe-based spelling used in place of a special character. Those examples explain why the interface and the review serve different roles. An appropriate keyboard gives the translator access to the intended character, while human review can recognize a plausible-looking substitution whose effect depends on the word and the context.

Visual context supports this review in a specific way. If the question is about an animal visible in the photograph, reference to that animal can help resolve a spelling ambiguity. If the English question asks what an object is doing, the source can help distinguish an action from an object name. The authors use the scene as evidence alongside the original wording. That practice is especially relevant for answers that supply a category or property without the surrounding sentence structure that would normally help disambiguate the term.

Describe the finished data

The authors report between one and five questions per image. Each comes with its own answer, so a photograph can supply several examples that query different parts of the same scene. They analyze the collection using the Punkt tokenizer in NLTK, a tool for tokenization that breaks text into units for analysis. The reported Hausa question lengths run from 2 to 16 words. Answers range from individual words or numbers to short descriptions. These lengths describe the annotated text and help explain the later emphasis on short answers in the answering experiment.

The paper classifies questions by the kinds of question words with which they are asked. In its Hausa question table, what accounts for 56.3%, where for 16.4%, how for 12.9%, who for 5.9%, when for 5.6%, and why for 2.9%. The how group includes quantity expressions. The dataset statistics also list 616 counting questions. The type labels describe forms of questioning. A question asking what color an object is and one asking what animal appears can both belong to the what group while requiring different visual evidence and different kinds of answers.

The English categories give the authors a way to organize the analysis, but they also inspect the Hausa expressions that fall within those groups. Forms corresponding to who or which can vary with grammatical gender, and the paper discusses variation in usage and dialect. Quantity questions show a difference in placement. A Hausa form meaning how many can come after the expression for the thing being counted. The paper illustrates this with questions about kites in a photograph and men in snow. Looking exclusively for a question marker in the initial position would miss that structure. Keeping the source tag makes it possible to analyze the Hausa alternatives without assuming that English and Hausa have the same word order.

The paper’s overview counts 12,044 aligned English–Hausa sentences from the 6,022 translated question–answer pairs it reports there. The tables for dataset analysis and translation instead give 6,020 questions and answers apiece and 12,040 aligned translation sentences. A question–answer pair is the unit for visual answering. In the translation setup, the question and the answer are separate text examples. In elicitation, only the question becomes the target. These counting conventions explain why the tasks have different units, while the difference between the overview and the tables remains unresolved.

Answer a Hausa question by combining text and image features

The visual answering system has separate routes for the picture and the question. A vision encoder converts the image into features. The Hausa-adapted BERT encoder represents the Hausa question. A fusion module then brings the two representations together so that the final classifier can use information from both. The paper describes this as a multimodal Transformer architecture. An encoder produces a representation of an input, fusion combines information across the inputs, and the classifier chooses an output category.

The paper illustrates the process with a question about the color of a man’s shirt. The question supplies the requested property and identifies whose clothing matters. The image supplies the visual information needed to choose the color. In the illustration the selected answer is white. This sequence explains what the classifier is meant to do. It receives a combined representation and chooses an answer from the pre-defined answer space. The classifier is a fully connected network whose output has a position for each available answer, so responses are selected as classes.

The architecture is illustrated using a Vision Transformer for the image. The answering comparison evaluates two ViT configurations along with BEiT and DeiT, keeping Hausa BERT as the question encoder. The appendix reports a batch size of 16 for the visual answering systems. Batch size is the number of training examples processed together during an update. Holding the text encoder constant gives the comparison a common way of representing the question while changing the source of the image features.

The answer space has consequences for how the benchmark should be read. If common responses such as colors or quantities are represented as classes, selecting a short answer is a natural fit for the architecture. A short description can also be a class if it belongs to the pre-defined inventory. Its component words are then chosen together as part of that class. The architecture’s output is therefore different from the generated question and translation outputs elsewhere in the paper. Those systems build a sequence of words or pieces in order.

Translate the questions and answers from text

The translation task takes an item’s text in the source language and produces its counterpart in the target language. Questions and answers are both used. The task evaluates a predicted translation against the human translation for that sentence, whether the sentence is a full question or a very short reply. The authors compare a Transformer trained from scratch with an adapted multilingual translation system. The distinction is the starting point for training. One system learns from the HaVQA training material starting without a pretrained translator, and the other updates a system that already has multilingual translation capabilities.

For training from scratch, the authors use the base Transformer configuration in OpenNMT. They build a shared inventory of 32k sub-word types for English and Hausa. Subword tokenization represents sentences using reusable pieces that can be smaller than a whole word. A shared inventory makes the same pieces available to the encoder, which reads the source, and the decoder, which produces the translation. The paper identifies its method for constructing these units as word pieces and treats tokenization as part of that preprocessing.

The scratch system uses the learning-rate schedule named Noam in the paper. The learning rate controls the size of the adjustments made during training, and warm-up changes that rate during the early steps. The authors report a starting rate of 0.2, 8000 warm-up steps, and 200k training steps. They describe 3k steps in connection with validation and also report saving checkpoints at 3k steps. A checkpoint is a saved state of the system. They run this experiment on Google Cloud Platform with 8 vCPUs and 30 GB RAM. These are settings for the scratch configuration and should be read together with its results.

The other text-only approach uses fine-tuning. Here the starting system is M2M-100, a pretrained multilingual encoder and decoder whose language coverage includes Hausa. The authors use the version with 418 million parameters and train it on HaVQA for three epochs. An epoch is a pass through the training material. They set a maximum of 128 tokens for both source and target sentences and use a beam size of 5 at decoding. Beam search keeps several candidate continuations available as it builds a translation. This run uses a Tesla T4 on Google Colab.

The two approaches give practical points of comparison on the same material. Training from scratch tests what the specified architecture and training recipe can learn with HaVQA as its task data. Fine-tuning tests how a system with prior multilingual training adapts to these questions and answers. They also differ in configuration and training procedure, so the comparison measures the performance of the complete setups. Its value is in showing what was obtained under each documented choice.

Add information from the picture as words

For multimodal translation, the paper uses the image through object labels. An object detector receives the photograph and returns names for things it identifies, with scores indicating its confidence. The authors use a pretrained Faster R-CNN detector with a ResNet101 backbone from the ResNet family. They keep up to the top 10 English object labels for each image, ranked by confidence. Every label is a textual representation of something the detector proposes is present.

The labels are appended to the English sentence. The authors put the separator ## between the sentence and the tag list and use commas between the tags. M2M-100 reads the resulting string and produces a Hausa translation. The Hausa reference remains the human-written text for the original question or answer. The tags serve as extra evidence on the input side. Their intended role is to help the system select a word or interpretation when the English sentence leaves something unclear.

This design makes image information available to a text-to-text translator. A useful tag can introduce the name of an object that is absent from the English wording yet relevant to interpreting it. Several properties of the scene are lost in the conversion to a list of names. The representation does not explicitly say which object has which color, where it stands, or which person is using it. A highly ranked tag is evidence about what the detector recognized. Relevance to a particular sentence depends on what that sentence asks or describes. Accordingly, appending tags tests whether this specific representation is useful for translation.

The authors train the tag-based version with M2M-100 on Google Cloud Platform using an NVIDIA T4. They keep the same dataset division as for text-only translation. The paper presents the multimodal experiment in the English-to-Hausa direction. This setup allows a comparison on the same held-out examples using the same kind of reference translation, with one of the systems receiving additional information extracted from the photograph.

Generate a question from the picture

Visual question elicitation takes the photograph as input and produces a question. The reference question teaches the system what a plausible output can look like, and the associated answer is left out of the experiment. The authors draw an analogy with image captioning because both tasks start with visual features and end with a sequence of words. Their decoder is an LSTM, a recurrent network that carries information forward as it produces the sequence. This lets the next word depend on earlier words as well as on the features that describe the image.

The authors resize each picture to 224×224 pixels and extract a representation of the whole scene. The encoder uses the final convolutional layer of ResNet-50 and supplies a 2048-dimensional vector. The dimensions are numerical features made available to the decoder. The encoder stays fixed during training. That choice leaves the question generator to adapt to the task while using an existing visual representation.

The decoder uses a single LSTM layer, a hidden size of 256, and a dropout setting of 0.3. Hidden size is the width of the internal state. Dropout limits dependence on individual parts of that state by randomly withholding activations during training. The loss is cross-entropy on the reference question tokens. In this setting it penalizes the decoder when it assigns low probability to the intended token at a position. The paper specifies the training objective in words. Its description identifies the reference tokens and the decoder’s scores as the quantities used to compute the loss.

The authors optimize the decoder with Adam at an initial learning rate of 0.001. They report training for 100 epochs and specify a stopping rule triggered by ten epochs without improvement in validation loss. At generation time the decoder uses greedy search. It selects its preferred next token at each step and carries that choice forward as it continues the question. The paper contrasts this task operationally with visual answering through its architecture. The elicitation system assembles a new question token by token, while the answering classifier selects a pre-defined response.

For elicitation the authors build their Hausa vocabulary using Hausa Visual Genome and HaVQA, obtaining 7679 word types. A word type is a distinct vocabulary entry. The image–question examples for training and evaluation come from HaVQA. Bringing in the earlier corpus for vocabulary construction expands the set of forms available to the decoder. The image and reference question in each HaVQA record still supply the task-specific connection that the decoder is trained to learn.

Experiments and results

What the splits count

The visual answering and elicitation data tables each list 4816 training items, 602 development items, and 602 test items, with 6,020 in total. For answering, these items are question–answer records attached to images. For elicitation, they are questions paired with images. The same numerical split can therefore describe a different prediction target. A development set supports decisions made during training, such as checking whether the loss continues to improve. A test set is held out for evaluation.

The visual answering results discussion separately describes training on 5500 instances and testing on 520. The paper does not reconcile this account with the train, development, and test counts in the earlier answering table, or tie the individual encoder scores to one account in explicit terms. The reported encoder scores can be read as a comparison on HaVQA, while the precise partition behind them remains unclear. The elicitation and translation tables give their own counts, so this ambiguity in the answering description should stay attached to that task.

For text-only and image-tag translation, the paper describes an 80:10:10 division. The statistical table gives 9,632 training sentences, 1,204 development sentences, and 1,204 test sentences. The unit here is a question or answer with its translation. In the translation test set, the paper lists 4,554 English tokens and 4,084 Hausa tokens. For elicitation, the question-only test set contains 3,320 English tokens and 2,798 Hausa tokens. Those totals describe the text used under the two task definitions. Elicitation uses the image to generate the Hausa question, so the English token count there characterizes the corresponding material.

Visual answering with different image encoders

The authors evaluate visual answering with Wu–Palmer semantic similarity. The measure uses a lexical hierarchy, where concepts can have more general concepts above them. It takes account of how far down the hierarchy the compared concepts are and how far down their shared ancestor is. Concepts with a close shared ancestor are treated as more similar. The underlying measure is described on a scale from 0 to 1, with more similar words receiving a higher value. This kind of scoring can reward semantic closeness even when a predicted word and a reference differ in form.

The paper’s table displays the benchmark scores on the scale shown below, without specifying the conversion from the underlying word similarity scale. The values are Wu–Palmer scores as tabulated. In particular, 30.86 should be read as the score for the DeiT configuration, with no interpretation as a percentage of exactly correct answers. All the configurations pair the named vision encoder with the same Hausa BERT text encoder.

Image encoders for HaVQA visual question answering by Wu–Palmer score

DeiT-base ranks highest with the Hausa question encoder held fixed.

Image encoders for HaVQA visual question answering by Wu–Palmer scoreBEiT-large-P-224: 27.76BEiT-large-P-22427.76ViT-base-P-224: 28.91ViT-base-P-22428.91ViT-large-P-224: 29.67ViT-large-P-22429.67DeiT-base-P-224 (this paper): 30.86DeiT-base-P-224 (this paper)30.86
The numbers
System or settingWu–Palmer score as reported
BEiT-large-P-22427.76
ViT-base-P-22428.91
ViT-large-P-22429.67
DeiT-base-P-224 (this paper)30.86

The table gives 27.76 for BEiT-large-P-224, 28.91 for ViT-base-P-224, 29.67 for ViT-large-P-224, and 30.86 for DeiT-base-P-224. The results prose gives 27.75 for BEiT, 28.90 for ViT-base, and 30.85 for DeiT. The table and the prose agree on the ordering. The values in the chart follow the table, which puts all configurations on the same footing and identifies the text encoder paired with each.

DeiT stands for a data-efficient image Transformer. The paper relates its result to the encoder’s distillation mechanism, in which a teacher system supplies information for training a student. The authors describe a special distillation token that interacts with a representation of the whole image and representations of its patches, or local regions. This account explains a design feature that distinguishes DeiT. The observed result comes from comparing complete encoders in the answering pipeline. The authors do not report a matched DeiT comparison in which the distillation token is the only change. Data-efficient image Transformers

Translation in each direction

The translation scores are reported as BLEU using SacreBLEU. A BLEU score reflects overlap between a system’s output and human reference text through matches involving words and short word sequences. It offers a common way to compare translations on the same material. With one reference per item, a translation that chooses a different but appropriate word can lose credit. The authors invoke that possibility when discussing the score for the system that receives image tags. They cite the work on reporting this metric consistently when describing their evaluation. A Call for Clarity in Reporting BLEU Scores

For English-to-Hausa translation, the scratch Transformer scores 27.1 BLEU on the HaVQA test set, the text-only M2M-100 scores 35.5, and M2M-100 with image tags scores 26.3. The text-only pretrained system therefore leads the reported configurations in this direction. The table places the tag-augmented system below both text-only entries. The surrounding discussion gives a difference for the multimodal experiment without clearly identifying the text-only configuration used for that comparison. The individual test scores in the table identify the relevant systems directly.

English-to-Hausa translation settings on the HaVQA test set by BLEU

Text-only M2M-100 leads the scratch Transformer and the system supplied with image tags.

English-to-Hausa translation settings on the HaVQA test set by BLEUTransformer trained from scratch: 27.1Transformer trained from scratch27.1Text-only M2M-100 (this paper): 35.5Text-only M2M-100 (this paper)35.5M2M-100 with image tags: 26.3M2M-100 with image tags26.3
The numbers
System or settingBLEU
Transformer trained from scratch27.1
Text-only M2M-100 (this paper)35.5
M2M-100 with image tags26.3

For Hausa-to-English translation, the HaVQA test score is 47.1 BLEU for the Transformer trained from scratch and 58.7 for text-only M2M-100. The table gives no Hausa-to-English result for image-tag translation. The experiment description calls for development and test evaluation, while the side-by-side scores reported in the results table are specifically test scores.

Hausa-to-English text-only translation on the HaVQA test set by BLEU

The adapted multilingual translator leads the Transformer trained from scratch.

Hausa-to-English text-only translation on the HaVQA test set by BLEUTransformer trained from scratch: 47.1Transformer trained from scratch47.1Text-only M2M-100 (this paper): 58.7Text-only M2M-100 (this paper)58.7
The numbers
System or settingBLEU
Transformer trained from scratch47.1
Text-only M2M-100 (this paper)58.7

The scores support a comparison within each translation direction. Both systems obtain higher BLEU in the direction with English as the target. The target language and its reference wording change with the direction, so the two sets of values do not isolate the intrinsic difficulty of translating into Hausa. The paper’s clearest result is that the adapted M2M-100 configuration leads the scratch configuration on the same test material in each direction.

Question generation judged by a Hausa speaker

Question elicitation poses a different scoring problem. The scene may support several useful questions, and the system is given only the picture. A reference question therefore describes one thing a person asked about the image. It cannot enumerate everything someone could reasonably ask. The authors turn to native-speaker judgment for a sample of about 10% of the elicited questions. The reviewer classifies questions using four categories called Exact, Correct, Nearly Correct, and Wrong. The paper presents the category distribution in a figure. Its prose describes the protocol and gives examples, while leaving the category shares to that figure.

The authors describe the generated outputs as reasonable questions and report that all but 3 ended in a question mark, giving 99.5% with that punctuation. This statistic measures the presence of a familiar written cue. The manual ratings address a different question about the quality of the generated text. A question can end with the expected mark and still be inappropriate for the scene. Conversely, a suitable question can be understandable without that final character.

The type distribution gives a further description of what the decoder chose to ask. The authors report 64.1% what questions and 26.4% where questions among the generated outputs. They report 3.7% for who, 2.8% for when, and 1.5% for why. Their breakdown assigns 1.32% to how much and 0.2% to how. The training data analysis groups general how and quantity questions together, so the two breakdowns use somewhat different categories. For the directly recognizable what and where groups, the generated output shares are higher than the corresponding shares reported for the annotated Hausa questions.

The paper gives an example that illustrates the purpose of human evaluation. A reference asks about the location of the zebras. For the same image, the decoder asks about the color of the grass. The generated question is different in both topic and the kind of answer it seeks. Its suitability depends on the grass visible in the picture, and a reviewer can assess that independently of how closely the wording matches the reference. A score based primarily on word overlap would confound these two properties.

What the ablations show

The paper reports no component-removal ablation within a fixed system, and its evidence comes from encoder substitutions, comparisons of translation setups, corpus analyses, and qualitative review.

Swapping the image representation changes the answering result

The answering experiment holds the Hausa question encoder fixed and changes the vision encoder. This is the clearest controlled architectural comparison in the paper. The compared configurations share the task, the text representation, and the general fusion-and-classification design. The result is an ordering of the visual encoders in that environment, with DeiT-base ahead of ViT-large, ViT-base, and BEiT-large. The higher placement of ViT-large than ViT-base also shows how the two evaluated variants of that encoder family behave in this setup.

The paper’s explanation of distillation offers a plausible reason to look at how DeiT represents the image. The comparison itself changes the entire vision encoder, including its design and prior training. A controlled estimate of the contribution of distillation would require holding the rest of the encoder setup constant and changing the distillation mechanism. Such a comparison is outside the study. The observed result supports choosing DeiT as the strongest reported answering baseline under the paper’s conditions.

Some answers fit classification better than others

The authors’ manual examination finds better performance on questions with one-word answers. They interpret this part of the task as close to classification. The observation is consistent with the architecture, which treats each possible response as an entry in an answer inventory. The paper also presents the lengths of reference answers and an analysis of one-word answers across question types. These descriptions show which kinds of targets the evaluation contains. The paper gives no separate Wu–Palmer score by answer length, so the strength of the reported pattern cannot be quantified from the manual analysis.

Short answers still depend on connecting the question to the relevant part of the image. In one example, the reference identifies a restaurant as the setting of a meal, while the prediction places it on a table. The table is associated with the meal, but it answers a different interpretation of where. In another example, a question requests the depicted animal and receives grass as the answer. Grass may occupy a conspicuous part of the scene, yet the answer belongs to the wrong category. These failures involve a mismatch between what is visible and what the question asks the system to report.

The examples suggest that conspicuous content can influence the classifier even when the question supplies a clear restriction. They also show two forms that error can take. The restaurant example gives a location at the wrong level, while the animal example returns something outside the requested category. The paper illustrates the behavior through selected outputs. It does not establish how often the behavior occurs or identify the stage of the pipeline responsible for it.

Prior multilingual training and extra context have different effects

Training from scratch and adapting M2M-100 give the paper a comparison of what a researcher can obtain from two practical recipes. The pretrained configuration leads in both translation directions. Because the recipes differ in architecture details, preprocessing, and training as well as their starting weights, the comparison evaluates the setups as packages. It establishes that the adapted system was stronger on the reported test, leaving the contribution of any individual training choice open.

The image-tag condition addresses a narrower question. It uses the same data division and the same pretrained system family for English-to-Hausa translation, with extra object words in the input. In the results table, that condition scores below the text-only M2M-100 system. The authors suggest that many HaVQA sentences already specify their meaning clearly enough in text. A list of detected objects will have little opportunity to help on such examples, and on some inputs it may suggest an unnecessary word or interpretation.

The authors also suggest a scoring explanation. An object tag might cue a reasonable Hausa synonym whose wording differs from the single reference. That translation could lose BLEU credit even if a human found it acceptable. The paper offers this as a possible explanation and does not report a human translation comparison to test it. The results consequently establish the BLEU ordering for the tested settings. The value of the image for particular ambiguous inputs, and the quality of tag-induced wording changes under human judgment, remain open.

The elicited questions concentrate on familiar forms

The output distribution shows that the question generator asks about some aspects of pictures more frequently than others. What is the largest category in the human annotations and in the generated questions, and its share is higher in the generated output. Where also has a greater share in the generated questions. The reference and output distributions describe the kinds of questions observed. They leave several explanations available, including the kinds of examples that appear in the training data, the information preserved by the fixed image representation, and the decoder’s greedy choices.

The native-speaker review and examples address a separate dimension of behavior. They allow a new question to be assessed for relevance even when the human reference focused on something else. The zebras and grass example shows how readily topic can change within the same picture. The paper thus supplies evidence about the forms the system tends to generate and illustrates the range of acceptable topics available in one scene. It does not compare decoder or encoder alternatives for this task.

Limitations

Limits the authors identify

The authors identify dataset size as their main limitation and say that a substantial expansion would require additional funding. There are 1,555 distinct images, even though several questions can be associated with the same picture. The two quantities capture different aspects of scale. More questions about a picture can broaden the range of things a system is asked to find in that scene. More distinct images can broaden the visual situations in which it is tested. A collection with repeated questions per image should be understood in terms of both.

The paper also identifies the use of textual image tags as a limitation of its multimodal translation baseline. The tags convey selected object names, and the translation system operates on the resulting text. The authors suggest tighter integration of visual information as future research. Their proposed explanation for the baseline’s result is tied to this benchmark too. If source sentences are generally clear, adding image context has limited room to improve a translation score averaged across the full test set. The paper leaves open whether a system that reads a richer visual representation could help on specific ambiguous examples.

Their future plans include expanding the collection with additional images and question–answer pairs, providing reference captions for the pictures, and organizing a shared task. Caption references would let researchers evaluate descriptions of the whole scene, an output different from either an answer or an elicited question. The paper releases the HaVQA dataset for research and noncommercial use under Creative Commons Attribution–NonCommercial–ShareAlike 4.0 and reports releasing the code for its experiments. The extensions are described as plans.

Limits that follow from the data design

HaVQA inherits its images and the subjects of its questions from Visual Genome. The annotators express those questions in Hausa while keeping their connection to the picture. That process supports bilingual alignment and preserves a common basis for comparison across the two languages. It leaves open what scenes native Hausa speakers would choose to document and what questions they would originate about them. A dataset can contain carefully written Hausa and still reflect the topics and photographic settings selected by its source collection.

The distribution of question types also limits what an overall score can establish. What questions account for the largest share of the Hausa annotations. The overall answering score combines those with less frequent types such as why and when. The paper describes these categories and supplies examples, but it gives no separate baseline score for each type. Performance on a often occurring question form can therefore have more influence on the aggregate than performance on a rarer form. Counting, location, object recognition, and temporal interpretation remain distinct behaviors within that average.

The validation procedure addresses real sources of error, including character substitutions and inconsistent gender marking. The paper does not report reviewer agreement or a numerical rate of corrections. The evidence for the annotation process therefore comes from its description, the backgrounds of the people doing it, and the concrete issues they found. The authors preserve the image during review, which helps resolve context-dependent choices. The consistency of decisions across reviewers and across all items remains unmeasured in the reported study.

Several questions can belong to a single photograph, and the tabulated splits are given in units of questions or sentences. The paper does not specify in those split descriptions whether every item associated with a photograph stays in a single partition. A test on wholly unseen pictures measures a different kind of generalization from a test on new questions attached to pictures that might have appeared during training. The described setup leaves that distinction unresolved. It also gives different total pair counts in the overview and experiment tables, and the visual answering section gives a separate account of training and test sizes. Those discrepancies matter when trying to reproduce the exact evaluation.

Limits that follow from the evaluation

The answering classifier predicts within an answer inventory. It can be evaluated as a way to select a short answer or an available phrase, but success under that setup gives limited evidence about generating unseen answers freely in Hausa. The selected metric also rewards semantic similarity between words. Its score can credit a near match, while a user may require a specific expression, location, or relation. The paper’s qualitative examples are valuable because they show what an individual prediction can get wrong even when its words are related to the scene.

The metric description gives the underlying Wu–Palmer range and the table gives a different reporting scale. The paper does not detail the calculation used to map Hausa predictions and references into a lexical hierarchy, handle longer answers, or aggregate the similarities into the reported table values. The table supports a relative comparison under the authors’ scoring procedure. Replicating the numbers from the description alone would require decisions about those details. The comparison also has no reported uncertainty intervals, so the ordering describes the scores observed for the tested configurations.

The translation evidence is strongest for the exact settings and evaluation used. Each sentence has one Hausa reference in the English-to-Hausa test. A wording change that preserves meaning can reduce overlap with that reference, especially in a short answer where there are few other words to match. The authors suggest that synonyms induced by image tags could matter for this reason. The paper gives neither a separate ambiguous-sentence evaluation nor human judgments of the translated answers and questions. The reported findings concern overall BLEU and leave semantic adequacy on specific examples open.

Finally, question elicitation is evaluated with a native speaker reviewing a sample. This is suited to recognizing cases where several questions fit an image and has a more limited basis for estimating agreement about borderline cases such as Nearly Correct. The generated question-type shares and punctuation rate describe the outputs. Neither statistic measures whether the question can be answered from the image or how well it would serve a user, and the paper does not run the generated questions through a separate answerability evaluation. The reference and prediction examples instead illustrate why several dimensions of quality would matter in such an evaluation.

What came after

Multimodal datasets with an explicit cultural focus

Pearl, from 2025, presents a culturally aware Arabic dataset for multimodal instructions. Its title identifies both a different language and a broader instruction format than the question–answer records of HaVQA. The connection is the construction of a resource that brings visual information together with language for a particular linguistic audience. In HaVQA, contextual alignment means preserving what an English source question and answer say about the photograph when translating them into Hausa. Pearl’s stated focus makes cultural awareness part of the description of its resource. Its citation places HaVQA among the related efforts in language-specific multimodal data. Pearl

Afri-MCQA, from 2026, takes up multimodal cultural question answering for African languages. Its stated topic is the closest of the later works to HaVQA’s combination of images, questions, and African-language research. HaVQA supplies a benchmark centered on Hausa and translated questions from a preexisting image collection. Afri-MCQA’s title identifies cultural question answering and a scope spanning African languages. The link between the works is therefore visible at the level of the research problem, while the citation alone leaves open whether Afri-MCQA uses any HaVQA images, annotations, or trained systems. Afri-MCQA

Hausa resources and the quality of written text

The 2025 HausaNLP work surveys the state of Hausa natural language processing, its challenges, and future directions. HaVQA belongs in that discussion as a task-specific resource that adds image-grounded questions and answers to the kinds of Hausa data available for computational research. The survey and the benchmark operate at different scales. HaVQA documents the construction and evaluation of a particular resource, while the survey considers the broader set of tasks and resources that make up Hausa NLP. Its citation connects the visual benchmark to that wider account. HausaNLP

A 2026 paper addresses automatic correction of writing anomalies in Hausa texts. Its stated problem connects with the spelling issues encountered by the HaVQA validators. HaVQA handles those issues in a bilingual, image-grounded annotation workflow, where a reviewer can consult the intended meaning and the scene. The later work names automatic correction of Hausa writing as its task. That makes it relevant to the same class of practical problems around written data quality. The citation establishes the relationship between the papers, while the title gives no basis for attributing particular correction methods, anomaly categories, or uses of HaVQA data to the later work. Automatic Correction of Writing Anomalies in Hausa Texts

Cite

Cite as Shantipriya Parida, Idris Abdulmumin, Shamsuddeen Hassan Muhammad, Aneesh Bose, Guneet Singh Kohli, Ibrahim Said Ahmad, Ketan Kotwal, Sayan Deb Sarkar, Ondřej Bojar and Habeebah Kakudi. 2023. HaVQA: A Dataset for Visual Question Answering and Multimodal Research in Hausa Language. Findings of the Association for Computational Linguistics: ACL 2023.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.findings-acl.646

@inproceedings{parida2023havqa,
  title = {{HaVQA: A Dataset for Visual Question Answering and Multimodal Research in Hausa Language}},
  author = {Shantipriya Parida, Idris Abdulmumin, Shamsuddeen Hassan Muhammad, Aneesh Bose, Guneet Singh Kohli, Ibrahim Said Ahmad, Ketan Kotwal, Sayan Deb Sarkar, Ondřej Bojar and Habeebah Kakudi},
  booktitle = {Findings of the Association for Computational Linguistics: ACL 2023},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.646},
  url = {https://doi.org/10.18653/v1/2023.findings-acl.646}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/parida-2023-havqa-dataset-visual-question-answering/