Abstract
Chemical patents contain critical information for drug discovery, yet automated extraction is hindered by complex anaphora. We present a two-stage pipelined system developed for the ChEMU 2021 shared task. Our approach combines domain-specific BERT models with a Conditional Random Field (CRF) layer for mention extraction, followed by a relation classification module. By leveraging ensembling and rule-based post-processing, our system achieved a first-place ranking with a Strict F1 score of 0.785.
Introduction
Anaphora resolution in chemical patents involves identifying the antecedents of expressions such as "the mixture" or "it," which often refer to complex chemical entities or previous reaction steps. This task is essential for constructing accurate knowledge graphs from patent literature. However, the linguistic complexity of chemical nomenclature and the prevalence of long-distance dependencies make this a significant challenge for natural language processing.
Task Description and Dataset
The system was evaluated on the ChEMU 2021 shared task dataset, which focuses on five types of anaphoric dependencies:
- Coreference (CR): Identical entities (e.g., "NMP" and "N-methylpyrrolidone").
- Reaction Associated (RA): Relations between compounds and their sources.
- Transformed (TR): Entities undergoing physical changes while maintaining chemical identity.
- Work Up (WU): Compounds used in isolation or purification processes.
- Contained (CN): Relations between compounds and laboratory equipment.
Methodology
We employed a modular pipelined architecture consisting of two primary stages: Mention Extraction (ME) and Relation Classification (RC).
Mention Extraction
The ME stage identifies potential antecedents and anaphors using a BERT-CRF architecture. To accommodate the extreme length of some chemical names, we implemented a "LONG TOKEN" strategy. We ensembled five domain-specific models, including Clinical-BERT and Pubmed-BERT, using majority voting.
Relation Classification
Following mention identification, the RC stage evaluates pairs of mentions to classify their relationship into one of six categories (the five task-specific relations plus a "No Relation" class). This model utilizes mean-pooling over mention tokens and a linear classification layer. A key finding was that training on 100% of negative instances was vital to minimize over-prediction.
Post-Processing
To refine the output, we applied rule-based "sieves" to correct common boundary errors in mention spans, such as ensuring the inclusion of articles or the removal of trailing conjunctions.
Results
Our system ranked first in the ChEMU 2021 shared task. As shown in the performance analysis, domain-specific pre-training (e.g., Pubmed-BERT-Long) significantly outperformed general-purpose models. The addition of ensembling and post-processing further boosted performance, particularly in the Strict evaluation metric.
The system achieved a final Strict F1 of 0.785 and a Relaxed F1 of 0.872 on the official test set. Performance varied by relation type, with "Transformed" (TR) relations being the most accurately predicted (0.913 F1), while "Coreference" (CR) remained the most challenging (0.658 F1).
Conclusion
This work demonstrates that a well-designed pipeline, augmented by domain-specific pre-training and strategic post-processing, can effectively address the complexities of anaphora resolution in chemical patents. Future improvements may involve integrating event information and entity types to mitigate error propagation and improve long-distance coreference resolution.
Summary updated