[Paper Review] Neural Contract Element Extraction Revisited
This study revisits neural approaches for contract element extraction, demonstrating that LSTM-based encoders outperform dilated CNNs, Transformers, and BERT in this context. It further shows that domain-specific Word2Vec embeddings yield better results than generic GloVe embeddings, while POS tags, token shapes, and ELMo embeddings provide no performance gain, challenging prior assumptions in sequence labeling and highlighting the need for task-specific design in contract element extraction.
We investigate contract element extraction. We show that LSTM-based encoders perform better than dilated CNNs, Transformers, and BERT in this task. We also find that domain-specific WORD2VEC embeddings outperform generic pre-trained GLOVE embeddings. Morpho-syntactic features in the form of POS tag and token shape embeddings, as well as context-aware ELMO embeddings do not improve performance. Several of these observations contradict choices or findings of previous work on contract element extraction and generic sequence labeling tasks, indicating that contract element extraction requires careful task-specific choices. Analyzing the results of (i) plain TRANSFORMER-based and (ii) BERT-based models, we find that in the examined task, where the entities are highly context-sensitive, the lack of recurrency in TRANSFORMERs greatly affects their performance.
Motivation & Objective
- To re-evaluate neural architectures for contract element extraction in light of recent advances in sequence modeling.
- To assess the impact of different embedding types—specifically domain-specific Word2Vec versus generic GloVe—on performance.
- To investigate whether morpho-syntactic features (POS tags, token shapes) and contextual embeddings (ELMo) improve extraction accuracy.
- To understand why Transformer-based models underperform despite their success in other NLP tasks.
- To identify architectural and embedding choices that are truly beneficial for highly context-sensitive contract element extraction.
Proposed method
- Employed LSTM-based encoders as the primary sequence modeling architecture for contract element extraction.
- Trained domain-specific Word2Vec embeddings on contract-specific text corpora to capture legal terminology and structure.
- Compared performance against dilated CNNs, Transformers, and BERT using the same dataset and evaluation protocol.
- Incorporated POS tags, token shapes, and ELMo embeddings as additional features to assess their contribution.
- Conducted ablation studies to isolate the impact of each component on model performance.
- Analyzed attention patterns and sequence modeling behavior in Transformer and BERT-based models to explain performance differences.
Experimental results
Research questions
- RQ1Do LSTM-based models outperform attention-based models like Transformers and BERT in contract element extraction?
- RQ2Does training domain-specific Word2Vec embeddings lead to better performance than using generic pre-trained GloVe embeddings?
- RQ3Do morpho-syntactic features such as POS tags and token shapes improve extraction accuracy in contract text?
- RQ4Do contextual embeddings like ELMo provide a performance boost in this specific task?
- RQ5Why do Transformer-based models underperform in this context despite their success in other NLP tasks?
Key findings
- LSTM-based encoders significantly outperform dilated CNNs, Transformers, and BERT in contract element extraction, indicating that recurrence is beneficial for this task.
- Domain-specific Word2Vec embeddings achieve better performance than generic GloVe embeddings, suggesting that legal domain adaptation improves representation learning.
- Morpho-syntactic features such as POS tags and token shape embeddings do not improve model performance, contradicting findings in generic sequence labeling tasks.
- Contextual embeddings like ELMo also fail to improve performance, indicating limited utility in this specific context.
- The lack of recurrence in Transformers leads to degraded performance on highly context-sensitive contract elements, explaining their underperformance despite strong generalization in other settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.