Abstract
Several recent works have suggested representing semantic relations through questions and answers, decomposing textual information into separate interrogative natural language statements. In this paper, we consider three QA-based semantic tasks—QA-SRL, QANom, and QADiscourse—each targeting a specific type of predication. We propose a unified framework that regards these tasks as jointly providing a comprehensive representation of textual information. To achieve this, we investigate the application of sequence-to-sequence (seq2seq) pre-trained language models within the unique setup of semi-structured outputs consisting of unordered sets of question-answer pairs. We examine various input and output linearization strategies and assess the impact of multitask learning and data augmentation in the context of imbalanced training data. Our work culminates in the release of the first unified QASem parsing tool, offering an explicit, QA-based account of information units for downstream NLP applications.
Introduction: The Quest for Intuitive Semantics
Understanding "who did what to whom" remains a fundamental challenge in Natural Language Processing (NLP). Traditionally, this has been addressed through Semantic Role Labeling (SRL) or Abstract Meaning Representation (AMR). While powerful, these methods rely on rigid, expert-defined schemas that are difficult for non-linguists to interpret and expensive to annotate. Conversely, Open Information Extraction (Open-IE) offers simplicity but often lacks the depth and consistency required for complex reasoning.
Question-Answer (QA) based semantics has emerged as a compelling middle ground. By representing meaning through natural language questions (e.g., "Who was shot?" → "The suspect"), the representation becomes intuitive for humans while capturing deep semantic structures. However, previous efforts in this space were fragmented across different predicate types (verbs vs. nouns) and discourse relations. The QASem framework unifies these layers into a single, high-performing generative model.
The QASem Framework
QASem integrates three distinct semantic tasks into a unified parsing pipeline:
- QA-SRL (Verbal): Captures the arguments of verbal predicates (actions).
- QANom (Nominal): Captures the arguments of nominalizations (e.g., "the construction of the building").
- QADiscourse: Captures the relationships between propositions (e.g., "Why did an event happen?").
By treating these tasks as a single text-to-text generation problem, the model can leverage shared linguistic patterns across different parts of speech and relational structures.
Methodology: Parsing as Text-to-Text
The core of the QASem parser is the T5 (Text-to-Text Transfer Transformer) architecture. The researchers transformed the parsing task into a sequence generation problem where the model receives a sentence and a specific predicate, then generates a sequence of QA pairs.
Linearization and Predicate Signaling
Because a single sentence can contain multiple QA pairs, the order of generation is critical. The study compared two primary strategies:
- Answer-Order: QA pairs are ordered based on the appearance of the answer in the source text.
- Role-Order: QA pairs are ordered by the interrogative word (Who, What, Where, etc.).
Results indicated that Answer-Order significantly outperformed other strategies for verbal predicates, likely because it allows the model to "scan" the sentence from left to right, aligning with the natural autoregressive nature of the T5 decoder.
Multitask Learning and Augmentation
To address the data imbalance between the abundant verbal data (QA-SRL) and the scarcer nominal data (QANom), the researchers employed joint multitask learning. By up-sampling nominal data to a 1:1 ratio with verbal data, the model successfully transferred knowledge from verbs to nouns, improving performance on the latter without degrading the former.
Additionally, Permutation-based Augmentation was used to make the model robust to arbitrary output orders. While this had a neutral effect on data-rich tasks, it proved to be a vital "lifesaver" for the data-scarce nominal task, preventing the model from over-fitting to specific generation sequences.
Key Insights and Results
The transition from complex, multi-stage pipelines (classifier + generator + extractor) to a single-pass generative T5 model yielded substantial improvements:
- Significant Accuracy Gains: The unified model outperformed previous state-of-the-art systems by over 25% in Labeled Argument (LA) F1 score for both verbal and nominal tasks.
- Improved Question Quality: The model demonstrated a superior ability to generate grammatically and semantically precise questions, which is reflected in the high "Labeled" metric scores.
- Cross-Domain Robustness: The parser showed remarkable generalization. When trained on Wikipedia and tested on out-of-domain data like science textbooks, the performance drop was minimal (0.7 to 3.0 F1 points), suggesting the model learns a generalized "semantic grammar."
Conclusion and Future Work
The QASem parser represents a significant step toward making deep semantic analysis accessible and unified. By consolidating verbal, nominal, and discourse relations into a single generative framework, the authors provide a tool that is both more accurate and simpler to implement than its predecessors.
Despite these gains, challenges remain. The current generative approach lacks a built-in "confidence score," making it difficult to tune for specific precision/recall trade-offs in downstream applications. Furthermore, while the model covers verbs and nouns, future iterations aim to include adjectives and other modifiers to provide a truly exhaustive semantic account of text.
Summary updated