Models of Visually Grounded Speech Signal Pay Attention To Nouns: a Bilingual Experiment on English and Japanese
Paper · 2019 · William N. Havard, Jean-Pierre Chevrot and Laurent Besacier
Summary
A spoken description arrives as a continuous signal. A system trained to find the picture it describes has to decide which parts of that signal are worth emphasizing, even though its training task never tells it where a word begins or which words name objects. The authors investigate what such a system emphasizes when it learns from images paired with spoken captions. They compare English and Japanese using the same retrieval architecture and the same collection of scenes, with captions independently written in each language and converted to synthetic speech. During training, the systems learn to place a spoken description close to its image in a space of numerical representations. The authors then use transcripts to locate words in the recordings and identify the linguistic categories underneath peaks in attention.
English and Japanese yield different answers to what it means for nouns to stand out. On the English test captions, 82% of detected attention peaks land on nouns, against 47% under a baseline that places peaks at random times. In Japanese, nouns account for 47.79% of detected peaks and 47.42% under the random baseline. They are common places for attention to peak, while particles show the clearest enrichment. Japanese particles receive 45.77% of peaks, compared with 16.9% at random. The subject-marking particle GA alone receives 17.83% of detected peaks. English peaks tend to fall in the latter half of words. Japanese peaks occur towards word endings as well as at beginnings, where some particles appear to attract attention. The authors relate these observations to proposals about how children attend to speech during language acquisition.
The paper also tests whether pictures can connect spoken descriptions across languages. The authors train fresh English and Japanese systems separately, using different halves of the training data. At evaluation, a candidate Japanese caption can rank highly for an English query when both recordings are close to the same unseen picture in their respective retrieval spaces. The reverse direction works by the same procedure. The reported results support the use of images as intermediaries between independently learned speech representations. What counts as a correct match is a caption written for the same picture, so success can connect descriptions that express overlapping content in different ways.
The experiments bring together evidence at different scales. Attention peaks show where an utterance representation gives extra weight to the signal. Retrieval ranks show whether whole descriptions can be connected through visual context. The timing and grammatical labels help interpret the first result, while the shared image collection makes the second test possible. The authors make the enriched English and Japanese caption corpora available with word and phone alignments and grammatical tags, so the attention analysis can be repeated against the same annotations.
Deep dive: Models of Visually Grounded Speech Signal Pay Attention To Nouns: a Bilingual Experiment on English and Japanese
How image retrieval from English and Japanese speech highlights nouns and particles, and how shared images connect captions across languages. · about 33 minutes to read
The problem and its context
What a picture can teach about a recording
A picture gives a spoken description something outside the speech signal to refer to. Suppose a recording mentions a place, some objects, and how they are arranged. If a system has to choose a picture from a collection, certain portions of that recording may help more than others. The task gives feedback about which picture belongs with the description, leaving open how the system should divide its attention across the recording. The authors use that gap to ask whether a system trained for retrieval develops preferences that can be described in linguistic terms.
This is a question about vision and language as well as about speech. The image supplies a particular kind of evidence. A noun that refers to a visible object can help connect a recording with a scene, while some of the words that make the caption grammatical may recur across many scenes. A short grammatical item can still matter if it helps locate or interpret neighboring material. Looking only at whether the correct picture comes back would obscure these distinctions. The attention mechanism gives the authors a time-indexed record they can compare with where words actually occur.
The comparison also matters because an analysis of English alone leaves several explanations open. A preference might reflect a property of visual description, a property of the way English expresses that description, or an interaction between the two. Japanese captions about the same scenes create a comparison in which the visual subject matter is shared while the language changes. Because the captions were written independently, the comparison concerns how speakers of each language were recorded describing the pictures through the synthesized captions, without assuming that each Japanese word has an English counterpart in a particular recording.
A picture can organize the data at the level of the entire caption as well. Two independently written captions can refer to the same scene while choosing different details or grammatical constructions. This makes the common picture a concrete basis for asking whether a recording in one language can lead to a related recording in another. The connection rests on the image each description evokes. It does not require the corpus to supply paired sentences as translation examples during training.
From written captions to spoken descriptions
The paper places its experiments in a line of work made possible by caption collections such as Flickr30k and MSCOCO. Those collections paired pictures with written descriptions. Work that followed brought speech into the same setting. Flickr8k acquired spoken captions through crowdsourcing. For MSCOCO, earlier projects generated audio from caption text with Google Text-To-Speech or Voxygen. The addition of Japanese captions through STAIR made it possible to hold the picture collection fixed while changing the language used to describe it.
These developments gave researchers material for learning shared representations from different input types. A system could take an image on one side and a spoken description on the other, transform both into numerical vectors, and learn whether they belonged together. The paper adopts the image-retrieval approach used by Chrupała and colleagues. Its question concerns what the resulting speech encoder does with a recording on the way to declaring a match. As the only matching feedback concerns the image and the utterance, any pattern linking attention to grammatical categories has to emerge within that task.
Earlier work had already examined the linguistic content of such representations. Kádár and colleagues studied activity in recurrent networks working with written language and images. They found that activity could be associated with words from particular categories. Chrupała and colleagues examined learned speech representations across network layers and found a tendency for lower layers to express properties of form and final layers to express properties of meaning. Alishahi and colleagues found that information about speech sounds persisted in higher layers and proposed that attention emphasized semantic information. These observations gave the authors reasons to look at both where attention peaks and which words are present there.
The change in emphasis is towards the organization of the utterance in time. A representation can retain information about speech sounds even if the largest weights fall on a limited set of spans. Likewise, a large weight on a span gives a different answer from a test of what linguistic information can be recovered from a whole layer. The paper takes the weight sequence as its object of study. It puts the sequence on the same timeline as the spoken words, then asks about grammatical category and location within each word.
The connection to learning from perceptual context
The paper draws on the suggestion that computational systems learning from perceptual context can help formulate questions about how children acquire language. One relevant proposal concerns a noun bias. Words that name objects may be relatively accessible when the learner already has concepts for those objects and can associate the sound of a word with something present in the scene. The visual retrieval task also brings descriptions and objects together, though its immediate objective is to identify the matching picture.
A second proposal concerns the temporal distribution of cues. The paper discusses Slobin’s account of the importance of word endings and cites work on Japanese-learning infants’ use of particles in segmenting speech. A particle can carry grammatical information and offer a cue to what came before it. Attention on a particle can therefore be relevant to a study of spoken word recognition even when the particle itself has no obvious visual referent. These proposals motivate looking across the boundaries of the nouns that an image might lead the system to emphasize.
The earlier work on cross-language retrieval raised a related question about what pictures can supply. Harwath and colleagues had used visual context to connect spoken captions across languages. In the earlier setup described by the paper, the speech encoders were trained together or alternately in a common arrangement, with bilingual data used by the objective. The English–Japanese study asks whether independently trained systems can be connected after training. If a new image can be represented separately by each system, it can serve as a point of correspondence even when the speech vectors themselves were learned apart.
The method, step by step
Learning which recordings and pictures belong together
The basic example for training is a picture paired with a recording that describes it. The system has an image encoder that assigns a vector to the picture and a speech encoder that assigns a vector to the recording. A vector is a list of numerical features. Within each language’s retrieval system, the encoders learn to place matching examples close enough that distance can be used to rank candidate pictures for a recording. Each caption is treated as a whole for this purpose. The procedure needs the association between the recording and its picture.
The training objective also considers mismatched examples. If the system gave every picture and recording the same representation, matching pairs would be close, but there would be no basis for choosing correctly among candidates. Training therefore requires a matching pair to be closer than a mismatched pair by a margin. The authors write that requirement as an objective with terms for replacing either the recording or the picture.
∑ᵤ,ᵢ (∑ᵤ′ max[0, α + d(u,i) − d(u′,i)] + ∑ᵢ′ max[0, α + d(u,i) − d(u,i′)])
The outer ∑ᵤ,ᵢ adds contributions from matching utterance–image pairs. The symbols u and i denote the encoded matching utterance and image. The primed symbols u′ and i′ denote mismatched utterance and image alternatives, respectively. The inner sums ∑ᵤ′ and ∑ᵢ′ run over those alternatives. The function d gives the distance between the pair of representations in its arguments. The symbol α is the required margin. The function max chooses the larger of its arguments, so 0 sets the minimum contribution of a term. The signs + and − add the margin and the matching distance, then subtract the mismatching distance.
Read the first inner term with the picture held fixed. If that picture is already sufficiently farther from the mismatched utterance than from its own utterance, the term contributes zero. When the required separation is missing, the term contributes a penalty. In the other term the utterance stays fixed, and the same comparison is made between its own picture and a mismatched picture. Together the terms give the encoders a reason to arrange the two sets of vectors so that the correct associations are distinguishable in either comparison.
The target is the relative placement of complete examples. The objective has no separate term for detecting nouns or attending at word endings. This makes the later linguistic analysis a probe of behavior that can emerge from the matching task. It also defines the scope of what training encourages. A feature of the audio has value to the objective insofar as it helps the encoder distinguish a matching association from alternatives drawn from the corpus.
How each encoder builds a vector
The image side starts with a precomputed VGG-16 representation. VGG was trained on ImageNet to classify images among 1000 object categories, and its output gives the retrieval system an object-oriented starting point. The image encoder applies one dense layer, a learned transformation whose outputs each combine input features. This reduces the 4096 dimensions of the input to 512. The resulting vector is L2-normalized, which sets its overall Euclidean length to one. The same picture can pass through different learned projections when the English and Japanese systems are trained separately.
The speech side starts with 13 mel-frequency cepstral coefficients, or MFCCs, represented over time. These features describe the acoustic signal at successive positions, giving the encoder a sequence to process. A convolutional layer works over the input sequence before it goes through 5 stacked recurrent layers. Each recurrent layer produces an activation at each step and carries information across steps. Stacking the layers lets subsequent stages work with the sequence produced by the preceding stage.
The authors use gated recurrent units, abbreviated GRUs, in place of the recurrent highway units, or RHNs, used by Chrupała and colleagues. A GRU uses gates to control how information is carried forward as it processes a sequence. The stated reason for the substitution was to simplify the architecture, with a view to making the internal representations and eventually the gating behavior easier to investigate. The methodological tradeoff matters when comparing retrieval performance with the earlier system.
The encoder still needs to turn a variable-length sequence into a representation for the complete recording. Attention supplies a way to combine the recurrent activations while allowing some timesteps to contribute more than others. The paper gives the output of an attention stage as a weighted sum.
∑ₜ αₜ hₜ
The index t denotes a timestep, and ∑ₜ adds across the steps for the utterance. The vector hₜ is the recurrent activation at time t. The scalar αₜ is the attention weight for that timestep, and writing αₜ alongside hₜ denotes multiplication of the vector by its weight. The indexed αₜ here belongs to the attention mechanism. The unindexed α in the training objective is the margin.
A timestep with a large weight gets a larger coefficient in the sum. What it contributes still depends on the activation being weighted. Since the recurrent layers carry information through time, a vector at a particular position can reflect material associated with other positions in the recording. The authors can therefore measure where the attention weights are high while keeping a distinction between a point on the timeline and the linguistic content represented by the vector at that point.
The earlier architecture applies attention after the final recurrent layer. The authors add a separate attention stage after the first recurrent layer and describe the speech encoder’s final output as a dot product of the resulting attention vectors. Their description does not spell out the vector-combination operation in enough detail to infer additional implementation choices from that wording. The reported linguistic analyses use the weights after the fifth recurrent layer, which the paper calls GRU5. The earlier attention stage remains part of the encoder used for those experiments.
From paired recordings and pictures to attention analysis
The steps in order.
Preparing comparable speech and linguistic timelines
The authors use MSCOCO captions for English and STAIR captions for Japanese. MSCOCO has 5 written captions for each picture. STAIR follows the same collection approach and supplies 5 captions for the corresponding pictures in Japanese. The Japanese authors of those captions describe the images directly. Hence, the scene can be used as a common reference even when the two sets of captions mention different objects or describe the same object differently.
For English the experiments use Spoken COCO, the speech extension introduced by Chrupała and colleagues. The authors generate synthetic speech for the written STAIR captions using the same data preparation approach. The Japanese speech collection follows the English train, validation, and test partitions. The sizes are 566,435 train captions, 25,000 validation captions, and 25,000 test captions for each corpus. Using the same partitioning makes the two speech–image retrieval tasks comparable at the level of the picture collections available for learning and evaluation.
The primary attention experiment trains a separate system for each language on its training captions for 15 epochs. Both systems solve the same kind of matching problem. Each learns the image projection and speech representation from its own examples. Once the encoders have been trained, the authors process the held-out captions and collect the top attention weights over time. To interpret those weights, they need a second timeline that identifies which words occupy the corresponding stretches of a recording.
They obtain that timeline by forced alignment, a form of linguistic annotation that uses a known transcription to assign time intervals to linguistic units in the audio. They use the Montreal Forced Aligner for English and the Maus Forced Aligner for Japanese. The alignments locate both words and phones, the units of speech sound annotated in the recordings. A word’s interval allows a detected peak to be associated with that word and placed relative to its beginning and end.
The authors also carry out part-of-speech tagging, assigning grammatical categories such as noun, verb, or particle to the aligned material. For English they use TreeTagger, and for Japanese they use KyTea. The systems have different inventories of labels, so the authors map their outputs to Universal POS categories. This helps them describe the category distributions in comparable terms. One consequential mapping assigns Japanese TAIL tags, which mark conjugational material, to the universal verb category. The authors identify that choice as a reason why verbs have a high share in the Japanese corpus distribution.
The distinction between matching and annotation is central to the procedure. Written captions provide material for speech synthesis and allow the authors to locate and label words afterward. The retrieval objective uses whole spoken captions paired with pictures. The linguistic tags are added to interpret the behavior of the trained encoders. When a peak falls on a noun, the noun label comes from this subsequent analysis. It was never a target the speech encoder was asked to predict.
Deciding which moments count as peaks
Each held-out caption produces a sequence of attention weights. The authors identify local maxima using a procedure based on changes between successive values. A local maximum marks a rise and fall in the sequence around a particular position. When an utterance contains multiple such points, the authors retain each peak whose height reaches at least 60% of the tallest peak detected in that utterance. The cutoff therefore varies in absolute height from recording to recording. The comparison is always with the strongest peak in the same caption.
This choice gives the authors a set of prominent positions they can count. A caption can contribute multiple positions to the analysis. The resulting grammatical distribution answers where those peaks occur, and each detected peak contributes as an event. A modest peak that clears the cutoff and the highest peak in the caption are both included in that count. This procedure gives the study a consistent interpretation of a peak across the English and Japanese recordings.
The authors compare the observed positions with a baseline based on the time available to each category. If the expected share of peaks came from counting words, a very short word would have the same chance of being hit as a long word, even though peaks are found on an acoustic timeline. Longer intervals give a random point more opportunities to fall inside them. The paper therefore samples positions in each test utterance and finds the grammatical categories underneath those positions.
50 × p
Here p is the number of detected peaks in the utterance under analysis, × denotes multiplication, and 50 is the multiplier used to determine how many random positions to sample for that utterance. The procedure supplies more random positions for utterances that contribute more detected peaks. The positions themselves are sampled independently of where high weights occur. Mapping them through the same word alignments gives an expected distribution to compare with the distribution of real peaks.
The baseline and the frequently attended word lists serve different purposes. For the frequently attended words, the authors also report how common a word is among training tokens. That can show whether a word that appears frequently under peaks also appears often in the material the system learned from. The time-sampled baseline is the comparison used to judge the amount of attention a grammatical category receives relative to its availability in the held-out audio. The denominators matter when interpreting the reported percentages.
The authors make one more use of the alignments. For every word with a peak, they divide the word’s duration into 4 equal parts and assign the peak to the part that contains its time position. This expresses location relative to the word’s own duration. A point near the end of a long noun and a point near the end of a short particle can thereby count as corresponding positions within their respective words. The resulting distribution describes the timing of detected peaks conditional on the location of the word, whatever its absolute length.
Connecting recordings through an unseen image
The cross-language experiment is carried out with newly trained encoders. The English system is trained on the first half of its training partition and the Japanese system on the second half of its training partition. This arrangement is intended to ensure that the two systems learn from separate material. Neither system has to process bilingual examples while learning how pictures and utterances should be positioned.
The procedure then takes a collection of pivot pictures unseen by either trained system. A pivot is an intermediate item used to compare a source utterance and a target utterance. Each pivot image is encoded twice, once with each language’s image encoder. The two vectors correspond to the same original picture, but each can be compared with a caption in its own retrieval space. The paper defines the path through an individual pivot by adding the distance on each side.
d(uₛᵣ꜀, i) + d(i, uₜ𝓰ₜ)
The symbol uₛᵣ꜀ denotes the encoded source-language utterance and uₜ𝓰ₜ denotes the encoded target-language candidate. The subscripts identify the source and target roles. The symbol i denotes the pivot image, understood through the separate encoding used on each side. The function d returns the distance within the relevant language’s representation space. The + sign adds the recording-to-image distance on the source side and the image-to-recording distance on the target side.
For each candidate caption, the procedure searches the pivot images for the smallest such total. Candidates can then be ranked by how short a connection they admit. A favorable path requires a shared pivot with a small combined cost. The picture that serves well for one candidate may give a less favorable path for another. Searching the collection allows the connection to depend on the content of both descriptions.
Consider one direction of the evaluation. An English caption supplies the query. Each Japanese caption under consideration can be compared with it by going through the image representations. The scorer already knows which Japanese caption was written for the same picture as the English query and checks where that candidate appears in the ranking. Japanese can supply the queries and English the candidates by exchanging their roles. Separate training is compatible with both directions because the procedure uses each language’s learned connection to the same visual items.
Experiments and results
Retrieving pictures from spoken descriptions
The first task establishes the setting in which the attention patterns emerge. The test collection for spoken-caption-to-image retrieval contains 5k images. For every spoken query, the matching picture has a rank among candidates. Recall at 1, 5, and 10 records how frequently the matching image is found within the corresponding number of returned results across queries. Median rank summarizes the middle of the distribution of positions assigned to the matching picture. Higher recall and lower median rank indicate better retrieval.
The paper describes the English and Japanese speech-to-image results as similar. It also reports that the GRU architecture scores below the earlier RHN implementation. For the earlier implementation on the English test data, the paper gives a median rank of 13, and it gives 2500.5 as the chance median rank for the image-retrieval task. These figures describe the earlier system and chance, respectively. The paper’s account characterizes its own results qualitatively in relation to those comparators, so an exact GRU rank cannot be assigned to either language here.
For the attention comparison, the important feature of this evaluation is that both systems perform the same job with comparable retrieval results. Both use test captions paired with scenes from matching partitions. Similar retrieval at the task level leaves room for different attention distributions at the level of words. The retrieval metric folds the complete recording into a single judgment about rank, while the attention experiment examines how the encoder weights portions of that recording before forming its output.
Which categories attract peaks in English
In the English test captions, 82% of detected peaks are on nouns. Randomly selected positions produce a noun share of 47%. The comparison makes a distinction between two reasons nouns might dominate the list. They occupy substantial time in the recordings, and strong peaks land on them more often than that amount of time would predict. The random baseline accounts for the first of those effects, leaving the second as a pattern in the attention mechanism.
Noun share of peaks on the Spoken COCO English test captions
Detected attention peaks fall on nouns more often than random positions do.
The numbers
| System or setting | Noun share of peaks % |
|---|---|
| Random time positions | 47 |
| Detected attention peaks (this paper) | 82 |
Several other categories receive a smaller share of detected peaks than expected from the sampled baseline. Determiners account for 0.6% of detected peaks, compared with 7% at random. Adpositions receive 3%, with an expectation of 8%, and adjectives receive 2.85%, with an expectation of 8%. The authors describe the share of peaks on verbs as half what the baseline predicts. These quantities concern peaks in the English test recordings. They do not measure whether the speech encoder can distinguish those categories or how frequently it would retrieve the right picture if their associated audio were altered.
One illustrated scene gives the category counts an acoustic interpretation. The English caption has detected peaks on the spans for “airport” and “jets.” These are particular moments in the recording associated with recognizable features of the scene. Words between or around them can still contribute to the recurrent representations. What the plotted markers indicate is that these noun spans contain local attention maxima that survive the utterance-level threshold.
The authors also rank individual words by how often peaks fall on them and report their frequencies in the training material. A list at the level of word identity can show more about what the system tends to emphasize in these scenes than a category total alone. A high noun share might otherwise make the observed preferences seem uniform across nouns. The example demonstrates one kind of distinction that the individual-word view makes possible, since it links the peak to a particular place or object named by the caption.
Which categories attract peaks in Japanese
The Japanese distribution combines frequent peaks on nouns with strong enrichment for particles. Nouns receive 47.79% of the test-caption peaks, against 47.42% of sampled positions. The authors observe that nouns remain prominent in absolute terms. The random comparison places that prominence in context. The amount of time occupied by nouns is already enough to make them a common category for positions selected without regard to the attention weights.
Noun share of peaks on the spoken STAIR Japanese test captions
The noun share of detected peaks is close to the share obtained from random positions.
The numbers
| System or setting | Noun share of peaks % |
|---|---|
| Random time positions | 47.42 |
| Detected attention peaks (this paper) | 47.79 |
Particles receive 45.77% of detected Japanese peaks, while random sampling yields 16.9%. Among the ten individual words most often associated with peaks, 6 are particles. The particle GA alone accounts for 17.83% of the Japanese peaks. GA marks the preceding material as the grammatical subject. This gives the authors a linguistic reason to investigate why attention might rise on a short grammatical item that accompanies the name of something in the scene.
Particle share of peaks on the spoken STAIR Japanese test captions
Particles account for a much larger share of detected peaks than of random positions.
The numbers
| System or setting | Particle share of peaks % |
|---|---|
| Random time positions | 16.9 |
| Detected attention peaks (this paper) | 45.77 |
In the Japanese recording paired with the illustrated airport scene, the prominent peaks fall on NI and GA. NI marks location in this caption, while GA marks the subject. The caption describes planes stopped at the airport. The figure puts the English and Japanese peaks alongside their respective word boundaries, making it possible to see that attention can highlight different kinds of material in descriptions of a common scene.
The authors propose that detecting GA may help identify material likely to name what the picture is about. That proposal fits the high share of peaks on the particle and its grammatical role in the caption. The result at the level of observed positions is stronger and narrower. The Japanese system devotes a large share of its peaks to particles relative to how much time particles occupy, and GA is especially common among the words under peaks. The analysis does not assign a particular referent to the recurrent activation at a GA position.
Where peaks fall inside words
The division of word intervals into 4 parts yields another comparison between the languages. English peaks occur mainly in the latter half of the aligned words. The Japanese distribution also shows peaks at word endings and includes peaks at word beginnings. The authors suggest that the beginning of some particles may be enough to elicit a prominent peak. The evidence concerns the positions of detected peaks within intervals established through forced alignment.
The part-of-speech result and the within-word result answer related questions with different reference points. The category distribution asks what kind of word occupies the time under a peak. The timing distribution asks where in a word that time lies. An encoder may emphasize an object word late in its acoustic duration, or it may give a high coefficient to a position early in a particle. Examining both descriptions reveals behavior that would disappear if the study only counted which words received any attention.
The authors connect the English preference for later positions to Slobin’s proposal about the salience of word endings in acquisition. They also relate Japanese particle attention to the infant study on the use of GA in finding word boundaries. These comparisons give the measured distributions linguistic interpretations. The experiments themselves evaluate recorded captions and network weights, using the word intervals to make a parameter of the speech encoder legible at a linguistic scale.
Retrieving speech across languages
For the cross-language evaluation, the authors restrict the task to samples of 1k captions. In the full test collection, a source query has 5 target captions associated with its image. The sampled evaluation instead gives each source query one designated target in the candidate set. The paper averages the results over 10 random samples. The authors choose this arrangement to make the candidate set and matching rule comparable with the English–Hindi experiment of Harwath and colleagues.
A query is successful at a recall cutoff if the designated target caption appears within that many places in the ranking. The paper reports recall at 1, 5, and 10, along with median rank. For chance, it gives recall values of .001 at 1, .005 at 5, and .01 at 10. The chance median rank is 500.5. These are scores for the sampled speech-to-speech task. The different chance rank for picture retrieval belongs to the larger image candidate set and a different type of prediction.
The paper reports encouraging results in both English-to-Japanese and Japanese-to-English retrieval and compares them with the earlier results for English–Hindi and Hindi–English. Its discussion emphasizes that the independently trained systems were never optimized on the bilingual retrieval task. The numerical recall and median-rank values for the learned systems are unspecified in the account accompanying the comparison. The chance scores establish the random reference point, while the reported interpretation supports the feasibility of using pictures to connect the separate speech representations.
The paper also describes examples of top-ranked Japanese captions for English queries. Such examples matter because captions written independently can mention a subset of the same visible details, use different expressions, or focus on different relations within the scene. A caption that shares an image with the query meets the evaluation criterion. A caption with similar meaning but a different associated image can be a plausible candidate and still count as a miss under that criterion. The ranking measures access to the corpus association, which is a tractable version of finding related descriptions across languages.
What the ablations show
The two attention stages and the recurrent units
The closest architectural ablation concerns adding attention after the first recurrent layer. The paper reports that the addition shifts median rank by −3 on the speech-to-image retrieval task. Lower median rank is better, so the reported direction favors the encoder with both attention stages. The statement concerns retrieval performance and gives no language-specific breakdown for the change. The authors analyze the upper attention weights with the additional stage in place, leaving open whether removing it would change which nouns or particles appear under peaks.
That distinction is important for interpreting the architecture. A lower-stage summary and an upper-stage summary can both contribute to the final speech representation as described by the authors. An analysis based on GRU5 describes the timing of one stage in that architecture. The median-rank change can support the usefulness of adding the earlier stage for the retrieval objective without identifying the feature of the speech signal that makes the addition helpful.
The GRU-to-RHN comparison serves a different purpose. The authors report that their GRU architecture performs less well than the earlier RHN implementation and explain why they accepted a simpler recurrent unit. This is a comparison with the previous architecture as reported by the paper. It does not isolate the effect of changing a recurrent unit on the attention distribution. In particular, a performance difference between the two systems is no basis for attributing the noun or particle patterns to a specific gate.
What random positions control for
The random-position comparison is the strongest direct control in the linguistic analysis. If attention peaks simply landed on whatever occupied the soundtrack, long or frequent categories would account for large shares. The baseline reproduces that opportunity structure within each test utterance. In English it shows that high noun frequency in time is insufficient to account for the observed concentration. In Japanese it shows that a similarly prominent noun share in the detected peaks is close to the expectation from exposure.
This is why a superficial ranking of categories obscures a substantive difference between the two results. In both languages nouns are commonly found at local maxima. In English, being a noun is associated with substantially more peaks than expected from the baseline. In Japanese, the marked surplus occurs for particles. The authors interpret the continued prominence of Japanese nouns as compatible with their usefulness, pointing to other categories whose share drops relative to what the baseline would predict. The baseline gives evidence about relative selection of positions. A test of retrieval after removing or modifying noun spans would address a different question.
The random comparison also clarifies what can be said about the English categories with fewer detected peaks. Determiners, for example, may be short, but their expected share already reflects their durations. Their smaller detected share therefore cannot be explained simply by the fact that an equal number of tokens would include brief intervals. The result still belongs to the peak statistic. Weight spread across a determiner or encoded through the state of a neighboring word can matter in ways that are invisible to a count of local maxima.
Holding the sampling rule fixed helps compare the two languages, but each baseline is formed within its own recordings. That choice gives each category a point of reference that reflects the durations and lexical choices of the corresponding corpus. It also prevents the English noun timing distribution from standing in for a Japanese expectation. The two systems can be described with the same measurement rule while retaining the differences in what actually occupies their speech signals.
What the bilingual comparison can separate
The bilingual setup aligns the image collection and the retrieval architecture. It thereby reduces two reasons the systems might exhibit different attention patterns. Both can succeed by attending to information that distinguishes the same kinds of scenes, and both form their speech representations with the same arrangement of processing stages. The comparison can then reveal that high retrieval performance on the same kind of task is compatible with different grammatical locations for peaks.
Other properties of the inputs change along with the language. Caption writers can choose different details. Synthesized pronunciation affects word durations and boundaries. The two annotation pipelines use different aligners and taggers before mapping labels to a common inventory. The systematic Japanese concentration on particles is a finding about those inputs and that annotation procedure. It supports the authors’ interest in language-specific cues while leaving several pathways through which language and corpus design could influence the measured distribution.
The shared scene in the figure illustrates the scope of this control. English peaks on object or place names and Japanese peaks on grammatical particles can coexist even when the pictures are identical. With one image fixed, there is still variation in how the captions describe it and in where their informative spans occur. The figure gives a concrete example of the phenomenon detected in aggregate. It does not trace the contribution of each highlighted span to the final retrieval rank for that scene.
Separate training as a test of what the pivot supplies
Training the cross-language systems on separate halves is a test of whether bilingual training pairs are necessary for this experimental procedure. Each encoder can learn from its own caption–image associations. The requirement reappears at evaluation in a different form. Both encoders must be able to represent the same pivot pictures, and the judged caption pairs are tied to common pictures. The experiment shows what can be done when this visual correspondence is available after separate training.
The comparison with English–Hindi is informative about the kind of retrieval task being attempted. The paper identifies differences in language pair, training arrangement, and speech recordings. The earlier experiment used crowdsourced audio from multiple speakers, whereas English and Japanese are synthesized in the present study. Matching the size and target structure of the candidate sample brings the evaluations closer on those aspects. It leaves open how much any performance difference would be attributable to the pivot procedure, the speech conditions, or the languages.
The attention and cross-language experiments also have different evidential roles. The first associates strong attention weights with annotated locations. The second retrieves complete utterances through image distances. Pivot retrieval can work if the utterance vectors encode enough shared scene information. It does not establish that the largest attention peaks carry that information, since the pivot calculation uses the complete speech representations and contains no operation that matches individual peaks across languages.
Limitations
Limits raised by the authors
The authors emphasize the speech conditions when interpreting the cross-language results. Their captions are synthesized and they describe the setup as using only one voice, while the English–Hindi comparison uses real speech from multiple speakers. They propose validating their approach with real voices in a bilingual dataset. This matters for both retrieval and the placement of attention. The study cannot show from these recordings whether the same categories would draw peaks under the timing and pronunciation variation encountered across speakers.
The authors also identify reasons the data would favor nouns. The scenes contain many objects, which gives caption writers reasons to name them. The VGG representations were trained around object classification, giving the image encoder features selected for recognizing objects. The authors point to both factors in explaining the noun preference. The random baseline accounts for time occupied by nouns, while the visual objective can still reward attending to them because of what the images and features make available.
Their discussion treats cross-language retrieval as preliminary evidence for learning speech connections through visual meaning. They propose future work on a speech-to-speech dictionary that would use attention peaks as possible anchors. The experiment itself ranks whole captions. It contains no evaluation of which Japanese word corresponds to a given English word, and the illustrated peaks on the same scene fall on different grammatical categories. The dictionary proposal would require evidence at the level of smaller speech spans.
Limits visible in the measurement
A large attention weight is a property of how the encoder combines activations. It supplies a coefficient, while the activation supplies the vector being weighted. A position aligned with a particle can carry information about a nearby noun, and a word with no prominent peak can influence a later activation. The reported procedure does not intervene on the recordings or activations to test which spans are necessary for successful retrieval. Peak locations support claims about the distribution of the weights and motivate hypotheses about what the weighted states encode.
The threshold further narrows the interpretation. Counts describe local maxima at or above 60% of the highest peak in each test utterance. A category that typically receives moderate weight over a long interval could receive few peaks. A short span that receives a steep local maximum can contribute to the peak count. The random-position baseline handles the amount of available speech time, while the detection rule determines what kind of attention event is being compared. Results for integrated attention over a word’s whole duration would need their own analysis.
The word-beginning and word-ending findings rely on automatically established boundaries. The alignments supply the intervals, and each peak time is classified by where it falls in that interval. A change in an estimated boundary can move a peak between adjacent words or between regions within a word. The language-specific aligners and taggers make this a plausible source of measurement variation. The paper does not establish how sensitive the distributions are to a different alignment procedure or to a different treatment of material near the boundaries.
Grammatical mapping introduces another choice. Assigning KyTea’s conjugational TAIL material to verbs affects how much speech is counted in the Japanese verb category. Since the same mapped labels are used to classify detected and random positions, the comparison is coherent for that labeling decision. It does not tell readers how the verb results would look under an analysis that classifies conjugational material separately. The noun and particle findings are easiest to interpret when the category names are understood as labels on the authors’ aligned corpus.
The aggregate percentages also leave some variation unresolved. They tell readers what share of all detected or sampled peaks belongs to a category. They do not reveal how the pattern changes across scene types, constructions, or individual captions. For Japanese nouns, 47.79% of peaks and 47.42% of random positions are close. The paper gives no uncertainty estimate for that comparison in its discussion. The responsible conclusion is that nouns are common peak locations and that the measured enrichment is much clearer for particles.
Limits of the linguistic and cross-language claims
The language-acquisition parallels are analogies between measurable properties of the encoder and findings or proposals about humans. The retrieval system processes synthetic adult-written captions, receives paired images, and is optimized by distance-based feedback. The cited work on children addresses which words or cues learners use as they acquire a language. A tendency to weight word endings or GA shows a similarity in where useful cues may lie. It cannot establish that the encoder acquires lexical units through the same process as a child or that the same evidence brought about the preference.
The suggestion about GA also needs to be read at the right level. GA marks grammatical subject material, which can plausibly help connect a description with a prominent entity in these scenes. The grammatical subject and the visually dominant object are defined by different criteria. The study does not evaluate their correspondence across captions or test whether a peak on GA directs the encoder to a particular preceding word. The interpretation remains an account of how the cue might be useful, grounded in its grammatical function and its frequent appearance beneath peaks.
The shared image criterion bounds the cross-language result. The evaluation asks whether a known caption associated with the same picture can be ranked highly in a sampled collection. It gives no direct measure of translation fidelity, preservation of all query details, or the ability to generate a target utterance. Conversely, a high-ranked description of a similar picture may share considerable meaning with the query while falling outside the designated match. Independent caption writing makes the task valuable for testing visual correspondence and limits how precisely it can establish sentence-level equivalence.
Finally, the finding about separate training depends on the availability of shared visual pivots at evaluation. The image vectors can differ across the languages because the same picture supplies the correspondence used by the search. The experiment provides evidence for linking the speech representations with these anchors. It does not show that direct distances between English and Japanese speech vectors would have a comparable interpretation. It also leaves open performance with the full target collection, where several captions can be associated with the query image and many more candidates compete for a high rank.
What came after
Learning English with Peppa Pig (2022) cites the study and takes learning English with Peppa Pig as its subject. That citation identifies a later connection to the question of what learners can recover about spoken language when it is associated with perceptual context. The citation establishes the connection, but on its own does not establish that the later work adopted the noun and particle analysis, the peak-detection procedure, or image-pivot retrieval.
The English–Japanese experiment supplies a concrete set of comparisons for that broader research question. It associates speech with independently described pictures, measures which linguistic categories receive strong attention relative to their duration in the recordings, and tests how far shared visual information can connect whole utterances. Its clearest language comparison is the difference between where peaks commonly occur and where they are especially concentrated. English nouns satisfy both descriptions, while Japanese nouns occupy many peak positions and Japanese particles show the clearer concentration relative to chance.
Cite
Cite as William N. Havard, Jean-Pierre Chevrot and Laurent Besacier. 2019. Models of Visually Grounded Speech Signal Pay Attention To Nouns: a Bilingual Experiment on English and Japanese. arXiv:1902.03052.
@misc{havard2019models,
title = {{Models of Visually Grounded Speech Signal Pay Attention To Nouns: a Bilingual Experiment on English and Japanese}},
author = {William N. Havard, Jean-Pierre Chevrot and Laurent Besacier},
year = {2019},
eprint = {1902.03052},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1902.03052}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/havard-2019-models-visually-grounded-speech-signal/
References
- Peter Young, Alice Lai, Micah Hodosh, and Julia Hockenmaier, “From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions,” Transactions of the Association for Computational Linguistics, vol. 2, pp. 67–78, 2014. OpenAlex ↗ · Scholar ↗
- Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick, “Microsoft coco: Common objects in context,” in Computer Vision – ECCV 2014, David Fleet, Tomas Pajdla, Bernt Schiele, and Tinne Tuytelaars, Eds., Cham, 2014, pp. 740–755, Springer International Publishing. our card
- D. Harwath and J. Glass, “Deep multimodal semantic embeddings for speech and images,” in IEEE Automatic Speech Recognition and Understanding Workshop, Scottsdale, Arizona, USA, December 2015, pp. 237–244. OpenAlex ↗ · Scholar ↗
- Grzegorz Chrupała, Lieke Gelderloos, and Afra Alishahi, “Representations of language in a model of visually grounded speech signal,” in Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2017, pp. 613–622, Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- William Havard, Laurent Besacier, and Olivier Rosec, “Speech-coco: 600k visually grounded spoken captions aligned to mscoco data set,” in Proc. GLU 2017 International Workshop on Grounding Language Understanding, 2017, pp. 42–46. OpenAlex ↗ · Scholar ↗
- Yuya Yoshikawa, Yutaro Shigeto, and Akikazu Takeuchi, “Stair captions: Constructing a large-scale japanese image caption dataset,” in Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers). 2017, pp. 417–421, Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Afra Alishahi, Marie Barking, and Grzegorz Chrupała, “Encoding of phonology in a recurrent neural model of grounded speech,” in Proceedings of the 21st Conference on Computational Natural Language Learning (CoNLL 2017). 2017, pp. 368–378, Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- David Harwath, Galen Chuang, and James R. Glass, “Vision as an interlingua: Learning multilingual semantic embeddings of untranscribed speech,” in 2018 IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2018, Calgary, AB, Canada, April 15-20, 2018, 2018, pp. 4969–4973. OpenAlex ↗ · Scholar ↗
- David Harwath, Adrià Recasens, Dídac Surís, Galen Chuang, Antonio Torralba, and James Glass, “Jointly discovering visual objects and spoken words from raw sensory input,” in Computer Vision – ECCV 2018, Vittorio Ferrari, Martial Hebert, Cristian Sminchisescu, and Yair Weiss, Eds., Cham, 2018, pp. 659–677, Springer International Publishing. OpenAlex ↗ · Scholar ↗
- Spandana Gella, Rico Sennrich, Frank Keller, and Mirella Lapata, “Image pivoting for learning multilingual multimodal representations,” in Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing. 2017, pp. 2839–2845, Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ákos Kádár, Grzegorz Chrupała, and Afra Alishahi, “Representation of linguistic form and function in recurrent neural networks,” Comput. Linguist., vol. 43, no. 4, pp. 761–780, Dec. 2017. our card
- David Harwath and James Glass, “Learning word-like units from joint audio-visual analysis,” in Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2017, pp. 506–517, Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Herman Kamper, Shane Settle, Gregory Shakhnarovich, and Karen Livescu, “Visually grounded learning of keyword prediction from untranscribed speech,” in INTERSPEECH, 2017. OpenAlex ↗ · Scholar ↗
- David F. Harwath, Antonio Torralba, and James R. Glass, “Unsupervised learning of spoken language with visual context,” in Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016, December 5-10, 2016, Barcelona, Spain, 2016, pp. 1858–1866. OpenAlex ↗ · Scholar ↗
- Emmanuel Dupoux, “Cognitive science in the era of artificial intelligence: A roadmap for reverse-engineering the infant language-learner,” Cognition, vol. 173, pp. 43 – 59, 2018. OpenAlex ↗ · Scholar ↗
- Eleanor Jack Gibson, Principles of perceptual learning and development, The century psychology series. Prentice-Hall, 1969. OpenAlex ↗ · Scholar ↗
- K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” in Proceedings of ICLR 2015, 2015, pp. 1–14. our card
- Michael McAuliffe, Michaela Socolof, Sarah Mihuc, Michael Wagner, and Morgan Sonderegger, “Montreal forced aligner: Trainable text-speech alignment using kaldi,” in INTERSPEECH, 2017. OpenAlex ↗ · Scholar ↗
- Thomas Kisler, Uwe Reichel, and Florian Schiel, “Multilingual processing of speech via web services,” Computer Speech & Language, vol. 45, pp. 326 – 347, 2017. OpenAlex ↗ · Scholar ↗
- Helmut Schmid, “Probabilistic part-of-speech tagging using decision trees,” in New Methods in Language Processing, Daniel Jones and Harold Somers, Eds., Studies in Computational Linguistics, pp. 154–164. UCL Press, London, GB, 1997. OpenAlex ↗ · Scholar ↗
- Graham Neubig, Yosuke Nakata, and Shinsuke Mori, “Pointwise prediction for robust, adaptable japanese morphological analysis,” in Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies. 2011, pp. 529–533, Association for Computational Linguistics. our card
- Slav Petrov, Dipanjan Das, and Ryan McDonald, “A universal part-of-speech tagset,” in Proceedings of the Eight International Conference on Language Resources and Evaluation (LREC'12), Nicoletta Calzolari (Conference Chair), Khalid Choukri, Thierry Declerck, Mehmet Uğur Doğan, Bente Maegaard, Joseph Mariani, Asuncion Moreno, Jan Odijk, and Stelios Piperidis, Eds., Istanbul, Turkey, may 2012, European Language Resources Association (ELRA). our card
- Dedre Gentner, “Why nouns are learned before verbs: Linguistic relativity versus natural partitioning,” Language, vol. 2, pp. 301–334, 1982. OpenAlex ↗ · Scholar ↗
- Etsuko Haryu and Sachiyo Kajikawa, “Use of bound morphemes (noun particles) in word segmentation by japanese-learning infants,” Journal of Memory and Language, vol. 88, no. C, pp. 18–27, 2016. OpenAlex ↗ · Scholar ↗
- C.A. Ferguson and D.I. Slobin, Studies of child language development, New York : Holt, Rinehart and Winston, 1973. OpenAlex ↗ · Scholar ↗