Elamur Research

Two Methods to Incorporate ‘Local Morphosyntactic' Features in Hindi Dependency Parsing

Paper · 2010 · Bharat Ram Ambati, Samar Husain, Sambhav Jain et al.

Summary

A Hindi sentence can carry a grammatical clue across several words. A noun and a following postposition can together mark the noun’s relation to the rest of the sentence. A main verb and an auxiliary can together express information about the event. A parser that treats each word’s properties separately has to rediscover those combinations while it works out the sentence structure. Ambati and colleagues ask whether a preliminary analysis of short phrases can make the combinations easier to use in dependency parsing, where each word’s place in the sentence is represented by a link to its grammatical head.

The authors compare ways of passing information from a shallow parser, a system that assigns part-of-speech tags, analyzes morphology, and groups words into short phrases called chunks. They first establish a baseline using part-of-speech information and then test word-level features such as roots, case, and suffixes. Their single-stage approach adds cues about each word’s place in its chunk and gives the chunk head a feature that combines suffix information from within the phrase. Their other approach first finds the dependencies inside each chunk and then connects the chunk heads. Both produce a complete word-level tree. The authors describe this work as the first attempt to generate full dependency parses of sentences in Hindi.

The authors test both strategies with MaltParser and with MSTParser followed by a separate labeler. On the held-out Hindi Treebank sentences, MaltParser gives the best labeled attachment score under each input condition. With the reference shallow analyses, the two-stage approach reaches 84.4%. With automatically produced shallow analyses, the single-stage approach with chunk features reaches 75.4%. The corresponding MaltParser baselines using only part-of-speech information from the shallow analysis are 80.1% and 72.9%.

The analysis helps explain why local information can improve relations that extend beyond a phrase. Part-of-speech tags already make many common links inside chunks easy to recognize, such as the attachment of a postposition to a noun. Combined suffix information helps with relations between phrases by exposing cues about verbal aspect and nominal case at their heads. Chunk information also carries a cost when it determines the boundaries of separate parsing tasks. An incorrect boundary can send a word relation to the stage least equipped to handle it. The choice between the two methods therefore depends on the quality of the shallow analysis available when the parser runs.

Deep dive: Two Methods to Incorporate ‘Local Morphosyntactic' Features in Hindi Dependency Parsing

Ambati and colleagues compare chunk features with two-stage Hindi dependency parsing and show how automatic tagging changes which approach works best. · about 36 minutes to read

The problem and its context

What a complete dependency tree adds

A dependency tree expresses sentence structure through directed links between words. The dependent is the word whose role the link describes. The head is the word to which it attaches. A label adds information about the kind of relation, such as a postposition linked to its noun or a nominal linked to a verb. The tree also identifies a root, the word at the top of the sentence’s analysis. A complete analysis must account for relations at every level, from the words inside a short phrase to the links that connect phrases across the sentence.

Suppose a short noun phrase contains a noun and a following postposition. A system that already has the phrase boundaries can treat that group as a unit and ask which verb it depends on. A complete word-level parser must also determine how the noun and postposition are linked. The same distinction applies to a verb group containing a main verb and an auxiliary. Choosing the phrase that governs a nominal is one decision. Identifying the head of that verbal group and attaching the auxiliary are further decisions. Chunking supplies a tentative grouping, which can support all of these choices.

Earlier Hindi work cited by the authors had chiefly treated the relations between chunks as the prediction task. These systems received reference part-of-speech tags and chunk annotations. A comparison among such systems could reveal how well different approaches connected phrases when their preliminary analysis was supplied. The current study asks the parser to provide dependencies between lexical items, including the links within phrases. Its automatic-input condition also asks how much of that full analysis remains accurate when preliminary annotations come from software.

The authors place Hindi parsing in a period of expanding work on morphologically rich languages with flexible word order. More annotated corpora were becoming available, and shared evaluations had drawn attention to the uneven results for these languages. The authors cite work on Turkish, French, and other parsing settings in connection with difficulties that arose when existing methods were applied to languages whose structures gave familiar cues different jobs. The broad evaluation context comes from The CoNLL 2007 Shared Task on Dependency Parsing. Turkish is among the individual language cases the paper cites. Dependency Parsing of Turkish

Why the authors look at short phrases

For this paper, a chunk is a small, nonrecursive phrase. It groups closely connected words at a level where their internal relations can still be represented within the group. A chunk has a type, such as a noun or verb group, and a head word. It can consist of a single word or include other words whose grammatical contribution is tied to that head. A shallow parser identifies these units along with word categories and morphological properties. The authors use that analysis as an intermediate representation for recovering the full sentence structure.

Morphosyntax concerns the interaction of word form with grammatical structure. A morphological analyzer can describe the form of a main verb and the form of its auxiliary separately. The syntactically relevant clue may be a property of the whole group. Likewise, information about case may be distributed between a nominal and a following postposition. A feature placed on the head of the group can make the combined evidence available at the point where the dependency parser considers a relation to another phrase.

The local character of the evidence refers to where it is assembled. The parser gathers it from within a chunk. Its effect can extend to a decision about a word elsewhere in the sentence. For example, the marking of a nominal head can help identify that nominal’s relation to the head of a verb group. The practical question is how to preserve information about words that matter for the relation even when those words are outside the pair of heads being linked.

There is a second reason to use chunk structure. Word categories can be comparatively broad. A tag that identifies a main verb still leaves open whether the verb group is finite, infinitival, gerundial, or another nonfinite type in the annotation scheme. Chunk labels can make those distinctions available to the dependency parser. The type of verb group matters for decisions such as selecting the root and identifying the children of a coordinating head. A feature about phrase type thus adds evidence even for a head whose own word category has already been assigned correctly.

The authors also emphasize the uncertainty involved in choosing linguistic features. A feature can have a clear linguistic interpretation and still be difficult to use reliably in a parser. Agreement information is a case in point. A word may carry gender, number, and person values, while the syntactic conditions that determine which words agree are more complicated than a simple match between a subject and a verb. The experiments therefore compare feature sets empirically. They begin with basic word categories, consider additional properties of individual words, and then ask what can be gained by computing properties of the whole chunk.

How this relates to earlier parsing work

Hindi dependency parsing already had several lines of investigation. The authors cite constraint-based work on Indian languages and Hindi experiments based on the availability of annotated dependency data. They also point to the ICON-09 NLP Tools Contest, where researchers tried rule-based, constraint-based, statistical, and hybrid systems. These approaches established a setting in which researchers could compare techniques for finding links between chunks. The scope of the dependency annotations used in the present paper makes it possible to study both the connections between chunks and the internal attachments that earlier experiments took as part of the input grouping.

Chunk-based features also had precedent outside Hindi. The paper cites Attardi and Dell’Orletta’s work on incorporating chunk information into English dependency parsing. In the present study, the focus is on which information Hindi chunks make available, especially when a chunk contains several pieces of morphological evidence. The authors also acknowledge earlier work by Bharati and colleagues that proposed a related division of the parsing task. Their comparison brings a single-stage feature representation and a staged procedure into the same set of experiments.

There are several meanings of staging in the work the authors cite. A parser can divide its decisions into operations, such as finding the tree and then assigning relation labels. It can also divide the sentence structure into regions, first finding local links and then building a tree over the heads of those regions. The Hindi experiment concerns the latter division when it compares the use of chunk features with the use of chunks as separate parsing units. The distinction is important because the paper also uses a separate labeler with MSTParser. The earlier comparison the authors invoke when discussing the value of stage-specific features is Multilingual Dependency Analysis with a Two-Stage Discriminative Parser.

The resulting question is about the role of an intermediate linguistic analysis. Chunk membership can be evidence that a parser weighs together with other information. It can also determine which words are available for a decision and when that decision is made. Both uses let a system benefit from explicit phrase structure. Their consequences differ whenever the shallow parser groups the words incorrectly. The gold-standard and automatic-input experiments give the authors a way to study the distinction.

The method, step by step

From word categories to properties of phrases

The starting point is a sentence with a sequence of lexical items. The shallow analysis can annotate each item with its part of speech and a set of morphological properties. It can also group adjacent items into chunks and identify the relevant chunk information. The paper varies how much of that analysis it passes to the dependency parser and how the parser uses it. In the gold-standard runs, the intermediate annotations come from the reference analysis. In the automatic runs, they come from the shallow parser.

The simplest configuration is PaF, the part-of-speech feature baseline. A part-of-speech tag describes a word’s grammatical category in context. The Hindi example with raama, ne, eka, seba, and khaayaa shows how this works. The paper gives the respective tags NN, PSP, QC, NN, and VM. The tags distinguish a common noun, a postposition, a cardinal, a second common noun, and a main verb. PaF supplies those categories as the linguistic information from the shallow analysis. The dependency parser still has to decide both the head and the relation label for the relevant words.

It is useful to read PaF as an input configuration. Its name specifies which layer of shallow annotation the authors supply. The dependency parser has its own representation and uses contextual features appropriate to its algorithm. A comparison with PaF therefore asks what the addition of morphological or chunk information contributes under the surrounding experimental setup. It would take a different experiment to ask how well a lookup from an isolated tag could predict an attachment.

The next configuration is MaF. It extends the part-of-speech information with the morphological analysis of individual words. The candidate fields include the root, a coarse category, gender, number, person, case, and suffix. The root represents the base form returned by the analyzer. The category gives a broad word class. The case field in these examples records the distinction between direct and oblique form. The suffix records the ending identified by the analysis. The authors test combinations of these fields and carry forward root, case, and suffix as the useful set.

In the example, the analysis of raama gives the same form for its root. It classifies the item as a noun and gives masculine, singular, and third-person values, with direct case and the suffix value 0. The analysis of khaayaa, meaning “ate,” gives khaa as the root and yaa as the suffix. The surface word and its separate morphological properties thus supply different levels of detail. For parsing, a suffix can provide information that a broad category leaves implicit, and a root can connect different forms of the same lexical item at the feature level.

The distinction between the morphological case field and a separate case-marking word matters for what follows. The analysis can assign a case value to the noun while the adjacent postposition supplies further evidence about the role of the larger nominal expression. In the authors’ example, the useful phrase-level representation includes ne. A feature on the noun head can carry that information when the parser considers the nominal’s connection to the verb. Relying on the noun’s own suffix alone would leave that particular piece of evidence on a separate word.

How the single-stage approach represents chunks

The single-stage setting with local morphosyntactic information is called LMSaF. It keeps part-of-speech tags and the selected word-level morphological features. It then adds properties obtained from the chunk analysis. The additions tell the parser the category of a word’s chunk, whether the word heads that chunk, where the word stands with respect to the chunk boundary, and how far it is from the chunk’s end. The last addition combines suffix information from the group and attaches the result to its head.

The chunk type says what kind of group a word belongs to. The example with raama ne, eka seba, and khaayaa contains noun groups and a verb group. Chunk type can describe the entire group to which a word belongs. The head flag has a different job. It tells the parser whether the word is the central item in that group. In the example, raama and seba are the noun heads, and khaayaa heads the verb group. Knowing that seba is inside a noun chunk gives the parser one kind of evidence. Knowing that it heads that chunk gives it more specific information about which word is likely to connect the group to the rest of the sentence.

Boundary position and distance describe the shape of the group from the perspective of the current word. The paper uses the IOB convention, whose labels indicate an inside, outside, or beginning position. In the illustrated analysis, raama, eka, and khaayaa begin their respective chunks, while ne and seba are inside their chunks. The distance feature gives raama a value of 1 and ne a value of 0, because ne stands at the end of that chunk. The head of a group can occur in different positions. For example, raama starts its group, while seba follows eka. The head flag and boundary indicator express these facts separately.

Together these cues describe a word in relation to the local grouping. Chunk category conveys what the group is. Beginning and inside labels help mark which words belong together across a sequence. Distance describes a word’s position relative to the group’s end. Head status gives a clue about its grammatical role inside that span. The parser can use the cues jointly when considering a link, while continuing to construct a single tree over the words of the full sentence.

Suffix concatenation supplies a different kind of evidence. The authors use part-of-speech and suffix information from the words in a chunk to compute a combined feature. They illustrate it with a variant of the apple sentence. The nominal group raama ne has raama as its head. The verb group khaa liyaa has khaa as its head and liyaa as an auxiliary. The resulting nominal feature is 0+ne, and the verbal feature is 0+yaa. The plus sign marks the combination of pieces of information in the feature value. The feature belongs to the head word of the corresponding group.

In the verbal case, the main verb and auxiliary together convey the past perfective reading discussed by the authors. In the nominal case, ne supplies the ergative marker. The paper uses the association between these cues to explain why the representation is useful. In the construction it describes, a transitive verb in the past perfective goes with an ergative marker on the subject. The combined features put evidence about the two sides of that construction on the words that can enter into the corresponding dependency. The parser can then learn from examples where those cues coincide with a particular attachment and label.

The suffix value is a representation of observable form. The paper explains it by relating it to case marking and to tense, aspect, and modality, collectively called TAM. The representation itself consists of concatenated information from the chunk. For example, 0+yaa is the value assigned to khaa in the illustrated group. Treating the value as a feature lets the parser use patterns in the training annotations without a rule that directly assigns the sentence’s dependencies from the suffix. The paper presents the computation through examples and feature definitions and gives no mathematical formula for it.

How the two-stage approach builds the full tree

The 2stage approach organizes dependency prediction around the chunk boundaries. The first parser handles words within a chunk. From that local analysis, the procedure obtains the chunk heads. Those heads form the sequence passed to the inter-chunk parser, which predicts the links that connect them. Restoring the local links alongside the links between heads yields the complete tree over words. The point of the decomposition is that the two kinds of decisions can use different evidence.

Two-stage dependency parsing from shallow analysis

The steps in order.

Two-stage dependency parsing from shallow analysisStep 1: Tag words and analyze their morphology1. Tag words and analyze their morphologyStep 2: Identify chunks in the sentence2. Identify chunks in the sentenceStep 3: Predict dependencies within each chunk3. Predict dependencies within each chunkStep 4: Extract chunk heads and their features4. Extract chunk heads and their featuresStep 5: Predict dependencies among the chunk heads5. Predict dependencies among the chunk headsStep 6: Combine local and between-chunk dependencies6. Combine local and between-chunk dependencies

At the local stage, the parser seeks the dependencies between members of the same group. Part-of-speech tags and the useful word-level morphological fields remain ordinary parsing features. Local tasks can exploit patterns such as a postposition accompanying a noun. Because the chunk itself determines the set of words considered together, the output at this stage depends directly on the quality of the grouping. The procedure assumes it can carry one head forward to represent each chunk in the inter-chunk tree.

Once the local structure has been built, the paper describes passing each head with its part of speech, useful morphological information, and features obtained within the chunk. The latter can include a lexical item, a combined suffix value, or a dependency relation already found by the local parser. This gives the second parser access to information about the group that supplied the head. For instance, a local postposition can inform the choice of a relation between the noun and a verb even though the postposition has already been attached.

The apple sentence illustrates how the local and inter-chunk parts fit together. In the first noun group, ne attaches to raama with the postposition relation lwg__psp. In the other noun group, the quantifier eka attaches to seba with nmod__adj. The latter label covers quantifier or adjective modification of a noun in the examples the paper discusses. The verb group contributes its own head. In the second stage, raama and seba attach to the verb with the labels k1 and k2, respectively, and the verb becomes the sentence root.

The meanings of k1 and k2 deserve care. The authors describe them as syntactic-semantic relations. k1, called karta, shares properties with the notions of subject and agent. k2, called karma, shares properties with object and patient. In the example, those comparisons help explain why the person eating is linked with k1 and the apple with k2. The parser is trained to predict the Hindi Treebank labels, whose definitions combine aspects of grammatical function and participant role.

The illustrated workflow makes the architectural contrast concrete. In LMSaF, ne and eka still have their own positions in the full word sequence during parsing, and the chunk analysis supplies features of those positions and their heads. In 2stage, the local dependencies involving those words are established first, and the inter-chunk parser works with the heads and their derived features. The first organization offers wider context when a decision is made. The second allows the local and inter-chunk stages to specialize in different decisions and makes the local parsing output available as further evidence.

How the parsers and features are selected

The authors conduct the experiments with MaltParser and MSTParser. MaltParser is a classifier-based shift/reduce parser. At a high level, that means it builds a tree through successive actions, using a trained classifier to choose what to do in the current parser configuration. It can use the words and structural context available at that point, along with the supplied linguistic features. The MaltParser implementation also has a graph transformation for handling nonprojective trees. In this setting, nonprojectivity matters because dependency arcs can cross when they are drawn above the sentence in word order. The transformation approach is associated with Pseudo-Projective Dependency Parsing.

MSTParser searches for a high-scoring tree in a graph of candidate attachments. The paper identifies the Chu–Liu–Edmonds maximum spanning tree algorithm as its nonprojective search and Eisner’s algorithm as its projective alternative. A projective analysis imposes constraints on how arcs can be arranged over the word sequence. The authors selected nonprojective parsing for these experiments. The earlier work associated with the projective algorithm is Three New Probabilistic Models for Dependency Parsing: An Exploration.

The tree finder in the MST configuration predicts attachments without relation labels. The authors then use a separate maximum entropy labeler, abbreviated MaxEnt, to classify the dependencies. They experiment with properties of the node being labeled, its parent, its siblings, and its children. Those relatives are defined by the dependency tree. A sibling, for example, shares a head with the node whose relation is being labeled. Accordingly, the labeler receives structural context from the predicted tree as well as ordinary features. MSTParser’s underlying learning procedure is described as online large-margin learning. Online Large-Margin Training of Dependency Parsers

The labeler introduces a second operation in the MSTParser pipeline, distinct from the 2stage division at chunk boundaries. Tree prediction followed by labeling separates the choice of a head from the choice of a label. Intra-chunk followed by inter-chunk parsing separates the set of word relations to be built. The name MST+MaxEnt in the results identifies the parser and labeling combination. The name 2stage identifies the way the sentence’s chunk structure is used to organize its dependency predictions.

The feature search is cumulative. The authors first establish the part-of-speech baseline. They try combinations of morphological fields and retain the useful ones. They then investigate the chunk features with those morphological features already available. This sequence measures the contribution of additional information in the context in which the authors intend to use it. Feature groups such as LMSaF therefore incorporate earlier choices. They form a comparison with PaF and MaF in which the later configuration benefits from the successful features selected along the way.

The paper uses 5-fold cross-validation on the training sentences for tuning and feature selection. In cross-validation, different portions of the training data take turns serving as held-out validation data while the remaining portions are used for fitting. The authors use those results to choose settings and then apply the selected settings to the separate test set. This procedure makes the training set do double duty as the source of examples and the source of validation evidence. The resulting cross-validation scores describe the tuning environment, and the test scores describe performance on the held-out sentences.

For MaltParser, the selected transition algorithm is arc-eager. The authors compare implementations for training the classifier and find libsvm better than liblinear across their experiments. Their search over support-vector settings draws partly on configurations used for different languages in the CoNLL-2007 task. They also try linguistically motivated combinations of features. The selected feature configuration matches the one used by the authors’ earlier ICON-2009 contest system. The multilingual tuning work they consulted is Single Malt or Blended? A Study in Multilingual Parser Optimization.

For MSTParser, the selected settings are the nonprojective algorithm, order=2, and training-k=5. The paper reports these settings as the ones that performed best across the approaches tested. For the MaxEnt labeler, it describes a search over combinations of structural relatives alongside general useful features. The paper identifies the parser versions as Malt 1.3.1 and MST 0.4b. The final comparison is consequently between configured systems selected for this task, with distinct ways of forming trees and supplying their labels.

How automatic shallow analyses enter training

The automatic shallow parser uses rules for morphological analysis and applies conditional random fields together with transformation-based learning to part-of-speech tagging and chunking. The authors report that the tagger and chunker achieve 93% and 87% accuracy, respectively. They associate these figures with applying the earlier tagging and chunking approach on a larger training collection. These scores describe the preprocessing components. The dependency experiments evaluate the word-level trees made using their output.

For the trials using automatic analyses at evaluation time, the authors also compare training the dependency parser with gold-standard shallow information against training it with the automatic information. Training with automatic analyses gives better results in this setting. The training sentences still have reference dependencies to learn from. What varies is the representation of the sentence supplied to the parser, including preliminary annotations that can contain the same kinds of mistakes at training and test time.

This choice is particularly consequential for staged parsing. A wrong chunk can contain a word pair whose reference dependency normally crosses a chunk boundary. If a statistical intra-chunk parser encounters such examples during training, the label that goes with the reference dependency can become available in that local context. The authors use a genitive error to illustrate this possibility. The design therefore lets the reader distinguish two issues. One is whether a useful clue survives automatic preprocessing. The other is whether the parser learns what to do when the preprocessing assigns the wrong structure.

Experiments and results

What the scores measure

The experiments use the portion of the Hindi Treebank for which complete sentence-level dependencies were available. The data comprise 1228 annotated sentences and 27k tokens. The paper reports an average length of 22 tokens/sentence and 10 chunks/sentence. Of the sentences, 228 are set aside for testing and 1000 for training. The reported cross-validation scores come from the training portion, and the separate columns for test data concern the held-out portion.

The evaluation uses unlabeled attachment score, labeled attachment score, and label score, abbreviated UAS, LAS, and LS. UAS measures whether a word has the correct head. LAS requires the correct head and the correct dependency label for the same word. LS measures correctness of the label independently of whether the predicted head is correct. For a word with the right head and the wrong relation type, the prediction can count towards UAS while missing LAS and LS. A word with the expected label on an incorrect head can contribute to LS while missing both attachment measures. Reading the measures together helps show which part of the prediction changes.

Each parser is evaluated with PaF, MaF, LMSaF, and 2stage. PaF is the baseline for comparing the available shallow information. MaF shows the result of adding selected morphology. LMSaF asks what the chunk-derived features contribute inside a single sentence parse. The 2stage condition also makes use of chunk information, while changing how the parser constructs the tree. Results are reported with reference shallow analyses and with automatically computed ones, so each comparison can be read in the relevant input condition.

With reference shallow analyses

With gold-standard shallow information, MaltParser’s held-out LAS rises from 80.1% for PaF to 81.7% for MaF and 84.0% for LMSaF. The two-stage setting reaches 84.4%, the paper’s highest held-out LAS in this condition. The comparison includes both changes in input features and a change in parsing organization. The progression through the single-stage settings isolates the broad feature additions more closely than the final comparison with the staged parser does.

MaltParser labeled attachment on the Hindi Treebank test set with gold shallow analyses

The chunk-based two-stage setting leads, with the single-stage chunk features close behind.

MaltParser labeled attachment on the Hindi Treebank test set with gold shallow analysesPaF: 80.1PaF80.1MaF: 81.7MaF81.7LMSaF: 84.0LMSaF84.0Two-stage parsing (this paper): 84.4Two-stage parsing (this paper)84.4
The numbers
System or settingLAS %
PaF80.1
MaF81.7
LMSaF84.0
Two-stage parsing (this paper)84.4

MaltParser’s gold-input test scores show different patterns for head selection and labeling. PaF and MaF both have UAS of 90.4%, while their label scores are 82.4% and 84.1%. Adding the selected morphology in MaF coincides with improved labels and labeled attachments at the reported precision, with the same aggregate unlabeled attachment score. Identical aggregate UAS values can coexist with changes to individual head predictions. The scores show the net outcome of the change, and they leave the token-by-token pattern open.

LMSaF brings MaltParser to 91.8% UAS and 86.2% LS on the same gold-input test set. The two-stage version reaches 92.4% UAS and 86.3% LS. In this setting, the added local information is associated with improvements in head selection as well as in the labeling measures. The transition from MaF to LMSaF is particularly informative for that comparison because the selected morphological fields remain in use when the chunk features are added.

MST+MaxEnt shows the same ordering across the gold-input test settings for LAS. Its scores are 77.0% with PaF, 80.9% with MaF, 81.8% with LMSaF, and 84.0% with 2stage. For UAS in the same setting, the sequence runs from 87.9% for PaF through 90.0% for MaF and 92.0% for LMSaF to 92.7% with 2stage. Its final value is the highest test UAS in the gold-input comparison. MaltParser’s 2stage setting has the leading LAS. The distinction matters because successfully choosing the head and correctly supplying its relation label are different demands.

On the training-set cross-validation with gold analyses, the highest MaltParser LAS is 83.3% with 2stage, compared with 82.7% for LMSaF. For MST+MaxEnt, the respective settings give 82.2% and 79.8%. The precedence of the staged setting in labeled attachment thus appears in both splits for both parser configurations when the gold shallow structure is available. The sizes of the separations vary with the parser and split.

With automatically produced shallow analyses

For automatic shallow information, the ordering changes. MaltParser obtains 72.9% held-out LAS with PaF, 73.6% with MaF, and 75.4% with LMSaF. Its two-stage setting reaches 71.1%. In this condition, the setting that uses chunks as features has the highest LAS, and the setting that uses them to divide the parse has the lowest LAS of the MaltParser configurations on the test split.

MaltParser labeled attachment on the Hindi Treebank test set with automatic shallow analyses

The single-stage chunk features lead when the shallow parser supplies the annotations.

MaltParser labeled attachment on the Hindi Treebank test set with automatic shallow analysesPaF: 72.9PaF72.9MaF: 73.6MaF73.6LMSaF (this paper): 75.4LMSaF (this paper)75.4Two-stage parsing: 71.1Two-stage parsing71.1
The numbers
System or settingLAS %
PaF72.9
MaF73.6
LMSaF (this paper)75.4
Two-stage parsing71.1

The attachment and label scores help describe that reversal. With automatic input, the MaltParser test UAS is 84.6% for PaF, 84.0% for MaF, 85.5% for LMSaF, and 79.6% for 2stage. The respective LS scores are 76.5%, 77.6%, 78.9%, and 76.8%. MaF improves the aggregate label score over PaF while its UAS is lower. LMSaF leads on each measure in this MaltParser comparison. The staged system’s particularly low UAS shows that the problem extends to deciding which words attach, even though its label score remains close to the scores of some other configurations.

The automatic-input MST+MaxEnt results also place LMSaF first for test LAS. The scores for PaF, MaF, LMSaF, and 2stage are 69.4%, 72.7%, 73.4%, and 69.7%, respectively. For the same configurations, test UAS is 81.6%, 83.4%, 85.0%, and 80.1%. The two-stage result has a different position relative to PaF on LAS than in MaltParser, while the head-attachment measures put it below the baseline for both parsers. The shared result is that the single-stage use of chunk features gives the strongest attachment scores with automatically obtained analyses.

MST+MaxEnt labeled attachment on the Hindi Treebank test set with automatic shallow analyses

Adding local chunk features gives the best labeled attachment among the MST+MaxEnt settings.

MST+MaxEnt labeled attachment on the Hindi Treebank test set with automatic shallow analysesPaF: 69.4PaF69.4MaF: 72.7MaF72.7LMSaF (this paper): 73.4LMSaF (this paper)73.4Two-stage parsing: 69.7Two-stage parsing69.7
The numbers
System or settingLAS %
PaF69.4
MaF72.7
LMSaF (this paper)73.4
Two-stage parsing69.7

The automatic-input cross-validation results support the same preference for LMSaF. With MaltParser, LMSaF gives 73.0% LAS on cross-validation and 2stage gives 69.5%. With MST+MaxEnt, the corresponding scores are 71.3% and 66.6%. The direction of the comparison holds in the tuning data and in the test data. It also holds across the two ways of constructing and labeling the tree. These agreements give the architecture comparison more context than a ranking based on just the highest test score would have.

The reference and automatic trials provide two different views of the contribution of shallow analysis. At one end, with reference part-of-speech, morphological, and chunk information available as appropriate to each condition, a division into local and inter-chunk parsing can capitalize on the correct grouping. At the other end, the available automatic analysis still supplies useful features. Its chunk boundaries are less reliable as premises for deciding which words may enter each parsing stage. The dependence on input quality appears in both parser families, even though their exact scores and the sizes of the changes differ.

What changes across the parser families

MaltParser achieves the higher LAS in the corresponding table entries for both shallow-input conditions. The authors also examine where the parser families differ instead of relying solely on their overall ranking. They relate the comparison to prior work describing MaltParser as stronger on shorter dependencies and MST as stronger on longer ones. Their figure for the automatically analyzed LMSaF test sentences plots dependency arc F-measure against the length of the dependency. The paper presents the pattern as consistent with the earlier error analysis. Characterizing the Errors of Data-Driven Dependency Parsing Models

Identifying the root is a case where the ordering differs from aggregate LAS. The authors report root-identification F-measures of 89.7% for MST+MaxEnt and 72.3% for MaltParser in their parser comparison. The paper gives the test and input conditions explicitly for the neighboring dependency-length figure. The statement of the root scores does not separately identify a split and setting. These numbers describe the reported root comparison, whose scope is less explicit than that of the main attachment tables.

The higher MaltParser LAS and the stronger MST+MaxEnt result on root identification can coexist because the measures emphasize different parts of the tree. The authors attribute MaltParser’s overall advantage to the prevalence of shorter relations in the data. A successful root prediction is important to a sentence’s analysis, while an aggregate score also reflects many local links, such as noun–postposition and verb–auxiliary attachments. This motivates the finer analysis of individual labels and distances.

What the ablations show

Which morphological fields helped

The paper provides staged feature comparisons and error analyses. The broad feature configurations have published scores, and some individual feature findings are reported qualitatively. The sequence from PaF through MaF to LMSaF is best understood as a set of cumulative comparisons. The authors select useful morphological fields before studying the chunk information. Their results tell how the corresponding feature groups behave when added to the system built up to that point.

Among the candidate morphological fields, root, case, and suffix were the most useful in the authors’ experiments. Gender, number, and person did not help in the reported search. That observation concerns how the parser used those fields with its available representation and training examples. The paper explains why a straightforward use of agreement features might be difficult. Agreement in Hindi is selective, and identifying the relevant pairing can depend on other information about the sentence.

For example, the authors describe a verb agreeing with a k2 dependent when the k1 dependent carries a postposition. They also give cases where the verb can show default features and describe agreement with k2 in passive sentences. Coordination and complex verbs add further difficulties. A gender or number value can therefore be correct as a morphological annotation even when it provides little direct evidence about a link the parser is considering. The authors’ explanation is that the parser has difficulty learning the conditions under which the different agreement patterns apply.

The MaF results provide aggregate evidence about the retained morphology. With automatic analyses, MaltParser’s test LS rises from 76.5% to 77.6%, while its test UAS moves from 84.6% to 84.0%. Its LAS rises from 72.9% to 73.6%. MST+MaxEnt shows increases in attachment as well as labeling from the corresponding baseline. The parser families can thus use the same category of added information differently. The paper’s strongest claims about the usefulness of individual fields derive from the authors’ search, while the displayed scores characterize the settings that emerged from it.

Which relations the chunk features helped

The authors report that chunk type, boundary position, head status, and distance to the chunk end were consistently useful. They describe suffix concatenation as the feature that produced the largest improvement. The quoted numerical comparisons among PaF, MaF, and LMSaF cover groups of features. The paper does not give a held-out LAS figure for the separate addition or removal of each chunk cue. Its evidence for their individual contributions combines the qualitative feature-search findings with examples and a more detailed evaluation by relation label.

That evaluation uses MaltParser on the test set with automatic shallow information. The authors compare F-measure by label for the PaF, MaF, and LMSaF settings. For a particular label, F-measure combines how reliably the parser’s predictions of that relation are correct with how much of the annotation for that relation it recovers. The authors select frequent labels from within chunks and from between chunks. The six inter-chunk labels in their figure make up 28.41% of the test labels. The six intra-chunk labels make up 48.81%. Their distribution gives context to the fact that some local relations are frequent enough to affect aggregate scores and already easy enough to leave little room for improvement.

For the most frequent four intra-chunk labels, the F-measures with part-of-speech information alone already exceed 90% in that comparison. The postposition relation illustrates this. In the annotation, a following postposition attaches to its noun via lwg__psp. A common noun or proper noun followed by a word tagged PSP gives the parser a particularly direct cue. The paper reports 98.3% F-measure for the postposition relation with PaF and 98.4% after adding the morphological and local morphosyntactic features. Much of the evidence needed for that relation is present before the richer annotations are supplied.

The adjective and quantifier relation nmod__adj is harder. The authors report F-measure around 80% for labels of this kind in the automatic-input comparison. They point to tagging errors and ambiguities such as compounding. The first issue can hide the grammatical categories the parser expects to see. The second can leave genuine uncertainty about the correct attachment even when the categories are available. This label is a reminder that the dependencies inside chunks cover several kinds of decision. A straightforward postposition attachment and an ambiguous noun modification both count as local dependencies, but provide different evidence to the parser.

For the frequent relations between chunks, the feature additions make a more visible difference in the paper’s figure. Here the difference between the word-category tags and the chunk-category tags gives one explanation. The verb tags VM and VAUX distinguish main verbs and auxiliaries. The verbal chunk tags VGF, VGNF, VGINF, and VGNN distinguish finite, nonfinite, infinitival, and gerundial groups in the scheme used by the authors. A parser supplied with the chunk features can use these group categories to identify different syntactic behavior among heads that have similar word categories.

Root identification is one application. The authors explain that a finite verb can be the sentence root, while the nonfinite and infinitival cases they discuss are excluded from that role. Information about the type of verb group helps the parser distinguish these candidates. It also matters for coordination in this annotation scheme. The paper describes coordinating heads whose children receive ccof, and explains that coordinated children are expected to be of like type. A finite verb paired with a finite verb fits the pattern; pairing one with a nonfinite verb does not. Verbal chunk categories give the parser direct evidence about that compatibility.

Suffix concatenation addresses another class of inter-chunk decisions. The authors associate it with improvement in core labels such as k1, k2, and k4. The feature describes combinations of forms inside phrases, while the relevant labels describe connections among phrase heads. The authors’ explanation is that the relationship between verbal TAM and nominal case marking helps identify those connections. That account also explains why the feature can make a difference where a near-ceiling local relation barely moves. Recognition of a noun–postposition link can rely on categories in sequence, while deciding the nominal’s role relative to a verb calls for information about what the nominal and the verb groups jointly express.

What happens when the chunk boundary is wrong

The comparison of LMSaF and 2stage offers a control at the level of architecture. Both approaches use chunk information. The staged parser also uses an initial dependency analysis within the chunks and presents the results to the next stage. The gold-input experiments give it relatively reliable units within which to make local decisions. Under automatic preprocessing, difficult cases include mistakes in the size or composition of the units themselves. The errors matter differently when the chunk structure determines the parsing candidates.

The paper illustrates this with meraa bhaaii, “my brother.” Under the reference chunking guidelines, meraa and bhaaii belong to separate chunks. In the dependency annotation, meraa attaches to bhaaii with the genitive relation r6. The automatic chunker erroneously places both words in a single noun chunk in the example. The staged procedure now asks its intra-chunk parser to assign the relation from meraa to its head. A reference relation that belongs between chunks has become a local decision in the system’s input.

The authors compare a rule-based implementation of the first stage with a statistical one using MaltParser. Under gold chunks the rule-based local approach does slightly better, by 0.1% LAS in the comparison the paper reports. With automatic chunks, the statistical approach leads by 7% in LAS. The paper gives those differences for the comparison of intra-chunk approaches but supplies no separate split label or absolute LAS values for that comparison. The figures characterize the rule-based versus statistical setting described by the authors.

The rules depend heavily on the tags and chunk definitions. In the genitive example, the rule-based intra-chunk parser lacks a rule for assigning r6 to meraa inside the erroneous group, because r6 belongs to the set of inter-chunk labels. A statistical parser trained on automatic chunks can potentially learn from examples that present such a relation inside a predicted chunk. The authors present this as a route to recovery. Whether recovery occurs in any particular sentence depends on what the parser learned and the evidence still available.

The example distinguishes a wrong feature value from a wrong division of work. In LMSaF, an erroneous indication about which words share a chunk can mislead the parser alongside its other evidence. The full sentence remains the domain of the parse. In 2stage, the same indication determines which subtask sees the dependent and which word represents the chunk at the next stage. The division can be helpful when the analysis matches the reference grouping and can amplify the consequences of mistakes when it diverges. The practical preference for LMSaF in the paper follows from this result with the automatic tools that were available.

What the distance comparison adds

The label and distance analyses answer related questions. The label comparison shows that easy and difficult decisions vary across the grammatical relations being predicted. The distance comparison asks where each parser has an advantage along the sentence. The authors find the aggregate ranking of the two parsers consistent with a dataset containing many short links, where MaltParser is stronger. They also report that MST+MaxEnt is better on roots and describe its advantage on longer links. This helps explain why changing the parser can change the profile of successes even when it leaves the preferred feature configuration unchanged.

These observations come from different views of the outputs. A label may be common and local, as the postposition example is. Other labels can involve both local and more distant structural decisions, and distinct cases of the same label can present different ambiguities. The distance figure therefore complements the examples about individual dependency types. It also puts the aggregate LAS into perspective. Choosing a parsing configuration on that score favors the kinds of correct heads and labels that occur frequently in the evaluation data, whereas the per-label and per-distance comparisons show which structural decisions contribute to the total.

Limitations

Limits the authors identify

The authors explain why the results cannot be directly scored against earlier Hindi parsing studies. The data are different, and the target output covers complete sentences at word level. Earlier experiments recovered links between chunks with reference part-of-speech and chunk annotations. Their scores addressed a different task with different inputs and prediction units. The paper’s baselines therefore come from rerunning its own systems with restricted shallow information on the complete Hindi Treebank task.

The work also uses the fully annotated portion of a treebank that was still under development. Its results characterize that portion, with the specified test split and tuning procedure. The authors use cross-validation because the training collection is small. This lets them compare settings within the available training data before evaluating the chosen settings on the test partition. The reported differences between closely performing settings come from these runs on this corpus.

The authors identify the accuracy of the shallow preprocessing as a practical limit on the two-stage approach. Its success depends on the quality of the division into chunks and on the propagation of early decisions. The results establish how the architecture behaves with reference annotations and with the particular automatic shallow parser used in the study. The authors’ recommendation of chunk features for practical use follows from the performance of that automatic parser. The better result for staging with gold chunks shows that stronger preprocessing could change the comparison.

The paper also identifies limits on the kind of information these features supply. Relations between chunks combine syntactic and semantic aspects. The parser relies on syntactic cues visible in the sentence, and the authors point out that those cues can be absent or ambiguous. They describe earlier Hindi studies that used semantic information to improve inter-chunk parsing, including their earlier experiment with gold-standard semantic features. They also mention prior work on clause information. They propose testing these resources in complete sentence parsing with automatic shallow information. The effects discussed from those earlier studies concern earlier task settings.

What remains open in this setup

The gap between the gold and automatic conditions combines several changes to the input. Part-of-speech tagging affects the representation of individual words, morphology affects word and suffix features, and chunking affects phrase representation and the partition used by the staged parser. The rule comparison and the genitive example expose mechanisms by which bad chunks can matter. Separately estimating the contribution of each preprocessing component to the overall gold-to-automatic gap would require results with those components varied independently. The reported comparison shows the joint effect of using the available automatic analysis.

The single-stage and staged settings also vary along several dimensions together. The staged system changes the set of words visible in each part of parsing, provides stage-specific features, and can pass local dependency information to the inter-chunk parser. The single-stage system keeps the full sentence as its parsing context and supplies chunk properties as features. The experiment compares these systems as implemented. It leaves open how much of the difference comes from each design decision, such as the restriction to chunk heads or the extra features derived from the first stage.

Likewise, the feature groups were chosen in sequence. The authors report which features were most useful, and their analysis gives concrete linguistic explanations for some of the gains. The aggregate settings compare bundles built around that search. As a result, the changes from MaF to LMSaF quantify a joint addition, and the individual contribution of suffix concatenation or of a boundary feature is described without a separate score for every removal. Interactions among cues remain plausible. For example, a combined suffix value is assigned to a word chosen as the chunk head, so the utility of the value can depend on correct head and chunk information.

The use of F-measure for frequent labels and the comparison by dependency length supply evidence beyond the aggregate measures. Frequent labels account for substantial parts of the test data, while other relations remain outside that focused discussion. The good results for postpositions describe a well-defined local pattern in this scheme. They leave the performance on less frequent and more ambiguous local relations to be assessed separately. Likewise, the general relation between arc length and parser performance can coexist with differences across dependency labels and sentence contexts.

The best scores reflect a specific Hindi annotation scheme, data split, and pair of parser configurations. The labels k1 and k2, the policy for chunks, and the analysis of coordination all shape which features are available and which predictions count as correct. The paper gives reasons to expect some of the underlying cues to be linguistically informative in other settings, including the connection between case and verb morphology. The measured value of the encoding and the relative merits of the two architectures remain empirical questions for other corpora, annotation schemes, and preprocessing conditions.

Finally, the main tables give point scores. The nearby results for some gold-input conditions should be read as the observed ordering on the evaluation splits. Tuning and testing serve distinct roles in the design, and the agreement of the architecture ranking across both parsers is informative. The paper does not report uncertainty intervals or a significance test for those differences. Its most directly supported practical finding concerns the consistent preference for single-stage chunk features over the staged setup in the automatic-input experiments that it reports.

What came after

Statistical Parsing of Morphologically Rich Languages (SPMRL) What, How and Whither, also from 2010, cites the Hindi study in work concerned with the broader problem of statistical parsing for morphologically rich languages. The connection is through that citation. The bibliographic record establishes the link, while the role of any particular feature, experiment, or result in the citing work remains unspecified.

The Hindi paper’s contribution to that broader subject is a concrete distinction in how local linguistic evidence enters parsing. The same knowledge of phrases can enrich the representation of words in a sentence-wide parse or define the units in a sequence of specialized parsing tasks. By evaluating both uses under gold-standard and automatic preprocessing, Ambati and colleagues show that the choice depends on how accurately the earlier analysis identifies those units. Their label analysis gives a complementary account of where the information is useful, from distinctions among verbal groups to the case and aspect cues involved in links between nominal and verbal heads.

Cite

Cite as Bharat Ram Ambati, Samar Husain, Sambhav Jain, Dipti Misra Sharma and Rajeev Sangal. 2010. Two Methods to Incorporate ‘Local Morphosyntactic' Features in Hindi Dependency Parsing. Proceedings of the NAACL HLT 2010 First Workshop on Statistical Parsing of Morphologically-Rich Languages.

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

@inproceedings{ambati2010two,
  title = {{Two Methods to Incorporate ‘Local Morphosyntactic' Features in Hindi Dependency Parsing}},
  author = {Bharat Ram Ambati, Samar Husain, Sambhav Jain, Dipti Misra Sharma and Rajeev Sangal},
  booktitle = {Proceedings of the NAACL HLT 2010 First Workshop on Statistical Parsing of Morphologically-Rich Languages},
  year = {2010},
  url = {https://aclanthology.org/W10-1403/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ambati-2010-two-methods-incorporate-local-morphosyntactic/