BART: A modular toolkit for coreference resolution

Yannick Versley, Simone Paolo Ponzetto, Massimo Poesio, Vladimir Eidelman, Alan Jern, Jason Smith, Xiaofeng Yang, Alessandro Moschitti

Introduction

BART (Beautiful Anaphora Resolution Toolkit) is a highly modular, open-source framework designed to bridge the gap between raw text and semantic interpretation. By providing a flexible pipeline for preprocessing, feature extraction, and machine learning, it lowers the barrier for researchers to experiment with specific components of the coreference problem without rebuilding an entire system from scratch.

The Coreference Challenge

Coreference resolution—the task of determining which noun phrases in a text refer to the same real-world entity—is notoriously difficult to implement. A full system requires a massive engineering stack, including part-of-speech tagging, syntactic parsing, named entity recognition, and complex machine learning classifiers.

Before BART, researchers often faced a "build-or-buy" dilemma: they either had to use rigid, "black-box" tools that were difficult to customize or spend months building a custom pipeline just to test a single new linguistic feature. BART was created to provide a "middle way": a modular "off-the-shelf" toolkit where components can be swapped or extended easily.

Modular Architecture

BART’s architecture is built on a "separation of concerns" philosophy, divided into five main stages that allow for maximum flexibility.

BART's modular pipeline from raw text to coreference chains.
  1. Preprocessing: Converts raw text into "markables" (potential entities). It supports multiple pipelines, from simple chunking (using Stanford POS and YamCha) to deep parsing (using Charniak & Johnson or Berkeley parsers).
  2. Mention Factory: Converts preprocessing results into rich "Mention" objects that store properties like number, gender, and entity type.
  3. Feature Extraction: This is the heart of the system's flexibility. Users define features in an XML file. BART supports standard features, syntactic features (using tree kernels to represent the relationship between anaphor and antecedent), and knowledge-based features (e.g., data pulled from Wikipedia).
  4. Learning/Decoding: A generic abstraction layer that maps internal representations to various ML toolkits, including WEKA, SVMLight (for tree kernels), and a built-in Maximum Entropy classifier.
  5. Output/Analysis: Results are stored in a standoff format (MMAX2), allowing for visual error analysis and "diffing" between different system configurations.

Evaluation and Results

The authors evaluated BART on several classic coreference benchmarks, including MUC-6, MUC-7, and the ACE-2 corpus (Broadcast News, Newspaper, and Newswire subsets).

Performance comparison on ACE-2 datasets showing the impact of extended features.

BART proved to be highly competitive with existing baselines of the era:

  • Baseline Performance: Using the classic "Soon et al." feature set, BART achieved a 65.8% F-measure on MUC-6 and 62.9% on MUC-7, outperforming other available tools like JAVARAP.
  • State-of-the-Art on ACE-2: With its "extended feature set"—which includes Wikipedia knowledge and tree kernels—BART reached state-of-the-art performance across all ACE-2 domains. As shown in the results table, it notably achieved an F-measure of 0.658 on Newspaper text (NPaper).
  • Pronoun Resolution: The system showed particular strength in pronouns, achieving 73.4% recall, rivaling specialized systems dedicated solely to pronoun resolution.

Key Insights

  • Modularity as a Research Accelerator: By using an XML-based configuration for features, researchers can prototype new ideas by simply editing a text file rather than rewriting Java code.
  • Syntactic Tree Kernels: BART was one of the early toolkits to make tree kernels accessible. Instead of manually flattening a syntax tree into a list of features, the system can pass the tree structure directly to the classifier to learn spatial relationships between words.
  • Knowledge Integration: The paper demonstrates that "shallow" features like string matching are insufficient. By integrating semantic information from Wikipedia, BART achieved significant performance gains.

Conclusion

While BART provides a robust framework, coreference resolution still struggles with "global coherence." Most systems look at pairs of mentions in isolation; future iterations should focus on algorithms that analyze the entire "coreference chain" to ensure narrative consistency. Additionally, while primarily tested on English, the toolkit's modular nature makes it a prime candidate for adaptation to other languages.

Summary updated

BibTeX
@inproceedings{versley2008bart,
  author = {Yannick Versley and Simone Paolo Ponzetto and Massimo Poesio and Vladimir Eidelman and Alan Jern and Jason Smith and Xiaofeng Yang and Alessandro Moschitti},
  title = {{BART: A modular toolkit for coreference resolution}},
  booktitle = {LREC},
  year = {2008},
}
Figure