Granular Syntax Processing with Multi-Task and Curriculum Learning

Xulang Zhang, Rui Mao, Erik Cambria

TL;DR

This paper introduces a novel Multi-Task Learning (MTL) framework that explores how syntactic tasks of different "granularity"—Sentence Boundary Detection (SBD), text chunking, and Part-of-Speech (PoS) tagging—can mutually improve one another. By implementing a "soft parameter sharing" mechanism and a curriculum learning strategy to handle non-parallel datasets, the authors achieved state-of-the-art results in text chunking and demonstrated that fine-grained linguistic features are highly complementary to coarse-grained structural tasks.

What Problem Does This Paper Address?

Syntactic processing is the "bread and butter" of Natural Language Processing (NLP), providing the structural foundation for everything from machine translation to sentiment analysis. However, these tasks exist at different levels of granularity: PoS tagging is fine-grained (word-level), text chunking is mid-level (phrase-level), and SBD is coarse-grained (sentence-level).

Traditionally, these are handled in a pipeline, which leads to error propagation—a mistake at the PoS level ruins the chunking level. While Multi-Task Learning (MTL) can mitigate this by learning tasks simultaneously, two major hurdles remain:

  1. Granularity Interaction: We don't fully understand how these different levels of syntax actually help (or hinder) each other.
  2. Non-Parallel Data: Most datasets are "non-parallel," meaning a dataset might have PoS tags but lack chunking labels. Training on these mismatched sets often leads to model bias and training instability.

Methods

The authors propose a specialized MTL architecture consisting of task-specific "towers" that communicate through two primary innovations:

  • Local and Global Dependency Sharing (LGDS): Instead of simple hard-parameter sharing (where tasks just share the same bottom layers), LGDS uses a "soft" approach. It employs a CNN to capture local context and Biaffine attention (a technique borrowed from dependency parsing) to capture long-range global dependencies from the neighboring task's tower. This allows each task to "absorb" useful features from the other without being forced into the exact same representation.
  • Curriculum Learning (CL) for Non-Parallel Data: To solve the data mismatch problem, the authors developed a selection mechanism. When training on a PoS sample that lacks chunking labels, the model doesn't just pick a random chunking sample for the batch. Instead, it uses cross-entropy of hidden states to find a chunking sample that is "most similar" in vector space to the PoS sample. This "feature alignment" ensures the model updates its parameters using complementary information, leading to smoother convergence.

Datasets

The study utilized three standard public benchmarks:

  • Wall Street Journal (WSJ): Used for Part-of-Speech tagging.
  • CoNLL 2000: Used for text chunking.
  • IWSLT: Used for Sentence Boundary Detection (SBD).

The authors noted that while CoNLL 2000 contains parallel labels for PoS and chunking, the WSJ and IWSLT sets are largely non-parallel, making them the perfect testing ground for their Curriculum Learning mechanism.

Key Insights and Ideas

  • The "Fine-to-Coarse" Advantage: Fine-grained tasks (like PoS tagging) consistently provide the most useful features for coarse-grained tasks (like chunking or SBD). The detailed word-level information acts as a strong signal for where phrases and sentences should end.
  • The SBD Surprise: Interestingly, the most coarse-grained task, SBD, significantly helps the most fine-grained task, PoS tagging. The authors suggest that knowing sentence boundaries helps the PoS tower focus on sentence-specific structures and long-range label dependencies that might otherwise be lost in a continuous stream of text.
  • Stability through Similarity: The Curriculum Learning results suggest that MTL instability isn't just about different labels; it's about different feature spaces. By forcing the model to learn from "similar" samples across tasks in a single batch, the training process becomes significantly more stable.

Key Results

  • State-of-the-Art (SOTA) in Chunking: The "Ours-Transformer" model achieved a 98.13% Micro-F1 score on text chunking when paired with PoS tagging, outperforming the previous strongest baseline (ACE) by 0.83%.
  • SBD Improvements: Jointly learning SBD with PoS tagging outperformed learning it with chunking by 2.02% F1, proving that PoS is a more complementary partner for boundary detection.
  • Ablation Success: Removing the LGDS mechanism or the CL strategy led to a consistent drop in performance across all tasks, validating that the "soft sharing" and "sample selection" are critical to the framework's success.

Limitations and Future Work

  • Computational Overhead: The Curriculum Learning mechanism requires comparing multiple instances to find the best match, which increases training time (ranging from 1.08x to 1.74x depending on the sample size used).
  • Task Relevance: The current CL mechanism relies on the tasks being somewhat related. The authors plan to investigate whether this approach can be relaxed to work for tasks that are less syntactically relevant to each other.
  • Scaling: While the results on standard benchmarks are impressive, the authors suggest testing the framework on even larger, more diverse datasets to see if the granularity benefits hold at scale.

Summary updated

BibTeX
@article{zhang2024granular,
  author = {Xulang Zhang and Rui Mao and Erik Cambria},
  title = {{Granular Syntax Processing with Multi-Task and Curriculum Learning}},
  journal = {Cogn. Comput.},
  year = {2024},
  doi = {10.1007/s12559-024-10320-1},
}
Figure