Abstract
Traditional Semantic Role Labeling (SRL) often relies on complex, expert-defined schemas that are difficult for non-experts to interpret and expensive to annotate. This paper introduces QASem, a unified framework that reframes semantic parsing as a text-to-text generation task. By leveraging the T5 language model, the researchers translate complex linguistic relations into intuitive natural language question-answer (QA) pairs. The approach achieves state-of-the-art results across verbal, nominal, and discourse-based semantics, providing a robust and accessible alternative to traditional formalisms.
Introduction
The core challenge of semantic parsing is identifying "who did what to whom, when, and where" within a sentence. While frameworks like PropBank provide high-quality structural data, they require significant linguistic expertise. Conversely, Open Information Extraction (OpenIE) is more accessible but often lacks consistency and depth.
QA-based representations have emerged as a compelling middle ground, representing meaning through natural language questions and their corresponding answers. However, prior efforts in this space were fragmented, treating verbs, nouns, and discourse relations as separate tasks requiring distinct, multi-step software pipelines. QASem unifies these tasks into a single, streamlined sequence-to-sequence (seq2seq) model.
Methodology: The Text-to-Text Approach
The researchers moved away from task-specific classifiers in favor of a unified T5 (Text-to-Text Transfer Transformer) model. In this framework, semantic parsing is treated as a translation task: the model receives a sentence and a target predicate as input and generates a linearized string of QA pairs as output.
Linearization Strategies
Because a single predicate can involve multiple arguments (and thus multiple QA pairs), the order in which these pairs are generated is critical. The authors evaluated several strategies for "flattening" these sets into a sequence:
- Role-Order: Sorting pairs by the "WH-word" (e.g., Who, What, Where).
- Answer-Order: Sorting pairs based on the appearance of the answer in the original sentence.
- Random-Order: Generating pairs without a fixed sequence.
Experimental results indicated that Answer-Order and Role-Order consistently outperformed random ordering, suggesting that the model benefits from following the natural flow of the sentence or a conceptual hierarchy.
Joint Learning and Data Augmentation
A key innovation of QASem is the use of joint training. By training a single model on both verbal (QA-SRL) and nominal (QANom) predicates, the model can transfer linguistic knowledge from data-rich verbal tasks to data-scarce nominal tasks. To ensure the model remained robust to different question structures, the researchers also employed data augmentation, training on multiple permutations of the QA sets.
Datasets
The QASem suite integrates three primary datasets, now unified into a single format available via Hugging Face:
- QA-SRL (2018/2020): Covers verbal predicates (e.g., "recovering").
- QANom (2020): Addresses nominalizations—nouns that function like verbs (e.g., "confrontation").
- QADiscourse (2020): Maps relations between entire propositions (e.g., "Since when...").
Key Results
The T5-based QASem model demonstrated a significant leap in performance over previous pipeline-based architectures. As shown in the comparative analysis, the model improved the Labeled Argument F1 score—a metric requiring the correct identification of both the question and the answer—by over 25% compared to the previous state-of-the-art (Fitzgerald et al., 2018).
Beyond raw scores, the model exhibited remarkable robustness and validity. When tested on out-of-domain data (e.g., moving from Wikipedia to scientific or news texts), the performance drop was negligible (0.7 to 3.0 F1 points). Furthermore, 98.8% of the generated outputs adhered strictly to the required QA-SRL templates, highlighting the reliability of the generative approach.
Conclusion and Future Work
QASem demonstrates that treating semantic parsing as a text-to-text generation task is not only feasible but superior to traditional multi-stage pipelines. By unifying disparate semantic tasks, the framework provides a more holistic view of sentence meaning.
Future iterations of QASem aim to expand coverage to adjectival predicates and other noun modifiers. Additionally, the researchers plan to move toward sentence-level modeling, enabling the generation of all QA pairs for an entire sentence in a single pass, rather than processing predicates individually. This would further improve computational efficiency and potentially capture even deeper inter-predicate dependencies.
Summary updated