Modal sense classification with task-specific context embeddings

Bo Li, Mathieu Dehouck, Pascal DenisESANN 2019

Introduction

In Natural Language Processing (NLP), Modal Sense Classification (MSC) is the task of disambiguating modal verbs such as can, may, or must. These verbs are notoriously polysemous, meaning their interpretation depends heavily on the surrounding context. For instance, "can" might denote physical ability ("The springbok can jump high"), permission ("You can leave now"), or possibility ("It can be cold in winter"). Accurate classification is essential for downstream tasks like sentiment analysis and factuality recognition.

Methodology

The researchers propose a hybrid classification model using a Support Vector Machine (SVM). The model integrates two primary feature sets:

  1. Shallow Features (SF): Traditional linguistic markers including Part-of-Speech (POS) tags, n-grams, and local collocations.
  2. Weighted Context Embeddings: Pre-trained Word2Vec embeddings are aggregated into a single context vector. The authors explored several weighting schemes:
  3. Average: Uniform weighting for all context words.
  4. Linear/Exponential: Higher weights for words closer to the modal verb.
  5. Modal-specific (+WE$_{ex'}$): This novel approach prioritizes "anchor" words—specifically the subject and the main (embedded) verb—using hyper-parameters to boost their influence based on linguistic intuition.

Experimental Setup

The model was evaluated on two distinct corpora to test its versatility:

  • MPQA: A small, manually annotated, and unbalanced dataset.
  • EPOS: A larger, balanced dataset generated automatically via paraphrase-driven modal sense projection.

Key Results

The experimental results demonstrate that the modal-specific exponential weighting (+WE$_{ex'}$) consistently outperforms baseline methods and previous state-of-the-art systems.

Accuracy results on the MPQA dataset across different models and modal verbs.

On the MPQA dataset (Figure 1), the proposed method achieved a statistically significant accuracy of 70.1% for the verb "can," a notable improvement over the 63.5% achieved by shallow features alone. The model also showed strong performance across other modals, often matching or exceeding the Most Frequent Sense (MFS) baseline.

Accuracy results on the EPOS dataset, demonstrating consistency across larger synthetic data.

The robustness of the approach is further evidenced by the results on the EPOS dataset (Figure 2). Here, the +WE$_{ex'}$ model consistently surpassed previous benchmark systems (referred to as RR and ZH in the literature), proving effective even on larger-scale synthetic data.

Discussion and Insights

The primary takeaway is that not all context words are equally informative for modality. By mathematically prioritizing the subject and the modified verb, the model captures the semantic core of the sentence. For example, if the verb is "jump," can likely indicates ability; if the subject is "it" and the verb is "rain," can likely indicates possibility.

Furthermore, the study shows that simplicity can be powerful. Enriching a standard SVM with task-specific embeddings allows for state-of-the-art results without the computational overhead or interpretability challenges of massive neural architectures.

Limitations and Future Work

The current approach depends on the accuracy of dependency parsing to identify subjects and main verbs; errors in parsing can propagate to the classifier. Future research could investigate the application of this weighting logic to a broader set of auxiliary verbs and other languages. Additionally, testing how these weighting schemes interact with contextualized embeddings like BERT remains a promising next step.

Summary updated

BibTeX
@inproceedings{li2019modal,
  author = {Bo Li and Mathieu Dehouck and Pascal Denis},
  title = {{Modal sense classification with task-specific context embeddings}},
  booktitle = {ESANN},
  year = {2019},
}
Figure