Elamur Research

Multi-features Enhanced Multi-task Learning for Vietnamese Treebank Conversion

Paper · 2024 · Zhenguo Zhang, Jianjian Liu and Li Ying

Summary

A Vietnamese sentence can have different syntactic trees in different annotated collections, even when the words are identical. This poses a problem for dependency parsing, the task of identifying which word governs each other word and what grammatical relationship connects them. Vietnamese has several treebanks, including the Vietnamese Dependency Treebank (VnDT), Universal Dependencies (UD), and VLSP2020. UD and VLSP2020 follow the same standard, while VnDT can assign different governors and relations. The authors ask whether VnDT can supply useful training data for a UD parser once its annotations have been converted.

The conversion system learns from sentences with trees in both standards. It starts with a graph-based biaffine parser, a system that scores candidate word-to-word attachments. The parser represents each word through its characters, a learned word vector, and an XLM-RoBERTa representation adapted using unlabeled Vietnamese text. It also reads the existing VnDT tree. Pattern embedding describes the path between a candidate dependent and governor, together with selected relation labels. Tree BiLSTM, a bidirectional recurrent encoder that follows tree links, gives each word a representation informed by the wider source tree. During conversion training, UD and VnDT parsing share parts of the network and keep separate components for making predictions under their respective standards.

On the paired conversion benchmark, Tree BiLSTM with multitask training gives the best result. Combining it with pattern embedding reduces accuracy relative to using Tree BiLSTM alone. The error analysis also finds that attachment accuracy generally falls as distance increases. The punctuation relation, punct, is both the most frequent label in the analysis and the one with the highest reported accuracy.

The authors then convert the VnDT training trees, combine them with the original UD training data, and fit a parser to the enlarged collection. On the UD test set, labeled attachment score rises from 65.10 to 72.22, a gain the authors report as 7.12 points. Unlabeled attachment score rises from 78.38 to 82.23. Training on UD and unconverted VnDT as separate tasks gives 65.25 labeled and 78.65 unlabeled attachment score. In these experiments, converting the annotations makes the source collection considerably more useful for UD parsing.

Deep dive: Multi-features Enhanced Multi-task Learning for Vietnamese Treebank Conversion

This study converts Vietnamese dependency trees from VnDT to Universal Dependencies and tests whether the converted data improves parsing. · about 35 minutes to read

The problem and its context

When the same sentence has different trees

A dependency tree organizes a sentence through directed links between words. The head is the word a link comes from, and the dependent is the word it leads to. The link itself is an arc. Its label identifies the kind of grammatical relation the annotation assigns to the pair. In the authors’ UD example, an arc runs from mừng to mà and carries the label mark. This gives a concrete sense of what a parser has to produce. It has to choose an attachment and name the relationship expressed by that attachment.

A treebank gives a supervised parser examples of those decisions. During training, the recorded head and label provide the desired answer for each dependent. The resulting parser is usually assessed against trees produced under the same guidelines. The authors situate this work in a field where systems trained on English and Chinese resources have made substantial progress, while Vietnamese has fewer annotated examples available. They also cite work that uses dependency analyses in grammatical error correction, machine translation, and semantic role labeling. The immediate goal here is to improve the trees themselves. Those applications explain why accurate trees are worth pursuing.

The Vietnamese case involves both the amount of annotation and how that annotation is defined. The paper illustrates the second issue by putting a UD tree beside a VnDT tree for the same sentence. Differences appear in the arcs as well as the relation labels. Changing a label changes how an attachment is classified. Changing the head changes the structure of the tree, including the paths that connect other words through that attachment. A set of label correspondences could address cases where only the names differ. It would leave the structural cases to a separate decision process.

The authors call treebanks heterogeneous when their annotation standards or linguistic assumptions differ. If the aim is to predict UD, every additional training example ideally says what should happen under UD conventions. A VnDT example gives a related kind of supervision, since it still analyzes a Vietnamese sentence. Its recorded attachment, however, may direct a parser toward a different head or label than UD would choose. The problem therefore arises at the level of training targets. A larger pool of sentences can supply more evidence about Vietnamese while giving conflicting instructions about how that evidence should be annotated.

VLSP2020 helps clarify the distinction. The paper lists it among the available Vietnamese resources and says that its annotation standard is the same as UD’s. The key mismatch in the experiments is between VnDT as the source and UD as the target. The conversion is directional. A VnDT tree supplies information about a sentence whose new tree should follow UD. Though the caption of the opening illustration describes the direction in reverse, the stated task, the training procedure, and the experiment that adds converted data all use VnDT as input and UD as output.

What earlier parsers contributed

The authors place their approach within the distinction between graph-based and transition-based parsing. Their chosen foundation belongs to the graph-based family. It considers potential attachments between words and assigns scores to them. For this paper, that setup is especially useful because a possible UD attachment can be described in terms of the positions of its two endpoints in the VnDT tree. The parser already needs clues for ranking candidate word pairs. A source-tree encoding can enter at precisely the point where that ranking is made.

The biaffine parser of Dozat and Manning supplies the basic architecture. It uses a bidirectional recurrent sequence encoder to give each word a representation informed by the rest of the sentence. The Vietnamese conversion system keeps the general sequence-and-scoring design and changes what information reaches the scorer. It also builds on a broader line of work combining contextual word representations with supervised dependency prediction. The paper discusses Seq2seq Dependency Parsing as a different end-to-end formulation and cites multilingual Universal Dependencies parsing as an example of sharing learning across languages and tasks.

The Vietnamese work the authors review supplies several ways to address scarce syntax annotation. Do and colleagues use English to assist Vietnamese parsing through cross-lingual adaptation. Thien and colleagues combine a bidirectional sequence encoder with a graph neural network. PhoBERT supplies general-purpose representations learned specifically for Vietnamese, and Trinh and colleagues use it with cross-view training that draws on labeled and unlabeled material. These approaches address how a parser learns useful sentence representations or obtains additional supervision. Converting VnDT brings a further question into focus. How can a system preserve useful information from an existing hand-annotated structure while changing the decisions that reflect its annotation standard?

From conversion rules to paired examples

The paper describes earlier treebank conversion as largely manual or rule-based. Researchers wrote instructions for moving between formalisms or re-expressing a tree under new guidelines. The Vietnamese work of Nguyen and colleagues is an example of heuristic conversion from constituency annotation, which groups words into phrases, to dependency annotation, which represents relations between heads and dependents. Another example reviewed in the paper uses hand-written category assignments to derive a Combinatory Categorial Grammar treebank from UD. These examples show the range of what conversion can entail. The input and output may differ in formalism, or they may both be dependency trees whose guidelines make different choices.

The authors describe coverage as a difficulty for hand-built conversion rules when annotated resources are small. An explicit rule can be inspected and applied consistently once its conditions are known. Building a rule set that recognizes the relevant contexts across a treebank requires enough examples to see which cases recur and where a straightforward mapping breaks. A learned converter substitutes supervision from examples of the intended mapping. For this study, the valuable training example is a sentence that has a VnDT analysis and a corresponding analysis in UD. The matching sentence anchors the comparison, allowing differences in the annotation decisions to be observed directly.

The nearest precedents in the paper already use information from source trees. Li and colleagues create approximate pairs by applying a source-trained parser to target-side data, then derive structural features from the additional trees. Jiang and colleagues build a supervised conversion resource with trees paired by sentence and use patterns and a tree-structured recurrent encoder to represent the source. The authors also describe graph-to-graph conversion that draws on pseudo-data and parameters inherited from earlier training. The proposed Vietnamese system adapts this line of work by testing local and tree-wide source features and giving source-side parsing its own supervised role during training.

That auxiliary role and the input role of the source tree are distinct. A source parsing task asks the network to reproduce VnDT decisions from examples. A source-tree input lets the converter inspect the VnDT decisions already recorded for the sentence being converted. In principle, the former can improve the representations shared by the tasks, while the latter supplies sentence-specific evidence. The experiments examine both roles and then ask a separate question about whether the converted output helps a parser trained to produce UD analyses.

The method, step by step

What goes into conversion

The conversion example starts with a sentence, a sequence of part-of-speech tags, and a VnDT dependency tree. A part-of-speech tag names a grammatical category associated with a word. The target is a UD tree for that sentence. The task statement includes the tag sequence, but the stated input-vector formula consists of character, contextual, and word representations. The paper gives no separate formula showing how the tags enter the network. The source dependency labels, by comparison, have explicit places in both proposed tree encoders.

S = (w₁, …, wₙ)

Here S denotes the sentence as a sequence. The symbol w denotes a word, the subscripts indicate its position, and n is the number of words. The ellipsis stands for the intervening positions.

T = (t₁, …, tₙ)

Here T denotes the tag sequence, and t is the tag at the position shown by its subscript. The indices run over the same n positions as the words in S. The ellipsis again covers the intervening elements. The paper names the input tree dₛᵣ꜀ and the desired tree dₜᵍₜ, with the subscripts indicating source and target.

Training requires the desired UD tree as supervision. Applying the trained converter to a VnDT sentence requires its existing source tree and yields a predicted UD tree. The final parsing experiment uses these predictions as training annotations. At that stage the task changes from translating a known syntactic analysis to fitting a parser that can analyze a sentence under UD guidelines. This distinction explains why the paper evaluates the converter on paired trees and evaluates the resulting parser on a separate UD benchmark.

From VnDT annotation to UD parser training

The steps in order.

From VnDT annotation to UD parser trainingStep 1: Pair VnDT trees with corrected UD analyses1. Pair VnDT trees with corrected UD analysesStep 2: Encode words and their sentence context2. Encode words and their sentence contextStep 3: Extract features from source tree structure3. Extract features from source tree structureStep 4: Train conversion alongside source parsing4. Train conversion alongside source parsingStep 5: Convert the VnDT training trees5. Convert the VnDT training treesStep 6: Fit the UD parser on combined data6. Fit the UD parser on combined data

The flow covers the two training problems in the study. First, paired examples give the converter targets. After it has learned from those examples, the converter can generate annotations for the larger VnDT training set. The downstream parser then sees the original UD annotations and the converted annotations under a common target standard. The sentence representations and the source-tree features belong to different parts of this process. Sentence representations are the ordinary basis for parsing. Source-tree features are additional information available when the task is conversion.

Building a representation of each word

The authors use three views of a word at the input layer. The character representation encodes information from the form of the word. A separate word embedding gives the word a dense vector as a lexical item. The contextual contribution comes from XLM-RoBERTa, which the authors further adapt using a large collection of unlabeled text to strengthen its Vietnamese representations. These sources can contribute different information. Characters reflect the word’s form, the word vector supplies a representation of the item, and the pretrained representation brings information learned from text. The word-level input is formed by putting the vectors side by side.

xᵢ = rep(char, i) ⊕ rep(XLM-R, i) ⊕ emb(word, i)

In this notation, i is a word position and xᵢ is the resulting vector at that position. The function notation rep(char, i) denotes the character representation, and rep(XLM-R, i) denotes the representation from XLM-RoBERTa. The term emb(word, i) denotes the word embedding. The operator ⊕ means concatenation. Each vector keeps its own coordinates in the result, so later layers can learn how much to use each input.

The input vectors then pass through a bidirectional long short-term memory network, abbreviated BiLSTM. In a sequence BiLSTM, one direction processes the sentence in its ordinary order and the other works in the opposite order. The output for a word is therefore informed by material on both sides. The authors stack these encoders in 3 layers. The top output is used in attachment prediction and also serves as the contextual part of the input to the tree encoder. That reuse allows a source tree node to carry information about the sentence in ordinary word order before it begins exchanging information with structurally related nodes.

(h₀, h₁, …, hₙ) = BiLSTM((x₀, x₁, …, xₙ), θBiLSTM)

In this equation, the x terms are the ordered inputs and the h terms are the corresponding contextual outputs. The subscript identifies the position, and the ellipsis denotes the intermediate positions through n. The displayed indexing includes position 0, also admitted as a candidate position in the parsing loss. BiLSTM denotes the stacked bidirectional sequence encoder, and θBiLSTM denotes its trainable parameters. The formula gives each position a single contextual representation before the parser evaluates it in a particular candidate attachment.

This is the ordinary sentence path through the network. It retains the linear order of the words, regardless of which head VnDT or UD assigns to them. Encoding the source tree adds a second routing structure. A recurrent calculation on the tree uses parent and child links to determine how information moves. Pattern embedding instead looks up how two positions are related in that structure. Both branches can therefore exploit relationships that a sequence encoder would have to infer from the words alone.

Describing a candidate pair with pattern embedding

Pattern embedding begins with a candidate target attachment, written i ← j. The arrow points from the proposed head j to its dependent i. The converter looks for the connection between those words in the VnDT analysis. The source tree might have the same directed arc, place the two words on different branches below a shared head, connect them indirectly through another word, or contain an arc in the opposite direction. Each relationship is a clue about how plausible the proposed UD arc is in this context.

The authors adopt 9 path categories. The configurations given their own descriptions include a matching arc, an indirect connection through a grandparent, a sibling relationship, a reversed arc, and a reversed grandparent relationship. The other categories group paths by tree distance, using 3, 4-5, 6 and ≥ 7. This distance describes the path through VnDT dependency links. It is a feature of the source structure and is distinct from how far apart the words stand in the sentence, which the authors examine later in their error analysis.

Each path category is represented by a learned vector. The authors then add vectors for three labels drawn from the source annotation. One is the label on the dependent candidate’s own attachment in VnDT. Another is the corresponding label for the head candidate. The third belongs to the closest common ancestor of the pair in the source tree. The labels describe the participating words in the source scheme, which may attach them very differently from the proposed target arc. Including this information lets the scorer distinguish candidate pairs whose paths fall into the same category but whose source relations differ.

rᵖᵃᵗ(i ← j) = e(P(i ← j)) ⊕ e(lᵢ) ⊕ e(lⱼ) ⊕ e(lₐ)

Here rᵖᵃᵗ(i ← j) denotes the pattern vector for the proposed attachment of i to j. The term P(i ← j) is its path category in the source tree, and e maps a category or a label to its embedding. The symbols lᵢ and lⱼ denote the VnDT attachment labels of the words at the indicated positions. The symbol a denotes their closest common ancestor, and lₐ is its attachment label. The operator ⊕ joins the embeddings into a single vector.

The pair is the unit of this calculation. If the same dependent is considered with a different possible head, the path category can change, the head candidate has its own relation label, and the common ancestor can also change. This makes the source evidence specific to the arc being evaluated. It also means that the feature is shaped by the distinctions the path inventory preserves. The most common configurations get explicit categories, while a longer path can be represented through its distance group. The paper’s comparison with Tree BiLSTM tests whether this summary is as effective as learning a word representation from the wider tree.

Passing information through the source tree

The Tree BiLSTM branch begins from a representation for every word in the source tree. The authors supply the top output of the sentence BiLSTM and a vector for the word’s VnDT attachment label. The tree links determine which nodes exchange information, and the labels provide information about the grammatical relationships written on those links. Thus word context, tree shape, and annotation type can all influence the output of the tree encoder.

xₖ = rₖ ⊕ e(lₖ)

Here k identifies a word in the source tree, and xₖ locally denotes its input to the tree encoder, distinct from the earlier input to the sequence encoder. The term rₖ is the top sequence BiLSTM output for that word. The label lₖ is the VnDT relation by which the word attaches to its source head, and e(lₖ) is the corresponding embedding. The operator ⊕ concatenates the contextual vector with the label vector.

The tree recurrence in the paper describes the calculation at a node using the states of its children. Each child can carry information from nodes below it because the same calculation has already been performed there. The recurrence first pools the hidden states, then uses gates to decide what information reaches the current node’s memory and what becomes visible in its output. The child-specific gates matter because a parent can have several dependents that contribute different kinds of context.

ĥₐ = Σ[k ∈ C(a)] hₖ

In this formula, a is the node being updated. The set C(a) contains its children, and k ∈ C(a) means that the sum includes each child k. The symbol hₖ denotes the hidden state of that child. The summation operator Σ adds the child vectors, yielding their aggregate ĥₐ. This pooled state supplies a common summary of the children for several of the next calculations.

iₐ = σ(W⁽ⁱ⁾ xₐ + U⁽ⁱ⁾ ĥₐ + b⁽ⁱ⁾)

Here iₐ is the input gate for node a. Its values regulate how much of the proposed new memory content is written at the node. The term xₐ is the node’s own input, and ĥₐ is the pooled child state. The learnable matrices W⁽ⁱ⁾ and U⁽ⁱ⁾ act on those two vectors, respectively. The term b⁽ⁱ⁾ is a learned bias, + adds the contributions, and σ is the sigmoid applied to the resulting vector. The superscript marks the parameters dedicated to this gate.

fₐₖ = σ(W⁽ᶠ⁾ xₐ + U⁽ᶠ⁾ hₖ + b⁽ᶠ⁾)

The vector fₐₖ is the forget gate for child k at node a. It regulates how much of that child’s cell state is passed through. The input xₐ describes the parent, while hₖ is the individual child’s hidden state. The learnable matrices W⁽ᶠ⁾ and U⁽ᶠ⁾ transform those inputs, b⁽ᶠ⁾ is the learned bias, and + adds the terms before the sigmoid σ is applied. Since the gate uses a particular child’s state, it can assign different values to different children of the same node.

oₐ = σ(W⁽ᵒ⁾ xₐ + U⁽ᵒ⁾ ĥₐ + b⁽ᵒ⁾)

The symbol oₐ denotes the output gate at node a. It controls how much of the updated memory is exposed in the node’s hidden state. The terms xₐ and ĥₐ are the node input and aggregate of its child states. The matrices W⁽ᵒ⁾ and U⁽ᵒ⁾ and the bias b⁽ᵒ⁾ are learned for this gate. The contributions are added with + and passed through the sigmoid σ.

uₐ = tanh(W⁽ᵘ⁾ xₐ + U⁽ᵘ⁾ ĥₐ + b⁽ᵘ⁾)

Here uₐ denotes the candidate memory content at node a. The node input xₐ and the child aggregate ĥₐ are transformed by the learned matrices W⁽ᵘ⁾ and U⁽ᵘ⁾. Their contributions are added with + along with the learned bias b⁽ᵘ⁾. The function tanh is the hyperbolic tangent, applied to each coordinate. The candidate is then available to the input gate when the cell state is updated.

cₐ = iₐ ⊙ uₐ + Σ[k ∈ C(a)] fₐₖ ⊙ cₖ

The symbol cₐ is the cell state at node a, and cₖ is the cell state of child k. The term iₐ ⊙ uₐ keeps the candidate content in the proportions set by the input gate. The other term sums the child contributions over C(a), with each child’s memory scaled by its own forget gate fₐₖ. The operator ⊙ means multiplication coordinate by coordinate, Σ denotes the sum over children, and + combines the new and inherited content.

hₐ = oₐ ⊙ tanh(cₐ)

Here hₐ is the hidden state returned for node a, cₐ is its updated cell state, and oₐ is its output gate. The hyperbolic tangent tanh transforms the cell state, and the coordinatewise product ⊙ scales the result by the output gate. Other nodes in the recurrence can use the resulting hidden state, while the cell state carries memory into subsequent tree calculations.

This child-driven recurrence illustrates the bottom-up computation. The paper also describes a top-down representation that carries information in the opposite direction through the source structure. It names the outputs of the two passes and concatenates them. The same detailed recurrence is not given separately for the top-down pass. Conceptually, information from descendants and information arriving through the upper part of the tree can thus contribute to the representation of a word.

rᵗʳᵉᵉₖ = h↓ₖ ⊕ h↑ₖ

In this expression, rᵗʳᵉᵉₖ is the finished source-tree representation for word k. The downward arrow in h↓ₖ identifies the top-down output, and the upward arrow in h↑ₖ identifies the bottom-up output. The operator ⊕ joins the vectors. Unlike the pattern vector, this representation is computed for a node and can be used when the word is considered in different candidate pairs. Its structural context is learned through recurrent aggregation rather than selected from a list of paths.

Scoring heads and labels

A word can serve as a head in one candidate arc and as a dependent in another. The decoder therefore has separate multilayer perceptrons, or MLPs, for the two roles. An MLP is a trainable network that transforms its input vector before scoring. In the configuration that allows both tree encodings, each MLP sees the sentence context for its own word, that word’s Tree BiLSTM output, and the pattern vector for the pair. Configurations that use just one of the tree encodings supply the corresponding source features.

rᴰᵢ = MLPᴰ(hᵢ ⊕ rᵗʳᵉᵉᵢ ⊕ rᵖᵃᵗ(i ← j))

Here rᴰᵢ is the decoder representation for proposed dependent i, and MLPᴰ is the transformation for that role. The term hᵢ is the sequence encoder’s output at the dependent position, rᵗʳᵉᵉᵢ encodes that word in the source tree, and rᵖᵃᵗ(i ← j) describes the source path and labels for the pair with candidate head j. The operator ⊕ concatenates these features. The displayed output is indexed by i, but the pattern term makes it depend on the candidate j where that feature is used.

rᴴⱼ = MLPᴴ(hⱼ ⊕ rᵗʳᵉᵉⱼ ⊕ rᵖᵃᵗ(i ← j))

Here rᴴⱼ is the decoder representation for proposed head j, and MLPᴴ is the transformation for head candidates. The terms hⱼ and rᵗʳᵉᵉⱼ describe that word through the sequence and tree encoders. The same pair-specific vector rᵖᵃᵗ(i ← j) is used, with i denoting the candidate dependent. The operator ⊕ again concatenates the inputs. Having distinct transformations allows the scorer to use different aspects of the word representations in the two roles.

score(i ← j) = transpose([rᴰᵢ, 1]) U₁ rᴴⱼ

The expression score(i ← j) is the scalar score for an arc from head j to dependent i. The bracketed vector appends the constant 1 to the dependent representation rᴰᵢ. The operation transpose turns that augmented column vector into a row for multiplication. The matrix U₁ contains learned scoring weights, and rᴴⱼ is the head representation. The matrix product scores interactions between the two representations. The appended coordinate also permits a contribution from the head representation that has no dependence on the other coordinates of the dependent.

The parser is trained against both attachment and label decisions. For a given dependent, the head term assigns a probability to the annotated head by normalizing its score over possible heads. The relation term normalizes scores over the label inventory for the annotated arc. The training loss penalizes low probability on either recorded choice. This lets the scorer learn that an attachment can place a dependent correctly while attaching the wrong grammatical interpretation to the link.

Lₚₐᵣ = −log(exp(score(i ← j)) / Σ[0 ≤ k ≤ n, k ≠ i] exp(score(i ← k))) − log(exp(scoreˡ(i ← j)) / Σ[l′ ∈ L] exp(scoreˡ′(i ← j)))

Here Lₚₐᵣ is the parsing loss for the decision at word i. Its annotated head is j, and l is the annotated label. The first Σ sums over head positions k from 0 to n, excluding i itself through k ≠ i. The symbol n is the sentence length, and score(i ← k) is the score for attaching the dependent to position k. The second Σ sums over candidate labels l′ in the label set L. A superscript on score, such as l or l′, selects the corresponding relation score for the arc to j. The function exp exponentiates the scores, and / divides each recorded choice’s exponentiated score by the total for its candidates. The two negative logarithms, written with −log, are the penalties for the recorded head and relation, respectively.

The label loss uses the annotated arc during training. It therefore addresses a different decision from ranking heads. This matters when interpreting the evaluation. A head prediction can receive credit on the unlabeled measure even when the predicted relation does not match. A correct relation on an incorrectly attached word cannot recover the point on the labeled measure, which also requires the head to be correct. The paper specifies the candidate scoring and loss, with less detail about how the resulting scores are assembled into a full tree at inference.

Building the training data and sharing the work

To produce paired annotations, the authors randomly select 2900 VnDT sentences. They run a trained target-side parser on those sentences, generating an initial UD analysis for each. They then manually correct those analyses. The existing VnDT tree and the corrected UD tree together form the aligned example. This procedure directs human effort towards reviewing and correcting a proposed analysis. The paper uses the corrected material to train and evaluate the converter. The automated conversion of the larger VnDT training set comes later.

The authors randomly assign 300 paired sentences to development and 600 to test. They describe the remainder as approximately 2000 training sentences and list the training size as 1,996 in the dataset table. The development set informs training decisions, while the paired test set checks how well the system reproduces UD annotations when it is given a corresponding VnDT tree. The original UD test set serves a different purpose. It assesses the parser trained with the converted resource, which is the benefit the conversion is intended to deliver.

In the multitask setup, source parsing and target parsing share the input and encoder parameters. They have separate MLP and biaffine parameters so that each task can assign scores according to its own annotation convention. Sharing lets supervision from VnDT shape representations that are also used for UD. Separate scoring components give the tasks room to make different choices even when the representations share information about the same kinds of sentences. During conversion the source-tree features provide further evidence from the tree being transformed. Learning to parse VnDT and encoding a given VnDT tree thus use the source resource in complementary ways.

The paper uses 100-dimensional XLM-RoBERTa vectors and 100-dimensional character vectors. It gives 300 as the output dimension of the sequence BiLSTM and reports MLP dimensions of 500 and 100. Pattern embeddings and relation-label embeddings each have dimension 50. The Tree BiLSTM output has dimension 200. These settings describe the representations and the scoring network used in the experiments. They are held as part of the experimental setup while the authors vary the source encoding and the use of multitask training.

Training uses batches of 40 sentences. In the ordinary schedule, a pass through the training corpus counts as an iteration. The parser is assessed on development data after each iteration, and training stops after 50 iterations without improvement. The paper describes a multitask training procedure that uses one UD batch and then one VnDT batch. A completed cycle through the VnDT data counts as an iteration under that schedule. Once the converter is trained, its predictions over the VnDT training set are added to the original UD training material. The last parser is then fitted to this combined collection.

Experiments and results

The paired benchmark and the UD test set

The evaluation distinguishes whether a converter can reproduce UD from a given VnDT analysis and whether its output improves a parser trained to predict UD. The former uses the aligned UD–VnDT data, with manually corrected targets. The latter uses the original UD test split. Scores from these tests concern different sentences and different uses of the input. In particular, the UD test evaluates a parser trained with the converted annotation, while the paired test evaluates the act of producing that annotation.

The original UD treebank has 1,400 training sentences, 800 development sentences, and 800 test sentences in the paper’s data table. VnDT has 8,977 in training, 200 in development, and 1020 in test. The paired resource has the smaller training split described above. VLSP2020 is listed separately among the available resources, with 8,152 training sentences and 1,123 test sentences and no development count given in the table. The conversion comparisons use VnDT as the source and UD as the target. VLSP2020 is absent from the reported comparison of different training mixtures on the UD test set.

The two metrics count attachment decisions. Unlabeled attachment score, or UAS, credits a predicted attachment when the dependent has the recorded head. Labeled attachment score, or LAS, requires the same head and the recorded relation. These measures allow the authors to ask whether a change mainly helps the parser find the right word to attach to or whether improvement also appears when relation labels are required. They also give a common scale for comparing approaches within each evaluation.

How accurately the system converts a source tree

The authors compare the paired annotations to characterize the difficulty of conversion. In the conversion-results discussion, they report that 52.4% of arcs agree across the two schemes and that 21.3% of labels agree. The error-analysis section assigns 52.4% to labels and 21.3% to arcs, reversing the associations. The paper therefore establishes the figures it reports for the comparison but gives conflicting accounts of which value belongs to which measure. The conversion scores themselves are identified as labeled and unlabeled attachment in the results table and can be read independently of that discrepancy.

The main comparison crosses the choice of source encoding with whether the source parsing task is used during training. The single-encoder settings use Tree BiLSTM or pattern embedding. A further setting supplies both. This design asks whether a local description of the candidate relation is sufficient, whether a representation composed through the source tree helps more, and whether their combination adds information useful to the scorer.

Source tree encoders on the paired UD–VnDT test set by LAS

Tree BiLSTM alone gives the highest labeled attachment score under both training setups.

Source tree encoders on the paired UD–VnDT test set by LASPattern embedding without multi-task training: 62.02Pattern embedding without multi-tasktraining62.02Tree BiLSTM and patterns without multi-task training: 63.33Tree BiLSTM and patterns withoutmulti-task training63.33Tree BiLSTM without multi-task training: 64.80Tree BiLSTM without multi-task training64.80Pattern embedding with multi-task training: 62.73Pattern embedding with multi-tasktraining62.73Tree BiLSTM and patterns with multi-task training: 63.89Tree BiLSTM and patterns with multi-tasktraining63.89Tree BiLSTM with multi-task training (this paper): 65.88Tree BiLSTM with multi-task training(this paper)65.88
The numbers
System or settingLAS
Pattern embedding without multi-task training62.02
Tree BiLSTM and patterns without multi-task training63.33
Tree BiLSTM without multi-task training64.80
Pattern embedding with multi-task training62.73
Tree BiLSTM and patterns with multi-task training63.89
Tree BiLSTM with multi-task training (this paper)65.88

The unlabeled conversion results broadly follow the same ranking. Under multitask training, Tree BiLSTM reaches 81.06 UAS, compared with 77.85 for pattern embedding and 78.53 for their combination. Without the auxiliary task, the conversion table gives 80.09 UAS for Tree BiLSTM, 76.86 for patterns, and 79.69 for the combination. The ablation table gives a different UAS entry for the full Tree BiLSTM without multitask training, which matters when reading the removals in that table. In the conversion comparison, the top configuration on both measures is Tree BiLSTM with multitask training.

Multitask training improves LAS for each encoder setting in the conversion table. Its effect on UAS depends on the encoder. The combined setting has a lower UAS with the auxiliary task than without it. This is why the labeled and unlabeled results are worth keeping separate. A configuration can improve the count of predictions that meet both requirements while doing worse on the larger set checked solely for correct head selection. The table gives the aggregate outcomes and does not assign the change to particular labels or types of attachments.

The authors interpret the advantage of Tree BiLSTM in terms of the structural disagreement between VnDT and UD. A short source path is a clue, but a converter that relies on that clue has less context for recognizing when UD prefers a different analysis. The tree-wide representation can draw on structural information beyond the immediate pair. The score comparison shows that this approach works better on these paired Vietnamese data. It does not directly vary the degree of disagreement between annotation schemes, so the explanation about low consistency remains an interpretation of the observed ranking.

What the converted training set adds

The downstream comparison includes results attributed to Choudhary and O’riordan and to Le-Hong and Cambria. The authors describe the former as a sequence-to-sequence dependency parser with a BERT encoder adapted across 12 languages and the latter as a parser that incorporates dependency graph embeddings using a gated recurrent unit. In the UD comparison, Choudhary and O’riordan have a reported UAS of 68.37 and no LAS supplied in the table. Le-Hong and Cambria are listed with 47.24 LAS and 52.06 UAS. The comparisons with the authors’ own parser are more directly relevant to the contribution of the converted data, since they explicitly vary how VnDT is used.

The UD-only version establishes the performance of the authors’ parser before it receives VnDT supervision. Another version trains with UD and VnDT in a multitask setup while keeping the annotations in their existing schemes. The last version uses the Tree BiLSTM converter to supply UD-style annotations for VnDT and trains on those trees together with the original UD data. This comparison turns conversion into a testable choice about the training set. Each use of VnDT has a route to improve the parser, either through sharing representations across tasks or through adding examples of the desired target annotations.

Vietnamese UD test set LAS by parser training data

Adding converted VnDT trees gives the strongest labeled attachment result.

Vietnamese UD test set LAS by parser training dataUD only: 65.10UD only65.10UD and unconverted VnDT in multi-task training: 65.25UD and unconverted VnDT in multi-tasktraining65.25UD and converted VnDT (this paper): 72.22UD and converted VnDT (this paper)72.22
The numbers
System or settingLAS
UD only65.10
UD and unconverted VnDT in multi-task training65.25
UD and converted VnDT (this paper)72.22

For the same three setups, the corresponding UD test UAS values are 78.38 with UD alone, 78.65 with ordinary multitask training on the two schemes, and 82.23 with the converted annotations. The authors report gains of 7.12 in LAS and 3.85 in UAS for the converted-data run relative to the UD-only parser. The paper’s abstract describes the LAS improvement in points. These figures compare final parser performance on the UD test set. They do not measure the fraction of VnDT training trees that the converter reproduced exactly.

Ordinary multitask training gives the parser a way to learn from more Vietnamese sentences through the shared parameters. It yields scores close to those of the UD-only run. Converting VnDT gives the target task additional examples with direct UD-style supervision. That is the condition associated with the larger changes in both measures. The authors attribute the modest result of ordinary multitask training to disagreement between the schemes, which can leave fewer shared annotation patterns to learn. The study measures the outcome of the two uses of VnDT, while the reason for the difference is inferred from the setup and the observed mismatch.

The paired and downstream tests consequently support related claims. The paired test identifies a practical choice of converter among the approaches tried. The downstream test shows that the output of that converter can improve the scores of a parser that learns from it. Converted trees may still contain errors, and the paired results show that some attachment and relation decisions remain difficult. The downstream result establishes that whatever errors remain, the added annotations supply useful supervised evidence on the UD benchmark used here.

What the ablations show

Which labels help the local representation

The feature ablations remove pieces of the source-tree input while retaining the encoding strategy. For pattern embedding, the authors remove the dependent’s source relation, the candidate head’s source relation, or the closest common ancestor’s source relation in separate runs. These tests address whether the locally encoded labels contribute beyond the structural path category and the other labels. The table reports these removals both with and without the auxiliary source parsing task.

Pattern embedding label ablations on the paired UD–VnDT test set by UAS

The complete pattern vector gives the highest unlabeled score in the multi-task setting.

Pattern embedding label ablations on the paired UD–VnDT test set by UASWithout the dependent relation: 76.33Without the dependent relation76.33Without the candidate head relation: 76.45Without the candidate head relation76.45Without the common ancestor relation: 76.82Without the common ancestor relation76.82Complete pattern vector with multi-task training (this paper): 77.85Complete pattern vector with multi-tasktraining (this paper)77.85
The numbers
System or settingUAS
Without the dependent relation76.33
Without the candidate head relation76.45
Without the common ancestor relation76.82
Complete pattern vector with multi-task training (this paper)77.85

Among these multitask runs, removing the dependent’s label gives the lowest UAS. The paper reports a decrease of 1.52% for that removal. A label from VnDT can therefore help the converter choose a UD head even when the task is scored without relation labels. This makes sense given where the feature enters. It participates in the representation used for ranking candidate attachments. It need not match a target label to inform that ranking.

The ordering changes when the same removals are judged by LAS. The complete multitask pattern encoder scores 62.73. Without the dependent’s label it scores 61.38, without the candidate head’s label it scores 61.47, and without the common ancestor’s label it scores 60.89. The ancestor label is therefore associated with the lowest LAS among these removals, even though its removal leaves the highest UAS among them. Without multitask training, the complete pattern encoder also gives higher LAS and UAS than each of the corresponding removal runs. The consistent finding is that each of the source labels helps the full encoding in these comparisons. Which label appears most valuable depends on the attachment measure.

What the tree encoder gains from labels

The Tree BiLSTM ablation keeps the source-tree structure but removes source relation labels from the input to the tree recurrence. The encoder can still use the sentence representations and the parent–child connections. The comparison tests what the learned label vectors add once the tree already says which words attach to which. With multitask training, the full encoder reaches 65.88 LAS and 81.06 UAS in the ablation table. Without the labels, it reaches 64.81 LAS and 80.16 UAS. Both measures favor giving the tree encoder the annotation labels.

The runs without multitask training show the same direction in LAS. The ablation table gives 64.80 for the full encoder and 64.19 after removing the labels. It gives 80.90 and 79.57 for their UAS values. The full encoder’s UAS in the conversion table is 80.09 for the same stated training and feature setting, instead of the 80.90 printed in the ablation table. The prose also attributes improvements of 1.69% in LAS and 1.49% in UAS to integrating source-side trees without identifying a matching within-setting comparison in the ablation table. The reported rows support the directional conclusion that label inputs help. The inconsistent presentations leave some uncertainty about the precise unlabeled score and the intended comparison behind the prose figures.

The feature removals also sharpen the interpretation of why the global encoder performs well. A Tree BiLSTM can profit from the fact that the source tree has meaningful edges, but the labels on those edges still contribute when the structure is present. At the same time, the source labels are used as representations from which a target decision is learned. The experiment can therefore benefit from VnDT relation information even in cases where UD distinguishes relations differently. It does not require observed label agreement to be a necessary condition for useful label features.

When adding the pair features hurts

The combined encoder scores below Tree BiLSTM alone on both attachment measures in the main conversion table under either training regime. It can still do better than pattern embedding alone. This ranking matters because the joint decoder explicitly has access to a node-level view and a pair-level view. The results show that extra access to the hand-defined path categories and selected source labels does not improve over the stronger tree encoder in the tested combination.

The paper illustrates the result with a held-out sentence. Its figure presents the reference UD tree and the source VnDT tree alongside outputs from Tree BiLSTM alone and from Tree BiLSTM with pattern embedding. The authors report that the tree-only prediction matches the target analysis in the example, while the combined encoding produces errors. They suggest that the broader tree encoding already captures much of the information repeated by the pattern features. They also suggest that emphasizing source-local configurations can amplify differences between the source and target annotations. The example shows what such a failure can look like. The aggregate comparison shows that the performance decrease extends beyond that illustration, while the study does not independently measure how much information the two representations share.

Where errors concentrate

The error analysis inspects frequent dependency relations and divides attachments into distance groups. Among the most common labels, frequent relations generally have higher conversion accuracy. The authors also see exceptions. They use the nsubj nominal subject relation and variants such as nsubj:nn, nsubj:pass, and nsubj:xsubj to illustrate differences in how annotation inventories can distinguish related cases. That can make the mapping difficult even for a often encountered kind of dependency. The broad frequency pattern therefore coexists with mistakes associated with particular annotation distinctions.

For the distance analysis, the authors report a tendency toward lower accuracy at larger distances under both their relative and absolute measures. They examine an exception in the relative-distance results at 8. The paired dataset contains 232 arcs at relative distance 6 and only 10 at relative distance 8. The paper suggests that the small number of examples at the larger distance can account for the slight increase in accuracy there. Each correct or incorrect decision has a greater influence on the measured rate in a sparsely populated group. The count makes the local rise easier to interpret without implying that long relative distances are generally easier.

The paper reports another rise of 3.83% in accuracy at absolute distance 7 compared with absolute distance 6. The groups differ in the kinds of relations represented. The authors count 24 label types at distance 6 and 18 at distance 7. The share of the punct punctuation relation is 31% at distance 6 and 40% at distance 7. Punctuation is both the most frequent and the most accurately converted label in the label analysis. The authors account for the higher score in part through the larger concentration of punctuation and the smaller variety of relation types. The group comparison shows why distance and the composition of the examples both matter when interpreting an accuracy curve.

Limitations

Limits the authors identify

The authors emphasize the disagreement between UD and VnDT as a constraint on conversion. For pattern embedding, a source configuration can be a valuable cue when the target preserves a related configuration. Its usefulness can weaken when the two annotation standards organize the same words differently. The paper argues that the global tree encoding is better suited to that situation and points to its higher paired scores. The authors also recognize that combining the local and global encodings can hurt performance, offering redundancy and amplified source–target differences as explanations.

Their error analysis identifies two further constraints on interpretation. Frequency is associated with accuracy, but some relations depart from the general pattern, which the authors connect to differences in annotation conventions. Accuracy usually declines with distance, but sparse groups and changing label mixtures can interrupt that trend. The paper checks counts and punctuation proportions to support those explanations. The results characterize the tested data and the authors’ choice of encodings, instead of establishing a fixed relationship between distance and accuracy for every relation.

The resource need also persists in the procedure itself. The method reduces the amount of target annotation needed before the full source resource can be converted. It relies on target-side predictions and manual corrections to form the paired supervision. The authors present hand annotation as costly and use automatic initial analyses to support that stage. The study does not quantify the correction time, how much annotators agreed, or how much manual work the method saves over writing UD annotations from the beginning. Its measured benefit is parsing accuracy after using the converted material.

Limits of the experimental design

The evidence concerns Vietnamese and the direction from VnDT to UD. The paper’s motivation extends to other situations with incompatible resources, but the experiments do not test a second conversion direction or a differently annotated language. VLSP2020 is documented as an available Vietnamese resource under the UD standard. It does not provide an independent conversion result in the final comparison. A conversion can depend on the particular distinctions made by its source and target schemes, and those distinctions are part of what the paired examples teach it.

The downstream comparison tests a practical package of changes. Converting VnDT makes more sentences available as direct UD-style training examples, and the annotations on those examples come from a converter that has access to the source trees. The combined-data run varies both the amount of direct target supervision and the process that supplies it. There is no matched-size run that labels the same VnDT sentences with a UD parser using only sentence input. Such a comparison could help attribute the improvement specifically to the use of source structure. The reported comparison supports the utility of the full conversion procedure in this setting.

Likewise, the downstream experiment uses the Tree BiLSTM converter selected by the paired results. It does not report what would happen if a pattern-only converter or the combined converter supplied the same amount of training material. The paired test shows which of those configurations is more accurate at the conversion task. It leaves open whether the downstream parser would reproduce their ordering or respond differently to their particular errors. Correctness against a paired reference and usefulness as training supervision are related outcomes, and the paper directly measures that relationship for the selected converter.

The paired sentences are drawn from VnDT, and the converter is later applied to the VnDT training set. The paper gives the sizes of the paired partitions but does not state how their original VnDT split membership is handled when preparing the larger conversion run. The two evaluations should therefore be interpreted through the roles the paper assigns them. The paired test checks conversion on its designated split, and the original UD test checks the parser trained using the enlarged corpus. The reported procedure does not settle every question about overlap among intermediate resources.

The results are given as point scores. The paper provides no variation across repeated training runs or uncertainty intervals for the comparisons. The small differences between the UD-only parser and the ordinary multitask parser can be described directly from the reported values, but the table cannot establish their stability. The larger results from converted training data are likewise observations from the reported setup. Their consistency across labeled and unlabeled measures supports the practical result, with reproducibility across training runs left unquantified.

Some implementation details remain underspecified. The task definition includes part-of-speech tags without stating their role in the input representation. The detailed Tree LSTM recurrence shows aggregation from children, while the top-down computation is described by its output. The paper supplies head and label scores and their losses, but does not fully specify the procedure for producing a valid complete tree from those scores. These omissions limit how much of the implementation can be reconstructed from the equations alone. They do not change which tasks and feature settings are described in the reported comparisons.

Finally, the inconsistent assignments of arc and label agreement and the conflicting Tree BiLSTM UAS entries limit claims that rely on those exact quantities. The strongest direct evidence consists of the rankings that are clear in the paired comparison and the scores in the downstream UD test. Those show that Tree BiLSTM is the strongest source encoding tested and that adding the resulting converted VnDT trees gives the best UD parser performance among the reported training conditions.

What came after

No later citing work is identified for this paper. Its reported contribution ends with the Vietnamese experiments. These establish that a converter trained on paired VnDT and UD annotations can produce training trees that improve UD parsing, while leaving open how the approach performs under a different conversion scheme.

Cite

Cite as Zhenguo Zhang, Jianjian Liu and Li Ying. 2024. Multi-features Enhanced Multi-task Learning for Vietnamese Treebank Conversion. Proceedings of the 23rd Chinese National Conference on Computational Linguistics (Volume 1: Main Conference).

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

@inproceedings{zhang2024multi,
  title = {{Multi-features Enhanced Multi-task Learning for Vietnamese Treebank Conversion}},
  author = {Zhenguo Zhang, Jianjian Liu and Li Ying},
  booktitle = {Proceedings of the 23rd Chinese National Conference on Computational Linguistics (Volume 1: Main Conference)},
  year = {2024},
  url = {https://aclanthology.org/2024.ccl-1.80/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/zhang-2024-multi-features-enhanced-multi-task/