Abstract
Semantics and pragmatics are two complimentary and intertwined aspects of meaning in language. The former is concerned with the literal (context-free) meaning of words and sentences, the latter focuses on the intended meaning, one that is context-dependent. While NLP research has focused in the past mostly on semantics, the goal of this thesis is to develop computational models that leverage this pragmatic knowledge in language that is crucial to performing many NLP tasks correctly. In this proposal, we begin by reviewing the current progress in this thesis, namely, on the tasks of definiteness prediction and adverbial presupposition triggering. Then we discuss the proposed research for the remainder of the thesis which builds on this progress towards the goal of building better and more pragmatically-aware natural language generation and understanding systems.
Introduction
In the last decade, Natural Language Processing (NLP) has seen significant breakthroughs driven by semantic representations such as Word2vec and GloVe. These models excel at capturing the literal, context-free meanings of words. However, human communication is rarely purely literal; it relies heavily on pragmatics—the layer of meaning that depends on context, shared knowledge, and intent.
A central challenge in modern AI is "reading between the lines." For instance, the sentence "John came to the party again" carries the presupposition that John has attended a party previously. While humans grasp this instantly, current AI systems often struggle with these nuances, leading to robotic generation and a failure to understand discourse-level implications. This research aims to elevate pragmatics to a "first-class citizen" in NLP by developing neural architectures capable of modeling definiteness and presupposition.
Methodology
The investigation focuses on two primary computational tasks designed to test pragmatic understanding:
1. Definiteness Prediction
Determining whether a noun requires a definite article ("the"), an indefinite article ("a/an"), or no article at all is a classic pragmatic problem. This research employs a Long Short-Term Memory (LSTM) network equipped with an attention mechanism. Unlike traditional models that rely on hand-crafted linguistic features, this approach utilizes an extended context window, allowing the model to learn patterns of coreference and synonymy directly from the data.
2. Adverbial Presupposition Triggering
To detect the appropriate use of adverbs such as again, also, still, too, and yet, the study introduces a weighted pooling attention mechanism. This self-attention variant allows the model to inform its hidden states based on the input sequence itself. This mechanism is particularly effective at identifying recurring events or similar entities within a discourse without the computational overhead of more complex architectures.
Data and Benchmarking
The models were evaluated using several standard corpora alongside new data collection efforts:
- WSJ/PTB Corpus: Utilized for the definiteness prediction task.
- English Gigaword: Used for training and evaluating adverbial presupposition models.
- New Pragmatics Corpus: To address the lack of specialized data, a new dataset is being developed via Amazon Mechanical Turk. This corpus focuses on presuppositional effects, requiring human workers to explain "hidden" meanings and complete entailment tasks (e.g., "If John went again, is it true he went before?").
Results and Discussion
The experimental results demonstrate that neural models can effectively capture pragmatic cues when provided with sufficient context.
- Definiteness: The LSTM-based model achieved 96.63% accuracy on the WSJ/PTB corpus, representing a 51% relative error reduction over previous state-of-the-art models that relied on ten types of hand-engineered features. This suggests that LSTMs can act as "reasoners," resolving article usage by identifying coreference and semantic similarity.
- Presupposition: The weighted pooling attention model outperformed standard RNN and CNN baselines, achieving 82.42% accuracy in predicting the adverb "also" on the Gigaword dataset.
A significant insight from this work is the critique of current Question Answering (QA) benchmarks like SQuAD. These benchmarks often focus on information explicitly stated in the text. To achieve true "General AI," we must move toward QA tasks that require pragmatic inference—answering questions based on what is implied rather than what is literal.
Conclusion and Future Work
Pragmatics serves as the "glue" of natural language. By integrating pragmatic awareness into NLP, we can move toward systems that are more coherent and human-like. Future research will focus on:
- Summarization: Using pragmatic models to ensure generated summaries maintain discourse coherence.
- Pragmatic QA: Developing reading comprehension systems that can infer implicit information.
- Multi-task Learning: Leveraging presupposition "explanations" to improve discourse parsing and segmentation.
By addressing the limitations of current datasets and benchmarks, this research paves the way for a more nuanced and context-aware generation of AI language systems.
Summary updated