Named Entity Recognition with Bilingual Constraints
Paper · 2013 · Wanxiang Che, Mengqiu Wang, Christopher D. Manning et al.
Summary
A name can be hard to recognize in one language and easy to recognize in its translation. In one of the paper’s examples, the Chinese word 本 is common and seldom appears as a rendering of a foreign name. Its English counterpart, Ben, makes the person reading more plausible. The paper asks how to use such clues in named entity recognition, the task of finding mentions such as people, places and organizations and assigning them a category. The aim is to get more supervision from translated text, which can be easier to obtain than text that people have marked for entities in both languages.
The authors start with a Chinese tagger and an English tagger trained on their respective labeled texts. For a pair of translated sentences, each tagger supplies a score for every possible label at every word. A separate alignment system proposes correspondences between words. An integer linear program then chooses labels for both sentences together. An aligned word can lend evidence to its counterpart, and the evidence works in either direction. The strongest version, Soft-align, allows translations to receive different labels and gives uncertain word links less influence. The authors estimate how labels tend to correspond from text tagged automatically on both sides.
On the bilingual OntoNotes 4.0 test set, the clustered Chinese baseline scores 69.45 F1 and Soft-align scores 75.02. The clustered English baseline scores 79.68 F1 on the same test split, and Soft-align reaches 80.10. Requiring aligned words to have identical entity types gives a much smaller Chinese gain and reduces English F1. The distinction matters because translations can express the same content in different ways, and a proposed word link can also be wrong.
The authors also use the bilingual tagger to label 80k Chinese–English sentence pairs for additional training. They add the Chinese side to the original Chinese training material and train a new tagger that can work with Chinese alone. On the Chinese test set, it reaches 72.77 F1, compared with 69.45 for the original baseline. The experiments thus show a benefit when translations are available at tagging time and a separate benefit when translations are available to prepare training data. The clearest gains are on the Chinese side, where more of the reference entities are recovered.
Deep dive: Named Entity Recognition with Bilingual Constraints
Named Entity Recognition with Bilingual Constraints shows how aligned Chinese and English text can improve name tagging and provide new training data. · about 38 minutes to read
The problem and its context
What a tagger has to decide
A named entity tagger has to settle both where a mention begins and ends and what kind of mention it is. A word may supply a strong clue to the category while leaving the extent of the name uncertain. Conversely, the boundaries of a phrase may be clear while its type remains ambiguous. These decisions matter for information extraction, where a name may be part of a fact collected from text, and for machine translation, where recognizing a name can help identify the expression being translated.
The paper represents an entity mention through the labels assigned to its individual words. In the BIO scheme, B marks the beginning of a mention, I marks a continuation, and O marks a word outside a mention. The beginning and continuation tags also carry the entity type. B-PER starts a person mention, for example, and I-PER extends it. A one-word mention needs a beginning tag and can end immediately. On the other hand, a continuation tag needs a preceding word with a compatible label. The benchmark ultimately counts mentions, so an error at a boundary can matter even when other words in the name are correctly tagged.
A supervised tagger learns these decisions from examples in which people have already located and categorized mentions. The authors identify the expense of this linguistic annotation as a reason to look for additional evidence in translations, especially where labeled training material is scarce. Parallel text, also called bitext, gives corresponding passages in different languages. The paper points to material assembled for statistical machine translation as a resource that can be brought into use for tagging. The key question is what to do with the correspondence once the texts have been paired.
The Ben example shows why that evidence can matter even if the translation adds no new fact. Each language expresses the same person’s name, but each rendering has different associations for its own tagger. A system interpreting 本 in Chinese has to choose among uses of a common form. The English tagger can supply evidence that Ben is a person name in the corresponding sentence. The paper’s example also pairs 伯南克 with Bernanke. Its larger point is that a translation changes the evidence available for a tagging decision while preserving much of the meaning that the decision concerns.
Earlier ways of using bilingual text
Some earlier approaches also used bilingual material to improve tagging in a single language. The paper describes work by Li and colleagues that labeled bilingual names jointly with a cyclic conditional random field. A conditional random field, or CRF, assigns scores to alternative labelings of an observed sequence. The cycles in that earlier approach called for approximate inference through loopy belief propagation, which passes messages between connected variables in the presence of loops. The approach used manually labeled bilingual material. The paper’s related-work discussion also describes Kim and colleagues’ use of Wikipedia to label bilingual material automatically and identifies coverage of Wikipedia topics as a limit of that route.
A bilingual name dictionary offers another way to check a proposed entity pair. The paper discusses earlier work that extracted names from unannotated translations and consulted such dictionaries for verification. Verification depends on what the dictionary contains. The authors point out that extensive bilingual name dictionaries are hard to obtain for many language pairs. The resource sought in this paper is a collection of correspondences between tags, which can be estimated from automatically tagged text even when a dictionary of individual names is unavailable.
Annotation projection uses a different kind of resource. A system first analyzes one side of a translation, then sends the resulting labels across word alignments. In the earlier work discussed by the authors, this general idea was used for cross-language transfer, including part-of-speech tagging. The paper also describes an approach that projected English entity labels into Chinese using handcrafted rules. Projection makes it possible to reuse a good source tagger. It also creates a route by which a source mistake, an incorrect alignment or a difference in annotation practice can end up on the target side. Joint inference gives the target sentence its own say in the decision through its monolingual scores.
The closest comparison in the introduction is a reranking approach by Burkett and colleagues. A strong tagger’s output supplies noisy training material, and a deliberately weaker tagger helps create the setting in which a reranker learns to use bilingual features. The resulting reranker can then change the ordering of the strong tagger’s proposed analyses. Che and colleagues identify two dependencies in that design. The weak tagger must be chosen so that its evidence and the bilingual evidence complement one another, and the reranker can choose only among analyses that make it into the candidate list. An otherwise useful bilingual clue cannot recover a preferred sequence if the reranker never receives it.
The paper instead constructs a decision for every word and gives a solver the monolingual scores, the tagging rules and the bilingual evidence. It draws on earlier work that used integer linear programming to impose constraints in language tasks. The authors cite applications in semantic role labeling, dependency parsing and textual entailment. They also describe bilingual work on semantic roles in which training the alignment component required manual annotation. Their proposal puts the cross-language information into the decoding objective, the score used to select tags at prediction time.
Why agreement needs room for exceptions
The same translation that helps identify Ben also illustrates a basic issue with word-level alignment. A Chinese word can correspond to several English words. The paper illustrates the alignment by matching 美联储 to three English words: “the,” “Federal,” and “Reserve.” The Chinese word can constitute a complete organization mention by itself, while the English words occupy different positions within a mention. The type can be shared even when the roles of individual words within the entity differ. Agreement on type therefore has a clearer basis than agreement on the full BIO label for each word.
Other alignments connect words whose reference annotations actually differ. The paper shows 开发区 labeled as a location in Chinese while development and zone fall outside any named entity in English. The link can make sense as a correspondence between expressions even though the classification differs. A separate example links Agency with 电, glossed as report, through a faulty alignment. The first case calls for tolerance of a legitimate difference in tags. The second calls for giving an unreliable link less authority. The authors address these as separate sources of uncertainty, which makes it possible to ask experimentally what each change contributes.
The method, step by step
From sentence pairs to a joint decision
The starting point is a pair of sentences that express corresponding content in Chinese and English. Sentence alignment establishes that pairing. Within it, word alignment supplies more local evidence by proposing which words correspond and assigning probabilities to the links. Meanwhile, each monolingual tagger reads its own sentence and supplies probabilities for the available labels at every position. At this stage, the sentence-level pairing, word links and tag probabilities play distinct roles. A good sentence match can contain uncertain word links, and a good word link can connect tokens whose entity labels legitimately differ.
The next step is to express a candidate analysis in binary decisions. Each word has a separate indicator for every possible tag. Exactly one indicator for that word must be active. Some combinations are ruled out by the BIO scheme. For instance, a person continuation immediately following an outside label would purport to continue a mention that had never begun. In the bilingual version, some decisions also concern a pair of words. Their value depends on which labels the solver gives the two words and on the strength of the link between them.
An integer linear program, or ILP, chooses the indicators that give the best total score under the constraints. Its variables are integers, here binary indicators, and the objective and constraints are formed from linear combinations of those variables. Probabilities can enter the objective through logarithms because the log values are calculated before the solver chooses the indicators. For Soft-align, the same applies to the coefficients that incorporate alignment probabilities. The solver selects which fixed scores contribute to the total.
Tagging a Chinese–English sentence pair with Soft-align
The steps in order.
The paper first defines a monolingual version of this program. That version is useful by itself as a comparison, because switching to an ILP changes how the existing tagger’s evidence is used. It also establishes the basic structure that the bilingual versions share. The bilingual additions sit alongside the per-word scores and the monolingual validity rules. With soft constraints, the solver can keep a strong local reading when the cross-language evidence points elsewhere.
From a CRF sequence score to word marginals
The baseline CRF is a first-order linear chain. It assigns a conditional probability to an entire tag sequence given a sentence. Its score is built from local factors for adjacent tags, each of which can draw on features of the observed sentence. A normalizing quantity makes the sequence probabilities add up to one for a fixed input.
P_CRF(y ∣ x) = (1 / Z(x)) ∏ᵢ Mᵢ(yᵢ, yᵢ₋₁ ∣ x)
Here x is the observed sentence and y is a full output sequence. P_CRF(y ∣ x) is the CRF’s conditional probability of that sequence, with ∣ meaning “given.” The product ∏ᵢ runs over positions i. The factor Mᵢ is the potential for the edge at position i, using the current tag yᵢ, its predecessor yᵢ₋₁ and the input x. The partition function Z(x) is the normalizer obtained by summing sequence scores over possible outputs. The 1 in the numerator makes the prefactor its reciprocal.
Viterbi decoding chooses the most probable full sequence under this chain score. The proposed decoder first asks a question about each position separately. Given the whole sentence, how much probability does the CRF assign to all sequences that put a particular label at that position? This is a marginal probability. The forward–backward algorithm obtains these probabilities by accounting for the chain on either side of a position. A label can receive considerable marginal support if it occurs in many plausible sequences, including sequences that Viterbi would leave unselected.
The next formula defines the score used to compare candidate sequences from the marginals. The product treats the individual marginal terms as separate factors at this stage. The probabilities in those factors still come from the CRF and can reflect its preferences about neighboring labels.
P_MAR(y ∣ x) = ∏ᵢ P(yᵢ ∣ x)
P_MAR denotes the paper’s product-of-marginals score. The sentence is x, y is the candidate tag sequence, and yᵢ is its proposed tag at position i. The factor P(yᵢ ∣ x) is the CRF marginal for that choice. The product sign ∏ᵢ multiplies the factors over all positions. A sequence ranked highest by this product can differ from the most probable sequence under the CRF’s original joint distribution.
For decoding, the paper moves from the product to a sum of log marginals. A logarithm preserves the ordering of positive scores and turns multiplication into addition. The resulting sum lets each selected tag make a separate contribution to the optimization objective.
ŷ = arg maxᵧ P_MAR(y ∣ x) = arg maxᵧ ∑ᵢ log P(yᵢ ∣ x)
The chosen sequence is ŷ. Each arg maxᵧ asks for the value of y that gives the largest score, with x fixed. P_MAR(y ∣ x) is the preceding product. The sum ∑ᵢ runs over all word positions, and log P(yᵢ ∣ x) takes the logarithm of the marginal of the tag selected at position i. The same maximizing sequence can be obtained from either expression.
The idea of using marginals has a precedent in the tagging work the authors cite. In their formulation, it has the practical consequence that tag evidence can be written as separate linear terms, while admissibility is specified through constraints. This separation is what allows the same word-level objective to serve the monolingual decoder and become part of the bilingual objective. Tagging English Text with a Probabilistic Model
Making the monolingual decisions explicit
To write the objective as an ILP, the paper attaches a binary variable to each possible word and tag combination. A tag with a larger marginal has a larger log score. It contributes that score if the variable is active. All candidate tags remain available to the solver when it constructs the final sequence.
max ∑ᵢ₌₁^|x| ∑ᵧ∈Y zᵢʸ log Pᵢʸ
Here max asks the solver to maximize the expression over the indicator assignments. |x| is the number of words in x, and the outer sum visits positions i starting at 1. The inner sum visits every possible tag y in the set Y. The indicator zᵢʸ equals 1 when position i is given tag y and 0 otherwise. Pᵢʸ is the marginal probability that the tag at position i is y, given x, and log turns it into the objective coefficient.
A feasible solution must make an actual prediction at every position. The paper’s explanation of the unrestricted objective describes all indicators being active at a maximum. With the written log-probability coefficients, the coefficients are nonpositive, so setting all indicators to zero can maximize the unrestricted sum. The constraint that follows supplies the intended requirement in either case. It makes a valid tagging choose exactly one label for every word.
∀i: ∑ᵧ∈Y zᵢʸ = 1
The symbol ∀i means the equation applies to every position i. The sum visits the tag set Y, using the binary indicator zᵢʸ for each y. The equality to 1 activates exactly one of those indicators. If this were the only restriction, the best choice at each word would be the tag with the highest local marginal. BIO legality can make several of those local choices incompatible.
∀i, ∀X: zᵢ₋₁ᴮ⁻ˣ + zᵢ₋₁ᴵ⁻ˣ − zᵢᴵ⁻ˣ ≥ 0
The quantifiers ∀i and ∀X apply the rule to positions i and entity types X. The first two terms indicate whether the preceding word at i − 1 begins or continues a mention of type X. The subtracted term indicates whether the current word is tagged I-X. The inequality ≥ 0 requires at least one compatible predecessor when the current indicator is active. When it is inactive, the remaining terms are already non-negative. At the start of a sentence, an inside tag would have no compatible predecessor and is illegal under the BIO rule.
Suppose the local evidence favors an outside label followed by I-PER. The decoder can repair the conflict by changing the continuation tag or choosing a person beginning at the previous word. Which repair it makes depends on their combined scores and on any further links in the bilingual program. This is already different from independently selecting a marginal winner for each word. The monolingual ILP embodies this constrained use of marginals and provides the reference point for what happens when word alignment information is added.
Requiring aligned words to share a type
In bilingual decoding, the authors start by combining the monolingual objectives for the two sentences. Each language contributes the sum of the selected tag scores. The program also gives each word on either side exactly one tag and applies BIO validity independently within each sentence.
max ∑ᵢ₌₁^|xᶜ| ∑ᵧ∈Y zᵢʸ log Pᵢʸ + ∑ⱼ₌₁^|xᵉ| ∑ᵧ∈Y zⱼʸ log Pⱼʸ
xᶜ is the Chinese sentence and xᵉ is the English sentence. Their lengths in words are |xᶜ| and |xᵉ|. The first sum runs from position 1 through the Chinese sentence with index i. The second does the same for English with index j. Both inner sums range over tags y in Y. The indicators zᵢʸ and zⱼʸ activate the corresponding tag scores. The coefficients are log Pᵢʸ and log Pⱼʸ, the log marginals supplied by the respective taggers. The + joins the two contributions, and max calls for the best feasible assignment.
∀i: ∑ᵧ∈Y zᵢʸ = 1, ∀j: ∑ᵧ∈Y zⱼʸ = 1
The first quantifier applies to each Chinese position i, and the second applies to each English position j. Both sums are over the tag set Y. The corresponding indicators are zᵢʸ and zⱼʸ, and the equalities to 1 enforce a single tag for each word.
The bilingual BIO equations appear in the paper with a B-tag in the subtracted term. Written as printed, they would require a same-type predecessor for a beginning tag. The monolingual equation and its explanation establish the intended rule for continuations. This discrepancy matters when translating the notation into an implementation.
∀i, ∀X: zᵢᴮ⁻ˣ + zᵢᴵ⁻ˣ − zᵢ₊₁ᴮ⁻ˣ ≥ 0, ∀j, ∀X: zⱼᴮ⁻ˣ + zⱼᴵ⁻ˣ − zⱼ₊₁ᴮ⁻ˣ ≥ 0
The symbols i and j range over Chinese and English positions, and X ranges over entity types. The superscripts identify beginning and inside tags of type X. The indices i + 1 and j + 1 refer to the next word on the corresponding side. As printed, the subtracted indicators are beginning tags at those next positions, with each inequality bounded below by 0. Applying the earlier BIO rule to each sentence places I-X in those subtracted terms, so the previous word condition applies when the next word continues an entity.
In the hard bilingual variant, the alignment set is fixed before choosing the tags. For each link, both words must share the same underlying entity type. Their roles as beginning or continuation can differ. Both can also be outside an entity, in which case the type indicators are inactive for every category.
∀(i, j) ∈ A, ∀X: zᵢᴮ⁻ˣ + zᵢᴵ⁻ˣ = zⱼᴮ⁻ˣ + zⱼᴵ⁻ˣ
A is the set of alignment pairs, and (i, j) ∈ A means Chinese word i is linked to English word j. The rule applies to every link and every entity type X. Each side of the equality adds the beginning and inside indicators for that type. The sum is active when the word belongs to a mention of the specified type. Equality requires the words to agree on membership in that type across the link. With a single tag per word, satisfying the equality for every X also makes an outside label compatible only with an outside label on the other side.
This hard rule is easy to apply to the organization example. The type ORG can be shared even across a link between a whole Chinese name and an internal word of the English name. A word with multiple links must satisfy the equality on all of them. As a result, one equality can influence choices beyond its immediate counterpart. The same property is a liability when one link is wrong or when the two sides follow different annotation conventions. Agreement enforced across all links makes those cases compete directly with the monolingual evidence.
Scoring tag pairs instead of requiring equality
The soft formulation gives each pair of proposed labels a compatibility score. A common combination can increase the value of a solution, and an uncommon combination can make a smaller contribution or lower the score. The monolingual scores can still favor a disagreement strongly enough for the solver to choose it. The authors motivate the compatibility term by factoring the probability of the two output sequences for the observed bilingual input.
P(yᶜ, yᵉ ∣ xᶜ, xᵉ, A) = P(yᶜ, xᶜ, xᵉ, A) / P(xᶜ, xᵉ, A) × P(yᵉ, xᶜ, xᵉ, A) / P(xᶜ, xᵉ, A) × [P(yᶜ, yᵉ, xᶜ, xᵉ, A) P(xᶜ, xᵉ, A)] / [P(yᶜ, xᶜ, xᵉ, A) P(yᵉ, xᶜ, xᵉ, A)]
yᶜ and yᵉ are the Chinese and English tag sequences, xᶜ and xᵉ are their observed sentences, and A is the set of word links. P denotes a probability. Comma-separated arguments within P specify a joint event, and ∣ marks what is given in the conditional probability. The slashes divide probabilities, × multiplies factors, and brackets group products in the final fraction. The first two fractions are the separate sequence probabilities conditioned on the full input. The last adjusts their product for the statistical relationship between the sequences under the same conditioning.
The factorization is an identity before the authors make simplifying assumptions. They use each monolingual sentence as the source of the corresponding first or second factor. For the adjustment, they use the alignments as the source of dependence between the two sets of tags. The point of the approximation is to retain information available from the monolingual taggers and give the bilingual dependence a term of its own.
P(yᶜ, yᵉ ∣ xᶜ, xᵉ, A) ≈ P(yᶜ ∣ xᶜ) P(yᵉ ∣ xᵉ) × P(yᶜ, yᵉ ∣ A) / [P(yᶜ ∣ A) P(yᵉ ∣ A)]
The superscripts ᶜ and ᵉ continue to identify Chinese and English. The symbol ≈ marks the approximation. The first two factors are conditional probabilities for the output sequences given their respective observed sentences. The numerator of the fraction is the joint probability of the two tag sequences given the word alignments A. The denominator multiplies the corresponding conditional probabilities for the languages separately, using the same A. The ratio expresses how much joint behavior the alignment term contributes relative to treating the sides separately.
The first two factors are represented by the monolingual products of tag marginals. For the remaining factor, the paper assumes that the contributions from different links can be factored into a product over links. Each term is a ratio of the observed co-occurrence probability of a tag pair to the co-occurrence probability implied by the separate tag frequencies.
P(yᶜ, yᵉ ∣ A) / [P(yᶜ ∣ A) P(yᵉ ∣ A)] = ∏ₐ∈A P(yₐᶜ, yₐᵉ) / [P(yₐᶜ) P(yₐᵉ)] = ∏ₐ∈A λₐ(yₐᶜ, yₐᵉ)
a is an individual word alignment in A, and yₐᶜ and yₐᵉ stand for the labels at its Chinese and English endpoints. ∏ₐ∈A multiplies the whole following ratio or compatibility factor over links. In each ratio, the numerator is the joint probability of the tag pair, and the denominator is the product of the two separate tag probabilities. λₐ denotes the resulting compatibility for the proposed pair on that link. The paper calls this quantity a pointwise mutual information score. In the written equations, λₐ is the ratio, and its logarithm is the pointwise mutual information that enters the score. A pair can have a high ratio when its tags co-occur more than their separate frequencies would suggest. This normalization matters because an individually frequent tag could otherwise dominate a comparison based on raw pair counts.
The factorization concerns the scoring terms. Two links sharing a word still have to agree on the chosen label for that word. To express this, the authors introduce a binary indicator for every candidate pair of tags on every link. The new indicators let the optimization collect the right pair score while separately enforcing consistency with the word indicators.
max ∑ᵢ₌₁^|xᶜ| ∑ᵧ∈Y zᵢʸ log Pᵢʸ + ∑ⱼ₌₁^|xᵉ| ∑ᵧ∈Y zⱼʸ log Pⱼʸ + ∑ₐ∈A ∑ᵤ∈Y ∑ᵥ∈Y zₐ(u, v) log λₐ(u, v)
The first two terms use the Chinese and English sentence lengths |xᶜ| and |xᵉ|, their position indices i and j, and each possible tag y in Y. The indicators zᵢʸ and zⱼʸ select log marginals log Pᵢʸ and log Pⱼʸ. The final term ranges over links a in A and possible endpoint tags u and v in Y, using u for Chinese and v for English. The variable zₐ(u, v) is 1 when that pair is selected and 0 otherwise. The coefficient log λₐ(u, v) is the log compatibility of that pair. The objective maximizes the sum of all three terms.
∀a ∈ A: ∑ᵤ∈Y ∑ᵥ∈Y zₐ(u, v) = 1
The quantifier covers every link a in A. The sums cover all combinations of Chinese tag u and English tag v drawn from Y. Equality to 1 selects exactly one pair indicator zₐ(u, v) on the link. The next inequalities identify which pair can be selected given the two word tags.
∀a = (i, j) ∈ A, ∀u, v ∈ Y: zₐ(u, v) ≤ zᵢᵘ, zₐ(u, v) ≤ zⱼᵛ
a = (i, j) specifies the Chinese and English positions of a link in A. The inequalities apply to each proposed label pair u, v from Y. Each ≤ bounds the pair indicator by the indicator of the corresponding endpoint tag. If the pair indicator is 1, both endpoint indicators must be 1. Since only one word tag can be active at either endpoint, there is exactly one pair consistent with those word tags. Every link that touches a given word therefore uses the same chosen tag for it.
The distinction between this consistency and hard bilingual agreement is important. The consistency rules connect variables that describe the same decision. They require a link’s representation of the Chinese word to reflect the tag actually chosen for that word, and likewise for English. They allow the chosen Chinese and English tags to differ. The preference for some combinations over others comes from the score, so changing that score can change the decoder’s behavior without changing the constraints.
Estimating compatibility and weighting the links
The authors estimate the compatibility ratio by counting tag pairs among the links in bilingual text. They describe an Oracle variant that takes its counts from manually annotated bilingual material. This is an experimental point of comparison for estimating the compatibilities. Their operational variant, Auto, runs the two initial monolingual taggers on unannotated bitext and gets its counts from those predictions. It uses the same counting procedure with a different source of labels.
λ(u, v) = P(u, v) / [P(u) P(v)] = N × C(u, v) / [C(u) C(v)]
u is the Chinese tag and v the English tag. P(u, v) is the joint probability of those labels on a link, while P(u) and P(v) are their probabilities on their own sides. C(u, v) counts links with both labels, C(u) counts links whose Chinese end has u, and C(v) counts links whose English end has v. N is the total number of counted links. Substituting the corresponding relative frequencies into the probability ratio gives the rightmost expression. Brackets group the products in the denominators, and × denotes multiplication. The estimate is shared across links, so the tag pair receives the same underlying compatibility wherever it is considered.
The paper also gives a hand-set approach in which identical tags get a higher compatibility than differing tags. Giving exact matches a value of 1 and all other pairs a value of 0 is the limiting case the authors use to explain how a soft preference can turn into a prohibition. A zero factor rules the combination out in the product, corresponding to an unbounded penalty in the log formulation. The earlier hard constraint explicitly matches entity type while ignoring the BIO prefix. Exact agreement between full BIO labels would be stricter, so the notion of a match in this limiting example has to be read with that distinction in mind. The experimental Soft-tag system obtains its pair scores through Auto.
Soft-tag puts uncertainty about the labels into the objective while still imposing a cutoff on which links are included. Every included link enters at full weight. A high cutoff keeps only strong proposed connections. A lower cutoff provides the solver more opportunities to use translation evidence and admits more dubious connections. The authors’ next step lets the link probability affect the size of a contribution directly.
∏ₐ∈Aθ λₐ(uₐ, vₐ) = ∏ₐ∈A [λₐ(uₐ, vₐ)]ᴵᵃ
Here A denotes all possible word pairs and Aθ denotes the subset retained at cutoff θ. The symbols uₐ and vₐ are the chosen Chinese and English tags for pair a. λₐ(uₐ, vₐ) is their compatibility, and Iᵃ is the inclusion indicator for that pair. It is 1 when the alignment probability Pₐ is at least θ and 0 otherwise. The product signs ∏ₐ range over the indicated pair sets. On the right, a retained pair contributes its compatibility and a discarded pair contributes a neutral factor. The notation distinguishes the retained set from the set of possible pairs.
In Soft-align, the probability Pₐ replaces the all-or-nothing exponent. After taking logs, the penalty or reward for a tag combination is scaled by the probability of the connection. A low-probability link thus has less ability to tip a decision than a highly probable link with the same candidate tags. The fixed coefficients can be prepared from the aligner’s probabilities and the estimated tag compatibilities before solving the ILP.
max ∑ᵢ₌₁^|xᶜ| ∑ᵧ∈Y zᵢʸ log Pᵢʸ + ∑ⱼ₌₁^|xᵉ| ∑ᵧ∈Y zⱼʸ log Pⱼʸ + ∑ₐ∈A ∑ᵤ∈Y ∑ᵥ∈Y zₐ(u, v) Pₐ log λₐ(u, v)
The first two terms sum word-level evidence over Chinese positions i and English positions j, from 1 to the respective word counts |xᶜ| and |xᵉ|. Their inner sums range over tags y in Y, and their word indicators select the log marginals log Pᵢʸ and log Pⱼʸ. The last term ranges over the candidate links a in A and the tag choices u and v in Y. The pair indicator zₐ(u, v) selects the compatibility term, Pₐ is the alignment probability, and log λₐ(u, v) is the log compatibility. The program maximizes the sum subject to the same single-tag, BIO and pair-consistency rules as Soft-tag. The experiments also prune links below a low threshold to reduce the decoding work.
Preparing the taggers and reusing their predictions
The authors train the monolingual CRF taggers on labeled portions of OntoNotes separate from the parallel evaluation material. The Chinese features include a class bias, nearby words, pairs of neighboring words, word shapes, character prefixes and suffixes, and the radicals of Chinese characters. Word shape lets the tagger draw on an observation such as the form of a number or date. The paper combines the observation templates with individual tag choices and with adjacent tag pairs. The English features come from earlier work. Incorporating Non-local Information into Information Extraction Systems by Gibbs Sampling
The stronger baselines also use word clusters. A cluster provides a feature that can be shared by multiple words, including words for which the labeled training set supplies little direct evidence. To get the Chinese clusters, the authors randomly sample one million paragraphs from the Xinhua portion of the fifth edition of Chinese Gigaword. The Stanford Word Segmenter prepares the text as words using the LDC standard. The resulting sample contains about 46 million words, which a Brown clustering implementation groups into 1,000 classes. The paper relates this use of word classes to earlier English work on Name Tagging with Word Clusters and Discriminative Training.
Once the bilingual decoder is in place, it can produce extra labels for a new round of Chinese training. The authors align previously unlabeled translations, apply the joint tagger, keep the predicted Chinese annotations and append those sentences to the original labeled Chinese corpus. They refer to this procedure as uptraining. The extra sentences retain the decisions that benefited from bilingual inference, so a fresh monolingual tagger can learn from them and then apply what it learned to a Chinese sentence by itself. The paper reports that the final bilingual tagger with soft constraints was made publicly available as bi_ilp.
Experiments and results
Data, splits and measures
The bilingual evaluation uses the named entity annotated Chinese–English parallel portion of OntoNotes 4.0, identified in the paper as LDC2011T03. The corpus contains several kinds of linguistic analysis. For this experiment, the important combination is text available in both languages and reference labels with which to compare the output in each language. The parallel documents contain about 400 document pairs. The authors assign odd-numbered documents to development and even-numbered documents to test, allowing them to select alignment thresholds before evaluating the final settings. OntoNotes: The 90% Solution
OntoNotes supplies these bilingual correspondences at the document level. The authors use the Champollion Tool Kit to align sentences within them. After removing sentences that have no paired sentence, they retain 8,249 sentence pairs across the parallel development and test material. BerkeleyAligner supplies the word links and posterior alignment probabilities used by the joint decoder. The reference entity annotations support evaluation, and the realistic bilingual setting uses automatic tags to estimate the cross-language compatibilities.
For supervised monolingual training the authors use the remaining named entity annotated material. The Chinese training portion has ∼660 documents and ∼16k sentences. The English portion has ∼1,400 documents and ∼39k sentences. OntoNotes distinguishes 18 entity types, from which the experiments select the four most common categories. These are person, location, organization and geopolitical entity, reported as PER, LOC, ORG and GPE. The reported scores describe this selection of the annotation task.
Precision measures the share of predicted mentions that match the reference. Recall measures the share of reference mentions that the system finds. F1 combines these quantities through their harmonic mean. The paper evaluates at the entity level, where the span and its type matter. The distinction between entity evaluation and word scoring is especially relevant in this experiment. The optimizer uses word marginals and links between words, while the measurements reflect the spans reconstructed from the resulting tag sequences.
Joint tagging on the bilingual test set
The main baseline is the Stanford CRF tagger with Viterbi decoding and word cluster features. The paper also reports a Chinese CRF without the clusters. The monolingual ILP uses CRF marginals with within-sentence validity rules. Hard adds mandatory type agreement for the chosen word links. Soft-tag (Auto) allows disagreement and uses automatically estimated tag compatibilities. Soft-align (Auto) adds weighting by alignment probability. Thresholds are selected on development for the relevant bilingual settings before the test comparison.
Chinese entity F1 on the OntoNotes 4.0 bilingual test set
Soft-align gives the strongest Chinese result across the compared settings.
The numbers
| System or setting | F1 |
|---|---|
| CRF without word clusters | 64.13 |
| CRF with word clusters | 69.45 |
| Monolingual ILP | 69.01 |
| Hard agreement | 69.82 |
| Soft-tag (Auto) | 74.13 |
| Soft-align (Auto) (this paper) | 75.02 |
For Chinese, the move from a CRF without clusters to a CRF with clusters raises both precision and recall. The unclustered tagger has 74.74 precision and 56.17 recall, while the clustered tagger has 76.90 precision and 63.32 recall. The stronger comparison is therefore the clustered CRF. Introducing the monolingual ILP leaves precision at 76.20 and recall at 63.06. Adding hard bilingual agreement raises recall to 65.78, with precision falling to 74.38. The additional mentions account for the modest F1 gain over the clustered CRF under that setting.
Chinese Soft-tag (Auto) attains 77.37 precision and 71.14 recall. This setting recovers more of the annotated entities than the hard variant while also giving a larger share of correct predictions. With Soft-align (Auto), precision reaches 77.71 and recall reaches 72.51. The authors describe the final Chinese F1 increase over the strong CRF as nearly 5.5% absolute. Most of the visible change across those two systems is in recall, although the precision numbers also favor Soft-align.
English entity F1 on the OntoNotes 4.0 bilingual test set
Soft-align has the highest English F1, with the clustered CRF close behind.
The numbers
| System or setting | F1 |
|---|---|
| CRF with word clusters | 79.68 |
| Monolingual ILP | 79.66 |
| Hard agreement | 78.84 |
| Soft-tag (Auto) | 80.03 |
| Soft-align (Auto) (this paper) | 80.10 |
On English, the clustered CRF has 82.95 precision and 76.67 recall. The monolingual ILP is very close, with 82.88 precision and 76.68 recall. Hard agreement gives 82.66 precision and 75.36 recall. In this language it retrieves fewer reference mentions than the monolingual CRF, and the entity F1 falls. The paper gives no unclustered English row in this comparison.
The soft variants shift the English results towards higher recall. Soft-tag (Auto) has 81.36 precision and 78.74 recall, while Soft-align (Auto) has 81.94 precision and 78.35 recall. English Soft-align therefore has the better F1 of the two, while Soft-tag retrieves the larger share of reference entities. The English Soft-tag gain over the CRF, described by the authors as about 0.4% in F1, was statistically insignificant. The English ordering in the chart describes the reported test scores. The larger and statistically supported finding concerns Chinese.
Decoding speed changes substantially across the comparison. The clustered CRF runs at 317.3 sentences per second in the reported timing and the monolingual ILP at 138.0. The figures for Hard, Soft-tag (Auto) and Soft-align (Auto) are 21.1, 5.9 and 1.5 sentences per second, respectively. The ILP timing leaves out the time needed to obtain CRF marginals. The authors attribute the added work to the monolingual constraints on both languages and the constraints on aligned pairs. They also point out that sentence pairs can be decoded independently, which allows their decoding to be parallelized.
Training a Chinese tagger with bilingual predictions
The semisupervised experiment uses unannotated Chinese–English material from the Foreign Broadcast Information Service corpus, identified as LDC2003E14. For generating labels the authors use the Soft-align setting with alignment threshold 0.1. Chinese sentences labeled through joint inference are then added to the original supervised Chinese material. All of the resulting taggers are compared on the Chinese test set. The size of the additional material varies, giving an indication of how the downstream result responds to using more automatically labeled sentences.
Chinese test F1 after retraining with automatically tagged FBIS sentences
Chinese F1 rises across the tested additions and is highest with the largest addition.
The numbers
| System or setting | F1 |
|---|---|
| Original Chinese CRF, ∼16k labeled sentences | 69.45 |
| Uptraining with 10k additional sentences | 71.62 |
| Uptraining with 20k additional sentences | 71.92 |
| Uptraining with 40k additional sentences | 72.29 |
| Uptraining with 80k additional sentences (this paper) | 72.77 |
The original training condition gives 76.90 precision and 63.32 recall on the Chinese test set. With 10k additional sentences, precision is 77.60 and recall is 66.51. With 20k additional sentences, the corresponding figures are 77.28 and 67.26. The 40k condition gives 77.40 precision and 67.81 recall. At 80k, precision is 77.44 and recall is 68.64. Recall rises each time the amount of extra data increases, while precision stays close across the augmented conditions. The authors report an F1 improvement of 3.32% for the largest addition over the original baseline and give p < 0.01 for the comparison.
The data requirements differ at prediction time between the two experiments. Joint tagging uses aligned bitext as input and the manually labeled bilingual corpus provides a way to score what the decoder produces. In the semisupervised experiment, the bitext enters during training data preparation. The final Chinese tagger can be given an ordinary Chinese sentence, and its output can be scored against Chinese reference annotations. The uptraining result measures how much of the bilingual benefit survives this indirect route through additional examples.
What the ablations show
How much comes from the bilingual evidence
The comparison between the two Chinese CRFs establishes that ordinary monolingual features account for a meaningful part of the test score. The authors report p < 0.01 for the gain from adding word clusters, using paired bootstrap resampling for significance testing. Paired resampling uses corresponding test examples when recomputing the comparison, so both systems face the same variation in each resample. The clustered system is the reference against which the added bilingual evidence has to demonstrate an improvement. The study cites earlier evidence for the value of clustering in English and leaves the equivalent unclustered English result unreported.
The next control changes decoding while holding off on bilingual evidence. The monolingual ILP uses marginals and BIO legality in place of the original Viterbi decision. Its Chinese F1 of 69.01 is close to the clustered CRF’s 69.45, and in English the scores are 79.66 and 79.68. This establishes that the switch to constrained marginal decoding by itself yields results in the same range as the baselines on this test set. The authors suggest that the especially close English result may reflect more accurate English marginals. The table measures tagging quality, so that explanation remains a conjecture about the probabilities.
Hard bilingual agreement tests whether a simple equality is enough to benefit from the links. The Chinese result improves slightly over the clustered CRF, while English F1 falls. In Chinese the precision and recall move in opposite directions. The experiment therefore supports a narrower interpretation than a general endorsement of agreement. Even after the strength of the alignments has been taken into account by choosing a threshold, mandatory type agreement can trade some errors for others. The counterexamples with the location phrase and the Agency link explain two ways such a trade can arise.
Separating tag uncertainty from alignment uncertainty
Soft-tag changes how labels may correspond. Development results show that hard agreement performs well for both languages at alignment threshold 0.9 and deteriorates as the threshold falls and less certain links are admitted. For Soft-tag, the best development threshold for Chinese is 0.7 and for English it is 0.2. These are settings selected for the respective language scores. They show that the usefulness of adding more links depends on which output is being evaluated even when differences between tags are allowed.
The move from Hard to Soft-tag is accompanied by a substantial improvement on Chinese. The paper reports p < 0.01 for the Chinese improvement it discusses when introducing the soft treatment of tags. On English, Soft-tag recovers more reference mentions than the strong CRF but has lower precision. The availability of a soft alternative to exact type agreement thus matters clearly in the Chinese test comparison. Because the variants are evaluated at their selected development thresholds, the test comparison captures the effect of the complete tagging settings, including the way each uses its set of eligible links.
Soft-align changes how much influence those links have. In the development curves the authors report better performance in both languages as the cutoff decreases for this variant. They select 0.1 as a pruning threshold for speed, with very little observed loss from discarding the weakest links. This provides evidence for the intended flexibility of probability weighting in this setup. It also explains why the final system still has a threshold. The low cutoff serves as a practical way to shrink the optimization after the score has already incorporated graded link confidence.
On the test set, switching from Soft-tag to Soft-align improves Chinese precision and recall. The authors suggest that the larger supply of word links helps recover mentions and that probability weighting reduces damage from erroneous links. The English change qualifies that explanation. English precision improves from 81.36 to 81.94 while recall moves from 78.74 to 78.35. Soft-align yields the better F1 through the balance of those measures. The Chinese outcome supports the combined benefit the authors propose. The English outcome shows that the same switch can change the operating balance between precision and recall in a different direction.
Where the estimated scores and extra labels help
The Auto and Oracle comparison concerns how the tag compatibilities are obtained. On development the authors find that estimates from automatically predicted labels give performance comparable to estimates from reference labels. This makes the distinction between needing annotated bitext to train a decoder and using it to verify the results concrete. Auto can estimate the pair scores without human labels on the bilingual material. The comparison shows that the scores estimated this way can be adequate for decoding in these experiments. It gives no direct measure of how similar the two tables of compatibility values are.
The uptraining comparison varies how many automatically labeled Chinese sentences are appended. Its steady increases in recall link the downstream improvement to better coverage of reference mentions as the training set grows. The authors also try duplicating the original labeled training material to give it more weight relative to the additional material. They describe a slight improvement from that experiment and give no detailed scores for it. The main results use simple appending, which directly tests whether the labels from joint inference can serve as additional examples for monolingual training.
The size series establishes a benefit from the particular additional data used by the authors. It does not isolate how much of that benefit requires bilingual labeling, because the reported series compares the original supervised tagger against increasing amounts of jointly tagged data. A matched series using the same extra Chinese sentences labeled by the monolingual tagger would address that narrower question. The bilingual decoding comparison separately shows that the joint system produces better Chinese test labels, which provides a reason to use it as the source of extra supervision.
Limitations
Limits identified by the authors
The authors explicitly identify two failures of strict cross-language agreement. Real translations can receive different entity annotations, and guessed word links can be incorrect. Allowing different tags and weighting a link by its estimated probability address those issues in the objective. The resulting decisions still rely on the available word links. A useful correspondence that receives too little weight can contribute very little, and a mistaken link with a high probability can still influence the result. Cases in which aligned words legitimately differ also require the estimated compatibility scores and the local evidence to support the appropriate analysis.
The paper identifies a computational cost for its bilingual decoder. It enlarges the optimization to cover both sentences and introduces choices and consistency conditions for the word links. The Soft-align timing reflects the work of considering more candidate links. The reported benefit of pruning very unlikely links is a development observation on this material. Parallel decoding is possible because the ILP is solved at sentence-pair level, though the paper gives timings for the reported inference runs without a measured parallel speedup.
The authors also acknowledge that the English Soft-tag gain is statistically insignificant. The highest English F1 is obtained with Soft-align, but the reported evidence for English is numerically modest beside the Chinese results. The conclusion centers on the significant improvement in Chinese. The two sides have different amounts of labeled training data and different starting performance, and the experiments do not vary those factors separately. The authors’ suggestion about the quality of the English marginals remains an explanation to distinguish from the measured test outcomes.
Limits visible in the setup
The bilingual test covers one language pair and a restricted set of OntoNotes entity categories. The selected labels show that the technique can help identify people, locations, organizations and geopolitical entities in this setting. Performance across the full OntoNotes inventory, including the categories the authors excluded, is outside the measured scope. A different language pair could give different segmentation, alignment and annotation behavior. The experiments also leave the quality of transfer to other domains open, even though the study uses material from a separate corpus to generate extra training examples.
The resource claim is specifically about bilingual entity annotation. The Chinese and English starting taggers still use manually labeled monolingual training material. The Auto setting makes a compatibility estimate possible without a bilingual entity-labeled training corpus. Threshold selection and the reported comparisons also use labeled development or test material. A completely unlabeled target language would pose a different problem from the one evaluated here, because the approach starts with target-side tag marginals.
The paper’s probabilistic factorization is a practical approximation. It represents the separate linguistic evidence through products of position marginals and represents cross-language dependence by a product over links. A group of links sharing an endpoint still shares its selected tag through the solver constraints. The product form nevertheless offers no separate term for a chance that several links repeat closely related evidence. The measured outcome is entity tagging performance. A study of the reliability of the component probabilities or of the factorization itself would require different measurements.
The stated frequency estimator also leaves implementation questions for rare combinations. The displayed ratio can make an unseen combination receive a zero estimate when its individual tags have positive counts. Taking the logarithm then calls for deciding how that combination is handled. The paper describes the count estimator and the limiting interpretation of zero compatibility, without detailing a smoothing procedure for sparse counts in the equations. This matters when the tag inventory or the source of automatically labeled examples changes, since the availability of observed tag combinations can change with it.
The evaluations establish descriptive comparisons for the systems and resources used. The development trend for Soft-align supports low-threshold pruning in this experiment, while the separate test conditions combine differences in weights with differences in how many links are retained. The English precision and recall movements illustrate the value of retaining both metrics when interpreting those comparisons. The reported speed also concerns decoding under a particular setup and omits CRF marginal computation from the ILP timing. It does not give the full time needed to align and tag an arbitrary new bilingual collection.
Finally, the semisupervised experiment evaluates Chinese only, with additional FBIS sentences tagged using the selected bilingual method. Its size series establishes that progressively larger additions were associated with better Chinese test F1 up through 80k additional sentences. The results leave open how the same procedure would behave at other training sizes, how much it would improve English, and how it would compare with uptraining from a monolingual source of labels. The authors suggest part-of-speech tagging and relation extraction as possible extensions. Those tasks are directions for further work in the paper, outside its experimental claims.
What came after
The citing works extend into Chinese recognition, multilingual name processing, mention extraction, syntactic transfer and automatic annotation. Their titles establish the problems they address, and their citations establish a connection to this paper. The citation relationship alone leaves open whether a work adopted the integer program, used the word-alignment probabilities or discussed the approach as earlier research.
Chinese NER Using Lattice LSTM concerns the same Chinese recognition task that gives the clearest experimental gains here. Its title places a lattice LSTM at the center of its approach. Che and colleagues intervene at the stage when candidate tags are selected, using evidence supplied by English translations. The connection is the problem of recognizing Chinese entities and the different stages of a tagging system at which an approach can add evidence. The citation establishes that the bilingual method forms part of the later work’s research context. Chinese NER Using Lattice LSTM
Cross-lingual Name Tagging and Linking for 282 Languages takes name processing across a much broader stated language scope and includes linking as well as tagging. This paper’s bilingual experiment settles entity spans and types within a single language pair. Name linking adds the question of what an identified mention refers to. The stated scale of the citing work makes the availability of aligned translations and separate language-specific evidence relevant points of comparison. Its title and citation do not specify whether it carries over the joint decoder. Cross-lingual Name Tagging and Linking for 282 Languages
Joint Mention Extraction and Classification with Mention Hypergraphs also brings mention boundaries and categories into a joint formulation. Its named representation is a mention hypergraph. In Che and colleagues’ work the output begins with word tags, and the decoder couples those choices within sentences and across languages. The common issue is how to represent candidate mentions and their categories so that one decision can inform another. The cited connection can be described at that level without attributing a bilingual mechanism to the hypergraph work. Joint Mention Extraction and Classification with Mention Hypergraphs
Cross-lingual Dependency Parsing Based on Distributed Representations places the cross-language question in syntactic analysis. The intended output there is a dependency parse, while the output in this paper is a set of entity spans and types. The citation connects bilingual name tagging to a wider line of work on using evidence across languages for structured predictions. The later title identifies distributed representations as its focus. It does not establish a transfer of the tag compatibility scores or the soft alignment objective. Cross-lingual Dependency Parsing Based on Distributed Representations
The work on Arabic named entities explicitly covers both detection and translation. That combination puts it close to the practical problem in the examples about Ben and the Federal Reserve. A translated name can supply evidence about what was mentioned in the original, and identifying the name is itself important when translating a sentence. The citing work’s stated focus is Arabic entity processing. Its citation links that focus to the study of Chinese and English entity decisions made in parallel. Automatic Processing of Arabic Named Entities
LLMaAA addresses active annotation. Its closest connection to this paper is the use of automatic annotation to create training material. Che and colleagues use bilingual decoding to label extra sentences and assess the resulting benefit in a separately trained Chinese tagger. The later title identifies a different source of automatic annotations and places annotation itself at the center of the work. The citation provides a connection to the training-data experiment, while leaving the specific use of bilingual constraints in the later method unspecified. LLMaAA
Cite
Cite as Wanxiang Che, Mengqiu Wang, Christopher D. Manning and Ting Liu. 2013. Named Entity Recognition with Bilingual Constraints. Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
@inproceedings{che2013named,
title = {{Named Entity Recognition with Bilingual Constraints}},
author = {Wanxiang Che, Mengqiu Wang, Christopher D. Manning and Ting Liu},
booktitle = {Proceedings of the 2013 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
year = {2013},
url = {https://aclanthology.org/N13-1006/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/che-2013-named-entity-recognition-bilingual-constraints/