Phonologically Aware Neural Model for Named Entity Recognition in Low Resource Transfer Settings
Paper · 2016 · Akash Bharadwaj, David Mortensen, Chris Dyer et al.
Summary
A name can be familiar in one language and difficult to recognize in another. Its spelling may change, it may appear in a different script, or it may carry an ending that was absent from the examples a system learned from. These differences matter for named entity recognition, the task of finding mentions of people, organizations, places, and other designated categories in text and assigning each mention a type. Bharadwaj and colleagues ask whether a tagger trained on annotated text in one language can use what it learned about the form of names when it encounters another language with few annotated examples.
Their approach gives the tagger a way to compare words across writing systems. Epitran converts written words into segments of the International Phonetic Alphabet, and PanPhon describes those segments using properties such as voicing and tongue position. A recurrent network reads the resulting sequence and combines its representation with a learned vector for the whole word. A second network reads the words in the sentence, so the tagger can use context to tell where a name begins and what it refers to. In some configurations, an attention mechanism also lets the sentence context influence which parts of a word receive the most weight when scoring its possible tags.
On the Spanish CoNLL 2002 benchmark, the best configuration reaches 85.81 F1, close to the strongest published comparisons in the paper. The strongest Turkish-only configuration reaches 66.47 F1 and uses both spelling and phonological representations. A configuration that can be carried across scripts reaches 66.07 F1 on the Turkish monolingual evaluation using phonological segments, attention, and word vectors. The transfer experiments show where the choice of input matters most. When training uses Uzbek and there are no labeled Turkish examples, multilingual word vectors alone yield 2.09 F1 on the Turkish evaluation. Adding phonological input, attention, and sparse spelling cues brings the score to 26.92. With 20% of the labeled Turkish data, a simpler phonological configuration reaches 60.14 F1, close to the 61.11 of a Turkish-only baseline trained on all its labeled data.
The authors also train jointly on Uzbek and Turkish gold annotations and Uyghur annotations made by a linguist who did not speak Uyghur. On an unseen, gold-annotated Uyghur test set, NIST reports 51.2 F1 for this transfer system and 37.1 F1 for the Uyghur-only comparison. The best Uyghur transfer configuration uses phonological inputs without attention. Across the experiments, a common representation of word sounds makes transfer possible in the tested settings, while the value of attention depends on how much labeled target data is available and which languages are involved.
Deep dive: Phonologically Aware Neural Model for Named Entity Recognition in Low Resource Transfer Settings
This paper tests whether representing words by their sounds helps a named entity tagger transfer to languages with few annotated examples. · about 37 minutes to read
The problem and its context
A name has a form, a boundary, and a meaning in context
Named entity recognition is a kind of information extraction. Given a stretch of text, the task is to identify the words that make up each mention and decide which of the annotation scheme’s categories it belongs to. A sentence about the New York Times may contain the name of an organization across several words. A sentence about New York can stop the name earlier and use it geographically. The opening words alone leave both decisions unresolved. The rest of the sentence can help establish where the mention ends and which type the writer has in mind.
Even a single familiar spelling can leave the type undecided. The paper uses Turkey to illustrate how the same written word can denote a country or a bird. It also remarks on the difference between referring to the New York Times as an employer and referring to it as something one reads. In both cases the words of the name are recognizable. What changes is the role of the mention in the sentence. The tagger therefore needs a representation of the word form and a way to interpret the particular occurrence.
The supply of names creates a further difficulty. People and organizations can acquire new names, many names occur rarely, and the annotated examples can be unevenly distributed across categories. A system that depends on having encountered a particular name may have little to draw on when the name first appears. A system that mostly learns the most frequent category can also perform unevenly on less common types. Patterns inside words can supply evidence when their complete forms are rare, and patterns in the surrounding words can supply evidence when the name itself is ambiguous.
Morphology adds another source of sparsity. A word may be familiar in one form and infrequent in another because of the endings it carries. In the paper’s Turkish experiments this issue becomes particularly relevant. Turkish can build many forms by attaching units to a base, and those forms spread the available observations across a larger vocabulary. The challenge for a word-level representation is to learn enough about those variants. A representation built from pieces of the word can share what it learns across forms with related internal structure.
What changes when the language changes
Transfer makes the word-form problem harder. Even languages that share a script can use its characters differently. Conversely, related sounds or recognizable patterns can be written with different characters when two languages use different scripts. The authors illustrate the spelling issue with France in English and Frantsiya in Uzbek. A shared referent does little for a tagger that relies entirely on a match between complete written forms. A representation based on the sequences of sounds gives the system a different basis for finding similarities.
Script is only one difference. The languages can also vary in how they build word forms, what their surrounding vocabulary looks like, and whether names are consistently transliterated. In the paper’s discussion, Uzbek and Turkish have similarities in syntax and word order alongside differences in morphology, vowel harmony, and sound systems. The authors also note that the languages are mutually unintelligible. These features make the pair informative for transfer. The tagger has possible similarities to exploit, while simple reuse of vocabulary or writing conventions offers limited coverage.
The practical question for low-resource languages is how much of a tagger can be carried over before someone has to annotate new examples or design target-language cues. The paper distinguishes plentiful supervision in a source language from scarce supervision in the target. It also examines the case where the target contributes no labeled examples. That distinction matters because a method that learns jointly from well-annotated languages answers a different question from a method asked to work before reliable target annotations are available.
From engineered cues to reusable representations
The paper describes earlier named entity recognizers as mostly monolingual. They used methods including maximum entropy, decision trees, and representations that organized word forms by shared prefixes. Some incorporated syntactic, semantic, or world knowledge. A system could use cues such as capitalization, punctuation or digit categories, and matches against a gazetteer, a list of names likely to belong to specified categories. Such cues give the classifier concrete evidence, but they are tied to the quality of the available lists and to the conventions of the text. Earlier work also improved performance by combining several classifiers with different biases. Named Entity Recognition through Classifier Combination
Sequence methods addressed the dependence among neighboring decisions. If a word is tagged as continuing a person’s name, the preceding tag is important evidence about whether that interpretation makes sense. Hidden Markov models and conditional random fields both appeared in the line of work the authors review. The latter are discriminative: they assign a conditional probability to a tag sequence given the observed text, using scores derived from that text and from the relationships among tags. This framework gives a recognizer a place to combine textual evidence with preferences over complete sequences. Early Results for Named Entity Recognition with Conditional Random Fields
The authors trace a parallel move towards features learned from text. Work that used word embeddings, vectors that summarize patterns of word use, could draw on unannotated text alongside the labeled examples. Some recognizers still combined those vectors with spelling cues and gazetteers. Others used neural networks to compose a sequence of words or characters into features for the tagging decision. Huang and colleagues used a bidirectional recurrent network over words together with spelling and orthographic features. Lample and colleagues used recurrent networks at both the character and word levels, giving the final sequence scorer information about the form of each word and the sentence in which it appeared. Ma and Hovy used a convolutional network for the character component. Word Representations · Bidirectional LSTM-CRF Models for Sequence Tagging · Neural Architectures for Named Entity Recognition · End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF
Earlier work in multilingual and cross-lingual NLP also supplied ways to share supervision. The paper discusses approaches that drew weak labels from Wikipedia metadata, exploited parallel text, or trained jointly on multiple languages. Those approaches depend on resources such as suitable Wikipedia material, aligned text, or labeled examples in the languages being trained together. The paper focuses on a transfer question in which the target can have very few labels and differ from the source in script, vocabulary, and morphology. It keeps the hierarchical character-and-word architecture of the monolingual work and changes the representation that enters its character encoder. It then changes how information from that encoder reaches the individual tagging decisions. Multi-Task Cross-Lingual Sequence Tagging from Scratch
The method, step by step
What the tagger has to decide
The input is a sentence represented as a sequence of words. The output assigns a tag to each word, and the tags together locate the mentions. The paper describes annotations for persons, locations, geopolitical entities, and organizations. Persons include aliases and family names. Locations include features such as rivers and mountains. Geopolitical entities cover regions associated with a population and government, and the paper’s examples include both names and adjectival mentions. Organizations include entities such as companies and political parties. The categories define the decisions available to the tagger even where ordinary usage leaves room for different readings.
The annotations use BIO tags. O denotes a word outside an entity. A tag beginning with B marks the first word of a mention and identifies its type. An I tag of that type marks a subsequent word in the span. The distinction between the B and I tags lets the system represent boundaries even when two mentions occur close together. It also gives the sequence scorer regularities it can learn. A continuation tag after an outside tag, for example, has a different status from a continuation after a beginning tag of the appropriate type.
The architecture gathers evidence at several scales. First it builds a representation from the segments within each word and joins it to the word embedding. Then it reads the resulting word representations in sentence order. If attention is enabled, the sentence representation of each word is used to look back at the internal segment states for that word. Finally, the tagger scores complete label sequences using both the evidence at individual words and the compatibility of successive tags.
From written words to a tagged sentence
The steps in order.
Putting written forms into a shared sound space
Epitran takes written text and converts it to a sequence in the International Phonetic Alphabet, or IPA. It supplies preprocessing and mappings from written units to sound units for particular combinations of languages and scripts. In the paper’s setup, the resulting IPA segments correspond approximately to phonemes. Each word still has its own ordered sequence, so the tagger can use patterns across neighboring segments. The shared alphabet gives the encoder a common set of inputs even when the original writing systems differ.
PanPhon supplies a second description of the segments. It associates an IPA segment with a vector of 21 phonological features. The features describe properties such as whether the vocal folds vibrate, where the tongue is positioned, whether the tongue tip or blade is involved, and whether the lips are rounded. Two different segments may therefore have some feature values in common. The encoder can receive evidence of a resemblance even when it receives a different segment identity. This is a richer input than treating every distinct symbol as equally different from every other symbol.
The input at each segment concatenates the PanPhon vector with a one-hot representation of the IPA symbol. In the one-hot portion, the coordinate for the symbol is active and the other coordinates are inactive. That portion preserves the distinction between identities. The feature portion expresses properties the identities can share. Keeping both gives the recurrent network a way to learn that a particular segment matters while also allowing a broader pattern to recur with a similar segment in its place.
The paper illustrates the conversion using the same named entity in Uyghur and Turkish. Its Uyghur form uses Perso-Arabic writing, while the Turkish form uses Latin writing. Applying the respective spelling-to-sound mappings makes the relationship visible in the phonological representations. The example explains the point of using a shared encoding. Separate lookup tables for the original characters would present the recurrent encoder with different alphabets. IPA identities and phonological features provide points of contact before the tagger learns what any given sequence implies about an entity label.
One motivation, drawn from earlier work on lexical borrowing, is that names may retain recognizable pronunciation patterns when carried into another language. The authors also suggest that sound patterns within a language may themselves help recognition. Their example is vowel harmony in Turkish. A word that fails to follow the harmony patterns found in native vocabulary might be a borrowing or a foreign name. That is a possible cue for a learner with access to the phonological sequence. Any interpretation of the experiments as direct evidence about harmony would require knowing which words the tagger got right and which segments it used.
Conversion also changes the available evidence. Different spellings may lead to the same IPA output. Capitalization and some silent written marks, such as periods in abbreviations, disappear in the default mapping. For that reason the authors test sparse features that separately indicate capitalization and character category, such as letter, digit, or punctuation. They also test encoders that read the original spelling. This makes it possible to see how much the phonological sequence does by itself and whether spelling information adds something in a given language.
Reading a word and reading a sentence
The recurrent unit used at both levels is long short-term memory, or LSTM. It reads a sequence one input at a time and carries forward an internal memory. Learned gates control how the unit retains prior memory, incorporates a candidate update, and exposes the resulting state. This mechanism is useful when a relevant pattern extends beyond adjacent inputs. In the character encoder those inputs are successive pieces of a word. In the word encoder they are successive words of a sentence.
The paper uses the following input gate. The notation in these equations writes the input and output roles of a weight matrix in brackets.
iₜ = σ(W[x,i] xₜ + W[h,i] hₜ₋₁ + W[c,i] cₜ₋₁ + bᵢ)
Here t indexes the current position in the sequence being read. The vector xₜ is the input at that position, hₜ₋₁ is the previous hidden state, and cₜ₋₁ is the previous memory state. The learned matrices W[x,i], W[h,i], and W[c,i] map those quantities into the input gate’s space, and bᵢ is the learned input-gate bias. The function σ applies the sigmoid separately to each coordinate. The result iₜ is a vector of gates controlling how strongly the memory takes up the proposed update. Juxtaposition of a matrix and a vector denotes their ordinary linear product.
cₜ = (1 − iₜ) ⊙ cₜ₋₁ + iₜ ⊙ tanh(W[x,c] xₜ + W[h,c] hₜ₋₁ + b꜀)
The vector cₜ is the current memory, cₜ₋₁ is the preceding memory, and iₜ is the input gate just computed at step t. The expression 1 − iₜ gives the complementary weight at each coordinate. The symbol ⊙ denotes element-wise multiplication. The function tanh applies the hyperbolic tangent to each coordinate of the candidate memory update. The learned matrices W[x,c] and W[h,c] act on the current input xₜ and previous hidden state hₜ₋₁, and b꜀ is the update bias. The equation couples the amount of old memory retained with the amount of candidate memory admitted.
oₜ = σ(W[x,o] xₜ + W[h,o] hₜ₋₁ + W[c,o] cₜ + bₒ)
The vector oₜ is the output gate at step t. Its inputs are the current sequence input xₜ, the previous hidden state hₜ₋₁, and the current memory cₜ. The learned matrices W[x,o], W[h,o], and W[c,o] project those inputs, bₒ is the output bias, and σ is again the coordinate-wise sigmoid. The output gate can respond to the memory after the current update has been incorporated.
hₜ = oₜ ⊙ tanh(cₜ)
The exposed hidden state hₜ at step t is formed by applying the coordinate-wise hyperbolic tangent to the memory cₜ and scaling it by the output gate oₜ. The symbol ⊙ again denotes coordinate-wise multiplication. The hidden state is what another part of the architecture can read, while the recurrence also carries the memory onward.
At each level, separately parameterized LSTMs read in opposite directions. At the character level, the network that reads from the beginning tends to have the end of the word among its most recent inputs when it finishes. The reverse network finishes after reading the start. Joining the states from both ends gives the word representation access to evidence from both directions. The paper writes this summary using the terminal positions of the two recurrences.
[h⃗ₗ ; h⃖₀]
Here l is the length of the word’s segment sequence, h⃗ₗ is the terminal forward hidden state, and h⃖₀ is the terminal backward hidden state under the paper’s indexing convention. The arrows denote reading direction. Brackets with a semicolon mean concatenate the two vectors, preserving their coordinates side by side.
The character summary is combined with the word embedding. The authors call this a type-level representation because it describes the word independently of the sentence where it appears. Its embedding comes from patterns of usage, and its character summary comes from the shape of the word. The distinction matters when a word has a weak embedding or falls outside the embedding vocabulary. The character encoder can still compose a representation from the segments it receives. Conversely, a word embedding can convey patterns of usage that the spelling or pronunciation would give little reason to expect.
The upper bidirectional LSTM reads the sequence of type-level representations. It produces states aligned to the successive words, so the tagger has a context-dependent representation for each occurrence. In the architecture diagram the forward contribution includes the current word and its left context, while the backward contribution supplies the right context. The equations collect the paired directional outputs into a single vector. A name with the same internal form can then get a different contextual representation in different sentences.
wₜ = [h⃗ₜ ; h⃖ₜ]
The index t now denotes a word position in the sentence. The vectors h⃗ₜ and h⃖ₜ are the aligned forward and backward word-level outputs for that position. The brackets and semicolon denote concatenation. The resulting token-level vector wₜ has dimension d₁, the width of the joined word-level outputs.
Using the sentence to weight pieces of a word
The type-level word representation is assembled before the sentence is read. That is valuable for sharing form information, but the summary must serve regardless of the eventual use of the word. Attention gives the tagger a more direct route from the sentence representation back to the internal pieces of the current word. For a particular occurrence, it can place more weight on some segment states than on others. The same word may receive different weights in a different context because the word-level representation changes with its surroundings.
The mechanism works only within the word being scored. It uses the contextual representation of that word as a query and compares it with the stored character-level outputs at each position. Those outputs already contain information from the forward and reverse character recurrences. Attention therefore weighs segment states that encode surrounding pieces of the word as well as the segment identities at their own positions. There is no separate annotation of which pieces matter. The relevant parameters are trained through the tag-sequence objective. The weighting formulation draws on Neural Machine Translation by Jointly Learning to Align and Translate.
For word position t, the paper collects the segment-level outputs into a matrix Mₜ. There are lₜ rows, one per segment, and d₂ columns, the width of a concatenated pair of character-level hidden states. Write mₜ,ᵢ for the row associated with segment position i. The contextual vector is first mapped to the width of these rows so it can be compared with them.
w′ₜ = tanh(wₜ · P + p)
Here wₜ is the word-level contextual representation at sentence position t, w′ₜ is its projection, and tanh acts coordinate by coordinate. The learned matrix P maps from dimension d₁ to dimension d₂. The bias p has dimension d₂. The dot denotes the product of the row vector wₜ and the matrix P.
αᵢ = exp(w′ₜ · mₜ,ᵢ) / ∑ⱼ₌₁ˡᵗ exp(w′ₜ · mₜ,ⱼ)
The weight αᵢ belongs to segment position i of word position t. The vector w′ₜ is the projected sentence-context representation, and mₜ,ᵢ is the character encoder’s state for the segment being scored. The dot between two vectors is their inner product, and exp is the exponential function. In the denominator, j runs from the first segment through lₜ, the number of segments in the word. Dividing by the sum makes the weights across this word add up to one. The weights express relative compatibility with the query within the current word.
aₜ = ∑ᵢ₌₁ˡᵗ αᵢ mₜ,ᵢ
The attention context aₜ is a weighted sum of the character-level rows for the word at position t. The index i runs over its lₜ segments, αᵢ is the scalar weight of segment i, and mₜ,ᵢ is that segment’s row vector. The resulting vector has width d₂, the same width as the rows it combines. The coefficients govern how strongly each row contributes to the representation used for scoring tags.
uₜ = [aₜ ; wₜ]
At word position t, uₜ concatenates the attention context aₜ and the word-level contextual vector wₜ. The bracket notation with a semicolon means concatenation. The resulting width is d₁ + d₂ because the word-level state has width d₁ and the attention context has width d₂. The tag scorer retains the word and sentence representation even when most of the attention weight falls on a small part of the word.
eₜ = uₜ · U
The vector eₜ contains one unnormalized score per available tag for the word at position t. The input uₜ is the joined vector, the dot denotes vector–matrix multiplication, and U is the learned matrix that maps d₁ + d₂ input coordinates to k output scores. Here k is the number of distinct named entity tags. Each score expresses local compatibility between the word in its context and the corresponding tag. The final decision also uses the tags assigned to surrounding words.
Scoring a sequence of tags
The final layer is a linear-chain conditional random field, or CRF. It scores complete candidate tag sequences. This gives the recognizer a way to weigh an individual word’s preferred tag against the rest of the proposed span. A word could receive a high local score for continuing a name, for instance, while the adjoining tags support a sequence with a different boundary. The sequence score puts those two kinds of evidence on the same footing.
Let X be the sentence, N its length in words, and Y a candidate sequence of tags in the same order. The paper arranges the local score vectors as columns of a matrix E, with k rows for tags and N columns for words. It also learns a transition matrix T of size k + 2 by k + 2. The additional entries accommodate a start and an end symbol so the sequence can learn which tags are plausible at the sentence boundaries.
S(X, Y) = ∑ᵢ₌₁ᴺ E[yᵢ, i] + ∑ⱼ₌₀ᴺ T[yⱼ, yⱼ₊₁]
The function S assigns a score to candidate Y given sentence X. The first sum visits every word position i through N and uses E[yᵢ, i], the local score for the candidate tag yᵢ at that position. The second sum visits adjacent tag pairs indexed by j and adds the transition score T[yⱼ, yⱼ₊₁]. The term for j equal to 0 uses the start symbol y₀. The last term connects the final word’s tag to the end symbol yₙ₊₁, where the subscript refers to the position after N. The real-valued transition scores let the system learn preferences such as the compatibility of a continuation tag with the tag immediately before it.
Z = ∑ᵧ ∈ 𝒴ₓ exp(S(X, Y))
The partition function Z is a sum over 𝒴ₓ, the set of candidate tag sequences for X. The summation index ranges over those sequences Y, S(X, Y) is the sequence score, and exp turns that score into a positive weight. The sum is specific to the input sentence. The paper uses the forward-backward algorithm to evaluate it efficiently by sharing computations across candidate sequences along the chain.
P(Y | X) = exp(S(X, Y)) / Z
Here P(Y | X) is the conditional probability assigned to tag sequence Y for the observed sentence X. The vertical bar means “given.” The numerator is the exponential of the candidate’s score S(X, Y), and Z normalizes across all candidates for the sentence. The symbol P in this expression denotes probability. In the attention projection, P denotes the learned projection matrix.
log(P(Y* | X)) = S(X, Y*) − log(Z)
In the training objective, Y* is the annotated target tag sequence and X is the input sentence. The function log is the logarithm, P(Y* | X) is the conditional probability of the annotated sequence, and S(X, Y*) is its score. The subtraction of log(Z) makes the objective depend on how the annotated sequence scores relative to the full candidate set. Increasing its score helps to the extent that the competing sequences do not receive the same increase.
Ŷ = arg maxᵧ ∈ 𝒴ₓ S(X, Y)
At prediction time, Ŷ denotes the decoded tag sequence. The operation arg max chooses a sequence Y from 𝒴ₓ, the candidate set for X, for which S(X, Y) is highest. The notation Ŷ distinguishes the predicted sequence from the annotated target Y* in the training objective. Because the normalizer is shared by the candidates for a particular sentence, the highest score also identifies the highest conditional probability.
Training the tagger and preparing its inputs
The authors train the tagger by back-propagating the sequence objective through the transition scores, the tag-scoring and attention projections where applicable, the recurrent networks, and the embedding parameters. According to their report, they ran stochastic gradient descent at a learning rate of zero.05 and gradient clipping at 5.0. Clipping limits the size of gradient updates when the computed gradient is large. The authors report faster convergence with Adadelta and Adam, alongside slightly worse performance in their trials.
The reported word-level LSTM hidden size is 100. The hidden size for the orthographic character LSTMs is 25 when they are used, and the size for the phonological character LSTMs is 15. The authors associate the smaller phonological network with the smaller phonetic alphabet and report little effect from further tuning of these sizes. They apply dropout of 0.5 after concatenating the embeddings and character summaries. Dropout temporarily suppresses part of a representation during training, reducing the network’s ability to rely on any one coordinate always being present. The paper says the value was selected through ablation trials.
For monolingual work the authors describe structured skip-gram embeddings, which come from distributional patterns in text. The Spanish embeddings are pretrained on Spanish Gigaword version 3. In the transfer experiments the paper uses multilingual embeddings trained with multi CCA, the alignment method it attributes to Ammar and colleagues. A shared space gives word vectors from different languages comparable coordinates. This supplies a second possible path for transfer, alongside the common phonological inputs. The embedding-only runs in the experiments show how far that lexical path goes on its own in the tested setup. Massively Multilingual Word Embeddings
Experiments and results
Evaluating transfer separately from monolingual tagging
The paper examines Spanish and Turkish monolingually, then transfers from Uzbek into Turkish and from Uzbek and Turkish into Uyghur. The setups have different roles. The Spanish benchmark shows how the new representation fares where competitive monolingual systems already exist. The Turkish experiment examines a language with a smaller annotated dataset and substantial variation in word forms. The Uzbek-to-Turkish runs vary the amount of labeled target data. The Uyghur evaluation changes both the number of source languages and the quality of the available target training annotations.
The dataset inventory gives 8323 sentences and 18,798 annotated entities for Spanish, and 5065 sentences and 4883 entities for Turkish. It lists 10,078 sentences and 7960 entities for Uzbek. The Uyghur entry has 2161 sentences and 2668 entities, with the annotations marked as non-gold. These are dataset inventory counts. The Uyghur test discussed later is separately described as unseen and gold-annotated. The Turkish and Uzbek material comes from the BOLT Turkish and Uzbek language packs, LDC2014E115 and LDC2014E112. BOLT includes material from news, discussion forums, social media, and chat. The Uyghur data comes from the LORELEI program.
The reported metric is F1, which combines precision and recall. Precision asks how much of what the system proposes is correct. Recall asks how much of the annotated material it recovers. Combining them is helpful here because a recognizer can produce a short list of highly reliable mentions and leave others out, or recover more mentions at the cost of more incorrect predictions. The paper’s tables give a single F1 for each evaluated setting. The rows therefore establish the relative scores of the systems in those conditions, while leaving open whether precision, recall, or both accounts for a given change.
Spanish as a monolingual benchmark
On the Spanish CoNLL 2002 benchmark, the authors report 85.81 F1 for their strongest configuration. It combines pretrained word embeddings with phonological character inputs, attention over those inputs, and sparse capitalization and character category features. The comparison includes published systems with different architectures and, in some cases, external labeled data. Yang and colleagues reach 85.77 F1 and Lample and colleagues reach 85.75. Those scores place the best phonological configuration close to the leading reported systems.
Published systems on the Spanish CoNLL 2002 benchmark
The phonological attention system finishes close to the strongest published comparisons.
The numbers
| System or setting | F1 |
|---|---|
| Carreras and colleagues, with external labeled data | 81.39 |
| dos Santos and colleagues | 82.21 |
| Gillick and colleagues | 81.83 |
| Gillick and colleagues, with external labeled data | 82.95 |
| Lample and colleagues | 85.75 |
| Yang and colleagues | 85.77 |
| Authors’ best Spanish system (this paper) | 85.81 |
The contrast with the published benchmarks establishes that a tagger that builds its internal word representation from sounds can remain competitive on Spanish. It also gives a basis for interpreting the feature comparisons. The best configuration has access to capitalization and broad character categories even though its recurrent character sequence is phonological. Its result therefore describes an architecture that can preserve those spelling cues through a separate channel. The ablations provide the comparison for the phonological sequence without those additional cues.
Turkish with supervision in the target language
For Turkish, the authors train the LSTM-CRF architecture of Lample and colleagues as a monolingual baseline. It reaches 61.11 F1 in the baseline comparison, and its counterpart with pretrained embeddings reaches 65.41. The authors’ best Turkish configuration reaches 66.47 F1. It combines phonological and orthographic character inputs with word vectors and attention. The best configuration among those the paper calls eligible for transfer reaches 66.07 F1 using word vectors, phonological characters, and phonological attention. The criterion for eligibility is that the configuration can dispense with the original orthographic character sequence.
Both baseline scores matter. The comparison to 61.11 describes the performance of the authors’ best configurations relative to the standard LSTM-CRF run they report. The comparison to 65.41 shows where the systems stand when the baseline also receives pretrained word vectors. The strongest transfer-eligible result is already competitive in that setting. The highest monolingual result uses spelling and sound together, which is a useful distinction when the target writing system is familiar and suitable training data is available.
Transferring from Uzbek to Turkish
The single-source experiment trains on Uzbek and evaluates on Turkish while varying the amount of labeled Turkish data the transferred tagger can use. The comparison groups vary phonological characters, attention over them, and the capitalization and character-category indicators. All the transfer runs listed in that experiment use the multilingual word vectors. The authors separately report Turkish-only baselines using the LSTM-CRF and S-LSTM architectures of Lample and colleagues. Their rows at different data levels describe how those taggers perform using the available target annotations.
The 0-shot condition provides the clearest comparison of what can be carried over from Uzbek. The embeddings-only transfer system reaches 2.09 F1. With phonological characters and no attention or sparse cues it reaches 15.55. The strongest condition combines phonological characters, attention, and sparse character indicators with the shared word vectors and reaches 26.92 F1. The two Turkish-only baselines have 0 F1 in the row without labeled Turkish data. The source-trained system thus recovers some entities before it can learn from any annotated Turkish example.
Uzbek-to-Turkish transfer without labeled Turkish training data
The best zero-shot result combines phonological inputs with attention and sparse character cues.
The numbers
| System or setting | F1 |
|---|---|
| Multilingual word vectors only | 2.09 |
| Phonological segments and attention | 11.9 |
| Phonological segments | 15.55 |
| Phonological segments and sparse cues | 22.14 |
| Phonological segments, sparse cues, and attention (this paper) | 26.92 |
At 5% labeled Turkish data, the same feature combination still leads the transfer configurations, with 47.21 F1. The monolingual LSTM-CRF reaches 33.44 at that data level and the S-LSTM reaches 15.41. At 20% labeled Turkish data, the leading transfer configuration changes. The system with phonological characters and word vectors reaches 60.14 F1. The Turkish-only LSTM-CRF scores 50.61 using 20% and 61.11 using all its labeled data. These comparisons illustrate the paper’s claim about data efficiency: source training gives a recipient of limited Turkish supervision a stronger starting point in the settings tested.
The transfer configuration using word vectors and phonological characters without attention or the sparse indicators leads the transfer rows from 20% onward. Its Turkish F1 scores are 63.23 at 40%, 62.54 at 60%, 65.24 at 80%, and 65.63 with all labeled target data. The corresponding Turkish-only LSTM-CRF scores are 53.25, 57.41, 60, and 61.11. The transfer advantage the authors describe concerns the strongest transfer configuration at each level. The sequence of its scores also shows that adding target supervision does not make every reported result increase at every step.
Transferring from Uzbek and Turkish to Uyghur
The Uyghur experiment uses a different training arrangement. The authors jointly train on gold annotations from Turkish and Uzbek and on Uyghur training annotations made by a linguist who did not speak the language. The monolingual comparison uses those same Uyghur training annotations. The test set is unseen and has gold labels, with results reported by NIST. This measures performance under noisy target supervision and with two source languages available.
The transfer configuration uses phonological character representations without either attention or the sparse spelling cues. The authors point to the absence of a useful convention such as capitalization in the Uyghur writing under study. Their best transferred tagger gets 51.2 F1, compared with 37.1 for the monolingual Lample architecture trained on the Uyghur annotations. The authors report the gain as +14.1 F1. The experiment shows that usable evidence can carry over across the scripts in this setup, even where the target training labels are less reliable than the test labels.
Monolingual and transfer systems on the unseen NIST Uyghur test set
Joint training with Uzbek and Turkish improves Uyghur tagging with noisy target supervision.
The numbers
| System or setting | F1 |
|---|---|
| Uyghur-only LSTM-CRF | 37.1 |
| Transfer from Uzbek and Turkish (this paper) | 51.2 |
The Turkish transfer curve and the Uyghur evaluation support related conclusions under different supervision. In Turkish the paper can compare configurations at a series of labeled data levels, including zero. In Uyghur the comparison is between complete training arrangements evaluated against the same gold standard. The Uyghur result shows a benefit from the transferred setup with target annotations already present. The Turkish result supplies the experiment in which the target contributes none.
What the ablations show
Spanish gains depend on the combination of features
The Spanish ablations begin with a strong reference point. Using pretrained word vectors without a character encoder, the tagger scores 83.61 F1 on the Spanish benchmark. Adding an orthographic character LSTM gives 84.52. With attention over the orthographic character states the score is 84.64. This sequence identifies a benefit from composing written characters and a smaller gain from giving the tagger direct access to their attention-weighted states in that configuration.
When phonological segments replace the spelling characters, the tagger without attention reaches 84.08 F1. Adding phonological attention raises it to 84.88. The author-reported gain from attention in this case is +0.8 F1, compared with +0.12 for attention over the spelling characters in the corresponding comparison. The plain orthographic encoder scores higher than the plain phonological encoder, and the order reverses when each receives attention. The conclusion about the two representations therefore depends on how the tagger accesses the states that represent them.
Capitalization and character categories matter to the best Spanish result. With phonological characters and these sparse cues, F1 is 84.89 without attention and 85.81 with attention. With orthographic characters and the sparse cues, F1 is 84.91 without attention and 85.25 with attention. Both comparisons hold the presence of the sparse features fixed. The phonological configuration with attention performs best among these runs, while the proximity of the runs without attention leaves little basis for assigning the final ranking to the segment alphabet alone.
These experiments also clarify the meaning of a phonologically based tagger in the paper. The recurrent character encoder may read IPA segments and their feature vectors while explicit casing and category indicators supply information lost during conversion. That design lets the recognizer combine a shared character representation with a small amount of spelling evidence where the spelling convention is informative. The strongest Spanish result reflects that combination.
Turkish relies more heavily on word-internal evidence
For Turkish, the word-vector-only reference gets 49.2 F1 in the monolingual ablation. Adding orthographic character composition brings it to 65.41. Using phonological character composition instead gives 63.04, and adding phonological attention gives 66.07. The same broad kind of character encoder that supplies a limited gain over a strong Spanish word-vector baseline has a much larger role in Turkish. The authors relate this to the difficulty of estimating usable vectors across the larger set of forms created by Turkish morphology from the smaller available corpus.
The reported Turkish results also show that attention behaves differently across input types. The orthographic configuration without sparse cues scores 65.41 without attention and 64.76 with it. The corresponding phonological configurations score 63.04 and 66.07. These paired comparisons support an interaction between the input representation and the attention mechanism. The additional pathway into the word improves some configurations and lowers the score of others.
Sparse cues have a similarly conditional effect. For Turkish phonological characters with no attention, adding capitalization and character categories changes F1 from 63.04 to 59.08. With phonological attention active, the corresponding scores are 66.07 and 62.46. The strongest Turkish ablation row, at 66.47 F1, uses both phonological and spelling characters with attention and the sparse cues. The paper interprets the strongest joint configuration as evidence that the two character representations can complement each other in Turkish. The comparison between the strongest rows concerns a group of features, so it gives a stronger basis for choosing the overall configuration than for attributing its result to a single feature.
Vowel harmony is one possible explanation the authors offer for the usefulness of phonology in Turkish. The representation exposes the phonological properties of successive vowels, allowing an encoder to register word forms that depart from familiar patterns. That explanation fits the design of the input and the language properties the authors discuss. The actual ablation changes an entire representation. It tests the usefulness of the representation as a whole, while a test aimed specifically at harmony would need evidence about the words or the vowel features responsible for the result.
The value of attention changes with target supervision
The Uzbek-to-Turkish results make an important qualification visible. In the configuration with phonological characters and sparse character indicators, adding attention improves the Turkish 0-shot score from 22.14 to 26.92 F1. In the corresponding runs at 5% labeled Turkish data it improves the score from 41.19 to 47.21. Those are the conditions in which the authors emphasize the data efficiency of attention. A context-dependent weighting of pieces of a word can be useful before the tagger has seen enough labeled target words to learn a new set of regularities from them.
Without the sparse indicators, the ordering changes. The Turkish 0-shot F1 is 15.55 with phonological characters alone alongside the embeddings and 11.9 when attention is added. At 5% the corresponding scores are 39.42 and 34.06. The strongest low-data result therefore belongs to attention used with a particular set of other cues. The paired comparisons with and without those cues are more informative than grouping all the attention runs together.
The source scores provide another useful check. The configuration with phonological characters and sparse features but no attention reaches 64.89 F1 on the Uzbek source evaluation. Adding attention lowers that source score to 61.85, while raising the Turkish score in the zero-label and very-low-label comparisons. The architecture that scores highest in the source language can thus be a different choice from the architecture that transfers best. Source performance measures how well the system fits the source tagging problem. The target also tests which learned cues survive changes in word form and context.
Once the amount of labeled Turkish data is larger, the leading transfer configuration drops both attention and sparse cues. At 20% it scores 60.14 F1. The strongest combination in the zero-label experiment, with attention and sparse cues, scores 58.58 under the same 20% condition. With all target annotations, those configurations score 65.63 and 63.58 respectively. The transfer result persists with phonological characters and word vectors alone, even when the additional mechanisms fail to improve the strongest target score.
The authors suggest that attention learned on Uzbek may emphasize patterns that become less helpful with enough Turkish data to learn target-specific distinctions. Differences in morphology and phonology give that hypothesis a concrete basis. The experiment shows a change in which configuration performs best. It leaves the cause of that change open. The Uyghur result adds another boundary to the interpretation: the strongest reported transfer there uses phonology without attention, under a different source mixture and a different regime of target annotation.
Limitations
Limits the authors identify
The most immediate requirement is a mapping from each relevant language and script to IPA. The authors argue that existing mappings and feature databases reduce the amount of work, and emphasize that this resource is independent of the entity tagging task. The requirement still follows from the architecture. PanPhon expects usable IPA segments, so it operates after the spelling-to-sound conversion has been supplied. A new language with little annotated text can be a candidate for this approach if its written forms can be converted with sufficient quality. The authors identify further automation of that step as future work.
Spelling-to-sound conversion also discards some of the evidence available to an orthographic tagger. Capitalization can distinguish useful word shapes, and punctuation in an abbreviation can reveal a boundary or familiar form. When different spellings share one IPA representation, the character encoder sees the same phonological input for those spellings. The paper recognizes this tradeoff and tests sparse cues that can preserve selected written distinctions. The results vary by language and configuration, which limits any general prescription about whether to retain those cues.
The authors also call for testing on additional language pairs from different families. The multilingual evidence here centers on transfer involving Uzbek, Turkish, and Uyghur. Spanish supplies a monolingual result. The transfer experiments cover meaningful differences in script, vocabulary, morphology, and phonology within the languages studied. Claims about the same degree of transfer for other families or writing systems require their own evidence.
For attention, the authors explicitly leave a richer error analysis to future work. Their proposed account is that patterns learned in Uzbek could be a poor fit for Turkish once more Turkish labels are available. The reported comparisons support a dependence on the target data level. They offer less evidence about which suffixes, vowel sequences, or other patterns account for individual labeling decisions. Attention weights are part of the computation, while the reported evidence for their benefit comes from aggregate F1.
Limits visible in the experimental setup
The study has several comparisons within the same datasets, which helps isolate particular design choices. Its comparisons across datasets bring several factors along at once. The Spanish and Turkish runs differ in the languages, their word forms, the corpora, and the role of the available word embeddings. The authors tie the relatively larger dependence on character features in Turkish to its morphology and smaller body of annotations. That is a plausible interpretation of the contrast, with the contribution of each factor left unresolved by a comparison between the two datasets.
The label inventory includes categories with different kinds of boundary and classification decisions. The reported F1 scores average over the behavior relevant to those decisions. The tables give no separate scores by entity type or name frequency. They therefore provide little purchase on whether the gains come mainly from recognizing rare mentions, drawing more accurate boundaries, classifying certain types, or some combination of these. The same qualification applies to the example of vowel harmony. An improvement in Turkish F1 establishes the value of a configuration in that evaluation, while the contribution of an individual linguistic feature remains to be measured.
The Spanish comparison includes values that are very close together at the top. The paper reports point scores, and the tables do not attach uncertainty estimates to those comparisons. That makes the strongest Spanish finding one of competitiveness on the reported benchmark. A claim that the best configuration would consistently rank above the nearby systems across reruns would require evidence about variation. Comparisons with published systems also encompass differences in their training resources, which the benchmark chart flags where the authors identify external labeled data.
The Turkish transfer curves establish performance at the reported amounts of target supervision. The experiments do not supply the distribution of possible scores over alternate choices of which examples constitute each amount. Thus the 20% comparison gives direct evidence about the authors’ evaluation, with limited information on how strongly the result depends on the particular examples selected. The same distinction matters for comparing methods in the 0-shot condition. It tests absence of labeled Turkish training examples in the transfer setting, while shared word vectors and a usable spelling-to-sound mapping remain inputs.
The Uyghur test has the advantage that gold annotations are used for evaluation despite the limited quality of the target training labels. Its difference in F1 reflects the complete transfer arrangement. The paper compares the best system using both source languages, phonological inputs, and the available Uyghur training labels with a tagger trained only on Uyghur annotations. The reported comparison leaves separate questions about the contribution of each source and the value of phonology under the same multilingual training mixture. In particular, the result applies to a target with noisy training annotations and an unseen gold test set. The zero-label evidence in the paper comes from Turkish.
What came after
Other routes to cross-lingual recognition
Later papers that cite this study put the question of scarce target annotations into several different settings. One treats translation as the route across languages. The title of Mayhew and colleagues’ work identifies cheap translation as the means for approaching cross-lingual named entity recognition. This is a different point of intervention in the same task. The earlier study applies a spelling-to-sound mapping to each word and then extracts evidence from features shared across the resulting segment sequences. A translation-based formulation locates the cross-language connection at the level of text that can be rendered in another language. The citation connects the two approaches as responses to the problem of carrying tagging evidence across languages. Cheap Translation for Cross-Lingual Named Entity Recognition
Xie and colleagues frame neural cross-lingual named entity recognition around minimal resources. That focus continues the question posed by the Uzbek-to-Turkish experiment: what useful evidence can reach the target when target-language annotation is scarce? The Turkic transfer study gives concrete meaning to one version of that question by changing access to labeled Turkish examples while retaining word-vector and phonological resources. The later title places the resource budget at the center of the cross-lingual task. Its citation establishes a connection to that problem, while the title alone leaves the later experiment’s particular resource assumptions open. Neural Cross-Lingual Named Entity Recognition with Minimal Resources
Rahimi and colleagues enlarge the multilingual frame. The earlier paper examines both a single source and a pair of source languages, with a specified target for each transfer evaluation. Work on massively multilingual transfer places the task in a setting with many languages. This brings the availability of multiple sources to the foreground. The Uyghur experiment gives an example in which sources are combined, but supplies one joint result for those sources. The later work’s scope shows how the question broadens when a multilingual tagging study takes transfer across many languages as its subject. Massively Multilingual Transfer for NER
Representations within and across languages
Mortensen and colleagues’ Epitran paper concerns a dependency of the earlier architecture: conversion from written forms to phonetic representations. In the original study Epitran provides the IPA input that PanPhon then turns into segment feature vectors. The later paper takes grapheme-to-phoneme conversion across many languages as its own subject. The relationship here is direct at the level of the tool. A tagging experiment can treat conversion as a way to prepare its input, while a study of Epitran can address the conversion problem itself. Epitran: Precision G2P for Many Languages
Littell and colleagues’ URIEL and lang2vec work uses vectors whose objects are languages. Its title identifies typological, geographical, and phylogenetic information as the properties those vectors represent. PanPhon’s vectors in the earlier tagger describe individual speech segments and are supplied at each position of a word. The two works thus situate reusable linguistic properties at different scales. A segment representation expresses possible similarities between units inside words. A language representation describes relations among whole languages using the kinds of information named by the later work. URIEL and lang2vec
Si and colleagues study subword tokenization, specifically tokenization below the character level for Chinese pretrained systems. This takes up a related representational choice in a different task. The earlier tagger puts information below the word level to work by transcribing the written form and feeding segment identities and properties into a recurrent encoder. The later work’s title places the choice of sub-character input units in the tokenizer. The citation links studies in which the choice of what the system treats as an input unit is a substantive part of the language-processing problem. Sub-Character Tokenization for Chinese
Robustness and the broader history of tagging
Aguilar and colleagues examine noisy social media text through multitask neural named entity recognition. In Bharadwaj and colleagues’ study, irregular spelling and unstable conventions are among the reasons to consider a shared sound representation, and the Uyghur training condition introduces a separate issue of noisy annotations. The later study’s stated focus puts noisiness in a social media tagging setting and makes multitask learning part of the approach. This extends the discussion of robustness beyond the question of changing the source language or script. Modeling Noisiness to Recognize Named Entities
Yadav and colleagues cite the paper in a survey of advances in neural named entity recognition. That is a different role for the result from a new transfer evaluation. It places sound-based word representations and cross-lingual supervision within an account of how neural tagging approaches developed. The links among these later works range from a direct focus on a converter used by the tagger to studies of translation, multilingual transfer, representation, and noisy text. Their citation relationship establishes where the study entered those discussions. The measured effects of its phonological inputs and attention remain the ones reported in the original Spanish, Turkish, Uzbek-to-Turkish, and Uyghur experiments. A Survey on Recent Advances in Named Entity Recognition
Cite
Cite as Akash Bharadwaj, David Mortensen, Chris Dyer and Jaime Carbonell. 2016. Phonologically Aware Neural Model for Named Entity Recognition in Low Resource Transfer Settings. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{bharadwaj2016phonologically,
title = {{Phonologically Aware Neural Model for Named Entity Recognition in Low Resource Transfer Settings}},
author = {Akash Bharadwaj, David Mortensen, Chris Dyer and Jaime Carbonell},
booktitle = {Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing},
year = {2016},
doi = {10.18653/v1/d16-1153},
url = {https://doi.org/10.18653/v1/d16-1153}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bharadwaj-2016-phonologically-aware-neural-model-named/