Elamur Research

Markov Models Applications in Natural Language Processing: A Survey

Paper · 2022 · Talal Almutiri and Farrukh Nadeem

Summary

A text generator has to decide what can come next. A system reading the same text may face a different decision. It can see the words, but it still has to infer which ones form a name or what grammatical role each word plays. Almutiri and Nadeem survey how Markov methods handle these problems in natural language processing. They explain the shared assumption that the current state supplies the information needed to predict the next state. What counts as a state depends on the task. It might be a word in a generator, a stage in a search over candidate stories, or a grammatical tag that the system has to infer from a sentence.

The authors collected 43 papers published from 2016 to 2020 and selected 18 for closer discussion. They cover text generation, named entity recognition, and part-of-speech tagging. Markov chains appear more often in the generation studies, where they help produce word sequences or explore candidate outputs. Hidden Markov methods appear more often in the recognition and tagging studies, where the observed text provides evidence about unseen labels. Several systems use the Markov component for a specific job, such as shortening a sentence into a heading or reconciling evidence across the words of an entity name.

The survey follows a practical question across all three applications. How much human preparation does each method require? Corpus-based generation can draw on human-written examples in place of hand-authored templates, but text can still come out incomplete or break when the corpus offers too few usable transitions. Supervised recognition and tagging can learn probabilities from examples, but people still have to label those examples. Some of the surveyed work explores alternatives, including grammatical analysis for unfamiliar words and unsupervised tagging that looks for words associated with particular grammatical categories.

The authors discuss scores reported by the individual studies alongside their methods and weaknesses. The evaluations answer different questions, from whether an entity label is correct to whether a generated event sequence satisfies a genre criterion. A direct comparison in the Urdu recognition study illustrates what a result can establish within a particular setup. The survey reports accuracy rising from 66.71% to 71.70% when part-of-speech information was used to help identify entities. Across the collection, the recurring tradeoff is between the structure a system can learn from text and the structure that still has to come from labels, dictionaries, rules, or choices about how to represent the task.

Deep dive: Markov Models Applications in Natural Language Processing: A Survey

This survey explains how Markov chains generate text and how hidden Markov methods identify names and grammatical roles in sentences. · about 35 minutes to read

The problem and its context

What a sequence tells you

The survey begins from the idea that order carries information. The same words can support different interpretations depending on their surroundings, and the plausibility of a continuation depends on what has already been written. Statistical approaches use examples of these patterns to estimate how likely a particular continuation or interpretation is. The authors place this work alongside linguistic efforts to describe the structure of language. They treat success at a practical prediction task and the adequacy of a linguistic theory as different questions.

A statistical treatment requires a decision about which parts of the context to remember. A Markov process represents the situation at each step as a state. The state space is the collection of situations the process can represent. The method assigns probabilities to movements between states, including the possibility of staying in the same state. A process can therefore follow different paths from the same starting point. In the paper’s terminology, each run is a realization of the process. A deterministic process, given the same starting conditions, follows the evolution specified by its equations.

For language work, this abstraction matters because the state can be built for the decision at hand. If a generator treats the latest word as the state, the possible next words and their probabilities depend on that word. If a tagger works with hidden grammatical states, it assigns probabilities to transitions between categories and separately to the words associated with those categories. A sentence is available to the tagger as evidence. The grammatical decisions that account for the sentence have to be recovered.

The paper locates hidden Markov methods in an earlier line of work on probabilistic sequences. It attributes their formulation to Baum and Petrie and identifies automatic speech recognition as an early major application. That history gives the authors a way to introduce the distinction between an observable signal and the sequence a system wants to infer. In written tagging, the observable signal is a series of words. The inferred sequence describes properties of those words that the input does not explicitly label.

The paper also sketches levels of linguistic analysis to locate the tasks it reviews. Morphology concerns the internal structure of words. Syntactic analysis describes how words relate inside a sentence, and semantics concerns interpretation. Discourse analysis gives surrounding sentences a role in that interpretation. Pragmatic analysis concerns what an utterance means in the situation where it is used. A tagger or entity recognizer addresses a particular part of this broader territory. The survey uses those tasks to ask what a tractable sequence representation can capture.

How earlier systems supplied linguistic knowledge

The generation background starts with templates and rules. A template supplies a form that can be filled with the information a system needs to express. Rules allow more variation by specifying when particular expressions can be used. The survey discusses these approaches in settings such as routine reports and business correspondence, where recurring content makes reusable forms practical. The effort grows when the generator needs to cover new kinds of content or produce a wider range of phrasings. The authors also emphasize that rules developed for one language may need substantial revision for another.

Trainable generation changes which decisions come from examples. The paper cites Controlling User Perceptions of Linguistic Style in its account of systems that adapt how they express content. The distinction the survey draws is between learning to choose among expressions and specifying which choices the generator is able to make. A trainable system may still depend on a hand-built generator to supply the available decisions. Extending its range can therefore entail adding new options even when the system learns how to choose among them.

Corpus-based generation gives the text itself a larger role. A corpus is a collection of texts used as evidence. Patterns in human-written material help a system estimate which words or expressions are plausible together. The survey uses fluency, diversity, readability, and efficiency to describe what generation methods are trying to achieve. These properties call for different kinds of evidence. A procedure can give a plausible local continuation while producing little variation from one output to the next. A system can also generate varied wording and still fail to finish a readable sentence. That distinction becomes important when the survey turns to how individual studies assess their outputs.

Earlier entity recognition systems supplied knowledge in other forms. A lexicon gives a recognizer an inventory of names to look for. The survey describes dictionary matching as a relatively direct approach that can operate without labeling whole documents. The labor goes into compiling and updating the inventory. Its scope becomes visible when a system encounters a different domain or a name that the dictionary does not contain. A rule-based recognizer can generalize across particular names by looking for forms or grammatical patterns, but those patterns have to be specified by hand.

The authors discuss supervised and unsupervised machine learning as ways to change this division of labor. A supervised recognizer learns from text paired with the desired entity labels. The amount of linguistic annotation matters because collecting documents and identifying their entities are separate jobs, and a corpus made for one domain may be a poor fit for the next. An unsupervised approach tries to recover recurring patterns from text without target labels. The survey frames this as a way to reduce preparation, with the interpretation and evaluation of the resulting patterns remaining open problems.

There are practical reasons to identify names even when the recognition task itself seems narrow. The survey points to question answering, where an answer may involve finding the right person or place, and coreference resolution, where a system has to determine whether different expressions refer to the same thing. It also describes finding relationships between entities. Recognizing a span as a name provides an intermediate representation that these tasks can use. In biomedical writing, the authors emphasize that the context may determine whether an expression denotes a gene or a protein. Finding the string is only part of that decision.

Part-of-speech tagging has its own history of hand-supplied knowledge. A tagger can look up potential categories in a lexicon and apply grammatical rules to narrow the choices. An expression matching a particular pattern can favor a category. The survey credits dictionary- and rule-driven approaches with practical accuracy while emphasizing the labor of constructing the resources and the limited coverage of any given rule set. A statistical tagger moves some of those decisions into learned preferences for words and neighboring categories. A hybrid adds rules to a statistical process.

Across these backgrounds, the survey’s question is where linguistic knowledge enters the system. A rule writer can supply it directly, a lexicon can record it, and a corpus can supply evidence from which some of it is learned. A hidden-state method offers a way to combine observed text with regularities about categories. Whether this reduces manual work depends on the data needed to estimate those regularities. The paper’s review follows that distinction through the separate tasks.

The method, step by step

How the authors assembled the review

The method of the survey itself was to gather work within a defined publication window, group it by application, and select studies for closer reading. The collection covers 2016 to 2020. It contains 16 generation papers, 14 recognition papers, and 13 tagging papers. The authors then narrowed the collection of 43 to 18 studies that they judged relevant to Markov chains and hidden Markov methods. Their discussions describe what each study contributes, where a Markov component enters the system, and what the individual evaluation or the survey discussion reveals about its weaknesses.

The review’s selection includes methods that share Markov ideas while using different mathematical structures. A simple word chain is one example. The collection also covers methods that work with whole spans, a random field that brings evidence from related mentions together, and systems that use a chain to sample candidate outputs. The survey supplies a common vocabulary for reading these studies. Their training procedures, inputs, and outputs belong to the individual investigations. The survey’s own material is the collection of papers.

From an observable chain to hidden states

To see how the basic chain works, imagine that the weather is directly observable and that the possible states are sunny and rainy. The survey’s first weather illustration asks for the chances of tomorrow’s weather, given today’s. On a sunny day, the illustration gives a 30% chance of rain the next day and a 70% chance of another sunny day. On a rainy day, it gives a 20% chance of sun the next day and an 80% chance of another rainy day. These are illustrative transition probabilities. Each forecast uses the possibilities associated with the current weather.

The Markov assumption fixes what can enter that prediction. The sequence may contain a long history, but the probability of the next state is conditional on the current state. In the paper’s notation, with the index advanced to the point being predicted, the assumption is as follows.

P(sᵢ = a | s₁, …, sᵢ₋₁) = P(sᵢ = a | sᵢ₋₁)

Here P is probability, and the vertical bar reads “given.” The symbol sᵢ is the state at position i, and a is a possible value for it. The expression s₁, …, sᵢ₋₁ lists the previous states from the start of the sequence through the immediately preceding position. The expression sᵢ₋₁ on the right retains only that predecessor. The equals sign between the probabilities asserts that the two ways of conditioning give the same probability under the assumption. The equals sign inside each probability identifies the event whose probability is being calculated.

The formal specification starts with the available states.

S = {s₁, s₂, …, sₙ}

S denotes the state space, the braces enclose its members, and each s with a subscript denotes one state in the inventory. The subscript n gives the number of available states, and the ellipsis indicates the intervening members. Here a subscript identifies a member of the inventory. In the preceding probability expression, it identified a position in a sequence. The difference matters because the same inventory member can occur at several positions.

The chain represents its transition probabilities as a matrix.

A = (aᵢⱼ)

A is the transition matrix. An entry aᵢⱼ gives the probability of moving from state i to state j. The parentheses indicate the array formed from these entries. With that choice of index direction, its outgoing probabilities satisfy the following condition.

∑ⱼ aᵢⱼ = 1 for every i

The summation sign ∑ instructs the reader to add the entries over all destination states j for a fixed source state i. The value 1 represents the entire probability mass for the next state. The paper’s tables have an inconsistent summation index. Summing over the destination is the reading that fits their definition of an entry as a move from i to j. A transition can also return to the same state, as it does in the example of one sunny day following another.

The remaining part of the chain is a distribution over starting states.

P = (p₁, p₂, …, pₙ)

Here P names the initial distribution as a whole, while p with a subscript is the probability of starting in the corresponding state. The parentheses enclose the ordered list and the ellipsis stands for the entries between those shown. This use of P as the name of a list is separate from the use of P before an event to indicate its probability.

∑ᵢ pᵢ = 1

The summation runs over all states i, and pᵢ is the starting probability for state i. The value 1 again denotes the full probability mass. The paper allows a starting probability to be 0. Such a state is excluded as a starting point and may still be reached through a transition if the transition probabilities allow it.

A hidden Markov model, abbreviated HMM, keeps the transition and starting distributions and adds observations. In the second weather example, the system has a record of what a person did each day, while the weather is the hidden sequence. An observation might be a walk, a shopping trip, or time spent cleaning. The starting probabilities are 0.4 for sunny and 0.6 for rainy. The paper’s account gives a 30% chance of sun after a rainy day and a 40% chance of rain after a sunny one. Those transitions concern weather. A separate set of probabilities connects the weather with what the person does.

Given sun, the probabilities of a walk, shopping, and cleaning are respectively 60%, 30%, and 10%. Given rain, the probabilities for those activities in the same order are 10%, 40%, and 50%. Seeing a walk supplies evidence for sun, but a walk is possible in either weather state. The preceding weather and the starting probabilities can also influence which sequence of states explains the observations. The survey uses this setup to introduce the Viterbi algorithm as a way to recover a likely hidden path from a sequence of observations.

The formal HMM representation gives that sequence a name.

O = (o₁, o₂, …, oₜ)

O is the sequence of observations, o is an observation with its position written as a subscript, and the final subscript t denotes the last position in this display. The paper names the sequence length T in its prose. The parentheses preserve the order of the observations and the ellipsis denotes the positions between those shown. For tagging, an observation is a word seen at the corresponding position.

V = {v₁, v₂, …, vᵥ}

V is the observation vocabulary. Each v with a subscript denotes a possible observation, and the final subscript gives the vocabulary size in this notation. The braces enclose the possible observation types. An ordered sequence O can contain repeated members of V.

B = (bᵢ(oₜ))

B collects the emission probabilities. An entry bᵢ(oₜ) expresses the probability of observing oₜ at position t when the hidden state is i. The term “emission” refers to the direction in which the probability is defined, from a state to an observation. At inference time, the system uses those probabilities in the opposite evidential direction. It sees the observations and evaluates which hidden path is consistent with them and with the transition probabilities.

What goes into a tag sequence

The paper gives part-of-speech tagging the fullest mathematical treatment of its language applications. The words are the observations and the grammatical categories are the hidden states. Training on tagged text can supply the information needed to estimate how often a word is associated with a category, what categories start sequences, and which categories tend to follow each other. When a system receives a new sentence, the associations estimated during training help it compare possible tag sequences. The basic workflow is also an illustration of how hidden-state inference differs from lexical matching.

From a tagged corpus to a hidden tag sequence

The steps in order.

From a tagged corpus to a hidden tag sequenceStep 1: Take word and tag sequences from annotated text1. Take word and tag sequences from annotated textStep 2: Estimate start, transition, and emission probabilities2. Estimate start, transition, and emission probabilitiesStep 3: Read the words of a new sentence3. Read the words of a new sentenceStep 4: Score candidate tag paths using those probabilities4. Score candidate tag paths using those probabilitiesStep 5: Return the highest-scoring tag sequence5. Return the highest-scoring tag sequence

The survey introduces n-grams as a way to describe how much adjacent context is used. A unigram consists of an individual item, a bigram of an adjacent pair, and a trigram of an adjacent triple. The paper illustrates these with words in a sentence about enjoying coffee. The words can be listed individually or grouped into overlapping runs. When the same idea is applied to tag history, a bigram score considers the immediately preceding tag, and a trigram score considers the preceding pair. Word groupings help explain the terminology. The actual transition factors in the tagging formulas below are defined on tags.

The survey first writes a frequency-based unigram estimate.

P(gᵢ | dᵢ) = freq(dᵢ | gᵢ) / freq(dᵢ)

The tag at position i is gᵢ, and dᵢ is the word at that position. P denotes probability and the bar in P(gᵢ | dᵢ) gives the conditioning direction, the tag given the word. In the paper’s frequency notation, freq(dᵢ | gᵢ) counts occurrences of the word with the indicated tag, and freq(dᵢ) counts occurrences of that word. The slash divides the count for the specified tag by the overall count for the word. The estimate uses evidence about the association between the current word and tag.

The bigram expression gives the previous tag a role.

P(gᵢ | dᵢ) = P(dᵢ | gᵢ) · P(gᵢ | gᵢ₋₁)

The left side uses the paper’s label for the current tag’s score given the word. On the right, P(dᵢ | gᵢ) is the emission probability of word dᵢ under tag gᵢ. The expression P(gᵢ | gᵢ₋₁) is the transition probability from the preceding tag gᵢ₋₁ to the candidate tag gᵢ. The dot indicates multiplication. This product supplies a score for comparing candidate decisions with a fixed predecessor. Reading the product as a normalized posterior would require a normalization term, which the displayed formula omits.

The trigram expression extends the transition context.

P(gᵢ | dᵢ) = P(dᵢ | gᵢ) · P(gᵢ | gᵢ₋₂, gᵢ₋₁)

The probability notation, current tag gᵢ, current word dᵢ, and emission factor have the same meanings as in the bigram expression. The two items after the final bar are gᵢ₋₂ and gᵢ₋₁, the earlier and later members of the preceding tag pair. The comma separates the conditioning tags. The rightmost factor evaluates the proposed tag in light of that pair. The product is again a score in the survey’s notation. Extending the state history changes the evidence used to score the transition while leaving the word emission term in the same form.

The survey then states the search for a tag sequence using the bigram factors. Written as an explicit maximization, its displayed objective is as follows.

Find g₁, …, gₙ maximizing ∏ᵢ₌₁ⁿ P(dᵢ | gᵢ) · P(gᵢ | gᵢ₋₁)

The candidate tag sequence is g₁ through gₙ, and n is the sentence length. The product sign ∏ combines the pair of factors at every position i from 1 through n. The first factor evaluates the observed word dᵢ under the candidate tag gᵢ. The second evaluates gᵢ under the preceding tag gᵢ₋₁. At the first position, the transition expression requires a start convention. The initial distribution described earlier supplies the corresponding starting probability. Maximizing this product means choosing a whole tag path that accounts for the words and the succession of categories together.

There is a practical difference between assigning the most frequent tag to each word separately and choosing a path. The path score lets evidence near one position affect which tag sequence looks best overall. If two candidate tags both plausibly emit a word, their transitions to and from neighboring tags can favor different paths. The weather example has the same structure. An activity can fit either state, and a sequence of activities brings evidence about both emissions and transitions. The survey’s formulas specify that distinction more precisely than its broad descriptions of stochastic tagging.

Where the Markov component enters other systems

Generation can use the chain in the forward direction. Start with a state, consult the outgoing probabilities, choose a continuation, and repeat. In the surveyed Spanish data-generation work, the current word supports the choice of the following word. The resulting sentence is a candidate for a training collection. A comparison using word embeddings then filters generated sentences. Embeddings represent words numerically, allowing the study to use cosine similarity to compare representations. In this setup, learning plausible successions and deciding whether a complete candidate resembles the source material are separate operations.

A chain can also run over candidate outputs during a search. Markov chain Monte Carlo, abbreviated MCMC, constructs a succession of samples when drawing directly from the desired distribution is difficult. The survey describes Metropolis–Hastings sampling as a method used for this purpose. In the study that generates altered language examples, the search works over candidates for a modified sentence. In the story-generation study, the units of interest are events represented through grammatical roles such as subject, verb, object, and modifier. A recurrent neural network helps direct the search toward event sequences that fit the intended genre. This use of a chain differs from deciding on the next word during left-to-right generation.

A semi-Markov component gives some of the reviewed systems a way to work with segments. In section heading generation, the survey describes a pipeline that selects a promising sentence, compresses it, and ranks the resulting candidates. The selector draws on word representations and a recurrent network. A semi-Markov conditional random field enters at compression, where the problem is deciding what material can be removed. The ranker then scores the possible outputs. The Markov-related step addresses the shape of the shortened candidate within a pipeline that also chooses its source and decides which candidate to return.

Entity normalization also gives segments a role. Recognition identifies a mention in the text, and normalization connects it to a term in a lexicon. In the work on diseases and chemicals, the survey describes scores that involve the entity category and the dictionary term. The semi-Markov procedure pools evidence across a segment and adjusts the normalization contribution for segment length. This matters when a mention and a lexicon entry contain different amounts of text. The purpose of the adjustment is for their scores to remain comparable without the number of words dominating the contribution.

The hinge-loss Markov random field in the review uses another arrangement of evidence. It brings together signals about related biomedical mentions and signals based on word meaning. The authors describe Probabilistic Soft Logic as the representation used for this method. Some variables can be observed from the document, and the system draws probabilistic conclusions about the unobserved variables from the connection between these signals. Since related mentions can occur in the same abstract, the method can use more than a succession of adjacent labels. Its inclusion shows how broadly the survey treats the family of Markov approaches.

The tagged training corpus in the flow diagram applies to a supervised tagger. The survey also describes an alternative that uses unlabeled text and seeks anchor observations associated with hidden grammatical categories. The anchor assumption is where the method gets structure that annotated tags would otherwise help supply. Other studies retain labels and modify a different part of the procedure, such as analyzing word forms before making predictions for unfamiliar words or consulting an auxiliary tagger on uncertain cases. These are distinct data procedures even when the inference mechanism retains a recognizable hidden-state structure.

Experiments and results

The evidence collected by the survey

The initial collection has 7 papers from 2016, 7 from 2017, 8 from 2018, 11 from 2019, and 10 from 2020. These counts describe all 43 papers that the authors collected before narrowing the review. They measure the makeup of the collection. The survey does not use them as estimates of how common these methods were in the field at large. In the closer reading of 18 studies, it moves from the data and method of each investigation to the performance or qualitative observations the authors chose to emphasize.

The comparisons have to be read within those investigations. A recognition study can report classification accuracy or an F-score. A generation study might report perplexity, acceptance against a story criterion, or a qualitative problem with the resulting text. Accuracy concerns the proportion of evaluated decisions that are correct according to the study’s labels. F-score combines precision, which asks how many predicted instances are correct, with recall, which asks how many annotated instances were recovered. Perplexity concerns how surprising a sequence is under the probabilities used to score it. These measures bear on different properties of a system.

Generation, from new examples to new stories

Zhang and colleagues use Metropolis–Hastings sampling to generate modified text for testing and improving a neural system’s robustness. The survey names the Internet Movie Database dataset, abbreviated IMDB, and Stanford Natural Language Inference, abbreviated SNLI. It reports lower perplexity and interprets this as evidence that generated sequences more closely resemble the text in the relevant corpus. It gives a reported accuracy of 73% for the method. Its account does not specify the dataset split or attach that figure to a clearly identified evaluation condition, so the figure describes the study at the level of detail the survey supplies.

The same discussion points to a problem that a probability-based fluency measure can leave unresolved. The sampling procedure sometimes produced incomplete sentences, and some retained candidates had changed labels. Volunteers were involved in labeling the generated material. The label matters because an altered example intended to test a system on the same underlying case can become a different case after the edit. The survey suggests checking for a sentence ending as a way to address incomplete outputs. That suggestion concerns completeness. Whether an example still has the intended label is a separate question.

Martínez Garcia and colleagues generate training examples from a Spanish corpus. Their problem is an imbalance among the examples available for a supervised task. To increase the representation of an underrepresented group, they use the chain to propose new sentences and similarity to filter them. The survey compares this use with the Synthetic Minority Oversampling Technique, or SMOTE, and describes the Markov-plus-embedding approach as more effective in the reported setting. It gives no paired metric, corpus split, or score for the comparison. The evidence it discusses chiefly explains how the two-stage generator proposes and selects text for oversampling.

Gehrmann and colleagues address a compression and selection problem. A section can contain several sentences, and the wording of a heading is much shorter than the material it represents. Their system selects a source sentence, shortens it, and ranks candidates. The survey discusses sequence-to-sequence generation in connection with this work. Such a system learns how input and output correspond while learning to produce the output words. The survey identifies limited data as a difficulty for that approach. It gives no numerical comparison of the pipeline with the sequence-to-sequence approach and no separate scores for sentence selection, compression, and ranking.

Harrison and colleagues work with romance-film summaries drawn from Wikipedia. Their system represents the stories as event sequences and uses a recurrent network to guide an MCMC search toward the intended genre. The survey reports that the method met its acceptance criterion in almost 85% of cases in the study’s evaluation. The paper supplies no split for this result. The unit being judged is an event-based output under a genre-oriented criterion. This is narrower than judging a complete story written in prose. The survey notes both the difficulty of reading the resulting plots and the difficulty of specifying a convincing acceptance criterion.

Yang and colleagues use generation to produce English text that can carry a hidden message. The survey names Twitter, IMDB movie reviews, and news material as their training sources. These corpora supply the probabilities used to select candidate continuations. The study combines those probabilities with Huffman coding, so the code associated with a word can depend on the current continuation context. The survey reports accuracy between 50% and 60% for the study and considers the result in need of improvement. Its account does not define the accuracy calculation, give a split, or attribute a separate value to each corpus.

Luo and colleagues also use generated text to carry information, in this case in the form of classical Chinese Ci poetry. Their corpus, Quansongci, contains 21,000 Ci poems. The count describes the size of the source collection used for learning transitions. It is neither an output count nor a performance measure. The authors associate limited coverage in the collection with breaks in the generation chain. If the learned table supplies no usable continuation from a state encountered during generation, the process cannot proceed as intended. The survey offers no matched result with a larger collection.

These studies use corpora for different purposes even when the tables or search procedures share a probabilistic basis. In the Spanish study, the corpus provides patterns for generating material that can be added to training data. For the film-summary study, it provides the event material from which a genre-guided search learns. In the poetry study, it determines which transitions are available to a generator working in a constrained form. Adding data, choosing a different representation, or introducing another check would address different reported difficulties in those settings.

Recognition in general and specialized text

Miller and colleagues study biomedical entity recognition in scientific documents. The survey uses the ambiguity between gene and protein mentions to motivate their method. Earlier graph-based work, as discussed by the survey, connected words using indirect co-occurrence evidence. Miller and colleagues additionally use information from word representations and relationships between mentions. For the biomedical recognition study, the survey reports an F-score of 93.7%. It does not identify an evaluation split or give a score for the earlier graph method on the same examples. The reported score belongs to the method combining the evidence sources.

The discussion of Arora and colleagues highlights the design of the training objective. They work with a bidirectional recurrent and convolutional recognizer and use a semi-Markov structured support vector machine to help shape the loss. A training loss describes how the system is penalized for errors. Different penalties can affect the balance between recovering more names and making fewer incorrect predictions. The survey presents the method as targeting high precision and describes its treatment of different error types during training. It gives no precision and recall values with which to trace the size of that tradeoff.

Lay and Cho estimate initial, transition, and emission probabilities from an annotated Myanmar corpus. The labels supplied during training support supervised prediction of entity categories from new observations. The survey reports classification accuracy of 95% and an F-score of 97% for the Myanmar recognition study. The measures should be read as reported for that study. The paper leaves their averaging and evaluation split unspecified and does not report a test on another language. Its discussion identifies such testing as a way to assess how well the method generalizes.

Drovo and colleagues combine a hidden Markov recognizer with grammar-driven regular expressions for Bengali. A regular expression matches a specified pattern in text. Here the system draws on those patterns as well as probabilities learned for recognition. The survey highlights the combination as a distinct design and notes its continued dependence on annotated material. It does not give separate measures for the learned and rule-based components or a numerical comparison with a version that uses either by itself.

Malik and Sarwar’s Urdu study provides a within-study comparison with an explicit numerical result. The survey describes the lower accuracy before part-of-speech information was used to help recognize entities and the higher value with that information. It does not name the corpus or identify the evaluation split in its account of the comparison.

Urdu named entity recognition study, classification accuracy with and without part-of-speech information

The Urdu recognizer achieved higher reported accuracy when it used part-of-speech information.

Urdu named entity recognition study, classification accuracy with and without part-of-speech informationWithout part-of-speech information: 66.71Without part-of-speech information66.71With part-of-speech information (this paper): 71.70With part-of-speech information (thispaper)71.70
The numbers
System or settingaccuracy %
Without part-of-speech information66.71
With part-of-speech information (this paper)71.70

The two results concern entity recognition in Urdu. The added grammatical information is evidence for the recognizer, and accuracy is measured on the recognition decision. The comparison supports the survey’s observation that categories assigned to words can help identify entities. Its scope is the reported setup. The survey gives no entity-level breakdown that would show which kinds of names account for the improved accuracy, and it does not establish that the same improvement would carry over to a new language or corpus.

Leaman and Lu’s TaggerOne brings recognition and normalization together for disease and chemical mentions. The survey emphasizes how the semi-Markov step balances the contributions to a normalization score across the parts of a mention. It also notes a tendency for the method to lean more heavily on its lexicon for unfamiliar names. The paper gives no matched scores for recognition alone, normalization alone, and the joint procedure. Its account makes the length adjustment and the continued use of a lexicon visible, while leaving the amount attributable to each design choice unspecified.

Tagging across feature sets and languages

Azeraf and colleagues combine hidden Markov inference with entropic forward and backward probabilities. The survey discusses the need to accommodate features such as prefixes and suffixes of varying lengths. A word can have several such features at the same time. The paper contrasts the proposed method with a maximum entropy Markov method, describing better results for the approach that uses entropic forward and backward probabilities. It supplies no score or split for this comparison. The reported contrast concerns how the methods incorporate features and how they perform in the comparison cited by the survey.

Abdur Rohman and Kusumaningrum combine topic modeling with grammatical tagging in a Twitter storytelling generator. Their system uses Latent Dirichlet Allocation for the topic component and HMM tagging for the grammatical component. The survey describes the tagger as more accurate and faster than approaches discussed in recent studies, including ones involving conditional random fields. It supplies no paired accuracy values, runtimes, or common evaluation setup for the comparison. The reference to accuracy and speed concerns the tagging step. The survey does not give a corresponding numerical evaluation of story quality.

Assunção and colleagues use automatically generated Markov chains to tackle part-of-speech tagging, a task for which the survey more often encounters HMMs. The authors characterize this alternative as flexible and report favorable results without supplying the accuracy values or identifying a particular matched baseline in their discussion. The study still uses supervision. Automatic construction of chains changes where the statistical structure comes from. The examples that support that construction remain manually labeled.

Kadim and Lazrek address Arabic tagging with two HMM taggers working in parallel. The main tagger processes the text, and an auxiliary tagger provides additional evidence where the main decisions have low probability. A linking matrix combines information from the taggers for the final decision. The survey reports 98.22% accuracy for the first tagger and 75.12% for the second in the study using the Nemlar Arabic corpus. It does not give the evaluation split, a matched combined score, or a score for the same system without the linking operation. The component scores therefore document the reported taggers individually. They leave the effect of combining their judgments unresolved.

Afini and Supriyanto investigate Indonesian words that do not occur in the training set. They combine morphological analysis with hidden Markov tagging so that prefixes, suffixes, and root forms can provide information about an unfamiliar surface form. The survey describes improved tagging of unknown words and better overall accuracy in the study. It supplies no numerical scores for either group. The authors’ interest in this case is that a method using word structure can recover evidence when direct associations with the complete observed word are sparse.

Stratos and colleagues approach grammatical tagging with unlabeled text. Their anchor HMM seeks observations tied to potential grammatical categories, giving the system a way to learn about hidden states without annotated examples. The survey emphasizes the possibility of using the procedure across languages and the lower manual preparation involved. It gives no accuracy score or split for the method. It also notes that evaluation remains difficult. A sequence of discovered states can be compared with conventional grammatical tags only after determining how the learned categories relate to the intended ones.

Taken across the tagging studies, accuracy evidence ranges from exact component results to qualitative statements about improvement. The settings include different languages, different feature choices, and a mixture of supervised and unsupervised procedures. A score for a main Arabic tagger answers a different question from an evaluation focused on unknown Indonesian words. The tagging studies therefore show how Markov methods are adapted to particular sources of uncertainty. Their scores do not define a shared ranking across all the methods discussed.

What the ablations show

The survey runs no ablations of its own and instead offers comparisons from individual studies, qualitative accounts of failures, and an analysis of which techniques recur in the reviewed applications.

Added evidence and component comparisons

An ablation typically tests the effect of changing a component while keeping the rest of an evaluation comparable. The Urdu comparison comes closest to that question in the numerical results the survey summarizes. It describes recognition accuracy before and after part-of-speech information was used. The improved setting offers evidence that grammatical information was helpful to that recognizer under the reported conditions. The survey’s account does not specify how the tags were obtained for the comparison or which examples changed outcome. It therefore cannot resolve whether the benefit was concentrated in some entity categories or depended on a particular source of grammatical tags.

The Arabic study’s two accuracies allow a different kind of reading. The main tagger and the auxiliary tagger are designed to play different roles. The auxiliary tagger is relevant when a decision from the main tagger has low probability. Overall component accuracy does not tell the reader how frequently the auxiliary tagger makes a useful correction in that subset. A matched comparison for the combined output would be needed to estimate the contribution of the linking matrix. The survey discusses the design and its implementation difficulties, and the reported component scores stop short of answering that combination question.

The entropic forward and backward study gives the review an example of comparing formulations for incorporating features. Its reported advantage over a maximum entropy Markov approach bears on the value of the whole proposed treatment. The survey does not report results with a given prefix or suffix feature removed, so the comparison cannot reveal which individual features helped. The Indonesian study offers a complementary qualitative analysis. It identifies unknown words as a case where morphology can provide otherwise missing evidence and describes improvements for those words and the full set. With no subgroup counts or scores, the relative contribution of that subset remains unspecified.

The generation accounts also contain observations about distinct failure mechanisms. Lower perplexity can coexist with incomplete sentences or changed labels, as in the study of modified language examples. Genre acceptance can coexist with event representations that are hard to interpret as plots. In the poetry system, the authors identify missing continuations as a problem linked to corpus coverage. These cases help identify which part of a system’s behavior each evaluation has tested. The survey does not describe controlled experiments that isolate sentence-ending checks, alternative story representations, or corpus size.

Patterns in the reviewed methods

The authors’ broader analysis compares choices across the reviewed applications. They find corpus-based approaches prominent in generation and Markov chains more common there than hidden Markov methods. They describe hidden Markov methods as more frequent in entity recognition and grammatical tagging. This distribution is consistent with the way the survey defines the tasks. Generation often works directly on sequences of output or proposed output, while recognition and tagging often call for labels that are missing from the input. The pattern describes how the surveyed researchers chose to formulate their problems.

The survey also tracks different degrees of reliance on manual resources. In recognition, the Myanmar and Bengali systems illustrate supervised work, with Bengali adding handcrafted rules. The review sees some interest in unsupervised techniques in English-language studies and greater reliance on labeled corpora in the other recognition studies it discusses. Specialized domains add a separate consideration. In biomedical normalization, a lexicon supports the task of linking a mention to a known term, even when statistical evidence helps locate the mention. The kind of human preparation depends partly on which output the system is expected to produce.

In tagging, the authors distinguish attempts to get more out of existing supervision from attempts to dispense with annotated training examples. Analysis of morphology and parallel tagging fall on the side of improving a prediction procedure. Anchor-based tagging moves the question to what can be learned from unlabeled text under an assumption about observations and categories. The survey identifies these as different directions and emphasizes the enduring evaluation challenge for the unsupervised case. Across the studies, adoption of a stochastic procedure alone provides little evidence about how much annotation or lexicon building it saves. That depends on how its probabilities and category definitions are obtained.

Limitations

Limits identified by the authors

The survey emphasizes the work that survives a move to corpus-based methods. Templates and rules require maintenance when generation moves to another domain or language. Supervised predictors still need annotated examples. Lexicons have to be compiled and can fall short when the domain changes or new names appear. In the surveyed biomedical normalization work, unfamiliar names can increase the system’s reliance on its dictionary. The authors present unsupervised learning as one route towards less manual preparation and acknowledge that the output of unsupervised tagging is difficult to evaluate.

For generation, the authors describe incomplete outputs, label changes, and chain breaks. The studies reveal different weaknesses in using probability as a guide to a well-formed result. A plausible continuation can still be part of an unfinished sentence. A modification can preserve familiar wording while changing the label a human assigns. A generator working in a specific poetic form can encounter gaps in its transitions when the available text fails to supply the necessary examples. The survey also points out the difficulty of judging stories from an event sequence and of defining credible acceptance criteria for that task.

Some of the stated limits concern coverage in particular languages and domains. The authors call for more testing of the supervised Myanmar entity recognizer, including testing in other languages. They suggest that the biomedical recognizer could be tried on other kinds of biomedical material, where contextual meanings may differ. In Arabic tagging, they identify the size of the Nemlar corpus and the difficulty of implementing the taggers in parallel. These observations distinguish the promise of a method’s design from the amount of evidence available about its operation under different conditions.

The authors’ discussion also points to the costs of relying on handcrafted resemblance to an existing form. Trainable generation can adapt choices inside a generator and still require new options to be entered manually. A rule can help a Bengali recognizer find names of a specified form and still leave other expressions uncovered. A morphological analyzer can help an Indonesian tagger use known pieces of an unfamiliar word. The paper treats such tools as ways of changing the amount or kind of labor required. Its conclusions about reduced manual effort remain principally qualitative.

Limits of the evidence

The review’s scope limits how broadly its patterns can be interpreted. The authors report the publication window, the size of the initial collection, the grouping by application, and the size of the selection. They give little detail about the search procedure, the sources searched, or how they judged the relevance of borderline cases. The inclusion of semi-Markov methods and a Markov random field shows the breadth of that judgment. A reader can see what the authors chose to discuss. Reconstructing an exhaustive search or treating the resulting mix as a measurement of field-wide use would require a more fully specified selection process.

The survey also uses labels for methods at different levels of detail. Its discussion describes the biomedical work of Miller and colleagues in terms of a hinge-loss Markov random field, while the overview table places it under HMM terminology. The descriptions of individual studies give more information about where their dependencies act. A random field joining evidence from related mentions, a semi-Markov method scoring a segment, and a hidden Markov tagger predicting an ordered label sequence specify different relationships among the variables. The distinction matters when identifying which part of a study resembles another system.

The individual scores have uneven documentation. The review frequently gives a value without a split, a precise definition of the unit of evaluation, or a result from a named baseline on the same data. This matters when reading the classification accuracy and F-score of the Myanmar study, the accuracy cited for modified text, and the acceptance result for romance-story events. Even when scores share a percentage format, their denominators and counting rules can refer to different things. The survey supports examples of performance under the stated conditions. It provides too little shared evaluation detail for a numerical comparison across applications or languages.

Claims about annotation costs face a similar limit. The review records whether a study trains with labeled examples, uses unlabeled text, or combines learned statistics with rules or a lexicon. It does not give a common measure of time spent annotating, constructing resources, or adapting the system to a different domain. A method that avoids labels can still depend on an assumption that places structure on its observations, as the anchor approach illustrates. A supervised system may reduce the need for written rules and still need substantial annotation. The review identifies these shifts in preparation without measuring their total costs on the same task.

A further limit comes from the sequence assumption itself. The present state can stand in for earlier positions only to the extent that the state preserves the information that matters. In a word chain whose state is the current word, distinctions lying farther back can be unavailable to the next transition. In the survey’s tagging formulas, using a longer tag history is an explicit way of including additional local context. The paper’s own accounts of discourse, biomedical ambiguity, and genre expectations show why some decisions may need evidence beyond direct neighbors. The reviewed systems sometimes introduce that evidence through related mentions, separate features, or additional components. Their success belongs to those particular arrangements.

The main contribution is consequently descriptive. The paper explains several ways to represent continuation and inference and documents where researchers have used them. Its comparisons can ground specific observations, such as the improvement reported with grammatical information in the Urdu study or the unresolved contribution of combining the Arabic taggers. They do not establish a general performance advantage for Markov methods or a general conclusion about which manual resources a new application can dispense with. The evidence is most specific where a study identifies the task, what was changed, and the metric used to judge that change.

What came after

There are no documented later studies to trace from this survey to a specific follow-up result. The paper closes by identifying questions for subsequent work, including whether unsupervised methods can reduce annotation, whether analysis of word structure can improve tagging when training vocabulary is limited, and whether parallel taggers can improve decisions on uncertain text. Those questions grew out of the work the authors reviewed. The paper establishes them as lines of inquiry, with their results still open.

Cite

Cite as Talal Almutiri and Farrukh Nadeem. 2022. Markov Models Applications in Natural Language Processing: A Survey. International Journal of Information Technology and Computer Science.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.5815/ijitcs.2022.02.01

@article{almutiri2022markov,
  title = {{Markov Models Applications in Natural Language Processing: A Survey}},
  author = {Talal Almutiri and Farrukh Nadeem},
  journal = {International Journal of Information Technology and Computer Science},
  year = {2022},
  doi = {10.5815/ijitcs.2022.02.01},
  url = {https://doi.org/10.5815/ijitcs.2022.02.01}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/almutiri-2022-markov-models-applications-natural-language/