Linguistic representations in multi-task neural networks for ellipsis resolution

Ola Rønning, Daniel Hardt, Anders SøgaardBlackboxNLP @ EMNLP 2018

TL;DR

This paper investigates how multi-task neural networks learn linguistic knowledge for resolving "sluicing" (a type of ellipsis). By analyzing network behavior on specific data subsets and examining internal activations, the authors demonstrate that these networks implicitly learn sophisticated linguistic representations, outperforming traditional systems that rely on explicit linguistic features.

What Problem Does This Paper Address?

Sluicing is a linguistic phenomenon where a part of a question is omitted but understood from context (e.g., "If this is not practical, explain why"). Identifying the missing antecedent is crucial for understanding. Traditional approaches to this problem, like the Anand and Hardt (AH) system, heavily rely on syntactic parsing and hand-crafted linguistic features. Recently, multi-task neural networks (MTL) have achieved comparable or even better results without these explicit linguistic annotations. This raises a key question: what linguistic knowledge are these neural networks learning implicitly, and how do they achieve their performance? This paper aims to unpack this by probing the internal workings and performance of these MTL systems.

Methods

The authors compare two main types of systems: the traditional linguistic system (AH) and three neural network architectures (BI, KSG, RHS) introduced by Rønning et al. (2018). They employ two primary methods to understand the linguistic knowledge learned by the neural networks:

  1. Data Subsets Analysis: They create specific subsets of the data based on linguistic characteristics like adjacency of the antecedent, punctuation marking boundaries, discontinuity of the antecedent, and semantic coherence between the wh-phrase and the antecedent's main predicate. They then evaluate how each system performs on these subsets to reveal their sensitivity to these linguistic factors.
  2. Internal Representation Analysis: They examine the internal activations of the neural networks. This includes:
  3. Classifying Antecedent Types: Using final state activations to classify whether the correct antecedent is adjacent or non-adjacent to the sluice.
  4. Noticing the Sluice Word: Investigating if network activations can distinguish the sluice wh-word from other wh-words in the text.
  5. Remembering the Sluice Word: Measuring the distance between the sluice wh-word's embedding and the network's state activation when it encounters the antecedent, to see if the network "remembers" the sluice word.

Datasets

The paper uses a dataset based on news content, similar to that used by Anand and Hardt (2016) and Rønning et al. (2018). They also mention adapting from a news dataset to a dialogue dataset, highlighting the MTL systems' superior adaptability. No new datasets were introduced.

Key Insights and Ideas

  • Implicit Linguistic Knowledge is Powerful: The core finding is that MTL neural networks learn substantial linguistic knowledge implicitly, enabling them to perform on par with or better than systems explicitly engineered with linguistic features.
  • MTL Systems are Less Reliant on Adjacency: While all systems benefit from adjacent antecedents, the MTL systems (RHS, KSG) show a smaller performance drop on non-adjacent antecedents compared to the AH system, suggesting they are less dependent on simple positional cues.
  • Punctuation as a Boundary Signal: Punctuation tokens can help MTL networks identify antecedent boundaries, a capability they possess more strongly than the AH system, which relies on explicit syntactic parsing.
  • Discontinuity is Rare but Handled: While discontinuous antecedents are infrequent, the neural networks are not constrained by syntactic parsers and can potentially handle them better than AH.
  • Semantic Coherence is Implicitly Learned: The networks seem to implicitly capture semantic coherence between the wh-phrase and the antecedent's predicate, potentially through word embeddings, even without explicit PMI features.
  • Networks "Notice" and "Remember" Sluice Words: The analysis of activations shows that networks can distinguish sluice wh-words and retain information about them when processing the antecedent, indicating a form of memory crucial for resolution.

Key Results

  • Overall Performance: RHS (0.70 F1) and KSG (0.64 F1) outperform the baseline BI (0.54 F1) and are competitive with AH (0.67 F1) on the main sluice resolution task.
  • Adjacency: All systems perform better on adjacent antecedents. AH shows the largest difference (28.3%), while MTL systems show smaller but still significant differences (RHS: 19.2%, KSG: 13.9%).
  • Punctuation: For antecedents with punctuation on both left and right edges (LR), RHS and KSG show slight improvements, suggesting they leverage punctuation for boundary detection more than AH.
  • Discontinuity: The degree of token continuity is higher for MTL systems (RHS: 84.5%, KSG: 82.0%) compared to BI (78.4%), indicating implicit constituency knowledge.
  • Sluice Word Detection: Networks achieve high accuracy in classifying sluice wh-words (RHS: 78.0%, KSG: 80.2%, BI: 76.6%).
  • Sluice Word Memory: Networks show a significantly lower activation distance between the sluice wh-word and the antecedent's boundary, indicating they "remember" the sluice word better when processing the antecedent.

Limitations and Future Work

  • Punctuation Complexity: While punctuation helps, the pattern is not always clear, and the BI system surprisingly shows no benefit, suggesting other factors are at play.
  • Content Matching Ambiguity: The analysis of content matching (WHGOVNPMI) showed suggestive but not conclusive results, with word embedding comparisons potentially offering more insight than explicit PMI statistics.
  • Development Over Time: The authors suggest further investigation into how the memory of the sluice word develops over time within the network's computation.
  • Directionality: Differences in performance between forward and backward processing directions warrant further exploration.

Summary updated

BibTeX
@inproceedings{rnning2018linguistic,
  author = {Ola Rønning and Daniel Hardt and Anders Søgaard},
  title = {{Linguistic representations in multi-task neural networks for ellipsis resolution}},
  booktitle = {BlackboxNLP @ EMNLP},
  year = {2018},
  url = {https://openreview.net/forum?id=H1ZYLffd-B},
}
Figure