TL;DR
This paper details XRCE's participation in the INEX 2009 Book Structure Task, focusing on automatically detecting Tables of Contents (ToCs) in historical documents. They propose a generic method based on intrinsic properties of ToCs, but face significant challenges with ground truth inconsistencies and evaluation metrics, leading to surprisingly poor results that highlight the difficulty of this task.
What Problem Does This Paper Address?
Extracting structural information from documents, particularly historical ones, is a challenging but crucial task for making them more accessible and searchable. One key structural element is the Table of Contents (ToC), which acts as a roadmap for the document. However, ToCs can vary wildly in format and content, especially in older documents, making it difficult to develop a robust, generic detection method. The INEX Book Structure Task aims to address this by evaluating systems that can automatically identify and extract ToCs from a collection of digitized books. XRCE's work tackles the problem of building a system that can reliably detect ToCs with minimal manual intervention or collection-specific tuning.
Methods
XRCE's approach to ToC detection is based on a set of five intrinsic functional properties that they hypothesize characterize any ToC, regardless of document class or language:
- Contiguity: ToC entries are sequential references.
- Textual Similarity: The ToC entry text is similar to the text of the section it refers to.
- Ordering: The order of entries in the ToC matches the order of the referenced sections.
- Optional Elements: ToC entries might contain decorative or non-referential text.
- No Self-Reference: ToC entries refer to external parts of the document, not the ToC itself.
The method involves three main steps:
- Link Generation: They first create links between text blocks that exhibit textual similarity (using Jaccard similarity of words). This step is computationally intensive.
- Candidate Enumeration: They then enumerate all possible ToC candidate areas by testing each text block as a potential start and extending it as long as it adheres to the five properties.
- Scoring and Ranking: A scoring function, based on the inverse of the number of outgoing links from an entry (assuming fewer links imply higher certainty), is used to rank candidates, and the highest-ranked one is selected.
Post-processing involves converting the detected ToC and body headings into the INEX format and extracting page numbers. They also experimented with different similarity measures (Jaccard vs. Dynamic Time Warping) and processing levels (paragraph vs. line).
Datasets
The paper evaluates their system on the INEX 2009 Book Track collection, which consists of historical documents. The specific details of the collection's size and composition are not explicitly detailed beyond its historical nature and variety of ToC formats.
Key Insights and Ideas
- The "Minimal Effort" Challenge: The authors aimed for a generic method with minimal tuning, but this proved to be a significant hurdle. The inherent variability of historical documents meant that assumptions about ToC structure (e.g., contiguous blocks, specific formatting) were often violated.
- Ground Truth is King (and Problematic): A major takeaway is the critical impact of ground truth quality on evaluation. Inconsistencies in how ToC entries and their corresponding sections were labeled (e.g., whether to include chapter numbers, where to point links) led to highly variable and often misleading evaluation results.
- Title Matching is a Bottleneck: The standard INEX evaluation metric heavily relies on accurate title matching. Errors in title extraction or variations in capitalization/minor wording between the ToC and the document body caused a disproportionate number of false negatives, masking the underlying link detection quality.
- "Hyperlink" Measure as a Proxy: To mitigate the title-matching issue, they introduced a "hyperlink" measure that ignores titles and focuses on the sequence of page numbers. This provided a more realistic assessment of navigation quality, though recall remained low.
- ToC vs. Other Tables: The system struggled to differentiate between Tables of Contents and other similar structures like Tables of Illustrations or Indexes, leading to significant performance degradation.
Key Results
The reported results for the primary run (Paragraph level, Jaccard similarity) were generally poor across all metrics (Precision, Recall, F-Measure) for Titles, Levels, Links, and Complete Entries. For instance, the F-Measure for "Complete entries" was only 9.62%.
When using the "hyperlink" measure (ignoring titles), the F-Measure improved significantly to 51% for Run 1, indicating that the link detection itself was more robust than the title matching suggested. However, recall remained low (40%).
Experiments with different similarity measures (DTW) and processing levels (line) did not yield substantial improvements, and in some cases, performance decreased.
Limitations and Future Work
- Ground Truth Inconsistencies: The authors explicitly state that the ground truth data suffered from coherence issues, making reliable evaluation difficult.
- Title Matching Sensitivity: The strict title matching in the evaluation metric significantly penalized their system.
- ToC vs. Other Tables: The system confused ToCs with Tables of Illustrations and Indexes.
- Segmentation Granularity: For some challenging ToCs, segmenting entries at a lower level than paragraphs was necessary, which their current method did not fully support.
Future work suggested includes:
- Case-Independent Matching: Implementing case-insensitive title matching.
- Link Quality Focus: Developing measures that prioritize link quality over exact title matching, perhaps using edit distance for titles as a secondary metric.
- Improved Title Matching: Designing a more robust and uniform method for title matching.
- Human Evaluation: Conducting human evaluations to provide a more nuanced perspective on system performance.
- Typing Found Tables: Leveraging the ability to find various tables (ToC, Illustrations, Indexes) to classify them more effectively.
Summary updated