---
title: "Learning the Optimal Use of Dependency-parsing Information for"
description: "The paper tests how learned weights for grammatical and sentence context help find Japanese–English word translations in comparable corpora."
canonical: "https://research.elamur.ai/free/en/papers/andrade-2011-learning-optimal-use-dependency-parsing/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/andrade-2011-learning-optimal-use-dependency-parsing/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2011](https://md.research.elamur.ai/free/en/papers/2011/) / Learning the Optimal Use of Dependency-parsing Information for Finding Translations with Comparable Corpora

# Learning the Optimal Use of Dependency-parsing Information for Finding Translations with Comparable Corpora

Paper · 2011 · Daniel Andrade, Takuya Matsuzaki and Jun'ichi Tsujii

**Authors:** [Daniel Andrade](https://md.research.elamur.ai/free/en/authors/daniel-andrade/), [Takuya Matsuzaki](https://md.research.elamur.ai/free/en/authors/takuya-matsuzaki/) and [Jun'ichi Tsujii](https://md.research.elamur.ai/free/en/authors/jun-ichi-tsujii/) · **Year:** 2011 · **Venue:** Proceedings of the 4th Workshop on Building and Using Comparable Corpora: Comparable Corpora and the Web · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**7** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W195835971) · [Proceedings of the 4th Workshop on Building and Using Comparable Corpora: Comparable Corpora and the Web](https://aclanthology.org/volumes/W11-12/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/W11-1203/)
- [PDF](https://aclanthology.org/W11-1203.pdf)
- [OpenAlex](https://openalex.org/W195835971)

Citations: OpenAlex, 2026-10-14.

## Summary

A Japanese automobile complaint can describe the same kind of fault as an English complaint even when the documents have no connection. That overlap makes the collections useful for finding translations. If a Japanese word and an English candidate regularly occur with equivalent terms, the candidate may be a good dictionary entry. Daniel Andrade, Takuya Matsuzaki and Jun’ichi Tsujii ask how much the grammatical role of those surrounding terms should count. Their comparison uses ordinary sentence co-occurrence alongside evidence from [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/), which identifies grammatical links between words.

The authors use an existing dictionary to establish shared points of reference across the corpora. For each Japanese query and each English candidate, they record associations with those reference words in several kinds of context. A conventional cosine comparison matches the same kinds of context across languages and gives them equal weight in the comparison. The authors learn a different comparison from known translations. Their method can emphasize some contexts and give partial credit when an equivalent reference word appears in different grammatical positions. A Bayesian objective rewards matrices that place verified translations high in the rankings, and a sampling procedure searches for a matrix that scores well on that objective.

The experiment uses Japanese and English automobile complaints and a reference set of 443 Japanese domain-specific nouns with accepted English translations. Across repeated held-out tests, average top-5 accuracy was 0.33 for the full method and 0.31 for ordinary cosine. Average top-20 accuracy was 0.50 and 0.47, respectively. The full method beat the baseline on every split at the reported cutoffs from top-5 through top-20. The top-1 results were mixed. The clearest gain was in putting a usable translation somewhere on a shortlist.

The learned weights consistently favored the immediate grammatical predecessor and successors over siblings and whole-sentence context. Whole-sentence evidence still helped. When the authors removed it, the scores fell and the fitted comparison placed more weight on matches across grammatical positions. A separate comparison showed that allowing such matches helped even with sentence context available. The experiment thus distinguishes the value of keeping several sources of context from the value of learning how to compare them.

## Deep dive: Learning the Optimal Use of Dependency-parsing Information for Finding Translations with Comparable Corpora

The paper tests how learned weights for grammatical and sentence context help find Japanese–English word translations in comparable corpora. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Learning a dictionary entry from documents that were written independently

The task starts with a word in one language and a collection of possible translations in another. The system returns a ranking that a reader could inspect while extending a bilingual dictionary. The target is a translation of the individual word. In this experiment, the queries are Japanese nouns, and the evidence comes from independently written collections of automobile complaints in Japanese and [English](https://md.research.elamur.ai/free/en/topics/english/).

A parallel collection would offer a direct way to see how a term was translated. Its texts would express corresponding material across languages, so words on both sides could be investigated in the context of that correspondence. The complaint collections in this paper are comparable in content. Each describes automobile problems from its own reporting setting. An individual report can have useful vocabulary in common with reports on the other side without providing a direct bilingual match for its sentences. The system must work from recurrent patterns across the collections.

The underlying distributional idea is that words with related uses tend to have recognizable surroundings. For translation, recognizing those surroundings requires a way to connect words in different languages. The method uses existing dictionary entries for that purpose. A known translation pair gives the system a shared reference point. It can ask how frequently the Japanese member occurs near a query and how frequently the English member occurs near a candidate, using the corpus for each language. When many such associations line up, the candidate has evidence in its favor. This is the role of [distributional semantics](https://md.research.elamur.ai/free/en/concepts/distributional-semantics/) in the paper.

The authors call the reference words *pivots*. A pivot has a translation that the system can already use. The query poses a different problem. Its translation is what the ranking is meant to recover. Known entries therefore help the system recommend entries through their use as context, while the verified query answers can serve separately as training or evaluation data. This division matters for the dictionary-building goal. The system can benefit from a bilingual resource even when the entry under consideration still needs to be established.

A context match can support the wrong candidate. Related terms from the same domain may occur around similar parts and faults, and a report may discuss several of them in one sentence. A translation finder consequently has to decide which patterns are informative enough to affect the order of its candidates. The paper addresses that decision by changing the comparison of the context profiles. It takes the dictionary-based bridge and the construction of corpus profiles as its starting point.

#### How earlier work represented context

The paper traces comparable-corpus translation finding to work by Rapp and Fung. In the approach it describes, both a query and a possible translation are represented by their measured associations with pivots. The source and target profiles are built separately, so a ranking can be formed without aligning the reports. Rapp’s study illustrates this approach with context defined by a surrounding word window. [Automatic Identification of Word Translations from Unrelated English and German Corpora](https://md.research.elamur.ai/free/en/papers/rapp-1999-automatic-identification-word-translations-unrelated/)

A window gives words credit for being close in the written sequence. A sentence-wide representation, which the paper discusses in connection with earlier work by Utsuro and colleagues, gives the system a broader span. In a sentence bag of words, the relevant observation is that a pivot occurs in the sentence. Its precise order and its grammatical attachment to the query are left out of that part of the representation. The paper also cites work by Haghighi and colleagues in its discussion of surrounding-word context. [Learning Bilingual Lexicons from Monolingual Corpora](https://md.research.elamur.ai/free/en/papers/haghighi-2008-learning-bilingual-lexicons-monolingual-corpora/)

A dependency tree supplies another definition of context. It records links among words in a sentence. From the viewpoint of a word under study, its predecessor is the word immediately above it in the tree. Its successors are its immediate dependents. Siblings share the same predecessor. These positions are defined by the structure of the sentence, so they can be filled by words whose distance in the written sequence varies. The names describe the location of a word in the tree and carry no implication about whether it comes earlier or later in the sentence.

The earlier work by Garera and colleagues used positions from dependency trees to characterize words. Andrade and colleagues had also studied representations combining dependency context with a sentence bag of words. These approaches gave translation finders a way to collect several kinds of evidence about each word. The question the present paper isolates is how to compare that evidence once it has been collected. Simply appending different context profiles to the same vector sets the coordinates side by side. The similarity rule still decides which coordinates can interact and how much they matter.

#### Two assumptions in the ordinary comparison

The baseline uses cosine similarity, a comparison of the directions of two vectors. At the level of the scoring rule, it treats the coordinates in each context group alike. The values in those coordinates are still determined by the corpus. A group can contribute more to a particular score because it contains stronger associations, but the rule supplies no learned preference for one group over another. If reliable clues tend to occur around immediate grammatical links, the rule has no direct way to express that preference.

The other assumption concerns correspondence. In an ordinary cosine over stacked context groups, the Japanese predecessor coordinates meet the English predecessor coordinates, and the same principle applies to successors, siblings and sentence context. A pivot associated with the query as a sibling and with a candidate as a successor can contribute through other shared observations, such as sentence co-occurrence. That particular sibling–successor match contributes nothing directly in the dependency part of ordinary cosine.

Those issues are independent. Giving predecessors greater weight changes the value of a predecessor-to-predecessor match. Allowing one position to match another changes which evidence the score considers in the first place. A system can benefit from one adjustment without necessarily benefiting from the other. The paper makes both available in a single comparison rule and then examines their roles separately.

The authors connect their approach to metric learning, prior research on learning how to compare high-dimensional representations. Their setting poses a specific version of that problem. They want to improve the ranks of known word translations, and the vectors already have a block structure that records grammatical and sentence context. The proposed search exploits that structure. The parameters control relations among context positions while leaving the dictionary’s pairing of individual pivots intact.

### The method, step by step

#### Build a comparable profile for every word

Consider a Japanese query and an English candidate. The method first asks which known bilingual pairs can serve as pivots. On the Japanese side, each pivot occupies a named coordinate. On the English side, the chosen equivalent occupies the corresponding coordinate. The system uses the same order on both sides. A coordinate can therefore identify the same dictionary pairing even though its association values were measured with different words in different collections.

The authors use a single English counterpart for each Japanese pivot. When the dictionary gives several possible equivalents, they select the one whose relative frequency in the English corpus comes closest to the Japanese pivot’s relative frequency in the Japanese corpus. This rule settles the correspondence before translation scoring. A query can itself be a pivot in the wider collection. When that happens, the paper excludes that word from the pivots used for the current query, so the query’s own dictionary entry does not serve as its context evidence.

For each query and candidate, the system collects corpus observations in the predecessor, successor, sibling and sentence positions. A pivot encountered as a direct successor contributes an observation to the successor group. An occurrence elsewhere in the sentence can contribute to the sentence group. The sentence group has a wider reach and can include words also seen in a dependency position. The representation keeps the groups separate so that the comparison can distinguish their roles.

The paper uses the log-odds ratio as its association measure, following Laroche and Langlais. A coordinate records a measured association between the word under study and a pivot in a given position. Its value reflects co-occurrence evidence from the corpus. This gives the representation a way to distinguish a recurrent association from a raw count considered on its own. The paper names the measure and identifies the earlier work it follows. Its description of the proposed comparison begins after the association values are available.

For a first reading, it helps to picture the resulting profile as a stack of lists. Every list follows the same order of pivots. The predictor compares the Japanese stack with an English stack and repeats that comparison across the candidates. The baseline uses equal treatment of the groups and compares matching lists. The fitted method can change the relative weight given to matching lists and give partial credit to matches between different lists.

Finding translations from comparable complaint corpora The steps in order.

#### From position lists to cosine scores

The authors write the association profile for one context position as follows.

```
qᵢ = (qᵢ₁, …, qᵢₙ)
```

Here `qᵢ` is the row vector for the query in position `i`. The positions `i` are predecessor (`1`), successor (`2`), sibling (`3`) and sentence (`4`). The index on an entry, such as `1` or `n`, identifies the pivot in the shared ordering. The value `qᵢₙ` is the query’s measured association with pivot `n` in position `i`. The symbol `n` is the number of pivot coordinates, and `…` stands for the intervening entries.

```
q = (q₁, …, q₄)
```

In this expression, `q` is the complete query row vector, and `q₁` through `q₄` are the position vectors concatenated in that order. The ellipsis stands for the intervening position blocks. The corresponding English row vector `x` is built in the same order with blocks `xᵢ`. The dictionary pairing makes entry positions within each block comparable across the languages.

Ordinary cosine takes the dot product of the complete query and candidate vectors and divides by their lengths. In the numerator, the contribution from a given coordinate comes from multiplying its query value by its candidate value. Concatenation means the products are taken within matching position groups. Predecessor associations are paired with predecessor associations for the same pivot, and the other groups are handled in the same way. The division by vector lengths makes the score a measure of orientation. A larger overall profile is not on its own a reason for a higher rank.

The paper uses the following generalized cosine.

```
sim(q, x) = qAxᵀ / (√(qAqᵀ) √(xAxᵀ))
```

The symbol `sim` names the similarity score. The row vectors `q` and `x` represent the Japanese query and English candidate. The superscript `ᵀ` transposes a row into a column. The matrix `A` is symmetric and positive definite, with a row and column for every coordinate in the complete vectors. Juxtaposition denotes matrix multiplication. The numerator `qAxᵀ` is the weighted comparison, and the square roots `√(qAqᵀ)` and `√(xAxᵀ)` give the lengths under the same weighting. The slash indicates division by their product.

Positive definiteness makes the quadratic length terms positive for non-zero vectors. It also lets the authors interpret the score as ordinary cosine after both profiles undergo the same linear transformation. The transformation is the positive-definite square root of `A`. Using that square root for both vectors gives `A` in the dot product and in the two length terms. If `A` is the identity matrix, the transformed profiles have the same coordinates as before and the ordinary cosine is recovered. This identity case is the paper’s baseline.

Normalization is part of the learned comparison. An increased weight can change a pair’s numerator and the lengths of its profiles. As a result, the fitted weights are best read as parameters of the comparison. They are not shares of the final score assigned to each kind of evidence. Whether a change helps an English candidate also depends on the other candidates for the query and on how the new comparison orders the entire list.

#### Restrict the comparison to context positions

An unrestricted matrix could assign a separate interaction to every pair of coordinates. Those coordinates distinguish both the pivot and its context position. The authors consider a search in that space infeasible and use a much smaller family of matrices. They first express it in blocks.

```
A = ⎡ d₁I     z₁,₂I   z₁,₃I   z₁,₄I ⎤
    ⎢ z₁,₂I   d₂I     z₂,₃I   z₂,₄I ⎥
    ⎢ z₁,₃I   z₂,₃I   d₃I     z₃,₄I ⎥
    ⎣ z₁,₄I   z₂,₄I   z₃,₄I   d₄I   ⎦
```

Here `A` is the matrix in the generalized cosine. Each displayed entry is a block, with `I` the identity matrix of size `n × n` and `n` the number of pivot coordinates. The brackets mark the block rows and columns. The coefficient `dᵢ` weights a comparison within position `i`. The coefficient `zᵢ,ⱼ` connects positions `i` and `j`, where `i` and `j` index the context groups in the order already given. Writing the same coefficient in the reflected block makes the interaction symmetric. Multiplication by `I` keeps each comparison within the same pivot coordinate.

A diagonal block compares one position with itself across languages. For instance, the predecessor block multiplies the usual dot product of the predecessor vectors by `d₁`. An off-diagonal block connects different positions. A query’s association with a pivot in its sibling group can then meet the candidate’s association with that pivot in its successor group. The identity block means the comparison depends on an established dictionary correspondence. It never gives direct credit to a match between unrelated pivot coordinates.

The authors further constrain the off-diagonal blocks by sharing their coefficient.

```
A = ⎡ d₁I  zI   zI   zI  ⎤
    ⎢ zI   d₂I  zI   zI  ⎥
    ⎢ zI   zI   d₃I  zI  ⎥
    ⎣ zI   zI   zI   d₄I ⎦
```

The matrix `A`, block identity `I`, brackets and diagonal weights `d₁` through `d₄` have the same meanings as before. The scalar `z` replaces every position-pair coefficient. The paper calls it the *confusion coefficient*. It expresses how much the comparison can use a pivot across unequal positions, including between a dependency position and the sentence group when sentence evidence is present.

The earlier matrix shows what it would mean to learn a different weight for every pair of positions. The fitted matrix gives up that distinction. A useful sibling–successor match can help justify a shared cross-position coefficient, but the learned value has no entry that singles out that pair. The same constraint applies to different pivots. The system learns whether this kind of comparison helps across examples, with no separate coefficient for a particular term. These decisions are what make repeated evaluation of candidate matrices practical.

#### Score a matrix on known translations

For fitting, a training item contains a Japanese query and its accepted English answer or answers. Given a matrix, the system ranks the English candidates for each training query. At a selected cutoff, a query counts as a success when at least one accepted translation appears in the list up to that cutoff. The share of successful queries is the accuracy at that rank. A word with several accepted answers still contributes one success at a given cutoff.

The authors use a weighted summary of these accuracies as an unnormalized likelihood.

```
fₐᵤ꜀(data | A) = ∑ᵣ₌₁²⁰ accᵣ · (21 − r)
```

Here `fₐᵤ꜀` names the likelihood score. The argument `data` is the gold-standard material used for fitting, and `A` is the matrix used to rank its candidates. The vertical bar indicates that the score is evaluated given that matrix. The sum `∑` runs over rank cutoffs `r` from `1` through `20`. The term `accᵣ` is the training accuracy at cutoff `r`. The multiplication dot applies the weight `21 − r`, where `−` denotes subtraction and `21` is the constant in the paper’s weighting rule.

The authors describe this as a modified area under an accuracy-versus-rank curve. It is calculated from a sequence of cutoffs on a translation ranking. A query that succeeds at an early cutoff also succeeds at later ones, and the earlier cutoffs get more weight. A translation near the head of the list therefore contributes more to this objective than one that turns up near its outer boundary. The objective sees only where accepted answers enter the measured part of the list. Some changes in similarity scores leave those ranks intact and have no effect on the likelihood.

The fitting target is the maximum of a posterior score.

```
arg maxₐ p(A | data, α)
```

Here `arg maxₐ` means to choose the matrix `A` at which the following expression is largest. The subscript `ₐ` indicates optimization over that matrix. The symbol `p` denotes the posterior, `data` denotes the fitting examples, `α` is the prior’s hyper-parameter, and the vertical bar introduces the quantities on which the posterior is conditioned.

```
p(A | data, α) ∝ fₐᵤ꜀(data | A) · p(A | α)
```

The left side is the posterior score for matrix `A`, given the gold-standard training examples `data` and hyper-parameter `α`. The sign `∝` means proportional to. On the right, `fₐᵤ꜀` is the rank-based likelihood score, `p(A | α)` is the prior density of the matrix at the chosen `α`, and `·` denotes multiplication. The bars mark conditioning in the respective expressions. A factor common to all tested matrices is immaterial to which matrix maximizes the posterior.

The two factors serve different purposes. The likelihood rewards a matrix that puts known translations near the front. The prior constrains the kinds of comparison the search can favor. In particular, it controls how strongly the diagonal weights are drawn towards equal treatment and how large a cross-position coefficient is allowed. The fitted parameters consequently depend on both the observed ranks and the chosen prior.

#### Define the prior and the scale of the weights

The prior is written as a product of a conditional density for the shared coefficient and a density for the diagonal weights.

```
p(A | α) = p(z | d₁, …, d₄) · p(d₁, …, d₄ | α)
```

In this expression, `p` denotes the indicated density, `A` is the comparison matrix, `α` governs the diagonal prior, and `z` is the shared coefficient. The values `d₁` through `d₄` are the diagonal weights, with `…` standing for the intervening weights. The first density on the right is conditional on those weights, as indicated by `|`. The second is the density of the weights given `α`, and `·` means multiplication.

```
p(d₁, …, d₄ | α) = (1 / B(α)) ∏ᵢ₌₁⁴ dᵢ^(α − 1)
```

The left side is the symmetric Dirichlet density for the diagonal weights `d₁` through `d₄`, given `α`. The dots stand for the intervening weights. The symbol `∏` means to multiply the factors for indices `i` from `1` through `4`. Each factor is the weight `dᵢ` raised to the power `α − 1`, shown with `^`. The quantity `B(α)` is the normalization constant, so the product is multiplied by its reciprocal `1 / B(α)`. The weights are non-negative and sum to `1` on the support of the Dirichlet. Symmetry gives every position the same prior treatment, and `α` controls the concentration of the weights.

```
λ = min{d₁, …, d₄}
```

The symbol `λ` is the upper bound for the shared coefficient. The operator `min` takes the smallest member of the set inside braces, here the diagonal weights `d₁` through `d₄`. The ellipsis includes the intervening weights.

```
p(z | d₁, …, d₄) = (1 / λ) · 1_0,λ
```

Here `p` is the conditional density of the shared coefficient `z` given the diagonal weights `d₁` through `d₄`, and `λ` is their minimum. The symbol `1_0,λ` is an indicator. It equals `1` for `z` in the interval from `0` to `λ` and `0` outside that interval. The density is constant on the interval, with height `1 / λ`, and `·` denotes multiplication.

This prior caps the cross-position coefficient at the smallest same-position weight. The authors want the scorer to retain a preference for evidence that occurs in matching positions while leaving room for useful departures from that pattern. The cap applies to individual coefficients. Several cross-position products can still contribute to a score, so it does not cap their combined effect at the contribution from a single diagonal block.

The constraint that the diagonal weights sum to `1` fixes a scale. A positive rescaling of the entire comparison matrix leaves the score unchanged.

```
q(cA)xᵀ / (√(q(cA)qᵀ) √(x(cA)xᵀ)) = qAxᵀ / (√(qAqᵀ) √(xAxᵀ)), c > 0
```

Here `q` and `x` are the query and candidate row vectors, `A` is the comparison matrix, and `c` is a scalar greater than `0`, as indicated by `>`. The superscript `ᵀ` marks transposition, and `√` gives the square root of each quadratic length term. The expression on the left uses the matrix scaled by `c`, and the one on the right uses the original matrix. The factor `c` from the numerator cancels the product of the scaling factors in the denominator.

That invariance explains why the authors can express fitting in terms of normalized diagonal weights while describing ordinary cosine through a matrix whose diagonal entries are each `1`. A uniformly rescaled identity yields the same scores for the baseline. For the fitted comparison, the relative sizes of the diagonal weights and the shared coefficient are what affect a ranking.

#### Select the prior strength and search for the matrix

The paper uses the training set for both the choice of `α` and the search for suitable matrix parameters. To choose `α`, the authors fit matrices for several values of the hyper-parameter using half of the training set. They compare those fitted matrices on the remaining half using the rank-based likelihood score. This is their empirical Bayes procedure. The choice makes the strength of the prior depend on training evidence while reserving the external test set for evaluation.

For a given fitting problem, the procedure initializes the diagonal weights and the shared coefficient. It then alternates between searching for the diagonal weights with `z` fixed and searching over `z` given the diagonal. The authors repeat those steps until the parameters converge. They describe the procedure as a Markov chain Monte Carlo approximation to the posterior maximum. The returned matrix is the result of a search, instead of a closed-form solution.

The diagonal search uses simulated annealing. In this setting, the search proposes new sets of weights, evaluates their posterior scores and gradually reduces the scope for moves away from the best region found. The jumping distribution is Dirichlet and is updated every 1000 iterations. The paper gives the cooling rate as the reciprocal of the iteration index. For the shared coefficient, it describes a uniform sampling step with the diagonal fixed. The prior explicitly defines the admissible interval from `0` to the smallest diagonal weight. The training description gives a lower endpoint of `1` in its sampling interval, which conflicts with that bound and with the normalized weights. The stated prior establishes the feasible range, while the sampling instruction is inconsistent as printed.

Evaluating a proposal requires a ranking for each fitting query. The expensive part is the repeated likelihood calculation over candidates, and the authors exploit the block matrix to reduce the work. They introduce a block matrix `I⁻` with identity blocks away from the diagonal and zero blocks on the diagonal.

```
A = ⎡ d₁I  0    0    0   ⎤
    ⎢ 0    d₂I  0    0   ⎥
    ⎢ 0    0    d₃I  0   ⎥
    ⎣ 0    0    0    d₄I ⎦ + z · I⁻
```

The matrix `A` is the comparison matrix and the brackets enclose its diagonal part. Each `dᵢ` is the weight for position `i`, `I` is the identity on the pivot coordinates, and each `0` denotes a whole zero block of the same size as `I`. The term added with `+` is the shared coefficient `z` multiplied by `I⁻`. The superscript minus in `I⁻` is part of its name. It indicates that its diagonal blocks have been left out of the pattern of identity blocks, instead of denoting an inverse.

```
qAxᵀ = (d₁, …, d₄) · (q₁x₁ᵀ, …, q₄x₄ᵀ) + z · (qI⁻xᵀ)
```

The left side is the unnormalized numerator for the query vector `q` and candidate vector `x` with matrix `A`. The transpose signs `ᵀ` turn the relevant row vectors into columns. The entries `qᵢxᵢᵀ` are same-position dot products of the query and candidate blocks for position `i`. The first dot between tuples denotes their dot product, which applies the weights `d₁` through `d₄`. The ellipses stand for the intervening weights and dot products. The term after `+` multiplies the shared coefficient `z` by `qI⁻xᵀ`, which collects the cross-position products selected by `I⁻`.

For a fixed query and candidate, these component products are the same for every proposed set of weights. The authors can calculate them in advance and combine them again when evaluating a proposal. The paper illustrates this with the numerator. The same decomposition applies algebraically to the quadratic terms by using the query or candidate on both sides of the comparison. This reuse matters because the objective depends on candidate ranks. Each proposal still has to be judged by the rankings it induces, even though its weighted products are cheaper to obtain.

### Experiments and results

#### Complaint collections and verified translations

The source collection came from Japan’s Ministry of Land, Infrastructure, Transport and Tourism. The target collection came from the US National Highway Traffic Safety Administration. Both are publicly available collections of automobile complaints. The authors used 24,090 sentences from the Japanese collection and 47,613 sentences from the English one. The common domain made their vocabulary and subject matter comparable. The experimental design did not require a report in one collection to have a corresponding report in the other.

The preprocessing used tools for each language. For Japanese, Juman supplied morphological analysis and KNP supplied dependency parses. For English, the authors used Stepp Tagger for [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) and [stemming](https://md.research.elamur.ai/free/en/concepts/stemming/). The tags identify word classes, and stemming gives the corpus representation a way to group inflected forms. The English dependency trees came from the MST parser. These tools determine the words and structural positions that are counted when the query and candidate profiles are built. [Online Large-Margin Training of Dependency Parsers](https://md.research.elamur.ai/free/en/papers/mcdonald-2005-online-large-margin-training-dependency/)

The bilingual resource was JMDic. The authors found 1796 Japanese content words with English translations appearing in the English collection. These words and their selected counterparts supplied the pivots. A Japanese pivot with several dictionary translations was paired using the relative-frequency rule. The translation finder used the resulting coordinate mapping for its comparisons, with the current query excluded from its own pivot set when applicable.

The reference answers were assembled using JMDic as well. The authors selected noun pairs attested on their respective sides of the corpora, corrected apparently unsuitable translations and removed general or ambiguous queries. Their examples include removing the equivalent of *possibility* as too general and leaving out 米 because of its readings associated with rice and America. The final reference set contained 443 Japanese domain-specific nouns. Each entry linked a query to the accepted English translations used to score it.

This setup gives the dictionary two jobs. The pool of pivots supplies a bridge for comparing contexts, and the curated entries supply known answers for fitting and evaluation. The held-out answers are used to judge the learned comparison on their assigned test split. The resulting experiment measures how well that comparison recovers curated answers from corpus evidence within a setting that already has bilingual anchors.

#### Test splits, systems and accuracy

The authors repeatedly split the gold standard at random into approximately equal training and test portions. They repeated the split five times. Each test result comes from a matrix fitted on the corresponding training portion. Different splits can put different queries on the test side, and the learned weights can change with the training material. The repeated comparison shows whether the direction of the result remains similar as those assignments change.

NORMAL is the ordinary-cosine baseline. It uses all the context groups and compares corresponding coordinates with equal treatment. OPTIMIZED-ALL uses the same groups and includes the learned diagonal weights and non-zero cross-position coefficient. The vectors and the dictionary correspondence are shared between the two systems. The comparison therefore measures the effect of replacing ordinary cosine with the fitted rule on full-context vectors.

The paper also reports OPTIMIZED-DIAG. It takes the diagonal weights fitted for OPTIMIZED-ALL and sets `z` to `0`. Its name can suggest a separate diagonal optimization. In the analysis, the authors define it as an intervention on the full fit. This matters when comparing it with NORMAL. It measures what the full fit’s diagonal weights achieve after removing the shared coefficient, compared with a rule that uses equal weights from the outset.

The test metric is accuracy at a rank cutoff. Top-1 gives credit when the first suggestion is an accepted translation. Top-5 gives credit when any of the first five suggestions is accepted. The rest of the reported cutoffs have the same interpretation. A result such as 0.50 at top-20 is a proportion of queries for which the shortlist contains a verified answer. It is a different quantity from the fraction of all suggestions in those lists that are translations.

#### The strongest improvement appears in shortlists

Full-context systems on the Japanese–English automobile complaints test splits, average top-5 accuracy The learned comparison with cross-position matches places accepted translations in more shortlists than either comparison restricted to matching positions.

**The numbers**

| System or setting | top-5 accuracy |
| --- | --- |
| NORMAL | 0.31 |
| OPTIMIZED-DIAG | 0.30 |
| OPTIMIZED-ALL (this paper) | 0.33 |

The average top-5 result favors the full learned comparison. OPTIMIZED-ALL scored 0.33, compared with 0.31 for NORMAL and 0.30 for OPTIMIZED-DIAG. In the individual test splits, the full method’s top-5 accuracy lay between 0.30 and 0.37. The baseline’s top-5 values lay between 0.27 and 0.34. Within each split, the full method scored higher than the baseline, so the ordering at this cutoff is visible before averaging.

Full-context systems on the Japanese–English automobile complaints test splits, average top-20 accuracy The full learned comparison has the highest average accuracy when the candidate list is allowed to reach the widest reported cutoff.

**The numbers**

| System or setting | top-20 accuracy |
| --- | --- |
| NORMAL | 0.47 |
| OPTIMIZED-DIAG | 0.48 |
| OPTIMIZED-ALL (this paper) | 0.50 |

At top-20, the average was 0.50 for OPTIMIZED-ALL and 0.47 for NORMAL. In the first split, the corresponding values were 0.54 and 0.50. In the fourth split, they were 0.46 and 0.44. The difference in difficulty or fit across splits can affect absolute scores, but the full comparison is ahead at this cutoff in every split. The authors report a best top-20 improvement of 4 percentage points over ordinary cosine.

The intermediate cutoffs follow the same direction. At top-10, the average test accuracy was 0.41 for OPTIMIZED-ALL, 0.40 for NORMAL and 0.39 for OPTIMIZED-DIAG. At top-15, the full method averaged 0.46, while both other systems averaged 0.44. OPTIMIZED-ALL beat NORMAL in every test split at both of these cutoffs. The result supports the use of the fitted comparison when the reader can inspect a list of suggestions.

The top-ranked answer gives a more qualified result. The average top-1 accuracy was 0.18 for OPTIMIZED-ALL and 0.17 for each of the other systems. On the first test split, the full method scored 0.20 and NORMAL scored 0.18. On the fourth, the order reversed, with 0.14 for the full method and 0.15 for NORMAL. On the fifth, the full method scored 0.18 against 0.19 for NORMAL. The paper’s reported best top-1 gain of 2 percentage points describes its strongest split-level result. The results as a whole distinguish an improvement in reaching a shortlist from a reliable improvement in choosing its first entry.

That distinction also follows from the training objective. The likelihood favors early ranks but draws evidence from cutoffs through top-20. Moving an accepted translation into the measured list can improve the objective even when the first candidate remains the same. A learned comparison based on that objective can therefore improve shortlist accuracy more consistently than first-choice accuracy. The reported cutoffs show where the practical gain appears.

### What the ablations show

#### What the fitted weights emphasize

The paper first examines the diagonal weights learned across the training splits. The average predecessor weight was 0.36, and the average successor weight was 0.28. The average for siblings was 0.19, and the average for the whole sentence was 0.18. The two direct dependency positions each received more weight than either of the other positions in every fitted split. Their ordering relative to each other could change. For example, the second training split gave the predecessor 0.27 and the successor 0.29.

This is evidence for a recurring preference within the fitted comparison, instead of a fixed ranking of how useful every position is for every noun. The larger coefficients emphasize matches through immediate grammatical links. The lower coefficients for siblings and sentence context still admit substantial influence. Values of those sizes can affect the score when the corresponding profiles supply strong evidence, and they also enter the normalization.

The weights varied enough that the authors caution against treating their averages as precise values. For the predecessor, fitted weights ranged from 0.27 to 0.44. The roles of the position groups are more stable than the individual estimates. Direct dependency contexts occupy the highest-weight group across the splits, while the degree of emphasis on a particular position changes with the training sample. The authors attribute the variation to the limited quantity of supervised data.

#### What changes when cross-position matches are removed

The learned shared coefficient averaged 0.03 with all context groups included. A small coefficient could still matter because it applies wherever an established pivot is shared across unequal positions. The paper tests its role by setting it to `0` in OPTIMIZED-DIAG while retaining the diagonal weights. The profile construction stays the same, and the alteration affects both the cross-position contribution to the numerator and its contribution to the vector lengths.

The full method averaged 0.33 at top-5, compared with 0.30 for OPTIMIZED-DIAG. At top-20, the figures were 0.50 and 0.48. The diagonal-only variant sometimes tied the full method on a particular split and cutoff. Its top-20 accuracy on the second test split, for example, was 0.52, the same as OPTIMIZED-ALL. The comparison favors the full setting overall, with the clearest separation at cutoffs where a shortlist can benefit from a change in relative rankings.

OPTIMIZED-DIAG also scored below NORMAL on average at top-5 and top-10. At top-20 it scored above NORMAL, and at top-15 the two averages matched. That pattern limits what can be inferred about diagonal weighting on its own. The training procedure chose the diagonal and off-diagonal parameters as parts of the same score. Removing `z` tells us how those diagonal weights behave without the other part of the fit. An independently fitted system constrained to `z = 0` could select different diagonal weights.

#### How a grammatical mismatch can carry translation evidence

The authors illustrate the cross-position comparison with the Japanese query ディスク and its English translation *disc*. They found an associated pivot written 歪み in Japanese and labeled *wrap* on the English side. The Japanese example describes a distortion occurring in a brake disc. In the dependency analysis discussed by the authors, the pivot is a sibling of the query. The English example describes a front disc warping, and the English pivot appears as a successor from the perspective of *disc*.

In both cases the pivot helps characterize what can happen to a disc. Its location in the position groups differs. A Japanese sibling coordinate and an English successor coordinate do not meet in ordinary cosine. With the shared coefficient enabled, the corresponding off-diagonal blocks give that pairing some influence. The authors report better translation accuracy for the query under OPTIMIZED-ALL than under OPTIMIZED-DIAG.

The example explains why a cross-position match can be meaningful even when the words in corresponding reports are organized differently. Its force comes from the same known pivot occurring in both profiles. The coefficient neither identifies a translation by itself nor assigns a special rule to discs. It allows a comparison supported by the dictionary to affect the rank even when the evidence arrives in different grammatical groups. The paper uses the example to illustrate the behavior behind the aggregate comparison.

#### What sentence context contributes

The second intervention removes the sentence bag of words from the profiles. The authors compare OPT-DEP, the fitted comparison using dependency positions alone, with NOR-DEP, the corresponding ordinary-cosine baseline. They evaluate these variants on the same test splits and report their average accuracies. The comparison helps distinguish the effect of the fitting procedure from the effect of furnishing the scorer with broader evidence.

Full-context and dependency-only systems on the Japanese–English automobile complaints test splits, average top-20 accuracy The fitted comparison helps with dependency context alone, and both comparisons score higher with sentence evidence included.

**The numbers**

| System or setting | top-20 accuracy |
| --- | --- |
| NOR-DEP | 0.38 |
| OPT-DEP | 0.41 |
| NORMAL | 0.47 |
| OPTIMIZED-ALL (this paper) | 0.50 |

Within the dependency-only comparison, OPT-DEP scored 0.13 at top-1 and 0.25 at top-5. The corresponding NOR-DEP scores were 0.12 and 0.23. At top-10, OPT-DEP achieved 0.34 and NOR-DEP achieved 0.29. The fitted dependency-only comparison is ahead at each reported cutoff. Its results are also below the corresponding full-context results, including the ones for ordinary cosine. This shows how much the profiles themselves matter to the experiment. Fitting the comparison can improve the ordering of dependency-only candidates while still benefiting from the wider context when it is available.

The dependency-only fit gave an average cross-position coefficient of 0.14. Its average weights were 0.38 for predecessors, 0.33 for successors and 0.29 for siblings. With sentence context included, the average cross-position coefficient was 0.03. Removing a position changes how the remaining diagonal weights are normalized, so the absolute coefficient values are only part of the story. The authors also describe the coefficient relative to its permitted maximum. They report around 17% for the full representation and 48% for the dependency-only one.

The authors interpret the larger coefficient as evidence that whole-sentence context can partly fill the role of cross-position comparison. If a pivot appears as a sibling in one language and a successor in the other, it may also appear in both sentence groups. A same-position sentence comparison can then recover some evidence even if direct sibling–successor comparison is unavailable. At the same time, a sentence may contain informative pivots beyond the immediate predecessor, successors and siblings. Changing the dependency weights cannot introduce those observations. The lower dependency-only accuracies are consistent with sentence evidence doing both jobs.

The two interventions address different questions. Turning off `z` asks whether cross-position comparisons help, given the full representation and the diagonal weights that were fitted with it. Removing the sentence group asks how much the broader representation contributes when the scorer can adapt to its absence. Together, they show that a flexible comparison and a wider set of observations both matter in this experiment. They leave the usefulness of particular position pairs unresolved because the shared coefficient pools their contributions.

### Limitations

#### Limits identified by the authors

The authors expect the preferred comparison to depend on the language pair and the corpora. The weights were estimated from Japanese and English complaint language, with the dependency structures assigned by the selected parsers. A high weight for immediate grammatical context in that setting establishes a pattern in these experiments. Applying the same estimated weights elsewhere would require assuming that the relevant evidence is distributed similarly.

They also point to instability across the training subsets. The analysis cites 220 query-and-answer pairs when discussing the limited training sample. The variation in the predecessor estimate is large enough that the authors ask readers to interpret the average weights cautiously. The repeated ranking advantage at the broader cutoffs and the uncertainty about individual parameters can coexist. Several parameter settings can produce useful rankings even when the training evidence gives limited grounds for preferring one exact set of weights.

The search aims to approximate a posterior maximum within the selected matrix family. Simulated annealing searches for a favorable region and can yield a local maximum. The authors show that the search produced useful matrices on their data. They do not establish that it found a global maximum. The word *optimal* in the objective refers to a particular combination of prior and rank-based likelihood. A different family of comparisons or a different objective can define a different optimum.

The authors close by proposing other parameterizations of the matrix and additional features such as transliteration similarity. These are future directions in the paper. The experiments evaluate the shared-coefficient parameterization and the corpus-context features described above. They provide no measurement of what the proposed extensions would add.

#### Limits visible in the evaluation design

The reference task is deliberately narrow. It uses in-domain Japanese nouns for which accepted English counterparts occur in the complaint corpus. General nouns and ambiguous entries were removed during curation. The resulting scores describe recovery of answers under those conditions. A new term whose translation never occurs in the target collection presents a different problem. So does a term whose relevant translations vary with sense. The experiment gives no separate results for those cases.

The test also keeps the language pair, genre and corpus collections fixed. The random splits vary the query entries that supervise the weighting and those that are used to score it. They do not change the underlying complaint collections or move the method to an unrelated domain. That is appropriate for asking whether a learned comparison helps on held-out words within the same corpus pair. The split design cannot establish how the fitted weights transfer to another collection or how well the method works with other languages.

The scores come from a named list of accepted answers per query. A candidate receives credit only when it matches one of those answers. The test can count how often a shortlist reaches a verified translation, but it does not tell how useful the other candidates are to a lexicographer. It also does not measure the effort required to distinguish a good candidate from a plausible related term. The size of the improvement should therefore be interpreted in terms of rank accuracy under the study’s answer criterion.

The reported averages and individual split results show the direction and spread of the comparisons the authors ran. The paper does not report uncertainty intervals or a significance test for the gains. The repeated splits draw on the same gold standard, and their test sets can share queries. They offer evidence about consistency across assignments of the available words. They are not independent replications on new data sources. This distinction is especially relevant at top-1, where the proposed method’s average advantage accompanies reversals on individual splits.

The context comparison was changed while the preprocessing was held fixed. This isolates the score’s contribution within the chosen setup. It leaves the method’s sensitivity to segmentation, stemming or parser errors unmeasured. The learned weights can reflect several influences at once, including how grammar is realized in the corpora and how the parsers assign tree positions. Reading them as language-wide grammatical facts would require evidence that separates those influences.

#### What the parameterization leaves unresolved

All pivot coordinates share the same set of position weights. The system cannot learn that a particular pivot is especially reliable in one dependency position. It also cannot learn a separate preference for each pair of positions or assign different weights to the two directions of a cross-position match. The matrix structure makes fitting tractable, but limits the kinds of linguistic correspondence the results can identify. The disc example shows one plausible mechanism for improvement. The fitted coefficient does not estimate how frequent that mechanism is or distinguish it from the other cross-position comparisons.

The one-to-one pivot mapping imposes a related simplification at the level of the dictionary. Relative frequency chooses one equivalent when several are available, and that choice governs the subsequent alignment of coordinates. The study does not compare the rule with other approaches to choosing among translations or evaluate a display of several alternatives within a single pivot. Errors or sense differences in the chosen anchors can therefore influence the profiles before the learned score is applied.

Likewise, the ablations establish the value of the sentence group and the role of the shared coefficient in the reported configurations. They do not separately remove the predecessor, successor and sibling blocks. The ordering of their fitted weights offers evidence about relative emphasis within the full comparison. It cannot say exactly how much test accuracy would change if an individual dependency group were withheld and the remaining parameters fitted again.

Finally, the paper’s strongest claims concern recommending candidates. A considerable share of the queries still lacked an accepted answer within the reported cutoff, and first-choice accuracy varied across the splits. The experiment supports using learned context comparison to bring more known translations into view in these corpora. It leaves open how far the approach can go toward reliable dictionary expansion when the terms, contexts or acceptable answers are less tightly constrained.

### What came after

A documented follow-up that tests or extends this method has yet to be identified. The authors’ own proposals point to two distinct continuations. A different matrix parameterization could test whether particular pairs of grammatical positions deserve different weights. Adding transliteration similarity could give the ranking evidence from the forms of the words alongside their corpus associations. The first direction changes how existing evidence is compared. The second changes what evidence is available. The paper establishes a result for the shared-coefficient comparison on automobile complaints and leaves those extensions as open questions.

## Cite

Cite as Daniel Andrade, Takuya Matsuzaki and Jun'ichi Tsujii. 2011. Learning the Optimal Use of Dependency-parsing Information for Finding Translations with Comparable Corpora. Proceedings of the 4th Workshop on Building and Using Comparable Corpora: Comparable Corpora and the Web.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{andrade2011learning,
  title = {{Learning the Optimal Use of Dependency-parsing Information for Finding Translations with Comparable Corpora}},
  author = {Daniel Andrade, Takuya Matsuzaki and Jun'ichi Tsujii},
  booktitle = {Proceedings of the 4th Workshop on Building and Using Comparable Corpora: Comparable Corpora and the Web},
  year = {2011},
  url = {https://aclanthology.org/W11-1203/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
