Introduction
Monolingual word alignment (MWA) involves identifying semantically equivalent words or phrases between two sentences in the same language. This task is foundational for various natural language processing applications, including paraphrase generation, text simplification, and bias detection. However, traditional MWA models often struggle with phrase-level alignments—where semantic relationships are many-to-many—and have historically relied on small, noisy, or syntactically constrained datasets.
Methodology: Neural semi-Markov CRF
To address these challenges, we propose a Neural semi-Markov Conditional Random Field (CRF) model. Unlike standard token-level CRFs, a semi-Markov CRF segments input sentences into variable-length spans (up to length $D$) and labels these spans directly. This approach naturally captures multi-word expressions and non-linguistic phrases in context.
The model architecture consists of several key layers:
- Span Representation: We utilize SpanBERT to generate contextualized embeddings. Spans are represented by concatenating boundary token states with a self-attention vector over internal words.
- Span Interaction: A two-layer feed-forward network computes the semantic similarity between source and target spans.
- Markov Transition: This layer scores transitions based on relative distance, leveraging the observation that word alignments typically follow a roughly diagonal path.
- Bidirectional Training: The model is trained to align in both directions (source-to-target and vice versa), using the intersection of these predictions during inference to maximize precision.
The MultiMWA Benchmark
A significant contribution of this work is the introduction of the Multi-Genre Monolingual Word Alignment (MultiMWA) benchmark. MultiMWA is the largest and most diverse human-annotated dataset for this task, spanning four distinct genres: News (MTRef), Wikipedia (Wiki), News simplification (Newsela), and scientific writing (arXiv).
Compared to existing datasets like iSTS or MSR RTE, MultiMWA offers higher quality and greater scale, providing a more robust foundation for training and evaluating MWA systems.
Key Results and Insights
Our model achieves state-of-the-art performance, reaching over 90% F1 on the MultiMWA-MTRef dataset. It consistently outperforms previous models such as Jacana and Sultan et al., as well as competitive Question Answering (QA) baselines.
Key findings include:
- Span-based Advantages: Moving to span-level tagging eliminates the need for complex post-processing heuristics to handle many-to-many alignments.
- Impact of Pre-training: Using SpanBERT instead of standard BERT resulted in a 1.3 F1 point improvement, highlighting the importance of span-specific pre-training.
- Cross-Domain Generalizability: Models trained on news data (MTRef) generalize well to Wikipedia and scientific text, suggesting a domain-independent logic in human semantic alignment.
- Downstream Utility: Integrating our aligner into a text simplification model (EditNTS) improved the SARI score by 0.9 on Newsela and 0.6 on Wikipedia-auto, demonstrating the utility of high-quality alignment in practical applications.
Limitations and Future Work
Despite its success, the model faces certain limitations. Error analysis shows that 58.6% of errors relate to phrase boundary identification (e.g., misidentifying the exact extent of a multi-word phrase). Additionally, the current architecture assumes continuous spans, making it unable to handle "skip alignments" (e.g., "owes ... to"). Future research will explore architectures capable of representing non-contiguous spans and further refining phrase boundary detection.
Summary updated