Retrieving the most relevant XML Components

Yosi Mass, Matan MandelbrodINEX 2003

Abstract

This paper presents an adaptation of the classic Vector Space Model (VSM) for XML retrieval, addressing the challenge of identifying relevant document fragments rather than entire files. The proposed system, JuruXML, utilizes multi-level indexing across distinct XML tags and a query-self-similarity normalization technique to ensure comparability across different structural granularities. Evaluated on the INEX 2003 dataset, JuruXML achieved top rankings in Content-Only tasks, demonstrating the effectiveness of structural awareness in modern search engines.

Introduction

In the early 2000s, information retrieval was largely document-centric. A search for a specific fact often resulted in a link to a lengthy document, requiring the user to manually search for the relevant section. The advent of XML introduced structural tags, enabling systems to theoretically return specific paragraphs or sections. However, traditional ranking algorithms like TF-IDF (Term Frequency-Inverse Document Frequency) struggle with nested XML structures. The "overlap" problem—where a keyword in a paragraph also counts toward its parent section—can distort rankings. This paper addresses how to accurately rank components of varying granularities against each other.

Methodology: The JuruXML System

The authors developed JuruXML based on three primary technical pillars:

  1. Multi-Level Indexing: Rather than a monolithic index, JuruXML employs six distinct indices based on common XML tags: article, section (sec), two levels of subsections (ss1, ss2), paragraphs (p/ip1), and abstracts.
  2. Parallel Querying and Normalization: Queries are dispatched to all six indices simultaneously. To make scores comparable across indices with different statistics, the authors used a normalization factor based on query-self-similarity. By calculating the score of the query against itself ($P(Q,Q)$) for each index and dividing results by this value, the scores become absolute and comparable.
  3. Result Clustering: To avoid redundant results (e.g., returning both a section and its constituent paragraphs), a post-processing algorithm builds a result tree. It uses specific thresholds to decide whether to retain a parent element, its children, or a single "star" child.

Experimental Setup

The study utilized the INEX 2003 testbed, the contemporary standard for XML retrieval evaluation. The collection consisted of approximately 12,000 scientific articles from the IEEE Computer Society, totaling roughly 500MB of richly marked-up XML with an average node depth of 6.9.

The INEX initiative provides the standard testbed for XML retrieval evaluation.

Evaluation focused on two task types:

  • Content-Only (CO): Keyword-based queries without structural hints.
  • Content-and-Structure (CAS): Queries specifying both content and the desired structural location.

Results and Discussion

JuruXML proved highly effective within the competitive INEX workshop environment. One specific run (CO-TDK) ranked first among all participants for Content-Only topics using the "Strict with Overlap" metric. The system achieved a Precision at 5 (P@5) of 0.42, indicating that nearly half of the top five results were highly relevant.

Overview of participating organizations and their submission statistics for the INEX evaluation.

Interestingly, the clustering algorithm intended to reduce redundancy actually lowered official scores. This highlighted a discrepancy in the INEX metrics of the time, which did not penalize redundant results, meaning "cleaning" the list for the user's benefit negatively impacted measured performance.

Conclusion

The research demonstrates that standard VSM-based engines can be successfully adapted for XML-aware retrieval through clever pre-processing (indexing) and post-processing (normalization and clustering). While the multi-index approach increases storage overhead and computational load, the normalization via $P(Q,Q)$ provides a robust solution to the "apples-to-oranges" comparison of different document granularities. Future work will focus on improving runtime efficiency and developing evaluation metrics that better reward non-redundant result sets.

Summary updated

BibTeX
@inproceedings{mass2003retrieving,
  author = {Yosi Mass and Matan Mandelbrod},
  title = {{Retrieving the most relevant XML Components}},
  booktitle = {INEX},
  year = {2003},
  url = {https://openreview.net/forum?id=LO5DDgx0QI},
}
Figure