Elamur Research

Towards cross-lingual distributed representations without parallel text trained with adversarial autoencoders

Paper · 2016 · Miceli Barone, Antonio Valerio

Summary

If two languages are used to talk about similar things, could their patterns of word use reveal which words correspond? Antonio Valerio Miceli Barone investigates this question using word embeddings, vectors learned from the contexts in which words occur. Embeddings trained separately can capture related patterns within each language while expressing them in different coordinates. The paper asks whether a mapping can bring those coordinates into agreement using separate collections of text. Earlier approaches to the problem commonly relied on some form of alignment, such as a dictionary or a collection of paired documents.

The proposed mapping learns from two signals. A discriminator judges whether a vector comes from the target language or has been produced by transforming a source word. The transformation learns to make those origins difficult to distinguish. A decoder also tries to recover the original source vector from the transformed one. This second step matters because the paper's first attempt, which used the discriminator alone, found a shortcut. The transformation sent different source words to nearly the same place. Reconstruction gives it a reason to preserve the distinctions between them.

In an English-to-Italian experiment using independently trained embeddings from Wikipedia, the transformed vector for “computer” was close to its Italian translation, which has the same spelling. Other queries, including “rain,” “comics,” and “anime,” returned words that the paper judged related to their subjects. A query for “France” illustrates a clear failure to retrieve an appropriate neighborhood. Experiments with German and English found similar signs of partial semantic transfer. In cross-language document classification, the approach improved on the baseline only at the smallest training-set size tested.

The paper therefore offers preliminary evidence that comparing separate word distributions can recover some semantic relationships. It also exposes a gap between making transformed vectors resemble a target distribution and placing individual words near their translations. The experiments leave open how much of that gap comes from the way the transformation was trained and how much comes from differences between the structures that the text collections capture.

Deep dive: Towards cross-lingual distributed representations without parallel text trained with adversarial autoencoders

Miceli Barone uses an adversarial autoencoder to align word embeddings across languages from monolingual text, with uneven results. · about 35 minutes to read

The problem and its context

Separate corpora produce separate spaces

The starting point is distributional semantics, the idea that the contexts in which a word appears provide evidence about its meaning. A word embedding summarizes information from those contexts in a vector. Words can then be compared by asking how their vectors are positioned relative to each other. For example, if two terms appear in related contexts, their proximity can make that relationship visible to a procedure that searches the embedding space. A corpus supplies the evidence through ordinary text, which makes these representations attractive as a way of obtaining linguistic information without labeling each example by hand.

The paper situates word vectors within a broader family of distributed representations. A word, sentence, paragraph, or document can be represented by several numerical coordinates that act together. The resulting vector serves as a reusable input for a task that needs information about the original text. The cited work on sentence and document representations illustrates why the question extends beyond vocabulary. If representations from different languages could share a useful coordinate system, the possible objects of transfer would include larger units of text as well.

Independently trained word embeddings present a basic difficulty for multilingual and cross-lingual NLP. Each collection of text supplies information about relationships in its own language. The resulting training procedure can establish that certain words belong close together without assigning their positions according to a coordinate system shared with any other language. The numerical coordinates of a source word therefore have no immediate interpretation in the target space. Looking up an Italian neighbor for an English vector assumes a correspondence between those coordinates that training has yet to establish.

A hypothetical rotation shows the distinction. Imagine turning a complete embedding space while keeping all the relative positions inside it. The relationships used to find similar words within that space survive the turn. The coordinates at which those words turn up have changed, so direct comparison with words in a space that remained fixed can give different answers. A mapping could undo a difference of this kind. Whether an equally simple transformation can account for differences between separately learned languages is an empirical question. A rotation is a way to understand the coordinate problem, and the paper's stronger hypothesis concerns the semantic organization that might survive a change of language.

What bilingual supervision supplies

The paper describes two broad approaches that preceded it. One trains separate embedding spaces and then learns a transformation between them. The work on similarities among languages for machine translation is an example. A known correspondence supplies a source point and a target point, so the transformation has a concrete destination for that source vector. A collection of such correspondences can guide the choice of transformation across the wider vocabulary.

The other approach makes the representations compatible during training. The paper places crosslingual distributed representations of words in this group. In this kind of setup, cross-language information can influence the formation of the spaces themselves. The paper's distinction concerns when compatibility is learned. A procedure can adjust an established representation after monolingual training, or it can account for more than one language while building the representations.

For the approaches discussed by Miceli Barone, the shared requirement is a cross-language resource. That resource may identify individual word pairs, align sentences, or associate whole documents. A dictionary provides direct lexical correspondences, while a paired document collection provides a broader connection. The paper cites massively multilingual word embeddings in discussing dictionaries as another kind of parallel resource. The levels of supervision differ in granularity, but each supplies a relationship between observations in different languages. Removing such information changes what the learning procedure can use to decide where a word should go.

Monolingual corpora are attractive in the paper's account because ordinary unannotated text is inexpensive as a source of linguistic evidence. The proposed setup asks for separate corpora with some broad thematic similarity. Comparable subject matter gives a reason to expect similar relationships to occur across the collections. That is a weaker connection than knowing that a particular document is a translation of another. It still matters to the hypothesis. Two collections serving quite different purposes could organize their vocabularies around different subjects even if the languages could express the same ideas.

What the shared-structure hypothesis amounts to

Miceli Barone frames the conjecture in terms of an underlying space in which linguistic content can be represented. Each language can be imagined as a process that generates vectors for the things speakers express and renders those vectors as surface forms. A surface form is the observable word or other stretch of text. When languages convey a broadly similar range of information in similar settings, their underlying processes might exhibit corresponding structure. On this account, a corpus records some outcomes of the process, and the pattern of those outcomes may help recover a transformation between languages.

The paper calls the hoped-for correspondence an approximate isomorphism. An isomorphism, in this context, is a transformation under which the relevant relationships in one representation are preserved in the other. The qualifier matters. The paper works with observations from finite corpora and with embeddings that summarize those observations. The experimental question is whether the similarities that survive these steps are strong enough to guide a useful cross-language mapping. The claim under investigation applies to structure, which is richer than the idea that the languages happen to have words of similar frequency.

The paper also draws motivation from multilingual acquisition. It observes that people, especially children, can acquire several languages with relatively little explicit alignment between what they hear in each. Environmental clues can offer indirect correspondences, and multilingual speakers' ability to translate motivates the idea that content may be represented in a shared space or in spaces that can be transformed into one another. The analogy helps explain the research question. The experiment itself uses text distributions and leaves the contribution of environmental evidence outside its design.

The experimental test narrows that broad hypothesis to a concrete object. It aligns vectors for individual vocabulary entries and looks for preserved meaning after the transformation. This requires a connection between two different questions. One asks whether the point clouds can be made to resemble each other. The other asks whether the points brought together by the transformation stand for compatible meanings. A method that trains on the first question needs a separate way of examining the second. That distinction defines both the appeal of the approach and the challenge of evaluating it.

The method, step by step

From two collections of words to a mapping

The procedure starts with separately learned source and target embeddings. The source is the language from which a vector is moved, and the target is the language whose space receives it. The paper uses the same embedding dimensionality on both sides of a mapping. This gives the transformation an input and an output of the same length even though the two vocabularies have different entries. During alignment, it works with sampled vectors from the existing spaces.

To see what the learning problem looks like, imagine drawing a small batch of source words and a separate batch of target words. Each word enters as its vector. The system has a way to identify which batch supplied a vector, but no instruction pairing a source word with its translation. It transforms the source batch and tries to make the resulting vectors difficult to tell apart from the target batch. The target vectors serve as examples of how a vector from the destination should look. They need no assigned source-language equivalents for that purpose.

The component that performs the transformation is initially called the generator. The discriminator examines vectors and estimates whether they came from the actual target collection. It learns by seeing real target vectors and transformed source vectors with their origins identified. The generator learns from the discriminator's judgments in the opposite direction. It receives a penalty when a transformed vector looks artificial and adjusts its parameters to raise the discriminator's estimate that the vector is genuine. This competition is the adversarial part of training.

The final arrangement gives the generator another responsibility. Now called the encoder, it must produce an intermediate vector from which a decoder can recover the original. During the forward step, that intermediate vector is treated as the proposed target-space representation. During reconstruction, it is the information the decoder has available about the source word. The same vector has to serve both purposes. A transformation that sends many unrelated source words to effectively the same representation makes the decoder's job harder.

Learning a mapping between monolingual word spaces

The steps in order.

Learning a mapping between monolingual word spacesStep 1: Learn separate source and target word embeddings1. Learn separate source and target word embeddingsStep 2: Sample source and target vectors independently2. Sample source and target vectors independentlyStep 3: Encode source vectors in the target space3. Encode source vectors in the target spaceStep 4: Score encoded and genuine vectors with the discriminator4. Score encoded and genuine vectors with the discriminatorStep 5: Reconstruct source vectors from the encoded vectors5. Reconstruct source vectors from the encoded vectorsStep 6: Update the encoder and decoder from combined losses6. Update the encoder and decoder from combined lossesStep 7: Train the discriminator to distinguish vector origins7. Train the discriminator to distinguish vector origins

The two kinds of labels in this process answer different questions. The discriminator knows whether an example is a real target vector or an output of the encoder. The decoder knows which source vector preceded the encoding because that vector is available for reconstruction. Neither signal identifies a correct target word. At use time, it is the encoder that places an existing source vector in the target space. A search for nearby target vectors can then show which vocabulary entries occupy the region where it lands.

Why start with adversarial training?

The paper discusses generative adversarial networks as one approach to learning a transformation between vector distributions. In the conventional setup it describes, a generator converts draws from a simple distribution, such as a Gaussian or a uniform distribution, into samples that should resemble a training collection. A discriminator learns to identify the training examples, and the generator uses the discriminator's response as a guide to improving its outputs. Because the discriminator is differentiable, its error signal can be passed back through its computations to the generator.

Miceli Barone chooses this approach over generative moment matching networks because the paper regards the evidence for adversarial generation as more extensive at the time. The adaptation to word embeddings changes what enters the generator. It receives an existing source word vector, with information that could be useful after the transformation. Matching the output distribution remains a training goal. Preserving the information associated with the particular input becomes important because the intended use is to map a word chosen by the reader or by a downstream task.

The functions in the initial adversarial setup have these domains and outputs.

G_{θ_G} : ℝᵈ → ℝᵈ

Here G is the generator and θ_G is its collection of parameters. ℝ denotes the real numbers, so ℝᵈ is the space of real vectors with d coordinates. The arrow indicates that the generator takes a vector of that length and returns another vector of the same length. The input is a source embedding, and the output is a proposed embedding in target coordinates.

D_{θ_D} : ℝᵈ → [0, 1]

Here D is the discriminator and θ_D contains its parameters. ℝᵈ is the space of d-dimensional word vectors. The arrow gives the output type, and [0, 1] is the closed interval from 0 to 1. The output expresses the discriminator's estimate that an input vector was sampled from the genuine target distribution.

At each update the generator receives a batch of source vectors. The paper writes the operation on a whole batch even though the same transformation applies to the vectors individually.

{ê}ₙ = G_{θ_G}({f}ₙ)

Here {f}ₙ is a batch of source embeddings and n is the number drawn for the batch. G_{θ_G} is the generator with parameters θ_G. The result {ê}ₙ contains the transformed vectors. The hat on ê distinguishes a generated target-like example from an actual target embedding. The equals sign identifies the generated batch with the result of applying the transformation to the source batch.

The discriminator supplies a score for every generated vector.

{p}ₙ = D_{θ_D}({ê}ₙ)

Here {p}ₙ is the collection of predicted probabilities and n indexes the batch size. D_{θ_D} is the discriminator with parameters θ_D, and {ê}ₙ is the generated batch it scores. The parentheses give the input to the discriminator. Each p concerns the apparent origin of a vector. It gives no probability for a translation among the entries of the target vocabulary.

The generator is trained to reduce a negative logarithmic loss. The paper uses the batch notation below and describes the loss as an average.

Lₐ = −log({p}ₙ)

Lₐ is the adversarial loss for the generator. log is the logarithm applied to the probabilities in {p}ₙ, and the minus sign makes a low target-origin probability costly. The subscript n denotes the size of the batch whose contributions are averaged. A generated vector that receives a higher target-origin probability contributes a smaller penalty. The generator can use that signal even when a generated vector sits between entries in the target vocabulary.

For the discriminator's update, the procedure also draws genuine target examples. The discriminator minimizes binary cross-entropy, a classification loss that penalizes low probability for the known class. Actual target vectors are the positive class, and transformed source vectors are the negative class. The generator and discriminator are updated in alternation. During the generator's update, the discriminator supplies the gradient used to change the mapping. During the discriminator's update, the current mapping supplies the artificial examples against which origin recognition is trained.

The paper distinguishes the ideal distribution-matching argument from the behavior of a finite training procedure. It describes conditions involving sufficient capacity, an effective optimizer, enough variation in the generator's inputs, and the limiting case of an unlimited training set. The intuition is that an exploitable statistical difference between generated and true samples gives the discriminator something to learn. The generator can then receive a signal to reduce that difference. For word alignment, the argument concerns the laws governing the output and target distributions. An additional argument would be needed to identify the semantic correspondence of the individual words.

Why add a decoder?

The initial adversarial setup repeatedly moved towards constant or nearly constant outputs. The mapping learned to produce vectors that could fool the discriminator while largely ignoring the distinctions between its inputs. The paper relates this behavior to mode seeking, the tendency of generation to concentrate on a small part of the distribution it is trying to imitate. In this setting, each observed word embedding contributes mass at a particular point. The paper suggests that having such discrete concentrations may make this kind of failure especially severe.

The encoder's responsibilities change once the decoder is introduced. A target-like output is now also an intermediate representation of a known input. The decoder tries to invert the transformation well enough to retrieve the starting vector, and its error contributes to changing both sets of parameters. This is an autoencoder because the input supplies the example to be recovered. The target language comes into training through comparisons with target vectors, while the source example itself supplies the reconstruction target.

R_{θ_R} : ℝᵈ → ℝᵈ

R is the decoder, θ_R denotes its parameters, and ℝᵈ is the space of real vectors with d coordinates. The arrow gives the type of the transformation. The decoder receives an intermediate output in target coordinates and returns a proposed reconstruction in source coordinates.

Lᵣ({f}ₙ, R_{θ_R}(G_{θ_G}({f}ₙ)))

Lᵣ is the average reconstruction loss when used on these arguments. The first batch, {f}ₙ, contains the original source vectors. G_{θ_G} encodes them with generator parameters θ_G, and R_{θ_R} decodes the resulting batch with decoder parameters θ_R. The nested parentheses show the order of those transformations. The second argument to Lᵣ is the batch of reconstructions, and n is the size of the source batch. The loss compares each reconstruction with the source vector from which it was made.

The paper uses cosine dissimilarity for this comparison. It judges a reconstruction by the direction of its vector relative to the direction of the input. Vectors pointing in similar directions incur a smaller penalty. A vector can have the right direction with a different length, so directional agreement is the precise sense in which this term rewards recovery. That matters when interpreting what reconstruction preserves. It encourages the encoded points to retain enough information about the original directions to distinguish among them.

In the original adversarial autoencoder described by the paper, the discriminator pushes intermediate representations toward a chosen probability distribution, such as a Gaussian. Miceli Barone instead uses the actual target embeddings to define the desired distribution. The intermediate representation, also called the latent vector, therefore has an intended use beyond reconstruction. It is the cross-language representation that can be compared with target words. The decoder helps shape it during training, while retrieval can proceed from the encoder's output directly.

How the losses work together

The encoder and decoder are trained with a further penalty in addition to reconstruction and the adversarial signal. It measures cosine dissimilarity between the generated vectors and the sampled true target vectors, paired within their batches. Those pairings express which entries are compared in that update. They carry no lexical judgment about which entries are translations. The distinction is especially important here because the equation places a true target batch and a transformed source batch side by side.

L_{GR} = λᵣ Lᵣ({f}ₙ, R_{θ_R}(G_{θ_G}({f}ₙ))) − λₐ log({p}ₙ) + λ꜀ Lᵣ({e}ₙ, G_{θ_G}({f}ₙ))

L_{GR} is the total loss used to train the generator or encoder G and the decoder R. The coefficients λᵣ, λₐ, and λ꜀ weight the reconstruction, adversarial, and direct cosine terms, respectively. All are set to 1 in the experiments. Lᵣ denotes the mean cosine dissimilarity over paired vectors. {f}ₙ contains sampled source vectors, {e}ₙ contains sampled genuine target vectors, and n gives the batch size. G_{θ_G} is the encoder with parameters θ_G, and R_{θ_R} is the decoder with parameters θ_R. {p}ₙ holds the discriminator outputs on the encoded source vectors. The log term is interpreted as in the adversarial loss, with its batch average and the minus sign that penalizes low target-origin probabilities. The plus sign adds the direct cosine penalty to the objective.

The first term supplies the most specific kind of pairing used by the objective. The procedure can identify exactly which input a reconstruction should resemble. The adversarial term operates at a different level. It rewards outputs whose origin is difficult to recognize by comparison with sampled target vectors. The direct cosine term adds a directional penalty at the level of batch entries. These signals give the encoder several reasons to change the same intermediate vector. They may exert different amounts of influence during training even with the same scalar weight, because the sizes and directions of their gradients can differ.

The distinction between the two cosine terms is easy to overlook. On the reconstruction side, the target of the comparison is the same source entry that passed through both transformations. On the direct comparison side, the target is a sampled vector from the other language. As a consequence, a low reconstruction loss has a clear interpretation for a specific source entry. The direct cosine term provides a sample-based constraint on the orientation of outputs toward target vectors, while a claim about semantic correspondence still depends on the retrieval or downstream evaluation.

The networks used in the experiments

For the English-to-Italian experiment, the encoder and decoder use linear transformations. Their matrices are tied, with the decoder using the transpose of the encoder's matrix. Transposing exchanges matrix rows and columns. Tying the weights makes the return transformation depend on the same coefficients as the forward transformation. It limits the decoder's ability to develop an independent way of recovering the inputs from whatever representation the encoder happens to produce.

The matrices start from a random orthogonal initialization. An orthogonal matrix has a transpose that acts as its inverse, so this initialization provides a forward and return transformation that fit together. It also preserves the geometry within the source space at the starting point. An initialization sets the starting weights for training. The paper describes continued tying by transposition and does not specify a separate operation that enforces orthogonality throughout optimization. The relevant distinction is between the initial geometric property and the constraint on how the encoder and decoder share their weights.

The discriminator is a residual network without convolutions. A residual block carries its input forward along a direct path and adds the result of a learned transformation. Here the transformation uses a weight matrix, batch normalization, and a leaky rectified linear unit. Batch normalization adjusts activations using batch statistics and its own parameters. The leaky activation keeps a response to negative inputs as well as positive ones. The direct path carries the input through without a nonlinear activation. The paper also uses dropout in the discriminator, which temporarily suppresses some activations during training.

h_{t+1} = φ(Wₜ × h_{t−1}) + h_{t−1}

In the paper's indexing, h is the block state and t indexes the block. h_{t−1} is the state entering the expression and h_{t+1} is the resulting state. Wₜ is the block's learned weight matrix, and × denotes its multiplication by the input state. φ applies batch normalization, with its internal parameters, and then the leaky activation. The + adds the unchanged input state to the transformed branch. The state contains k coordinates. For the English-to-Italian setup, the paper gives k = 40.

The English-to-Italian discriminator has depth T = 10, where T counts the residual blocks. A 1-dimensional output layer follows, with a logistic sigmoid that converts its score to a probability. A second discriminator has the same structure and starts from a different random initialization. One supplies the adversarial signal used by the encoder. The other is used for monitoring, to help assess whether the adversarial training is fitting its examples too closely or whether the discrimination task has been learned too weakly. Its judgments still concern the origin of vectors.

Sampling and updates

A vector remains attached to a word type, an entry in the vocabulary. The chance of drawing that vector depends on how frequently the word occurred in the original corpus. The paper adjusts the frequencies to reduce sampling of very frequent words, following the practice used by word2vec. Thus the distribution the discriminator sees is a collection of word vectors with frequency-dependent sampling weights. The adjustment changes how strongly highly frequent entries influence the comparison of source and target distributions.

The paper updates the parameters with Adam, a gradient-based optimizer. It uses a learning rate of 0.001 for the encoder and decoder and 0.01 for the discriminator. These settings govern the two sides of the alternating training process. The implementation is called clweadv. The paper describes it as Python code built with Theano and Lasagne and identifies the released code as the place where the full hyper-parameters are recorded.

Training and inspection use the vectors in different ways. Training samples them to estimate losses and adjust the transformation. Inspection starts with a particular source word, encodes its vector, and looks for the closest entries in the target vocabulary. That lookup translates a continuous output into recognizable words that can be examined for meaning. The paper also asks whether the resulting representations can support classification of documents across languages, where the evidence comes from a task with labeled examples.

Experiments and results

English to Italian on Wikipedia

The first experiment asks whether the transformation yields recognizable relationships at the word level. Miceli Barone trains English and Italian embeddings on randomly sub-sampled Wikipedia corpora, with about 1.5 million sentences per language. The corpora are used separately. Word2vec in skip-gram mode produces embeddings with dimension d = 100. Skip-gram learns from a word and the nearby words it helps predict. The alignment stage starts from the resulting embeddings, so it inherits whatever distinctions the monolingual training has captured.

The reported inspection starts from a sample of English words. For each, the paper considers the Italian embeddings nearest to the encoded English vector. This procedure yields a relative ordering within the target vocabulary. The nearest Italian word may be a translation, a word related through topic or association, or an entry for which the connection is hard to see. These are distinct outcomes. A sensible association supplies evidence that the encoder has carried over some information about the source word. A translation requires the candidate to meet a more specific lexical criterion.

“Computer” is the paper's positive translation example. The same written form occurs as the English query and the Italian translation, and the target translation appears at or near the top of the neighborhood. The learning procedure works with embeddings, so the spelling match is a property of the example rather than an explicit pairing supplied to the encoder. The case shows that a correct translation can be placed close to a transformed query in this setup. It leaves open the frequency of such successes and whether words with different spellings are retrieved as reliably.

For “rain,” the paper's 10-best Italian list includes “fortunale,” “gelata,” and “piovosa,” alongside entries that give the list a broader and less direct character. The example mixes several kinds of association. An examiner can recognize a cluster of weather-related suggestions even when the task of returning a usable Italian equivalent remains unresolved. A lexical lookup that required an exact translation and a qualitative assessment that credited thematic similarity would treat this output differently. The paper uses it as evidence of a recognizable semantic neighborhood.

The lists for “comics” and “anime” show another form of partial transfer. The 10-best list for “comics” includes “Promethea,” “Cugel,” and “episodio.” The 10-best list for “anime” includes “Alita,” “Zatanna,” and “Aquarion.” The paper regards the connections in these lists as subjectively meaningful. Their significance is that the transformed vectors reach regions containing terms that a reader can associate with the original query. The presence of named terms and topical associates also shows how broad such a region can be. A result that evokes the same subject need not supply an interchangeable expression.

“France” is the illustrative failure. Among its 10-best Italian neighbors are “Radiomobile,” “Cartubi,” and “UNUCI.” The paper treats this list as an incorrect transformation and remarks that place names tend to be mapped poorly in its inspection. The example establishes what happened for this query and gives substance to the reported concern about place names. It provides no category-wide rate. It is also an instructive contrast with “computer.” A recognizable cross-language equivalent may exist even when the geometry learned from the corpora sends the query somewhere the reader cannot interpret.

The paper reports these examples as a qualitative assessment of the nearest neighbors. It supplies neither a bilingual lexical benchmark for the examples nor an aggregate translation score. The size of a displayed neighborhood tells the reader how far the inspection extends for that query. A list described as 10-best therefore specifies the scope of the examples, without representing a retrieval score. The evidence supports claims about the displayed neighbors and the paper's judgment of them. Estimates of typical retrieval quality would require a defined set of queries and a consistent criterion for marking their answers.

German and English in both directions

The next experiments transform German embeddings into English and English embeddings into German. The corpus for the embeddings combines Reuters with News Commentary 2015. The paper follows the Klementiev cross-language evaluation setup and sets the embedding dimension to d = 40 and the discriminator depth to T = 4. Both settings differ from the English-to-Italian experiment. The corpora and language pair differ as well, so these runs give evidence about another setup rather than a controlled test of any single setting.

Discriminator depth in the Wikipedia and Reuters plus News Commentary 2015 experiments

The English-to-Italian Wikipedia setup uses the deeper discriminator.

Discriminator depth in the Wikipedia and Reuters plus News Commentary 2015 experimentsGerman and English, Reuters plus News Commentary 2015: 4German and English, Reuters plus NewsCommentary 20154English to Italian, Wikipedia (this paper): 10English to Italian, Wikipedia (thispaper)10
The numbers
System or settingresidual blocks
German and English, Reuters plus News Commentary 20154
English to Italian, Wikipedia (this paper)10

The chart compares documented configuration values. Higher means more residual blocks. The paper gives no numeric task scores for a performance chart, and the two depths cannot be used to rank the quality of the mappings. The depth comparison instead records a concrete difference between the runs that matters when interpreting their reported outcomes.

For German and English, the paper describes a qualitative pattern similar to what it observed for English and Italian. Some transformed embeddings appear to preserve semantic associations. The account does not give corresponding neighbor lists or break down the observation by direction, which makes it difficult to compare the kinds of associations recovered in the two language settings. The claim is appropriately narrow. Partial semantic similarity was observed beyond the first collection of examples.

The document classification experiment provides a downstream comparison against a baseline. In cross-language classification, the aim is for information learned from labeled documents in one language to help classify documents in another. Alignment is useful to the extent that the features available across the two languages preserve distinctions relevant to the document labels. This makes classification a different test from finding the translation of an isolated word. It can reward preservation of broad topical information even when individual lexical choices remain imprecise. A handful of convincing word neighbors can also fail to help if the mapping loses other distinctions that matter to classification.

Miceli Barone reports an improvement over the baseline only for the smallest training-set size. The paper identifies the evaluation protocol through the earlier work. It gives no baseline score, absolute classifier score, numerical training-set size, or per-direction breakdown of the improvement. Its result is therefore ordinal and tied to a particular condition. At the smallest size the comparison favors the experimental approach. At the other reported sizes, the account records no improvement. It gives too little information to determine the size of the advantage or whether a particular direction contributed more of it.

Taken together, the evaluations distinguish three kinds of evidence. There is an example of retrieving a translation, several neighborhoods judged semantically suggestive, and a downstream advantage confined to the smallest classification training condition. These findings answer different questions about the representation. The qualitative examples show what some mapped words look like. The baseline comparison asks whether any information recovered through the mapping helps a document-level decision. The paper describes the overall results as preliminary and judges the approach uncompetitive with other cross-language representation methods at this stage.

What the ablations show

Distribution matching by itself found a shortcut

The paper gives no systematic ablation with matched settings and numerical outcome measures. It does give several exploratory comparisons. The clearest is the change from an adversarial generator by itself to an encoder with reconstruction. In the initial trials, different network architectures and hyper-parameters still led quickly to constant or nearly constant outputs. The discriminator could be fooled by generated vectors that carried very little information about the source word. This is a direct observation about the training procedure and helps explain why the final design includes a source recovery objective.

The failure exposes a gap between the discriminator's job and the intended use of the transformation. The discriminator is trained to detect where vectors came from. When it judges a narrow set of generated outputs favorably, the generator has met the immediate objective for those outputs. A user who queries different source words expects the mapping to retain distinctions so that the queries can reach different regions. The initial trials show that success against the discriminator is too weak a criterion on its own under the tested training conditions.

Reconstruction addresses that shortcut by creating a cost for making distinct inputs difficult to recover. If many source vectors produce the same code, the decoder receives essentially the same information for all of them. It cannot reproduce their different directions well from that code. This is a property of the reconstruction task and explains why the added signal targets the observed collapse. The semantic quality of the output still depends on the mapping. A code can distinguish source words while organizing them in a way that disagrees with the intended target-language correspondences.

The change to the final system includes the direct cosine term as well. The paper offers no comparison that holds the rest of the system fixed and evaluates each term separately. The observations therefore support the motivation for reconstruction and show that the full arrangement can yield interpretable neighborhoods. They leave the relative contribution of the reconstruction, adversarial, and direct cosine terms unresolved. The common setting of 1 for their weights is an experimental choice, with no reported sweep showing how the outcomes change when any of the terms receives greater emphasis.

Simpler transformations were easier to train

The paper also explored deep nonlinear autoencoders. A nonlinear transformation could, in principle, express relationships beyond the reach of a single matrix. The paper reports that the deeper alternatives made optimization harder and brought no apparent benefit. That comparison supports the decision to use the tied linear transformation in the reported English-to-Italian experiment. It is evidence about the practical behavior of those trials, whose outcomes are described without a numerical comparison.

The distinction between representational flexibility and ease of learning matters for this question. A flexible encoder has more ways to fit the training signals, and the signals do not directly specify word correspondences. A linear encoder makes a shared transformation act across the vocabulary. It also gives the decoder less freedom through the transpose tie. Both properties can make the search for a suitable mapping more constrained. The experiments leave open whether the deeper alternatives were limited by optimization, by how the losses guided their additional flexibility, or by the amount of useful structure shared between the languages.

For the discriminator, the paper reports a benefit from using a residual network in place of a conventional multilayer perceptron. The residual version passed larger gradients back to the generator and made training easier. A gradient measures how the loss would change as a parameter changes, so a larger signal reaching the generator can matter when the discriminator is its source of direction. The direct path through a residual block supplies a route through which changes can propagate. That gives a reason the architecture is relevant to the account of optimization.

The reported evidence here concerns the adversarial signal during training. The paper supplies no paired translation scores for the two discriminator architectures, and a larger gradient answers a narrower question than whether the generator learns a better semantic mapping. It establishes that the learning signal was stronger in the observed trials. The direction of that signal still depends on what the discriminator is able to detect about the distributions.

What the diagnostics can distinguish

The second discriminator offers a check on whether the first one's behavior is specific to its own training trajectory. The two begin with different random weights but share the same architecture. A separate monitor can help judge whether the training discriminator has learned a useful distinction or whether its behavior reflects underfitting or overfitting. The paper presents the second discriminator as a diagnostic aid. It gives no numerical time series comparing those judgments, and both networks measure success in distinguishing vector origins.

The document classification comparison varies the amount of training data available to the downstream task. The smallest condition is the only one with an improvement over the baseline. This variation answers a question about where downstream benefit appeared. It does not identify which alignment component caused it. There is no reported comparison in which reconstruction, the discriminator architecture, or the direct cosine term is toggled while document classification is measured across those same conditions. The observation therefore belongs to the combined system under the stated evaluation setup.

These exploratory comparisons are most informative when read at the level at which each was made. Collapse concerns how the generator uses its input. The comparison of encoder designs concerns the difficulty of optimization. The residual discriminator comparison concerns the gradient delivered to the encoder. The nearest-neighbor and document tests concern the meaning and usefulness of the resulting representations. Relating those levels explains the design choices. Demonstrating that any individual choice improves bilingual accuracy would require a comparison at the final task level.

Limitations

The limits Miceli Barone identifies

Miceli Barone presents the investigation as preliminary. The paper's own assessment is that some semantic information transfers and that the reported approach falls short of competing cross-language representation methods. The document classification result is narrow, and the word-level evidence is chiefly qualitative. The paper treats this combination as grounds for further investigation instead of a basis for concluding that thematic similarity ordinarily suffices to recover a bilingual vocabulary.

The paper identifies architecture and hyper-parameter choice as possible explanations for the modest result. The early behavior of the adversarial generator shows that optimization can fail even at the level of preserving useful variation. A second possibility is a limit on what the independent distributions reveal about one another. Improvements to training might address the former. The latter would require examining whether enough semantic structure is shared, under the conditions represented by the monolingual corpora, to support a more complete alignment. The experiments do not decide between these explanations.

The paper also calls for investigation across languages of different families. Its broad hypothesis concerns languages that are used to convey thematically similar information. The experiments illustrate the question in a limited set of pairs and corpus settings. For stronger evidence about that hypothesis, a comparison would have to account for differences in the material used to train the embeddings and for differences in how successfully the transformation is optimized. The paper leaves this wider inquiry open.

The discussion proposes uses of adversarial distribution matching alongside parallel training. In sequence-to-sequence translation, paired sentences could supply the translation signal, while sentences from each language by itself could supply reconstruction examples. A discriminator on an intermediate representation could encourage compatible distributions across the languages. For a system using attention in machine translation, the paper notes that the intermediate representation would need to accommodate variable sizes. It relates that proposal to augmenting translation training with monolingual data. These are directions proposed by the paper. The experiments establish outcomes for word vectors and document classification, leaving the suggested sentence-level uses untested.

What follows from the experimental design

A further limit is that matching two distributions can leave correspondence ambiguous. Consider a hypothetical pair of spaces in which several points have the same sampling weights and their positions allow more than one transformation that preserves the overall arrangement. If an alternative transformation exchanges the destinations of some points while leaving the distribution intact, an origin discriminator would have the same evidence under either choice. The translated vocabulary entries could differ under those choices. This argument follows from the fact that the discriminator sees vector origins and no matched lexical identities. It explains why an excellent discrimination outcome, by itself, would leave a question about translation.

Reconstruction removes some candidate solutions while leaving this ambiguity in place. An encoder can preserve the differences required for a decoder to reconstruct its inputs while arranging the codes under a semantically unhelpful correspondence. If two alternative transformations both retain the necessary information and produce plausible target distributions, the losses may offer little basis for preferring the semantically correct one. The direct cosine penalty also uses independently drawn batches. It supplies a comparison in target coordinates and has no access to the missing identity of a true lexical pair.

The nature of the input spaces introduces another source of uncertainty. They summarize the contexts present in the particular corpora. Broadly comparable subject matter makes the alignment hypothesis plausible, while the distribution of contexts and the prominence of individual terms can still differ between the languages' collections. Even the same underlying concept may occur in different surroundings. The frequency adjustment also affects which parts of the space receive more attention during training. The paper reports no controlled comparison that varies thematic overlap or sampling while measuring how retrieval changes. The experiments leave the importance of each condition uncertain.

The language and corpus comparisons offer limited leverage on those issues. When the experiments move from Wikipedia in English and Italian to Reuters and News Commentary 2015 in German and English, the paper also changes vector dimensionality and discriminator depth. These are distinct working configurations. A difference between their outcomes could come from the corpus, the language pair, the representation, or the training settings. The qualitative observation of partial transfer in both settings broadens the evidence that such neighborhoods can occur. It supplies no controlled estimate of how any one setup choice changes the chance of recovering a translation.

The choice of evaluation also limits the conclusions. In the word-level inspection, “computer” illustrates lexical success, “rain” illustrates partial association, and “France” illustrates failure. The account gives no defined test population or aggregate scoring rule for separating those outcomes. Consequently it cannot establish how frequently each occurs, whether apparently successful terms are representative of the vocabulary, or how stable the examples are across runs. The same-spelling success leaves an open question about how the method behaves on a systematic collection of equivalents with different written forms.

Document classification adds a task with a baseline but leaves the meaning of the reported advantage relatively broad. Better classification can be consistent with partial preservation of topic or other document features, and it gives no direct estimate of lexical accuracy. The absence of absolute scores leaves the scale of the improvement at the smallest training condition unknown. The absence of a directional breakdown leaves the relative behavior of the German-to-English and English-to-German transformations unknown. These are limits on how precisely the empirical result can be interpreted.

Finally, the paper's training mechanism and its underlying language hypothesis operate at different levels. The hypothesis is about the relationships that may be shared when languages express similar content. The mechanism tests what can be recovered from a particular finite representation of those relationships using specific losses and a specific class of transformations. A poor fit can reflect difficulty anywhere along that path. The strongest empirical conclusion is that the reported procedure sometimes recovered recognizable associations, with a limited downstream advantage. The degree to which the distributions alone determine the semantic alignment remains unresolved.

What came after

Adversarial training for unsupervised bilingual lexicon induction carries the adversarial theme into a task with a specific lexical output, the induction of a bilingual lexicon. That task focuses on the distinction exposed by Miceli Barone's examples. A neighborhood can have recognizable subject matter, while a lexicon requires a choice of target entries for source words. Framing distribution alignment around lexicon induction makes recovery of those correspondences the central question.

Unsupervised word mapping through structural similarities develops the structural side of the question. Its subject is how similarities between monolingual embedding spaces can support the mapping of words across them. That is the hypothesis Miceli Barone wanted to probe with the discriminator. The connection is the use of relationships already present within separate spaces as evidence for alignment. The structure of each space matters because individual coordinate values acquire their meaning through the surrounding words.

Learning bilingual embeddings with almost no bilingual data examines a nearby resource setting. Its question is how far it is possible to reduce the amount of bilingual information used to learn compatible word spaces. This preserves the original motivation of limiting dependence on aligned data while allowing the role of a small amount of bilingual evidence to be considered. The connection matters for an ambiguity left by the adversarial approach. Even limited correspondence information can give meaning to a choice between destinations that distributional evidence alone leaves open.

VecMap's robust self-learning method pursues fully unsupervised mapping and places robustness at the center of the learning procedure. Self-learning uses correspondences proposed by a current system to guide subsequent updates. In this framing, the evolving set of matches is part of what the procedure must learn to use reliably. That puts emphasis on a different question from the behavior of one discriminator. The challenge is how a mapping can improve as it revises its own proposals when it begins without a bilingual training resource.

Limitations of unsupervised bilingual dictionary induction takes up the question of where unsupervised lexical alignment is limited. It connects directly to Miceli Barone's uncertainty about how strongly shared semantic structure can be expected to hold. A weak alignment is open to several explanations, including properties of the spaces and difficulties in learning a transformation. Treating limitations as the object of study brings that uncertainty into the foreground. The question becomes which conditions support bilingual dictionary induction and which restrict what can be inferred.

Do We Really Need Fully Unsupervised Cross-Lingual Embeddings? revisits the significance of the resource constraint itself. Miceli Barone used the absence of parallel data to probe the amount of semantic evidence available from monolingual distributions. The later work asks whether the fully unsupervised setting is necessary for cross-language embeddings. That shift in emphasis distinguishes a scientific question about what the distributions contain from a practical question about what bilingual information can be used to learn a useful alignment.

Unsupervised Neural Machine Translation moves the problem to translation at the sentence level. This is the application area that Miceli Barone proposed for future investigation. A sentence task involves sequences of choices where lexical correspondences can provide part of the evidence. The later work's subject connects the original question about training without alignment to the broader task of producing text in another language. Miceli Barone's particular proposal combined monolingual reconstruction with parallel training, so the later work's unsupervised framing addresses the wider question raised by the paper's motivation.

Quantized Wasserstein Procrustes alignment returns to the geometry of word embedding spaces and frames their alignment through a named mathematical approach. The connection to Miceli Barone is at the level of the object being aligned. Each language supplies a space of word vectors, and the method for comparing and bringing those spaces into agreement governs what relationships can be recovered. This line of work puts the formulation of alignment itself at the center of the problem that the earlier paper approached through adversarial discrimination.

Challenges and strategies in cross-cultural NLP cites the work in a broader setting. Its scope makes the original assumption about comparable use of language especially relevant. A method designed around similar themes asks what can be shared across representations when the evidence comes from separate corpora. A cross-cultural framing brings attention to the contexts in which that evidence arises. Within this wider discussion, Miceli Barone's experiment serves as an early instance of testing compatibility through the structure of independently learned representations.

Cite

Cite as Miceli Barone, Antonio Valerio. 2016. Towards cross-lingual distributed representations without parallel text trained with adversarial autoencoders. Proceedings of the 1st Workshop on Representation Learning for NLP.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w16-1614

@inproceedings{valerio2016cross,
  title = {{Towards cross-lingual distributed representations without parallel text trained with adversarial autoencoders}},
  author = {Miceli Barone, Antonio Valerio},
  booktitle = {Proceedings of the 1st Workshop on Representation Learning for NLP},
  year = {2016},
  doi = {10.18653/v1/w16-1614},
  url = {https://doi.org/10.18653/v1/w16-1614}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/barone-2016-cross-lingual-distributed-representations-without/