Word Translation Without Parallel Data
Paper · 2018 · Alexis Conneau, Guillaume Lample, M. Ranzato et al.
Summary
Can a computer compile a bilingual dictionary from two collections of text that were never translated from one another? The authors start with word embeddings, vectors learned from patterns of word use. Words that occur in similar surroundings tend to have similar vectors. The coordinates are learned separately for each language, so a word and its translation need not start anywhere near each other. The opportunity is that the relationships among words may form sufficiently similar patterns for a single transformation to bring the spaces into alignment.
The first stage learns that transformation by giving two components competing jobs. A classifier tries to distinguish transformed source vectors from target vectors. The transformation changes the source vectors so their origin becomes harder to recognize. Once the spaces roughly agree, the authors look for frequent words that rank each other first across languages. They use those provisional pairs to fit a more precise transformation with orthogonal Procrustes, a method that fits paired points while preserving distances within the source space. They also introduce cross-domain similarity local scaling, or CSLS. It adjusts translation rankings for local crowding so that a target word that lies close to many source words has less of an automatic advantage. A separate score lets the authors select an alignment without consulting a bilingual development dictionary.
On the English–Italian word-retrieval benchmark with 200k target candidates, the unsupervised procedure reaches 66.2% accuracy. The strongest earlier supervised result in that comparison is 63.7%. The authors also recover useful correspondences for English–Russian and English–Chinese, where identical spellings offer little basis for the kind of initialization used in earlier work. Two further tests ask whether translated sentences can be retrieved from a collection and whether the similarity of words across languages agrees with human judgments. The input data matter throughout. In the English–Italian comparison, the authors attribute much of the improvement associated with changing the starting vectors to the corpus on which those vectors were trained.
English–Esperanto illustrates what the method can offer low-resource languages when translated material is scarce and usable monolingual vectors are available. An induced dictionary can be used to substitute words in sentences, and some of the resulting sentences convey much of the intended meaning in spite of individual mistranslations. The evidence for machine translation comes from that limited substitution experiment. The strongest evidence in the paper concerns word retrieval under the tested conditions, where separately learned vectors contain enough common structure to support a dictionary without bilingual supervision during fitting or selection.
Deep dive: Word Translation Without Parallel Data
Word Translation Without Parallel Data explains how to align word vectors from separate corpora and use them to build and test a bilingual dictionary. · about 37 minutes to read
The problem and its context
What a collection of text can tell us about a word
The paper starts with a principle from distributional semantics. A word’s surroundings provide evidence about how it is used. If two words recur in many of the same kinds of contexts, a representation trained on those contexts has reason to place them close together. With enough text, a vocabulary acquires an internal arrangement. Some points cluster together, some stand far apart, and some occupy comparable positions relative to other words. The representation condenses observations from many occurrences of each word into a single vector.
One way to understand these vectors is to imagine a large array of words and contexts. Its entries record some measure of association between a word and a particular context. The paper cites an analysis of skip-gram with negative sampling that relates it to factorizing such an array, with entries tied to pointwise mutual information. That measure concerns how strongly a word and its context are associated given how common each is. The point for translation is that patterns of co-occurrence leave traces in the geometry. Different embedding procedures can derive useful vectors from those patterns. The paper situates this work alongside methods such as GloVe and Distributed Representations of Words and Phrases.
Two separately trained vocabularies come with their own coordinate systems. Reading off the same coordinate in each tells us little about whether the words agree in meaning. Yet a collection of words may have a similar arrangement in both spaces. Suppose a set of related terms forms a compact group in one language and the corresponding terms also form a group in another. The groups can lie in different directions from their respective origins while retaining a recognizable internal structure. If that resemblance extends across enough of the vocabulary, a transformation fitted in one region can also improve correspondence elsewhere.
The authors trace this geometric observation to Exploiting Similarities among Languages for Machine Translation, which reported similarities even for English and Vietnamese. That work supplied five thousand translated word pairs to establish where the source points should go. A linear transformation learned from the pairs could then be applied to other words. The influence of each coordinate on the result was shared across the vocabulary. A supplied dictionary, in this formulation, provides examples from which to learn an operation that can generalize beyond its entries.
How earlier approaches found their first correspondences
The paper distinguishes work that starts from bilingual lexical entries from work that obtains cross-language information from aligned text. Either kind of input helps identify which observations belong together. An aligned corpus provides a link at the level of a text unit. A parallel vocabulary provides explicit word pairs that can serve as examples for fitting a mapping. Earlier improvements to the geometry of these mappings still commonly relied on such pairs. One important development was the finding that an orthogonal transformation, which preserves the original space’s inner products and distances, can improve retrieval. The earlier result is described in Normalized Word Embedding and Orthogonal Transform.
Research on extracting dictionaries from separate corpora predates continuous vectors. The authors describe early methods that represented words with discrete features, including TF-IDF, which gives a term weight in relation to its frequency and how widely it occurs. This work compared statistical patterns to propose equivalences. The paper discusses a line of studies that obtained dictionaries of a few hundred words and used a seed lexicon to begin. Written similarity, measured for example by the editing needed to turn one form into another, could help construct the seed. The authors also place the task beside statistical decipherment, where translation is treated as recovering the correspondence behind a text regarded as a cipher. These approaches gave different roles to the same basic source of evidence, the regularities observable within each language. An IR Approach for Translating New Words and Automatic Identification of Word Translations are among the earlier studies the paper discusses.
Other work reduced the need to collect a seed by taking advantage of particular written forms. Smith and colleagues used strings that occur in both vocabularies. Artetxe and colleagues began with matching numerals and expanded the dictionary through successive fits. These are ways of obtaining bilingual anchors cheaply. They still depend on the availability of recognizable correspondences before fitting starts. Numerals illustrate how preprocessing can decide whether a method is usable. The authors report that digits had been excluded from the data behind their fastText vectors, leaving the numeral-based method without the starting entries it needed. A procedure that can align vectors without comparing character strings removes that dependence. Offline Bilingual Word Vectors and Learning Bilingual Word Embeddings with (Almost) No Bilingual Data.
The paper also describes preceding efforts to learn without a seed. Some tried to match distributions directly, and some used adversarial training. The authors characterize those earlier results as weaker than the supervised results they sought to match. The question they take up is therefore empirical. Useful structure within each language and an objective that can be calculated without a dictionary are both plausible starting points. The procedure still has to find an alignment good enough to recover individual translations in a large vocabulary.
Why looking up a translation is a separate problem
A mapping provides a position at which to begin a search. The decision about what to return depends on a ranking rule. Earlier work had observed that some vectors appear surprisingly often among the closest candidates for queries from another space. The paper calls these vectors hubs. Some points exhibit the reverse behavior and attract few or no queries. For dictionary induction, the imbalance matters because a frequent winner in a geometric search can be a wrong answer for many different words.
The paper traces earlier remedies to two types of comparison. A reverse-rank approach checks how a candidate ranks the original query. Inverted softmax gives weight to the likelihood of returning to the source word from the candidate. Both direct attention to the neighborhood around a proposed answer. The paper’s own approach asks how close a pair is in relation to the usual cross-language proximity around each endpoint. That makes retrieval a question about local geometry as well as the position of a mapped vector. Offline Bilingual Word Vectors.
The method, step by step
Imagine the source and target vocabularies as clouds of points. The paper’s illustration uses English and Italian and gives more frequent words larger marks. In the first stage, the authors move the source cloud so its overall shape overlaps more closely with the target cloud. The overlap is approximate. Some points, especially among frequent words, then lie near plausible partners. The next stage treats selected pairs as anchors and fits a transformation to bring their endpoints together. The final search uses a score that takes account of how crowded each endpoint’s surroundings are. The score also helps select the anchors and monitor the initial training.
From monolingual vectors to a bilingual dictionary
The steps in order.
Prepare the two vocabularies
The main experiments start from fastText vectors trained independently on each language’s Wikipedia corpus. The words are lower-cased, and forms occurring fewer than 5 times are excluded during monolingual training. The experimental vocabulary is then restricted to the 200k most frequent words. Each vector has 300 coordinates. The transformation therefore has size 300 × 300 and returns a vector with the same number of coordinates as its input. The monolingual construction can make use of sub-word information. The bilingual alignment takes the resulting vectors as input and requires no comparison of spellings across the languages. Enriching Word Vectors with Subword Information.
A linear transformation multiplies every source vector by the same matrix. The image of any point is thus tied to the images of all the other points through the shared coefficients. This matters for vocabulary coverage. The authors can estimate the transformation using a subset of the words and still place an unpaired word in the target space. The location of that word will depend both on the fitted matrix and on how well its starting vector represents its usage.
Specify the fit that known translations would make possible
The paper explains the supervised problem before introducing the way it obtains pairs automatically. Imagine a dictionary whose entries have been arranged in column order. Each source vector appears in the same column as the vector of its translation. A matrix can be chosen to minimize the collective mismatch across those columns.
W⋆ = argmin_{W ∈ M_d(ℝ)} ‖WX − Y‖_F
Here W is a candidate transformation, W⋆ is a minimizing transformation, and argmin selects a matrix giving the smallest discrepancy. The symbol ℝ denotes the real numbers. M_d(ℝ) is the set of real square matrices of size d × d, with d the dimension of a word vector. X is the matrix of source columns and Y the matrix of paired target columns. If the dictionary contains n pairs, both have size d × n. WX contains the transformed source columns. The minus sign takes their elementwise differences from Y. The Frobenius norm ‖·‖_F summarizes the resulting residual as the square root of the sum of squared entries.
The column pairing is what makes this a supervised objective. Placing arbitrary source and target words in the same columns would impose arbitrary correspondences. With a reliable dictionary, each column contributes a request to send a particular point toward a particular destination. A global fit balances those requests. A large residual on some pairs can remain even for the optimal matrix, since the same transformation must account for all pairs at once.
Once a transformation exists, the usual cosine rule can return a translation:
t = argmax_t cos(Wx_s, y_t)
Here s identifies a source word and x_s is its vector. W maps that vector, giving Wx_s. The index t ranges over target words, and y_t is the vector of the candidate with index t. The comma separates the two inputs to cos, the cosine similarity between their directions. The argmax chooses a candidate with the largest score, and t on the left denotes the chosen target.
Cosine compares directions after accounting for the lengths of the vectors. In a raw nearest-neighbor search, each candidate is scored using only its relation to the query. A high cosine may be very distinctive for one candidate and routine for another. The paper retains cosine as a basic geometric quantity while using additional information to make the retrieval decision.
Give the transformation a way to learn without paired words
At the beginning of unsupervised training, the inputs consist of source and target collections. There is no paired column order. For every sampled vector, there is still a readily available label, its language of origin. When the authors apply W to a source vector, that vector retains the source label. A discriminator, which is a classifier trained to predict origin, receives both transformed source vectors and original target vectors. Its objective is to assign high probabilities to their true origins.
ℒ_D(θ_D | W) = −(1/n) Σ_{i=1}^{n} log P_{θ_D}(source = 1 | Wx_i) − (1/m) Σ_{i=1}^{m} log P_{θ_D}(source = 0 | y_i)
The function ℒ_D is the discriminator’s loss. The subscript D refers to the discriminator, θ_D denotes its adjustable parameters, and the bar before W indicates that the mapping is held fixed when minimizing this loss. The source collection has n vectors x_i and the target collection has m vectors y_i. The index i runs separately through each collection. The sums, denoted by Σ, average contributions within each collection with factors 1/n and 1/m. P_{θ_D} denotes a probability predicted by the discriminator conditional on the vector following the bar. The binary label source takes value 1 for transformed source vectors and 0 for target vectors. The function log takes the logarithm. The negative signs turn low assigned probabilities for correct labels into large penalties.
Nothing in this classification task asks whether x_i translates as y_i. The indices count examples separately in their respective vocabularies, and the collections can have different sizes. A useful signal for the classifier might be some part of the vector space where the source language has many points and the target language has relatively few. The mapping is trained in the opposite direction, to make the origin predictions harder. That gives it a reason to move the source cloud away from arrangements that remain conspicuous to the classifier.
ℒ_W(W | θ_D) = −(1/n) Σ_{i=1}^{n} log P_{θ_D}(source = 0 | Wx_i) − (1/m) Σ_{i=1}^{m} log P_{θ_D}(source = 1 | y_i)
The function ℒ_W is the loss used to update the mapping W. The parameters θ_D are held fixed for this update, as indicated by the bar. In the first sum, the n source examples x_i are mapped by W and receive the target label 0 for the purpose of evaluating the loss. In the second sum, the m vectors y_i from the target collection receive the source label 1. The index i runs over the indicated examples in each sum. P_{θ_D} is again the discriminator’s probability for the label left of the conditioning bar given the vector to its right. The logarithms and negative signs penalize small probabilities for the labels used in the objective. The terms involving y_i are constant with respect to W. The mapping gradient comes from moving the transformed source vectors so the fixed discriminator assigns them higher target probabilities.
Training alternates stochastic gradient updates. An update to the classifier improves origin recognition on sampled vectors, and an update to W pushes the transformed vectors toward arrangements the classifier is more likely to call target. Each update uses a batch of sampled examples to estimate the direction of change. Through this competition, W acquires an initial placement for the source space. Individual translation identity is absent from the loss, so the usefulness of the placement for dictionary building is something the subsequent steps have to establish. The authors follow the alternating training procedure associated with Generative Adversarial Nets.
Choose which vectors guide the discriminator
The discriminator draws its inputs from the 50,000 most frequent words. It samples those words uniformly. This choice reflects the authors’ observation that rare vectors made results slightly worse when included among the discriminator’s inputs. They explain that rare words have fewer opportunities to shape their vectors during monolingual training and that the contexts seen for them may vary more across the source and target corpora. A classifier can respond to such differences. If those cues mostly reflect unreliable positions, the pressure they exert on the source transformation can be unhelpful for finding translations.
Frequency enters here as an eligibility rule. A vector within the frequent subset is sampled without further weighting by how frequently the word appears in the corpus. Training the mapping on these inputs still leaves the resulting matrix applicable to the larger retrieval vocabulary. The distinction matters because requiring every word to contribute good training evidence would make it harder to use the transformation for words whose vectors were less reliably estimated.
The discriminator is a multilayer perceptron, a classifier that makes its prediction through successive transformations of the input. It has two hidden layers, each of size 2048, with Leaky-ReLU activations. The input is subjected to dropout at rate 0.1, introducing noise by withholding some input components during training. The discriminator also uses prediction smoothing with coefficient s=0.2. Smoothing softens the binary targets used in training. The paper gives the unsmoothed objectives to explain the two roles.
Training each of the two parts uses stochastic gradient descent with batches of 32 and a learning rate of 0.1 and decay of 0.95. The learning rate controls how far an update moves the current parameters in the estimated direction. A fall in the unsupervised validation score leads the authors to divide the learning rate by 2, allowing smaller updates. Measuring progress therefore affects the subsequent path of training as well as which state is eventually selected.
Keep the source geometry close to its original shape
The authors favor transformations close to orthogonal. An exactly orthogonal square matrix preserves inner products and Euclidean distances. Consider two source vectors whose relative directions encode something useful within the source language. Applying an orthogonal matrix to both moves them into a new coordinate system while preserving that relation. It also preserves the distances among source vectors whose correspondences were absent from the batches or the dictionary. The authors report that imposing this geometric preference made their training more stable.
During adversarial training they apply a correction to W alongside the gradient updates:
W ← (1 + β)W − β(WWᵀ)W
W is the current transformation on the right and its replacement on the left. The arrow indicates assignment. The superscript ᵀ denotes matrix transpose, so WWᵀ multiplies the matrix by its transpose. The coefficient β sets the strength of the correction, and the authors report that β=0.01 usually works well. The number 1 is the unit coefficient in the first factor. For an already orthogonal W, multiplication by WWᵀ leaves W unchanged, and the extra contribution in the first term cancels the subtraction. The authors report that the eigenvalue moduli in their trained matrices are close to 1. The role of this update is to keep the adversarial fit near the orthogonal set. The subsequent fit to paired examples imposes orthogonality directly.
Score proximity against the local neighborhoods
Suppose several different source queries all retrieve the same target under ordinary cosine search. Even an acceptable translation for one of those queries can be a poor answer for the rest. The question CSLS asks is whether the pair is unusually close given the proximity that each endpoint tends to have to its best candidates. This changes the rank of a candidate that enjoys high similarities over a broad neighborhood.
The authors define neighborhoods across languages. A transformed source vector is connected to its closest target vectors. Each target vector has its own collection of closest transformed source vectors. Close here means close by cosine similarity. A neighborhood relation in either direction can exist without the corresponding relation in the reverse direction. CSLS summarizes both sets of relations through their average similarities.
r_T(Wx_s) = (1/K) Σ_{y_t ∈ 𝒩_T(Wx_s)} cos(Wx_s, y_t)
The quantity r_T(Wx_s) is the average similarity to the target neighborhood of source word s after applying W to its vector x_s. The subscript T identifies the target side. K is the number of neighbors. The notation 𝒩_T(Wx_s) denotes the set of the K closest target vectors to Wx_s. The index t identifies a target word with vector y_t. The symbol ∈ restricts the sum Σ to vectors in that neighborhood. The factor 1/K converts the sum into a mean, and cos is the cosine similarity between the two indicated vectors.
The paper defines the reverse quantity in the same way. For a target vector y_t, r_S(y_t) averages its cosine similarity to the K mapped source vectors in its source neighborhood 𝒩_S(y_t). The subscript S identifies the source side. The nearest-neighbor searches are performed over the vectors to be compared across languages. The authors use the implementation described in Billion-Scale Similarity Search with GPUs to compute these neighborhood quantities efficiently.
CSLS(Wx_s, y_t) = 2 cos(Wx_s, y_t) − r_T(Wx_s) − r_S(y_t)
CSLS is the adjusted similarity of source vector x_s, after multiplication by W, to target vector y_t. The coefficient 2 weights the pair’s cosine similarity. The term r_T is the mean similarity from that mapped source to its nearest targets, and r_S is the mean similarity from the candidate target to its nearest mapped sources. The minus signs subtract both local averages. A pair gains rank when its cosine is strong relative to the neighborhood terms, while candidates with unusually high averages across their neighbors face larger deductions.
For a given source query, its target-neighborhood average is the same for every candidate. The deduction that distinguishes candidates in that search is the source-neighborhood average of each target. When searching in reverse, the target’s own average is fixed, and the mapped source candidates differ in the deductions for their target neighborhoods. The two deductions allow a single pair score to be used in both directions. A pair can still have numerous close competitors, and its best rank must be checked at both ends if it is to become an anchor.
The authors relate the construction to earlier local scaling methods that adapt similarity to neighborhood density. Their formulation uses a graph with source points on one side and target points on the other. Each neighborhood edge crosses that division. Thus the averages reflect the geometry the search will encounter when proposing translations. The neighborhood size used throughout their experiments is K=10.
Select a training state without a bilingual development set
The discriminator helps the mapping change, but its ability to identify a vector’s origin gives only indirect evidence about the quality of the dictionary. The authors instead monitor the words that the current mapping would retrieve. They take the 10k most frequent source words and choose a target for each with CSLS. Once the pairs have been selected, they compute the mean of their cosine similarities. The membership of those pairs can change as W changes, so the score reflects both which targets are retrieved and how closely the resulting pairs point in the same direction.
The procedure uses CSLS for selection and cosine for measurement. The density adjustment helps keep broad attractors from dominating the candidate choices. Direct cosine then summarizes the closeness of the retrieved pairs. The score requires no judgment of whether an individual answer is semantically correct. The authors use it to decide when to stop, to choose hyper-parameters, and to trigger the reduction in learning rate when the score declines. In their experiments it provides a better guide to task performance than the distribution distances they tried. Bilingual evaluation is separate from these decisions.
Use reciprocal pairs to fit the final transformation
To build the dictionary for refinement, the authors limit the search to frequent words and require a stronger condition than winning a forward lookup. A source word must rank a target first by CSLS, and that target must rank the same source first in the reverse search. If a target word is proposed for multiple source queries, only a pair that also wins from the target side can qualify. Reciprocity turns a large set of one-directional predictions into a smaller anchor dictionary. The authors find that the surviving pairs are more accurate and yield a better transformation.
The synthetic pairs can now occupy matching columns of X and Y. The authors solve the orthogonal version of the earlier fitting problem, known as orthogonal Procrustes:
W⋆ = argmin_{W ∈ O_d(ℝ)} ‖WX − Y‖_F = UVᵀ
W varies over candidate matrices, and W⋆ is the minimizing transformation. The set O_d(ℝ) comprises real orthogonal matrices with d rows and d columns, with d again denoting vector dimension. The matrices X and Y contain source and target vectors in paired column order. WX is the transformed source matrix, and ‖WX − Y‖_F is the Frobenius norm of its residual from the target matrix. The notation argmin selects a minimizer. U and V are the orthogonal factors from a decomposition of the paired cross-product, with ᵀ indicating transpose. The product UVᵀ gives the fitted mapping.
UΣVᵀ = SVD(YXᵀ)
SVD denotes singular value decomposition. Y contains the chosen target vectors, and Xᵀ transposes the matrix of their matched source vectors. The product YXᵀ aggregates the paired information from the dictionary. The columns of U and V give the left and right singular directions of that product. In this formula Σ is the diagonal matrix of singular values. The superscript ᵀ on V gives its transpose. The Procrustes solution uses U and Vᵀ to connect the directions of the paired spaces while preserving the source geometry.
The fit uses the correspondence proposed by the adversarial stage, then estimates W directly from those pairs. The paper’s illustration likens the objective to springs connecting matched points. A transformation that brings many anchors closer reduces their combined residual, subject to the shared constraint on how the entire source cloud may move. Once fitted, the matrix can transform all the source vectors available for lookup. A further round could retrieve a fresh set of mutual pairs and solve the same problem again. The authors examine the returns from doing so. Their code, learned embeddings and dictionaries were released under the name MUSE.
Experiments and results
Three ways to evaluate the alignment
The main task is dictionary retrieval. A source word is a query, and the method ranks a large set of target words. Each language pair uses 1,500 source queries and a target vocabulary of 200k words. A query counts as successful at cutoff k if an accepted translation occurs among the first k candidates. The authors report precision at k for k=1,5,10. Here the reported quantity is the fraction of queries with a hit within the cutoff. Allowing several accepted answers for a word matters because a word may support several translations according to its sense or use.
The authors construct dictionaries containing up to 100k word pairs with an internal translation tool. Their motivation is that resources generated by automatic translation can omit alternate senses, while resources extracted from phrase tables can be noisy or reflect small parallel corpora. They also use an earlier English–Italian dictionary to compare with published results under a common benchmark. The evaluation dictionaries make it possible to check lexical correctness after training. A supplied dictionary also defines a distinct supervised comparison.
That baseline uses an orthogonal Procrustes fit from a dictionary of 5,000 source words. The same type of fit can be combined with different ways to rank answers. Plain nearest neighbors use cosine similarity. Inverted softmax addresses the tendency of certain words to dominate retrieval, and CSLS uses the neighborhood averages described above. The experiments also compare the adversarial mapping before refinement with the complete unsupervised procedure. These variants make it possible to ask whether a gain follows from the initial orientation, the fit to induced pairs, or the way candidates are ranked.
The cross-language word comparison asks how well cosines between aligned vectors agree with human judgments of semantic similarity. The dataset comes from SemEval 2017 and consists of manually scored nominal pairs. Pearson correlation measures agreement between the continuous human scores and the similarities assigned by the vectors. A good result on this benchmark requires the representation to capture degrees of similarity even for pairs that would have little reason to occur as direct translations in a dictionary. The paper uses this task alongside retrieval as evidence about the quality of the shared word space.
Sentence retrieval tests whether the space is useful when information is combined across words. Each sentence is represented by an average of its word vectors weighted by inverse document frequency. Common words have less influence under that weighting, and words specific to fewer sentences have more. The weights come from 300k other Europarl sentences. Each evaluated direction uses 2,000 Europarl source queries and 200k target sentences. The ranked answers are existing sentences, and success at each reported cutoff means finding the known translated sentence within that part of the ranking.
English–Italian on the established word benchmark
The headline comparison uses English source queries and an Italian target vocabulary of 200k words. The authors report the following word-retrieval accuracies.
English–Italian benchmark word retrieval accuracy with 200k target words
The refined unsupervised procedure exceeds the strongest earlier supervised result in this comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| Strongest earlier supervised result | 63.7 |
| Unsupervised alignment and refinement (this paper) | 66.2 |
This result concerns the full pipeline and the vectors it starts from. The paper separately reports 44.9% English–Italian word-translation accuracy for supervised Procrustes with CSLS in its comparison with earlier methods on the established benchmark. The experiments discussed around that comparison include the previously used CBOW vectors from WaCky and the change to Wikipedia-trained inputs. The authors attribute a substantial part of the gain associated with this change to the corpus. Comparing the headline figures therefore establishes that the unsupervised pipeline is competitive on the benchmark. A comparison in which only supervision changes is supplied more directly by the paper’s own supervised and unsupervised variants.
From an approximate mapping to a competitive dictionary
Before refinement, adversarial initialization with CSLS reaches 79.7% P@1 for Spanish–English and 77.8% P@1 for English–French on the authors’ word-retrieval evaluation. The paper reports these scores as 3.2% and 3.3% below the corresponding supervised approach. A first-stage system can therefore provide considerable lexical coverage despite having learned from language origin alone. Its errors are still consequential if every prediction is treated as a training pair. The method uses a subset picked for stronger evidence.
After the Procrustes fit to inferred anchors, the unsupervised procedure exceeds the authors’ supervised baseline in English–Italian and English–Spanish word retrieval. The conclusion reports 83.3% for Spanish–English word translation. The stronger performance against the paper’s own baseline occurs in particular directions. The authors suggest that similar co-occurrence patterns help the inferred pairs and that the synthetic dictionary can draw on more anchors than the fixed supervised vocabulary of 5,000 unique source words. A larger set of useful geometric constraints is one possible reason for a better fit.
The experiments also give useful word-retrieval results for English–Russian and English–Chinese. Those pairs are particularly informative about the initialization because the earlier strategy of looking for identical written forms gives little of the intended leverage across these writing systems. Both the discriminator inputs and the candidate comparisons represent words by vectors. They therefore allow testing alignment in those directions on the same general basis as elsewhere, while leaving the measured quality free to vary with the language pair and its training data.
Finding a translation already present in a sentence collection
In Italian–English Europarl retrieval, the paper reports a large gain from changing the similarity rule attached to its supervised Procrustes fit. This comparison uses the weighted word averages for representing sentences. The system ranks available English sentence vectors for a query in Italian.
Italian–English Europarl sentence retrieval accuracy with supervised Procrustes
Local scaling improves the ranking of translated sentences under the same fitted mapping.
The numbers
| System or setting | accuracy % |
|---|---|
| Procrustes with ordinary nearest neighbors | 53.5 |
| Procrustes with CSLS (this paper) | 69.5 |
Because the mapping is held fixed here, the result isolates the difference made by the retrieval score in that setup. It is possible for the correct sentence to have a reasonably close representation under both rules, yet to rise above a crowded group of competitors only with local scaling. The paper also reports refinement gains of up to 15% on sentence retrieval using the bag-of-words representations. This is evidence that improvements at the level of the word space can carry through to a representation constructed by aggregating words.
The sentence and word-similarity evaluations place different demands on the alignment. Europarl retrieval tests a ranking over a large candidate collection with a known translated counterpart. SemEval 2017 evaluates agreement with graded human judgments on supplied word pairs using Pearson correlation. Taken together with dictionary precision, these tasks examine whether the change of coordinates supports multiple uses of cross-language similarity. Each result depends on what the task asks a vector to preserve.
English–Esperanto retrieval and sentence substitution
For English–Esperanto the authors use Wikipedia fastText vectors and an evaluation dictionary derived from an online lexicon. The unsupervised result is close to the supervised comparison in the English-to-Esperanto direction. In the reverse direction the paper gives an unsupervised P@1 of 25.6%, which it reports as 1.3% above the supervised result.
English–Esperanto word retrieval P@1 on the online lexicon
The unsupervised approach comes close to the supervised result in the English-to-Esperanto direction.
The numbers
| System or setting | P@1 % |
|---|---|
| Supervised comparison | 29.3 |
| Refined unsupervised alignment (this paper) | 28.2 |
The reference lexicon for this pair leaves out alternative senses. The authors point to that property when discussing why the scores are lower than for other pairs. They also report P@5 of 46.5% for English–Esperanto and 43.9% for Esperanto–English. At this cutoff a query can succeed when its recorded translation is farther down the ranking. A wider list helps expose the distinction between placing an accepted answer first and retrieving it among other plausible candidates.
The authors then use the induced dictionary to replace words in sentences from the English–Esperanto Tatoeba collection. Sentence pairs with unknown words are removed, leaving about 60k pairs. They examine dictionaries obtained through ordinary nearest neighbors and through CSLS. The dictionary based on CSLS yields 11.1 in English–Esperanto and 14.3 in Esperanto–English, measured by BLEU, which evaluates overlap between produced translations and references. The sentence pairs provide material and references for this application, while the dictionary is induced from the separate monolingual vectors. The collection is associated with Parallel Data, Tools and Interfaces in OPUS.
The qualitative examples explain what that application can accomplish. With many of its content words replaced by recognizable equivalents, a sentence may convey its general message. An isolated mistake can still change the meaning or make a clause difficult to read. The paper gives an example in which the Esperanto pronoun mi is rendered as the English word for an apology. The context would be relevant to resolving such an error, while the reported substitution procedure gets its decision from the lexical entry.
What the ablations show
The retrieval rule earns part of the gain on its own
The paper holds supervised Procrustes fixed and varies the retrieval rule across language pairs. CSLS improves on ordinary nearest neighbors throughout that comparison, with a reported gain as high as 7.2% for English–Esperanto word retrieval. The equivalent comparison for the adversarial mapping gives a gain of up to 8.4% on Spanish–English. The supervision available to the transformation thus varies across these two experiments, while the advantages of adapting similarity to the neighborhoods remain visible. The corrected ranking solves a problem that occurs even when a supplied dictionary gives the alignment reliable anchors.
Inverted softmax provides a comparison against another technique intended to reduce the effect of hubs. The authors report that CSLS nearly always outperforms it in the comparison and is faster. They also distinguish the effort required to choose a setting. The inverted softmax alternative has a parameter whose selection is difficult without bilingual validation. For CSLS, the paper reports essentially the same performance with neighborhood sizes K=5, 10 and 50. The chosen value K=10 is consequently backed by a sensitivity comparison. These observations support using the same neighborhood size throughout the authors’ experiments. They leave behavior in very different spaces an empirical question.
Reliable proposed pairs help more than an exhaustive proposal list
The adversarial-only and refined variants differ in what evidence the mapping has to fit. The first responds to whether mapped source vectors resemble target vectors as a collection. The second is fitted to word-by-word correspondences inferred from that placement. The observed gains after refinement show that the approximate global fit exposes pairings that can be used to improve individual retrieval. Distributional training is useful partly because it supplies those pairs, even in settings where the first-stage system falls short of supervised precision.
The reciprocal filter gives a related comparison within the refinement stage. Requiring a match in each direction reduces the size of the dictionary, increases its accuracy, and improves the subsequent result in the authors’ account. The tradeoff is especially relevant for a shared linear mapping. An erroneous anchor can pull the fitted orientation away from where many other words belong, while a missing pair contributes no directional error to the objective. The reported result shows that the smaller dictionary offered better evidence for this fit.
The paper also considers repeating the procedure with the refined matrix. In principle, a better matrix could expose more good pairs, which could then support a further improvement. Additional refinement rounds typically yield word-translation gains below 1%. The authors attribute the modest returns to the strength of the dictionary already available after adversarial training. The comparison gives a reason for treating the first fit to the proposed pairs as the principal refinement in their pipeline. It does not quantify how many useful anchors might be recovered from a poorer starting alignment.
Frequency filtering and frequency weighting do different jobs
Including rare vectors in the discriminator’s inputs has a small negative effect in the reported experiments. Restricting the set of eligible inputs addresses that observation. The authors separately vary how they sample the eligible words. Drawing them in proportion to their occurrence frequency yields no noticeable difference from uniform sampling. Together, the comparisons suggest that the quality threshold for which vectors enter the game mattered more than how much extra attention the very common eligible words received.
Both choices concern the initial training signal. A rare vector can still appear in a retrieval evaluation if it is within the experimental vocabulary. This design gives the transformation a chance to generalize from words with more reliable usage statistics. Successful generalization still requires the rarer word’s own position to be useful in relation to those frequent words. The experiment on discriminator inputs supports the value of filtering training examples. It gives no direct measurement of precision across frequency bands in the final dictionary.
Changing the corpus explains much of the change in word accuracy
The authors compare Wikipedia fastText vectors with CBOW vectors trained on WaCky and report an 18.8% gain in the English–Italian word-translation comparison associated with changing the embedding setup. That change includes both a corpus and an embedding procedure. To distinguish them, the paper also considers CBOW on the same corpus as fastText. The authors describe the advantage of fastText in that comparison as two percent more word-translation accuracy. Their interpretation is that the corpus contributes most of the larger observed gain.
They point to two pieces of evidence about possible reasons. Wikipedia-trained vectors also work better in the monolingual similarity and analogy assessments they mention. Moreover, the paper’s appendix studies the alignment of English spaces made with different embedding procedures and with either Wikipedia or Gigaword. The procedures considered there are Skip-Gram, CBOW and fastText. Using English on both sides makes it possible to explore variation between the spaces without also changing the language. The authors see the appendix as consistent with the hypothesis that similar co-occurrence statistics make alignment easier. The analyses leave room for both higher-quality monolingual vectors and greater compatibility between corpora to contribute.
Simpler distribution summaries are weak guides in these comparisons
As an alternative to adversarial initialization, the authors test a method they say aligns the projected source and target embeddings by matching their first and second moments. The objective they print compares matrices of inner products:
W⋆ ∈ argmin_W ‖(WX)ᵀ(WX) − YᵀY‖_F
W is the candidate transformation, and W⋆ denotes a member of the set of minimizing transformations, with ∈ expressing membership and argmin indicating minimization. X and Y are the source and target embedding matrices used in this trial. WX is the projected source matrix. The superscript ᵀ indicates transpose. The product (WX)ᵀ(WX) gives inner products of projected source columns, and YᵀY gives the corresponding array for target columns. Their difference is measured by the Frobenius norm ‖·‖_F. The paper also mentions resolving a sign ambiguity as part of this attempt.
The alternative was unsuccessful. The authors explain the result by arguing that the discriminator can respond to a richer set of distribution features and can direct attention to particular regions. The negative experiment concerns the stated low-order matching procedure. It supports the usefulness of a learner that can exploit more varied evidence about where the spaces differ. It gives no comparative score for every possible distribution distance or matching algorithm.
The authors also compare signals for deciding when training has succeeded. They report that their mean cosine on proposed translations tracks evaluation performance better than the Wasserstein distance they tried. A criterion from earlier adversarial work, based on a sudden fall in discriminator accuracy, also gives poor agreement with task quality in their experiments. An origin classifier can become less effective whenever the distributions become harder for it to distinguish. That observation alone says little about the identity of the nearest words. The proposed checkpoint score seeks evidence closer to the intended task by looking at the pairs the current state would actually retrieve.
Limitations
Limits the authors identify
The authors treat adversarial alignment as an intermediate result. It provides enough useful pairs to start refinement, while supervised retrieval remains stronger than the initialization in comparisons they discuss. Their account of the final results consequently depends on the handoff to a paired fit. Their rare-word analysis also identifies an accuracy problem that persists beyond the choice of objective. A word seen in few contexts may have a poor vector, and a linear fit can only place that vector according to the relationships it already encodes.
The English–Esperanto example has an acknowledged weakness in its reference dictionary. The authors say that the lexicon omits information about polysemy, so one listed answer can stand in for words with several valid interpretations. The larger cutoff changes where an accepted answer can occur in a ranking. Missing acceptable translations remain missing from the reference at any cutoff. Differences in scores across language pairs therefore reflect a mixture of retrieval quality and the kinds of answers the evaluation records.
The authors also describe specific substitution errors in the Tatoeba output and suggest an additional way of judging the plausibility of a sentence could improve the translations. Their demonstration concerns a dictionary applied across a sequence of words. It offers examples where the message is partly preserved and where individual replacements are wrong. Fluent expression and decisions about the senses intended in a particular sentence require evidence beyond the word match that this experiment uses.
Finally, the authors describe the gains from further refinement as small in their experiments and identify checkpoint selection as a challenge in its own right. Their validation rule is supported by measured agreement with task performance. Its suitability for stopping and choosing settings rests on empirical association. The training score itself expresses the closeness of pairs generated by the system.
Limits visible in the setup
The mapping uses a single global linear transformation. Its final orthogonality constraint gives it a precise kind of flexibility. It can change the orientation of the entire source vocabulary while preserving the internal geometry. If different regions of the source space would need incompatible changes to align with their target equivalents, the fitted matrix has to make a compromise. The paper establishes that the constraint is useful with the inputs considered. It offers neither a test that certifies the compatibility of arbitrary spaces in advance nor a general argument that a correct translation mapping must be orthogonal.
Corpus choice affects how broadly the result can be applied. The strongest experiments use separate Wikipedia corpora for the languages, and the authors hypothesize that the resulting similarities in co-occurrence help. The low-resource example shows a route around the need for abundant parallel training data. It still has access to vectors learned from a monolingual corpus. A setting with very little monolingual text poses a different problem because the vector relationships themselves may be uncertain. Similarly, good results across different alphabets show that the procedure can operate without relying on a shared script. The evidence comes from the particular language directions and text collections studied.
The evaluation puts boundaries on vocabulary and sentence coverage. Word retrieval is performed against the selected 200k candidates. A translation outside the search vocabulary has no chance to appear in its ranking. In the sentence substitution experiment, the removal of pairs containing unknown words leaves a subset on which the dictionary can actually be applied. The reported BLEU scores characterize that subset. The test does not measure what happens to message quality across input sentences with missing lexical entries.
The Europarl and SemEval 2017 tasks also have defined scopes. Finding an existing translated sentence among candidates rewards a sentence representation that captures the information needed to identify it. The weighted average used for that representation discards word order. The test does not measure sentence generation or establish that the alignment preserves grammatical relationships. The human judgments in the semantic-similarity experiment concern nominal pairs, so their agreement with cosine gives evidence about the selected part of the vocabulary and the particular similarity judgments being elicited.
Where the reported comparisons leave uncertainty
A high average cosine between proposed translations is evidence that those proposals occupy aligned directions. Correct dictionary senses, in turn, are judged against bilingual references. An alignment could improve the first quantity by making the wrong group of words coincide with a geometrically similar group. Mutual nearest neighbors would reject some unstable correspondences, while pairs inside a systematic misalignment could still endorse each other. Neither the training score nor reciprocity, taken alone, establishes that the surviving pairs are correct. Their empirical value comes from the accuracy achieved when the authors evaluate the induced alignment.
The supervised anchor dictionary has a fixed size, while the synthesized dictionary can potentially exploit a larger set of frequent pairs. That is a meaningful comparison with the chosen strong baseline and an imperfect basis for assigning the observed advantage to the source of the word pairs. The authors offer anchor count and corpus compatibility as possible explanations, and the setup leaves open how the same supervised estimator would fare with a differently chosen anchor set. Overall, the evaluations support the claim that separate monolingual data were sufficient to learn competitive lexical mappings in several cases. Bilingual information enters the research in the form of reference answers and the supervised baseline, with the unsupervised fitting and selection conducted without those answers.
What came after
Returning to the mapping and retrieval problems
Artetxe and colleagues’ robust self-learning method continues the work on mapping word embeddings across languages with no supplied bilingual correspondences, placing robustness and self-learning at the center. The connection is clearest at the point where a system begins to fit from its own proposed pairs. In Word Translation Without Parallel Data, that step comes after the adversarial alignment has made good anchors available. A focus on robust self-learning brings the iterative use of inferred correspondences to the foreground. It takes up the question of how much of a bilingual mapping can be sustained by the predictions the learner generates for itself.
Loss in Translation takes the relation between fitting and retrieval in a different direction by using a retrieval criterion to learn the bilingual mapping. The earlier paper gives these operations different immediate objectives. Procrustes fits paired vectors according to a matrix residual, then CSLS determines success in the search against other candidates. Learning through a retrieval criterion brings the ranking goal into the choice of transformation. The controlled comparisons with CSLS make clear why that is a substantive change in emphasis. The translation that wins depends on the competitors it must outrank as well as on the fit of known or inferred pairs taken individually.
Gromov-Wasserstein Alignment of Word Embedding Spaces pursues the alignment problem through a different mathematical formulation. It belongs to the part of the citing literature concerned with how separate word spaces can be compared in the first place. Word Translation Without Parallel Data obtains an approximate orientation by exposing mismatched distributions to a discriminator, then strengthens the fit with explicit correspondences. An alignment study organized around Gromov-Wasserstein puts the mathematical choice of how to compare spaces at the center of the same problem.
On the Limitations of Unsupervised Bilingual Dictionary Induction makes the scope of the result itself a research subject. That line of work is directly connected to the dependency on starting vectors in the original experiments. If a system begins from an inferred placement and builds its first dictionary from the nearest pairs it sees there, corpus and representation choices can influence whether the process has a good starting point. The original paper’s corpus comparison gives a concrete reason for studying those conditions explicitly.
Transferring the question to sentences and contextual words
Massively Multilingual Sentence Embeddings pursues shared sentence representations for zero-shot cross-language transfer. Word Translation Without Parallel Data reaches sentences by averaging vectors that have already been aligned at the word level. Its sentence experiment asks whether an existing translation can be recovered. Work on multilingual sentence embeddings for transfer broadens the purpose of a shared representation. Cross-language agreement becomes a way to carry a task from one language to another, beyond a direct test of lexical or sentence correspondence.
Making Monolingual Sentence Embeddings Multilingual also starts from monolingual representations and targets a multilingual result, using knowledge distillation for sentence embeddings. This places the mechanism of transfer at a different level. The original word method infers translated lexical anchors and fits a shared transformation of the source vocabulary. The sentence work identifies distillation as the means to extend the representations across languages. Their common concern is the extent to which an existing monolingual representation can support a shared space.
Margin-Based Parallel Corpus Mining puts multilingual sentence embeddings to work in finding translated text pairs. Its use of a margin for mining parallels the earlier concern with making cross-language matches competitive relative to alternatives. In the word paper, a raw cosine is reconsidered in light of the neighbors of a proposed pair. In sentence mining the units to be paired are whole pieces of text and the intended output is a parallel corpus. The connection is between ranking problems. A score has to identify sentence pairs that stand out among other possible matches.
Cross-Lingual Alignment of Contextual Word Embeddings takes word alignment toward representations that depend on the surrounding text and applies it to zero-shot dependency parsing. The distinction matters because the original paper assigns a word form a single vector, even when it can have several meanings. Contextual representations change what counts as a point to be aligned and make syntactic transfer another use of cross-language correspondence. SimAlign studies word alignment using static and contextual embeddings without parallel training data. Its task brings the comparison of words into the setting of aligning occurrences across texts. The two directions keep the word as a unit of interest while extending what representations of that unit can be used to recover.
Cite
Cite as Alexis Conneau, Guillaume Lample, M. Ranzato and Ludovic Denoyer et al. 2018. Word Translation Without Parallel Data. ICLR 2018 (arXiv:1710.04087).
@misc{conneau2018word,
title = {{Word Translation Without Parallel Data}},
author = {Alexis Conneau, Guillaume Lample, M. Ranzato and Ludovic Denoyer et al.},
year = {2018},
eprint = {1710.04087},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1710.04087}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/conneau-2018-word-translation-muse/