Tagging and information extraction
Problems
- Part-of-speech tagging
Label each word of a sentence with its part of speech, such as noun, verb or adjective, resolving ambiguity from context.
intro - Sentiment analysis
Decide whether a text, sentence or aspect expresses a positive, negative or neutral opinion, or score its polarity.
intro - Sequence labeling
Assign one label from a fixed set to each token of a sequence, using the whole sequence, as in tagging, chunking and entity recognition.
intro - Coreference resolution
Group the mentions in a text into clusters that refer to the same entity, such as a name, a description and a pronoun.
core - Entity linking
Map each entity mention in a text to its entry in a knowledge base, or to none, using the mention, its context and coherence.
core - Named entity recognition
Find the spans of a text that name entities such as persons, organizations and places, and label each span with its type.
core - Relation extraction
Find pairs of entity mentions in a text and the semantic relation that holds between them, such as born in or employed by.
core - Text chunking
Split a sentence into non-overlapping, non-nested phrases such as noun and verb groups, usually as BIO sequence labeling.
core
Algorithms
- Brill tagger
Start from the most frequent tag of each word, then apply learned rewrite rules in order, each chosen greedily to fix the most errors.
1 languagescore - HMM part-of-speech tagger
Tag words with an HMM whose states are tags: tag n-gram transitions and word emissions come from counts with smoothing, and Viterbi finds the best tag sequence in O(n k^(m+1)).
1 languagescore - Hobbs algorithm
Resolve a pronoun by a fixed left-to-right, breadth-first walk of the parse trees of the current and earlier sentences, with agreement checks. A heuristic.
1 languagescore - Mention-pair coreference model
Classify each pair of mentions as coreferent or not, then link each mention to its closest (or most probable) earlier mention classified as coreferent.
1 languagescore - Structured perceptron
Decode each training sentence by Viterbi and add the features of the gold tags minus those of the predicted tags; averaged in practice.
1 languagescore - Bayesian HMM tagging
Unsupervised part-of-speech induction with an HMM under sparse Dirichlet priors. The parameters are integrated out, and collapsed Gibbs sampling draws the tags.
1 languagesadvanced - DIPRE
Brin's bootstrapping that alternates between finding text patterns around seed pairs and finding new pairs that match the patterns.
1 languagesadvanced - End-to-end span-ranking coreference
Score every span up to a width as a mention, prune, score each span with its candidate antecedents and a dummy of score 0, train on the marginal likelihood of gold antecedents, then link.
1 languagesresearch
Techniques
- Distant supervision
Label training sentences for relation extraction by matching entity pairs to facts in a knowledge base, accepting noisy labels.
advanced
Concepts
- Label bias problem
In locally normalized models such as MEMMs, states with few successors pass on their mass whatever the input, which motivated CRFs.
advanced
Definitions
- BIO encoding
Encode spans as token tags B for the first token, I for the next ones and O outside, so span finding becomes sequence labeling.
1 languagesintro - Span-level F1 score
Precision and recall of predicted spans that match a gold span exactly in boundaries and type, combined as their harmonic mean.
1 languagesintro - Universal part-of-speech tagset
A coarse part-of-speech tagset shared across languages: 12 tags in Petrov, Das and McDonald (2012), and 17 UPOS tags in Universal Dependencies, with mappings from treebank tagsets.
core - B-cubed metric
Coreference precision and recall averaged over mentions, from the overlap of the predicted and gold clusters that hold each mention.
1 languagesadvanced
Models
- Maximum entropy Markov model
A tagger with a log-linear distribution of each tag given the previous tag and features of the input, decoded by Viterbi.
core - BiLSTM-CRF
A bidirectional LSTM gives each token tag scores, and a linear-chain CRF layer on top adds tag transitions and decodes by Viterbi.
advanced - Centering theory
A model of local discourse coherence that ranks the entities of each utterance and classifies transitions as continue, retain, smooth shift or rough shift.
advanced - Semi-Markov conditional random field
A CRF over segmentations into labeled spans, with features of whole spans, decoded by a segment Viterbi in O(n L k^2) time.
advanced