Experiences of Adapting Multimodal Machine Translation Techniques for Hindi
Paper · 2021 · Baban Gain, Dibyanayan Bandyopadhyay and Asif Ekbal
Summary
An English caption can leave open a choice that a Hindi translation has to settle. The words around an ambiguous expression may suggest its intended sense, and a photograph can supply evidence that the sentence leaves implicit. The photograph can also contain plenty that the caption never mentions. Gain, Bandyopadhyay, and Ekbal investigate when that extra input helps machine translation. They adapt methods from vision and language research to Hindi, which they treat as a low-resource language in this setting. Their question is whether techniques commonly studied on better-resourced language pairs can improve the translation of captions into Hindi.
The authors compare a text-only Transformer with two ways to incorporate a photograph. The Multimodal Transformer uses a representation containing both caption and image information to consult visual features. The other approach gives the component that writes the Hindi sentence independent ways to consult the source words and the regions of a picture. Hindi Visual Genome 1.1 supplies the photographs, bilingual captions, and coordinates of the regions the captions describe. Each visual approach is tested with the entire photograph and with the annotated rectangle alone. An ordinary test set covers the caption task broadly, while a challenge set concentrates on ambiguous expressions for which the image and the surrounding words help establish the intended meaning.
On the ordinary test, the text-only Transformer reaches 41.97 BLEU, a score based on overlap with the reference translations. It leads the authors’ adaptations, including both visual approaches with either image view. Volta, an official workshop entry that expresses information about pictured objects as tags in the textual input, leads the overall comparison with 44.21 BLEU. The challenge set gives the doubly attentive decoder a stronger position. With caption crops, it reaches 31.81 BLEU, against 28.53 for the text-only baseline. Cropping also improves the Multimodal Transformer on the challenge set, where it still scores below the baseline. Volta leads there as well, with 52.02 BLEU.
The two evaluations bring out a practical distinction. A visual input can be especially valuable on captions selected to contain a choice that the scene helps resolve, and its value depends on the way the translation system processes it. Cropping improves every reported score for the Multimodal Transformer on both splits. For the doubly attentive decoder, the preferred view changes with the split and the scoring measure. The authors identify a problem for future systems that follows from these results. They need to draw on the scene when it clarifies the source and limit its influence when the source wording is already sufficient.
Deep dive: Experiences of Adapting Multimodal Machine Translation Techniques for Hindi
An English-to-Hindi caption translation study examines when photographs help resolve ambiguity and how cropping affects translation quality. · about 33 minutes to read
The problem and its context
When a scene helps choose the target wording
A translator starts with the meaning that the source sentence expresses and has to produce wording that conveys it in another language. In the authors’ account, an ambiguous source sentence may permit several translations because the situation determines the intended interpretation. A short caption makes this issue easy to see. It describes something the writer can see, and that visible setting may supply part of the context that a reader would otherwise need to infer. A system that receives the scene as well as the sentence has access to some of that context.
The relevant decision is often one of word sense disambiguation, which means identifying the intended sense of an expression in context. The difficulty for translation comes when different senses lead to different choices in the target language. Words elsewhere in the sentence provide a first source of evidence. They constrain how an expression can be read and may resolve the choice by themselves. A photograph adds a different kind of evidence, grounded in what is visible rather than in further wording. It is especially pertinent when the competing interpretations concern the scene the caption describes.
The authors also emphasize that a sentence can have several translations. There is a difference between deciding what the source means and deciding how to express that meaning in Hindi. A photograph can help with the first decision when it makes the intended situation clearer. Even with that situation established, several Hindi renderings may express it plausibly. This distinction matters when judging the output. A translation has to work as a sentence, and the contribution of the photograph may concern a particular decision within it.
Hindi Visual Genome makes the search for the relevant visual evidence unusually concrete. The text describes a rectangle within an image. Depending on the caption, the rest of the photograph can supply setting or contain subjects unrelated to the words at issue. The rectangle gives the authors a way to prepare visual input that is closely tied to the text. Keeping the whole photograph makes contextual details outside the rectangle available. The study therefore concerns both the choice to include visual information and the choice of which part of the image reaches the translation system.
The language pair is part of the research question. The authors describe much earlier multimodal work as concentrating on English and other well-resourced languages, including German and French. Those studies supplied methods for incorporating a picture into translation. Applying those methods to Hindi raises a question about the data and learning conditions under which the methods work. Access to visual features creates a possible route to extra evidence. The system still has to learn how the features relate to the words of the caption and how those relationships affect the Hindi it produces.
From extra textual context to image features
The paper situates this problem alongside translation systems that use context beyond the source sentence while staying within text. It describes work that draws on a document to help translate its sentences, as well as research that adds other contextual information to sentence-level translation. In each case, the immediate input is an incomplete account of the situation in which the words were used. The additional text can help establish that situation. Photographs play a comparable role for captions, with a different technical challenge. The information arrives through a visual representation that the translation system has to connect to words.
Some earlier methods put representations of the image directly into the translation architecture. Huang and colleagues used object detection to obtain information about particular areas and about the image more broadly. They supplied visual features to the encoder, which constructs a representation of the source, and to the decoder, which uses the available representations to generate the target. This gives the picture a route into both stages. Information about the scene can participate in how the source is represented and in how the target sentence is produced.
Other work examined how a system could select useful visual evidence. Delbrouck and Dupont used attention to connect the source representation with information from the image during encoding. Attention is a way to weight information according to its relevance to a position or step in a computation. Lin and colleagues used a capsule network guided by context to extract relevant visual features iteratively. In that approach, the extraction proceeds through successive operations, so the search for evidence is part of the architecture. These methods put emphasis on the relationship between the caption and useful parts of the picture.
The authors also describe work by Su and colleagues on two different aspects of the task. The earlier approach they cite uses a translation cycle conditioned on an image. A sentence translated into the other language participates in a return translation, and consistency across this process supplies a learning signal. The work studies both directions together in an unsupervised setup. The later of the two studies, as discussed in the paper’s related work, examines learning interactions between the sentence and the image jointly. This concerns how the modalities inform each other inside the architecture.
A closely related question is how to give an image a role in a system built around language sequences. One option is to preserve the visual information as numerical features. An approach the authors adapt gives the decoder individual attention mechanisms for the source sentence and the image. It inherits that design from Doubly-Attentive Decoder for Multi-modal Neural Machine Translation. The paper also cites work on incorporating global visual features into attention-based translation, part of the line of research that made image representations available during translation.
Another option is to express visual content in words. The English–Hindi work by Gupta and colleagues extracts object tags from the photograph and puts the visual information into the textual input. This gives a system a linguistic representation of things detected in the scene. The approach also uses the IIT corpus for pretraining. These are two distinct choices. Tags determine the form in which the visual evidence is presented, while pretraining gives the system experience with language data before the caption task.
The paper describes other adaptations motivated by the available resources. Previous work on the doubly attentive approach added synthetic training material. Hindi caption work had already considered extracting the rectangular region identified with the caption. Other studies supplied pretrained word representations and further parallel text, or tried adding phrase pairs. The authors also describe an earlier workshop system that combined approaches with different text pretraining arrangements and used cropped image regions. The prior work therefore addressed the amount of language evidence, the choice of visual evidence, and the way each kind of input reaches the decoder.
The adaptation study puts those issues into a common evaluation. It asks whether systems with direct access to image features are competitive with a standard translation architecture that receives the source sentence alone. It also asks whether changing the field of view affects the usefulness of those features. The ordinary caption task and the ambiguity challenge serve different purposes within that design. The broad task measures practical performance over the split, and the challenge makes the hypothesized role of visual context more prominent by selecting examples around it.
The method, step by step
Start with the source caption and its annotated region
A training example links language to a region of a scene. The English caption is the sentence to translate, and the Hindi counterpart is the target. The photograph provides context for configurations that accept images. Hindi Visual Genome 1.1 also supplies the coordinates of a rectangle associated with the description. The paper illustrates this organization with a dataset example. The feature of that example that matters to the procedure is the association between a caption, a visible region, and the larger photograph containing it.
These inputs have separate functions. The English text supplies what the translation needs to convey. The target provides a training signal for producing Hindi, and a held-out target provides a reference for scoring. The rectangle identifies the image content to retain in the cropped condition. In the full-image condition, the associated caption still describes its designated part of the scene, but the visual processing step starts with the entire image. In the text-only condition, preparing the photograph plays no role in translation.
The coordinates make it possible to change the visual input without changing the English caption or Hindi target. A region selected this way uses information already available in the dataset. The experiment takes that region as an input to preparation. The attention mechanisms operate later on the features extracted from the prepared image. The full-image and crop choices are made before those mechanisms process a caption, so they establish what visual evidence is available for the system to select.
Preparing, translating, and scoring the caption pairs
The steps in order.
Prepare the language sequences
The authors convert the dataset text to lower-case and use byte-pair encoding for subword tokenization. The goal is to turn a written sentence into a sequence of units that can include pieces of words. A procedure that learns often recurring combinations can use the same pieces in several written forms. That reuse is relevant when some complete words have limited support in the caption training set. A system can learn about their constituent units through other uses of those units.
The segmentation procedure uses text from HindEnCorp together with the training portion of Hindi Visual Genome 1.1. The paper specifies 20, 000 operations with subword-nmt in its general preprocessing account. The number refers to the operations used to learn the segmentation, and the English and Hindi caption data used for evaluation are kept distinct from the Visual Genome training data named for this learning step. The text-only Transformer uses fastBPE, with the same named corpus sources for the segmentation. The two tool names are part of how the experimental settings are specified.
There are two separate ways to use text from a corpus here. Learning a segmentation from it determines the units in which the system will read and generate sentences. Training a translation system on parallel material teaches it how source and target sequences correspond. HindEnCorp enters the adaptations in the reported segmentation procedure. The paper identifies the Visual Genome data as the training source for the Multimodal Transformer and explains the restriction on additional-data pretraining for the doubly attentive system. Keeping these uses distinct is important when comparing the adaptation runs with workshop entries that make other uses of parallel corpora.
The segmentation used by a translation architecture also serves a different purpose from the tokenization used to score its outputs. The first determines the units available during training and generation. The second determines how a completed Hindi sentence and its reference are presented to a scoring program. An experimental system can generate the same Hindi caption and receive different reported BLEU values when the captions are tokenized differently for scoring. The paper specifies both kinds of processing.
Prepare the visual representation
For a visual run, the authors either retain the entire photograph or crop it to the dataset rectangle. Their motivation for cropping is that an object or region outside the captioned area can introduce information with little relevance to translation. Their motivation for retaining the full image is that the annotated region can be small and the surrounding scene can supply valuable context. Providing the two views therefore tests a choice that has a plausible advantage in either direction.
The translation methods receive features extracted using pretrained ResNet50. A feature here is a numerical description produced from the supplied image. The authors select this extractor because it is commonly used in the methods they discuss. The image given to it determines the visual information available downstream. In the full-image condition the features are computed with the surrounding scene present. In the crop condition the representation is computed from the rectangle itself, after the surrounding part has been removed.
That order is important for interpreting the experiment. The authors prepare a different image before feature extraction. Accordingly, choosing the crop can change the representation of the captioned area as well as exclude visual content beyond it. The operation tests the overall effect of using a region-centered input. A finer analysis of how particular objects or individual features influence translation would require a different comparison.
Pretraining has a component-specific meaning in this setup. ResNet50 supplies a visual representation learned before the translation experiments. The Multimodal Transformer also starts with pretrained word representations. The authors describe training the adapted translation systems without the separate translation pretraining used in some prior configurations. These statements refer to different stages. An extractor or embedding can have prior training, and the architecture that maps the prepared inputs to a Hindi sentence can still be trained directly on the caption task.
Establish a reference point with text alone
The standard Transformer, implemented in fairseq, is the text-only baseline. It receives the prepared source caption and learns to produce its Hindi counterpart. An attention mechanism can combine information from different positions in the English sequence. The representation for an ambiguous expression can therefore reflect the words around it and other relevant parts of the sentence. The text-only result establishes how far a system using this architecture and the stated caption resources can go with that evidence.
During target generation, the decoder uses the encoded source to make decisions about the Hindi sequence. The source input is the same kind of linguistic material that the visual approaches are intended to augment. Neither visual features nor the dataset rectangle are inputs to this baseline. Its performance is especially informative on examples where the original English wording already provides enough context for a reliable target choice. It also gives a point of comparison for the challenge set, where the benchmark construction increases the opportunity for the photograph to be useful.
The text-only system is an architectural baseline for the evaluation. It shows what a standard Transformer achieves under the reported procedure. It also differs in structure from the recurrent, doubly attentive approach and in its attention arrangement from the Multimodal Transformer. Its role is therefore to ground the comparison of complete systems. The study uses a separate pair of image views within each visual architecture to make a more closely matched comparison.
Let the Multimodal Transformer consult the image
The Multimodal Transformer is adapted from Yao and Wan. The paper introduces its use of attention by asking the reader to think of words as positions in a fully connected graph. Each position can exchange information with other positions in the sentence, so a source representation can reflect relationships across the sequence. For the multimodal architecture, the next question is which positions can request visual information and which inputs supply that information.
Attention describes these roles with queries, keys, and values. A query represents what a position is seeking. A key provides something against which to compare the query. A value carries the information that can be taken up according to those comparisons. In self-attention the roles draw from the same input. Cross-attention permits a separate source for the information being sought. This distinction makes it possible to describe the tested architecture by specifying where its queries come from and where it looks for keys and values.
The paper gives that specification verbally. Its assignment can be expressed as follows.
(Q, K, V) ← (joined text and visual tokens, visual tokens, visual tokens)
Q denotes the query input, K the key input, and V the value input. The arrow assigns the entries in the tuple on the right to the corresponding roles on the left. The parentheses group the entries, and the commas delimit their positions. Text tokens represent units of the caption. Visual tokens are units in the image representation. The joined input is the concatenation of the textual and visual representations. The assignment uses that combined input for queries, while image representations supply both the keys used for comparison and the values that carry the retrieved information.
In practical terms, the attention operation gives the combined representation a route to visual content. The text participates on the query side, along with the image representation. The available information on the other side of this particular lookup comes from the picture. The arrangement specifies the direction of the lookup. The paper focuses on this choice of inputs to attention, which is also the aspect the authors propose changing in future work.
The adaptation uses the earlier method’s default configuration and initializes its word representations with pretrained GloVe embeddings of 300 dimensions. An embedding is a numerical vector used to represent a word or another linguistic unit. The dimensionality is the number of components in that vector. This initialization provides a starting point for the word representations. The authors train the translation system on the Visual Genome data, with the pretrained visual features giving it access to the photograph.
The crop and full-image versions retain the same attention assignment. What differs is the set of visual features that can inform the queries and supply the keys and values. The crop uses the annotation to narrow the scene in advance. The complete view leaves the visual stream with information from across the image. This pair of runs examines how well the same overall mechanism works when it receives those two forms of visual input.
Give the recurrent decoder independent attention mechanisms
The doubly attentive approach divides the work differently. A bidirectional recurrent neural network encodes the source sentence. A recurrent network processes a sequence through states, each of which can carry information from a preceding step. Bidirectionality supplies passes in opposite directions, so a source position can be represented using context on both sides. The decoder is recurrent as well, building the representation used during generation as the target sequence progresses.
The decoder can attend to the encoded source words and to spatial visual features. Spatial features carry information associated with areas of the image, allowing the visual attention mechanism to weight those areas differently. The language mechanism can emphasize source positions relevant to the current target decision. The visual mechanism can emphasize regions that bear on that decision. Both are available during generation, and the architecture gives them independent attention operations.
This arrangement places the consultation of the image in the process of producing the Hindi caption. At a given decoding step, the system has access to a representation of where it is in target generation, to the encoded source sequence, and to the visual features. The two attention mechanisms make the choices over the source and over the image separately. The resulting design differs from the Multimodal Transformer’s use of joined text and visual representations as queries into the visual input.
The authors use the source-plus-image configuration labeled NMT src+img. In that label, the source refers to the English input and the image refers to the spatial visual representation. The runs use the chosen configuration with the full image or the crop and omit the extra-data translation pretraining discussed for other adaptations. Both image conditions give the decoder the same kind of access to image areas through attention. They differ in what those areas can represent, because the features were computed from different views.
The separate visual attention mechanism has access to the setting around the region in the full-image run. In the crop run, it makes its selections from features associated with the area already identified by the annotation. Cropping therefore changes the material offered to a mechanism that itself makes a selection. The performance comparison asks whether restricting that material helps the mechanism under the training and testing conditions of this task.
Choose a checkpoint and generate the target sentence
The authors train their systems for 100 epochs and use validation performance to choose a checkpoint. An epoch is a pass through the training material. A checkpoint records the parameters at a stage of training and can be used to generate translations after that stage. The validation examples guide the choice among saved states. The paper says it retains the hyper-parameters of the respective earlier methods. Those are settings for the architecture or training procedure that define how the adaptation is run.
The selected systems translate from English into Hindi with a beam size of 5. Beam search keeps a limited collection of partial output sequences during generation. As each sequence grows, the search can continue with several candidates ranked by the system’s scores. The beam size controls how many candidates can be kept at a step. This decoding procedure turns the learned scoring of target sequences into completed captions for the evaluation.
The held-out test examples then take on a different role from the training and validation material. The training captions support learning the translation. The validation split supports checkpoint selection. The ordinary test and challenge test measure the behavior of the selected systems across distinct collections of captions. The same English-to-Hindi direction, target generation procedure, and split definitions make it possible to compare the resulting systems on both collections.
Experiments and results
What the two test splits ask
The paper reports 32, 922 sentences in Hindi Visual Genome 1.1. It identifies 28,929 training sentences and 998 validation sentences. The ordinary test contains 1595 sentences, and the challenge set contains 1400. The units are captions or descriptions associated with rectangular regions of images. In the experiments, each English caption is the source for a Hindi translation, and its image is used according to the configuration being tested.
The ordinary test provides the broad evaluation of the caption task. Its score combines cases that can differ in how much information the source wording gives and in how relevant the scene is to translation. Text-only and image-enabled systems are evaluated across the same collection. This gives a comparison of overall effectiveness on that split. The ordinary test does not assign separate weights to the subset of decisions for which looking at the picture is expected to resolve a difficulty.
The challenge set was put together with that specific use of context in mind. The selection process used similarity between word embeddings to help find potentially ambiguous English words. Embedding similarity provides a search aid by comparing numerical representations of words. The benchmark construction then used manual selection to retain cases in which the picture and surrounding text help clarify the intended sense. The search and the manual decision serve different purposes. One identifies candidates, and the other checks whether the context available in the example makes the ambiguity relevant to the test.
This design gives the challenge set a clear interpretation. It asks how the systems fare on captions selected to benefit from contextual evidence. The source still includes the surrounding words, so the baseline can draw on the linguistic component of that context. The visual systems can also use the scene. The strongest comparison is between systems evaluated on the same challenge examples, because each such score reflects the same reference captions and the same selection of possible ambiguities.
What is being compared and how it is scored
The table includes official WAT 2021 results as well as the authors’ experimental runs. WAT is the Workshop on Asian Translation. Volta is the official object-tag system identified in the paper’s discussion. The table also includes iitp, entries under the CNLP-NITS name, and the organizer’s entry. These comparisons place the adaptations alongside submissions with different choices about training and input representation. The official rows are reported results for complete workshop systems.
The adaptations form a smaller comparison within that set. The text-only Transformer provides the baseline, and each visual architecture contributes a run on the full photograph and a run on the supplied crop. Those within-architecture pairs answer a focused question about image preparation. The comparisons with the workshop systems instead give a performance benchmark for the entire adaptation. A strong workshop result can reflect several useful design choices at once.
For the main BLEU and RIBES scores, the authors process the texts using Indic-tokenizer. They compute BLEU with the Moses script multi-bleu.perl. BLEU measures agreement with the reference by comparing tokens and sequences of consecutive tokens. A score for a split summarizes the generated captions collectively. It can reflect a change to an ambiguous word, changes elsewhere in the same sentence, or changes distributed across the set.
RIBES, reported with version v1.02.4, is sensitive to the order of words shared with the reference. It gives another view of agreement with the Hindi target. A change to the image input may improve the matches emphasized by BLEU while reducing agreement under RIBES. Reporting both gives a way to see whether a preference between configurations is consistent across these measures. Their values belong to different scales and are best read within their respective columns.
The authors also report sacreBLEU scores under the 13a and intl tokenizers for their own runs. These are distinct from the main, Indic-tokenized BLEU column. The tokenization setting is part of the measurement, because it determines which units the generated and reference strings are compared over. The separate sacreBLEU columns are useful for checking whether a ranking persists with a different scoring setup. The official entries have reported main BLEU and RIBES values in the table, while these alternative BLEU columns are shown for the adaptation runs.
On the ordinary test, the simplest input is competitive
The text-only Transformer leads the authors’ systems on the ordinary test, with 41.97 BLEU and 0.8091 RIBES. Both of these values exceed the corresponding scores for either visual architecture with either image view. The highest main BLEU score among the visual adaptations is 39.83, from the doubly attentive decoder using the whole photograph. That run also has the highest ordinary-test RIBES among the visual adaptations, at 0.7968.
The cropped doubly attentive system reaches 39.72 BLEU and 0.7910 RIBES on the ordinary test. For the Multimodal Transformer, the order of the image views is reversed. Its full-image run gives 38.30 BLEU and 0.7596 RIBES, and the crop raises those values to 38.53 and 0.7703. Thus the image preparation preferred by each visual architecture differs on both of the main scoring columns for this split.
Ordinary-test BLEU on Hindi Visual Genome for the best setting of each adaptation
The text-only Transformer leads the strongest settings of the visual adaptations.
The numbers
| System or setting | BLEU |
|---|---|
| Text-only Transformer (this paper) | 41.97 |
| Doubly attentive decoder with full images | 39.83 |
| Multimodal Transformer with crops | 38.53 |
Volta is the strongest official entry on this split at 44.21 BLEU and 0.8186 RIBES. It also leads the complete set of comparisons in both columns. The iitp entry obtains 42.47 BLEU on the ordinary test, placing it ahead of the text-only baseline in that column. Its RIBES is 0.8071, below the text-only score. The distinction matters for the paper’s observation about how many entries beat the baseline. On the ordinary test, Volta and iitp do so on the main BLEU measure, and Volta is the only entry that does so on RIBES.
The remaining official entries supply context for that ranking. The higher of the CNLP-NITS results on the ordinary test is 40.51 BLEU, with 0.8032 RIBES. The other row under that name gives 39.46 BLEU and 0.8020 RIBES. The organizer’s result is 38.63 BLEU and 0.7674 RIBES. Taken together, the official rows show that the strong text-only result is competitive even when the reference group is extended to the workshop submissions.
The alternative BLEU scores give the same ranking across the authors’ architectures on the ordinary test. The text-only Transformer has 41.9 with the 13a tokenizer and 41.9 with intl. Both versions of the doubly attentive system receive 39.6 under each tokenizer. At the precision reported in those columns, the crop and full view tie for this architecture. The main BLEU and RIBES results distinguish the views and favor the full photograph.
For the ordinary-test Multimodal Transformer, sacreBLEU with 13a gives 37.6 for the full image and 37.9 for the crop. The corresponding intl scores are 38.1 and 38.3. This supports the direction of the crop comparison across the reported measures for that architecture. Even in its better-scoring visual setting, the architecture stays behind the recurrent visual adaptation and the text-only baseline on this split.
The authors interpret the ordinary-test results as evidence that the visual features supplied in most of the approaches have limited impact on broad caption translation. The strong result from the text alone provides the context for that interpretation. The aggregate scores put a demanding condition on the benefit of image features. Helpful decisions must contribute enough improvement over the split to compensate for cases where the extra information has little value or where its use makes the output worse. The reported ordinary-test ranking shows how the tested systems fare under that condition.
On the challenge set, the recurrent visual approach moves ahead
On the challenge split, the text-only Transformer records 28.53 BLEU and 0.6933 RIBES. The doubly attentive decoder exceeds those values with both of its image inputs. The full-view version gives 31.41 BLEU and 0.7387 RIBES. The crop version gives 31.81 BLEU and 0.7348 RIBES. In this comparison the architecture surpasses the text-only system regardless of which image view it receives. The choice of view affects which score is highest within the architecture.
The Multimodal Transformer with full photographs receives 24.29 BLEU and 0.6708 RIBES on the challenge set. Cropping brings its scores to 27.91 BLEU and 0.6882 RIBES. The crop moves the results closer to the baseline under both metrics, and both remain below it. The challenge set therefore distinguishes the two visual architectures in a way that matters to the interpretation. The headline advantage over text alone belongs to the doubly attentive system among the authors’ runs.
Challenge-set BLEU on Hindi Visual Genome for the best setting of each adaptation
The cropped doubly attentive decoder beats the text-only baseline, while the cropped Multimodal Transformer trails it.
The numbers
| System or setting | BLEU |
|---|---|
| Doubly attentive decoder with crops (this paper) | 31.81 |
| Text-only Transformer | 28.53 |
| Multimodal Transformer with crops | 27.91 |
Volta reaches 52.02 BLEU and 0.8541 RIBES on the challenge set. These are the highest reported values in their respective challenge columns. The stronger CNLP-NITS entry on this split scores 39.28 BLEU and 0.7920 RIBES, while iitp obtains 37.50 BLEU and 0.7908 RIBES. The other CNLP-NITS entry has 33.57 BLEU and 0.7541 RIBES. The organizer’s entry scores 20.34 BLEU and 0.6442 RIBES. The official results span both sides of the text-only baseline, with the object-tag entry in the lead.
Under sacreBLEU with 13a, the full-view doubly attentive system scores 30.8 on the challenge set and the cropped counterpart scores 31.4. With intl, those values are 31.3 and 31.6. The text-only system gives 28.3 with 13a and 28.5 with intl. Each variant of BLEU therefore places the doubly attentive system above the baseline with either view. The crop is the preferred view within the architecture according to each of these challenge BLEU comparisons.
The Multimodal Transformer scores 23.7 with the full image and 27.4 with the crop under 13a on the challenge split. Under intl, the corresponding scores are 24.2 and 27.8. The three BLEU columns agree on the relative positions of its image settings and on the baseline’s position above them. That agreement helps establish that the observed order is shared across the reported BLEU scoring procedures. The scores from those procedures still need to be read as separate measurements.
The central change across tests is a change in the ranking of systems evaluated on each set. The text-only Transformer is ahead of the recurrent visual system on ordinary captions, and the recurrent system overtakes it on the ambiguity challenge. The Multimodal Transformer ranks below the baseline in both cases. Volta leads both comparisons and stands particularly far ahead of the adaptations on the challenge according to the main BLEU scores. These rankings give substance to the paper’s claim that the value of a visual input depends on both the evaluation examples and the route by which the image enters translation.
What the ablations show
Cropping tests how much of the picture to supply
The closest comparison to an ablation changes the visual input within an architecture. One run gives the extractor the complete photograph, and the other gives it the annotated caption region. The architecture and the source language task are held in place. This allows a more focused reading than a comparison across systems that use different sequence encoders or different ways to integrate the image. The measured change belongs to the crop as a preparation decision.
In the Multimodal Transformer, the crop has the same effect on the ranking under every reported metric, on both sets. It improves the ordinary-test and challenge scores in the main BLEU and RIBES columns, and the two sacreBLEU settings show the same pattern. The results are consistent with the authors’ motivation for removing unrelated material from the picture. Since the cross-attention draws on visual features, the crop can concentrate those features on the subject of the caption. The score comparison establishes the performance of that altered input as a whole.
There are several ways that input change could matter in the architecture. The surrounding scene may contain material that competes with the captioned region for attention. Computing features from the crop may also change how the content inside the rectangle is represented. Those possibilities are related because a crop changes the field of view before feature extraction. The paper’s comparison combines them. It gives a direct result about the practical choice of view while leaving the contribution of particular regions or representations to be established independently.
For the doubly attentive decoder, the preferred view depends on both the evaluation set and what is measured. The ordinary-test main BLEU and RIBES results favor the full photograph. The alternative BLEU columns give equal reported ordinary-test scores to both views. On the challenge split, the crop is ahead on every reported BLEU variant. RIBES favors the full image on that split, as it does on the ordinary test. So the more favorable picture of cropping in challenge BLEU has a concrete qualification in the order-sensitive results.
Full photographs and caption crops on Hindi Visual Genome challenge-set RIBES
The full view leads for the doubly attentive decoder, while the crop leads for the Multimodal Transformer.
The numbers
| System or setting | RIBES |
|---|---|
| Doubly attentive decoder with full images (this paper) | 0.7387 |
| Doubly attentive decoder with crops | 0.7348 |
| Multimodal Transformer with crops | 0.6882 |
| Multimodal Transformer with full images | 0.6708 |
The recurrent decoder has a mechanism for choosing among image areas, and keeping the full photograph gives that mechanism a wider range of information. Cropping gives it a selection already narrowed around the caption. Either arrangement can affect how the output agrees with the reference. The mixed ordering shows that, for this architecture, removing the surroundings cannot be described as an improvement across the board. How well an output matches adjacent reference tokens and how well it preserves the order of matching words are different properties of the generated Hindi.
The ambiguity challenge changes the comparison with text alone
The challenge set supplies a diagnostic comparison by changing the examples presented to each selected system. The construction favors cases where the intended interpretation is supported by the scene and by nearby words. The recurrent decoder’s advantage over the text-only baseline on this set fits the hypothesis that access to the image helps under those conditions. Its weaker position on the ordinary test indicates that this advantage depends on the composition of the evaluation.
This is a different kind of comparison from cropping. The challenge analysis asks where a given approach to translation has an advantage. The crop comparison asks which view is preferable for a fixed approach on a specified set. In the paper, they intersect. The doubly attentive architecture beats the baseline on the challenge using either of its views. The Multimodal Transformer gains from focusing on the region, yet its best challenge result still falls below the baseline. Cropping and the presence of a visual route thus answer distinct questions about behavior.
The challenge set also gives the claim about ambiguity a specific testable setting. A system can receive a photograph because it is associated with a caption even if there is little to learn from the photograph for that sentence. Here, contextual usefulness is part of the selection criterion. Once that condition is more prominent, the relative results give support to the use of visual evidence in a suitable architecture. The aggregate nature of the scores still leaves open which exact target choices changed as a result of the image.
A result over an entire caption can register improvements in parts of it beyond the expression that prompted its inclusion in the challenge. The ambiguity selection makes the authors’ interpretation plausible, and the comparison with text alone gives it a reference point. The experiment shows an advantage for the recurrent visual configuration on this collection. Evidence locating the advantage in particular sense decisions would require tracing the relevant expressions in the generated Hindi.
Object tags are part of a strong system-level result
The official Volta result adds a comparison involving the form of the visual information. Object tags express detected content in a representation the translation system can take as text. That offers a different route into the task from passing along numerical spatial features. If a visible object bears on the intended sense of an expression, a tag can present information about its identity alongside the caption. The result on the ambiguity challenge makes that design choice pertinent to the paper’s main question.
Volta’s lead also covers the broad test. The paper describes its method as using a parallel corpus for pretraining as well as bringing visual information into the input through tags. Its score reflects the whole configuration. The workshop comparison leaves open how much of the advantage comes from the tags, from the earlier training, or from the way the complete system combines those choices. It establishes the strength of the tag-based submission on the same benchmarks where the authors evaluate their own adaptations.
A matched intervention would keep the tag-based system and its training resources fixed while varying whether the tags are provided. The reported table instead puts its outputs alongside other completed systems. The narrow crop comparison can support an input-level claim about the visual adaptations, while the broader workshop comparison supports a ranking among complete approaches. For explaining why a system works, the difference between those comparisons is consequential. The table identifies visual integration choices worth examining more closely without assigning each choice an independent effect.
Limitations
Limits identified by the authors
The authors point to the uneven usefulness of pictures as the main limitation. A photograph can clarify an ambiguous caption and can add noise when the sentence is already clear. Selecting relevant visual input is therefore only part of the problem. How strongly the system uses it for a given sentence also matters. Their desired general system would take advantage of evidence from the scene where it helps while reducing the cost of consulting it on captions where the wording already supports a translation.
They also note a limitation specific to the region input. The caption rectangle can be very small, and details important to the translation can lie beyond its boundary. The crop is attractive because it reduces the visible surroundings, yet the surroundings are also a source of context. Their experimental decision to include full photographs follows directly from that possibility. The mixed crop results for the recurrent decoder give the concern practical force within the tested configurations.
The authors see the way the Multimodal Transformer assigns attention inputs as a place to investigate further. Their tested system gives queries a combined representation and supplies visual keys and values. They propose configurations where the query and key inputs come from different modalities. One direction would start from visual positions and consult the caption. The reverse direction would start from caption positions and consult the image. These are ways to examine interaction with different roles for each kind of input.
They also propose concatenating the representations produced by those directional interactions. The purpose would be to capture how the modalities depend on each other in a representation available to translation. These proposals define experiments for subsequent investigation. The empirical results in the paper concern the tested arrangements. The authors likewise point to extending the investigation to additional translation methods and additional low-resource languages.
Limits apparent from the study design
The evaluation is directional. The broader motivation discusses English–Hindi translation in both directions, and the reported decoding and results run from English into Hindi. The challenge set selects potentially ambiguous source expressions in English. Testing Hindi as the source would give the selection procedure a different set of possible ambiguities and change which distinctions the target text has to express. Evidence for that direction would require its own results.
The scope of the data is also specific. The study considers captions tied to photographs and, for the crop, to annotated rectangles. A system using the cropped setting has access to the relevant region during input preparation. In a setting with photographs and captions alone, determining the appropriate region would be a separate task. The full-image results show how the tested architectures perform when they see the whole scene. They leave open how a system could infer which rectangle to use in cases where the annotation is unavailable.
The selection of challenge examples limits what the test establishes about translation outside that set. The benchmark was deliberately assembled to make contextual resolution relevant. A system’s performance there describes how it fares on that selection. Estimating how frequently such cases arise in the broad task would require identifying them in the broad task itself. The ordinary-test scores provide a general performance result, and the challenge scores provide evidence under concentrated ambiguity. Neither number gives the prevalence of visually useful context across caption translation.
That selection also gives the text-only baseline a genuine source of evidence. The manual criterion concerns help from the picture and the words around the ambiguous expression. Both sorts of evidence are available in the dataset, although different systems can access different portions of it. A comparison on the challenge set can show the relative performance of those systems when both types of context are pertinent. To assign a particular decision to one source of evidence, the analysis would need to vary the evidence or inspect the rendering of the relevant word directly.
The measures are based on agreement between generated outputs and references. BLEU reports shared token sequences, and RIBES brings information about ordering to the comparison. They give aggregate views of how the Hindi captions compare with their targets. An improvement could reflect a better choice for an ambiguous expression, a change to its surrounding wording, or more accurate material elsewhere in the caption. The paper provides scores for the full hypothesis produced by each system. A measure tied directly to the intended sense would assess a narrower question.
Comparisons across architectures have a causal limit. The standard text-only Transformer and the doubly attentive system differ in their sequence processing as well as their access to photographs. The standard Transformer and the Multimodal Transformer likewise differ in the way attention is arranged and in the stated preprocessing setup. The comparisons show which complete configurations score higher. Removing visual evidence in a matched architecture would give a more direct estimate of the effect of access to that evidence. Cropping keeps the architecture in place and changes which view its visual component receives.
The official workshop comparison adds further differences. The paper discusses object tags, external data for pretraining, phrase pairs, and systems that combine configurations. The reported scores summarize the outcomes of those submissions, whose components are taken together. Volta’s success establishes that its design is competitive across both test splits. Its advantage cannot be partitioned among the individual components from those scores alone. The same constraint applies to explanations of differences between the other official rows and the authors’ own systems.
Finally, the table reports point results. The paper gives no range across repeated training runs and no test of whether close scores are distinguishable from variation under retraining. The ordinary-test comparison between the full-image and cropped recurrent runs is a case where that information would matter. Main BLEU gives them a clear observed order, sacreBLEU reports the same values for the two views, and RIBES again favors the full view. These measurements establish the order in the recorded runs and define the question that repeated estimates would address.
What came after
There are no documented later citing studies to trace here. The follow-up experiments described by the authors remain proposals in the paper.
Cite
Cite as Baban Gain, Dibyanayan Bandyopadhyay and Asif Ekbal. 2021. Experiences of Adapting Multimodal Machine Translation Techniques for Hindi. Proceedings of the First Workshop on Multimodal Machine Translation for Low Resource Languages (MMTLRL 2021).
@inproceedings{gain2021experiences,
title = {{Experiences of Adapting Multimodal Machine Translation Techniques for Hindi}},
author = {Baban Gain, Dibyanayan Bandyopadhyay and Asif Ekbal},
booktitle = {Proceedings of the First Workshop on Multimodal Machine Translation for Low Resource Languages (MMTLRL 2021)},
year = {2021},
url = {https://aclanthology.org/2021.mmtlrl-1.7/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/gain-2021-experiences-adapting-multimodal-machine-translation/