Discovering typical structures of documents

Ke Wang, Huiqing Liu1998 · DOI

TL;DR

This paper introduces a novel approach to discover "typical" hierarchical structures within collections of semistructured documents, going beyond simple keyword analysis. By formalizing document structures as tree-expressions and developing an efficient algorithm, they enable better document browsing, querying, and organization, particularly for large, complex datasets like those found on the web.

What Problem Does This Paper Address?

The internet and digital libraries are awash with semistructured documents (HTML, XML, etc.). Unlike rigid database schemas, these documents have flexible structures, often with missing fields or variations. This irregularity makes it difficult for users to understand, navigate, and query these sources effectively, leading to the "lost-in-hyperspace" problem. Traditional text analysis often treats documents as mere bags of words, ignoring their inherent hierarchical and relational structure. The authors aim to bridge this gap by identifying common structural patterns ("typical structures") that represent the underlying organization of these documents, thereby providing a more intuitive way to interact with them.

Methods

The core of the paper is the development of an algorithm to discover "typical" tree-expressions representing document structures.

  • OEM Model: They adopt the Object Exchange Model (OEM) to represent semistructured documents, where documents are identified and have values that can be atomic, lists, or bags of subdocuments. This model naturally captures hierarchical relationships.
  • Tree-Expressions: Document structures are generalized into "tree-expressions." These are essentially tree-like representations of the labeled, ordered, and potentially cyclic references between subdocuments. The authors introduce a mechanism to handle cyclic references using aliases and a "weaker than" relation to compare tree-expressions.
  • Discovery Algorithm: The algorithm works in phases:
  • Phase I (Computing F₁): Identifies frequent 1-tree-expressions (path-expressions) by traversing root documents and counting occurrences of simple paths.
  • Phase II (Computing Fk): Iteratively builds frequent k-tree-expressions from frequent (k-1)-tree-expressions, using a candidate-trie to manage potential structures. This phase employs several pruning strategies (e.g., focusing on "natural" tree-expressions, avoiding "super-unnatural" ones) to manage the vast search space.
  • Phase III (Maximal Phase): Filters the discovered frequent tree-expressions to retain only those that are "maximally frequent," meaning they are not weaker than any other frequent tree-expression.
  • Wild-card Label: A key innovation is the use of a wild-card label ('?') that can match any label, allowing for more generalized and robust structure discovery.

Datasets

The primary dataset used for evaluation is a segment of the Internet Movies Database (IMDb), specifically focusing on the top 100 most voted movies. This dataset is organized into HTML document trees. The authors note that they have omitted details of efficiency experiments on larger collections due to space limitations.

Key Insights and Ideas

  • Structure is Key: The paper strongly advocates for leveraging the inherent hierarchical structure of semistructured documents, rather than treating them as flat collections of text.
  • "Typical" Structures as Roadmaps: Discovering common structures provides a "table of contents" or "roadmap" for users, enabling them to quickly grasp the essence of a document collection and navigate it more effectively.
  • Handling Complexity: The algorithm is designed to handle the complexities of semistructured data, including cyclic references, ordered and unordered subdocuments, and the need for generalization via wild-card labels.
  • Pruning is Crucial: The efficiency of the algorithm hinges on sophisticated pruning strategies to manage the combinatorial explosion of possible tree-structures. The distinction between "natural" and "unnatural" tree-expressions is a clever way to reduce the search space.
  • Maximality for Significance: Focusing on "maximally frequent" structures ensures that the discovered patterns are not just common but also represent the most specific and informative commonalities, avoiding redundancy.

Key Results

The paper demonstrates the effectiveness of their algorithm on the IMDb dataset. With a minimum support threshold (MINISUP) of 15%, they discovered three maximally frequent tree-expressions.

  • The first, with 22% support, revealed common structural patterns related to movie titles, release years, distributors, directors, and cast members, including details about actors' spouses and occupations.
  • Subsequent maximally frequent structures (17% and 16% support) showed variations, highlighting how different levels of generalization (e.g., using wild-cards for director/writer roles) can reveal slightly different but still significant commonalities.

The authors emphasize that these supports are "not very high" because they are for maximally frequent structures, implying that non-maximal structures would have higher supports.

Limitations and Future Work

  • Computational Complexity: While pruning strategies are employed, the paper acknowledges that searching the entire space of k-tree-expressions is "prohibitive." The efficiency for very large collections is mentioned as a subject of further experiments, with details omitted.
  • "Weaker Than" Testing: The paper mentions that testing the "weaker than" relation requires recursive matching within tree structures, and the details of this matching process are omitted.
  • Future Work: The authors suggest that discovered typical structures can be stored and retrieved for various applications, including general information retrieval, building structured layers for database access, and understanding user interests and browsing patterns. The paper focuses on the discovery problem itself, with applications being a natural extension.

Summary updated

Abstract

Article Discovering typical structures of documents: a road map approach Share on Authors: Ke Wang Department of Information Systems and Computer Science, National University of Singapore Department of Information Systems and Computer Science, National University of SingaporeView Profile , Huiqing Liu BioInformatics Center, National University of Singapore BioInformatics Center, National University of SingaporeView Profile Authors Info & Claims SIGIR '98: Proceedings of the 21st annual international ACM SIGIR conference on Research and development in information retrievalAugust 1998 Pages 146–154https://doi.org/10.1145/290941.290982Online:01 August 1998Publication History 82citation642DownloadsMetricsTotal Citations82Total Downloads642Last 12 Months9Last 6 weeks2 Get Citation AlertsNew Citation Alert added!This alert has been successfully added and will be sent to:You will be notified whenever a record that you have chosen has been cited.To manage your alert preferences, click on the button below.Manage my AlertsNew Citation Alert!Please log in to your account Save to BinderSave to BinderCreate a New BinderNameCancelCreateExport CitationPublisher SiteGet Access
BibTeX
@misc{wang1998discovering,
  author = {Ke Wang and Huiqing Liu},
  title = {{Discovering typical structures of documents}},
  year = {1998},
  doi = {10.1145/290941.290982},
}
Figure