TL;DR
This paper explores the feasibility of "refactoring" biomedical corpora – converting them to more standardized formats without altering their underlying semantic content. The authors demonstrate that this process is technically and economically viable, requiring a manageable amount of time and effort, and ultimately increasing the usability of valuable existing data for biomedical language processing.
What Problem Does This Paper Address?
Biomedical language processing (BLP) systems rely heavily on annotated corpora for training and evaluation. However, a significant portion of these valuable resources remain underutilized, often because they are distributed in idiosyncratic or non-standard formats. This lack of standardization hinders their adoption and comparison across different research groups. The authors hypothesize that "refactoring" – the process of changing a corpus's format while preserving its semantics – can overcome this barrier, making more data accessible and accelerating progress in BLP. They aim to test this hypothesis by refactoring a specific corpus and quantifying the effort and success rate.
Methods
The core of the refactoring process involved a semi-automatic pipeline. The authors used simple text processing techniques to automate most of the conversion, supplemented by manual validation and correction. The key steps included:
- Retrieving the original abstract: This involved mapping deprecated MEDLINE IDs to current PubMed IDs and fetching the corresponding abstracts.
- Locating the original source sentence: Due to alterations in the original corpus text (e.g., clause tokenization, case folding), direct string matching was insufficient. The system used a Dice coefficient to find the most similar sentence in the abstract, requiring manual verification and correction.
- Locating interaction type keywords and entities (proteins): Similar to sentence retrieval, string matching was unreliable for protein names due to variations in case, whitespace, and punctuation. Regular expressions were employed to find these elements, followed by manual validation of their spans and correctness.
- Producing output in new formats: The validated and corrected data was then programmatically converted into two target formats: WordFreak (a stand-off annotation format) and embedded XML (similar to GENIA's GPML). This conversion was facilitated by the Unstructured Information Management Architecture (UIMA) framework, designed for extensibility.
Datasets
The primary dataset used in this study was the Protein Design Group (PDG) corpus. This corpus is described as a "metadata corpus," meaning it contains information about specific substrings (protein interactions) but not direct mark-ups within the text itself. The refactored corpus, named the Protein Interaction Corpus (PICorpus), is made publicly available.
Key Insights and Ideas
- Format is a major bottleneck: The paper strongly reinforces the idea that corpus format is a significant determinant of usability and adoption in the biomedical NLP community.
- Refactoring is feasible and cost-effective: The study demonstrates that refactoring is not an insurmountable task. The time investment is manageable, and many of the programming components can be reused for future refactoring efforts.
- Semi-automation is key: A hybrid approach combining automated text processing with targeted human validation is crucial for efficient and accurate refactoring.
- Challenges are predictable: The paper identifies common challenges in refactoring, such as dealing with deprecated identifiers, altered text, and the absence of direct text annotations, providing a roadmap for future work.
- Standardization benefits the community: By making corpora available in widely accepted formats like WordFreak and embedded XML, the research community can more easily leverage existing data, saving resources and accelerating progress.
Key Results
The refactoring of the PDG corpus took approximately 3 person-weeks (122 hours and 25 minutes total). This comprised:
- Programming time: 102 hours (with significant potential for reuse).
- Manual validation and correction: 20 hours and 25 minutes.
Specific validation results highlighted:
- Sentence retrieval: 33% of corpus blocks required manual correction, with common issues including original text spanning multiple sentences or being derived from the publication title.
- Entity mapping: 43% of blocks required manual correction. This was often due to variations in protein names (e.g., "E2F-2" vs. "E2F") or errors in the original metadata.
- The refactored corpus is available in WordFreak and embedded XML formats, chosen for their popularity in the BLP community.
Limitations and Future Work
- Content Alteration: In a few instances, the authors had to alter the content of the corpus (e.g., removing erroneous metadata) to ensure consistency, which they acknowledge might slightly deviate from a strict definition of refactoring.
- Manual Curation Time: While the total time was manageable, the manual validation and correction steps were significant. The authors suggest that for future refactoring efforts, a "spot-check" approach on a fraction of the corpus might be sufficient to identify and correct systematic errors, rather than a full manual review of every block.
- Annotation Tool Integration: The authors note that curators found the plain text presentation of data difficult to read. They propose using annotation tools like Knowtator in future refactoring efforts to improve the curator experience.
- Representational Issues: The paper identifies challenges in representing entity spans and relationships, suggesting that developing clear annotation guidelines and potentially using more sophisticated annotation styles (like dependency-style information) could be future directions.
- Extensibility: The UIMA framework used for outputting the refactored data is designed for extensibility, allowing for new output formats or corpora to be integrated with relative ease.
Summary updated