GIANT: Scalable Creation of a Web-scale Ontology

Bang Liu, Weidong Guo, Di Niu, Jinwen Luo, Chaoyue Wang, Zhen Wen, Yu Xu

TL;DR

GIANT is a scalable framework for building a "user-centered" Attention Ontology by mining massive search click graphs and web documents. Unlike traditional encyclopedic knowledge bases, GIANT captures the informal language and evolving interests of real users, significantly improving click-through rates (CTR) in production recommendation systems at Tencent.

What Problem Does This Paper Address?

Most existing ontologies and knowledge bases (like DBPedia or YAGO) are "author-centric"—they are built from structured sources like Wikipedia. While excellent for factual data, they often fail to capture the "language of the people"—the specific, fine-grained concepts and events that online users actually care about (e.g., "top-5 family-friendly restaurants" or "economy cars").

Standard recommendation engines rely heavily on keyword matching, which leads to two major issues:

  1. Inaccuracy: If a user reads about "Theresa May’s resignation," a keyword-based system might just show more articles about Theresa May, missing the broader user interest in "Brexit negotiations."
  2. Monotony: Users get trapped in "filter bubbles" where they are recommended the same entities repeatedly because the system cannot extrapolate to related concepts or higher-level topics.

Methods

The authors introduce GIANT, which constructs an Attention Ontology (AO) consisting of five node types (Category, Concept, Entity, Topic, Event) and three relationship types (isA, involve, correlate).

The technical core is a novel model called GCTSP-Net (Graph Convolution Traveling Salesman Problem Network):

  • Query-Title Interaction Graph (QTIG): Instead of treating text as a simple sequence, GIANT builds a graph where nodes are tokens from search queries and document titles. Edges represent sequential order and syntactical dependencies.
  • Node Classification (R-GCN): It uses Relational Graph Convolutional Networks to learn which tokens in the graph belong to a target "attention phrase" (a concept or event).
  • ATSP-Decoding: To turn the predicted tokens back into a coherent phrase, the model treats the ordering process as an Asymmetric Traveling Salesman Problem. It finds the shortest path through the predicted tokens to form a natural language phrase, effectively handling cases where tokens are non-consecutive in the original text.
  • Automated Linking: To build the hierarchy, the system uses "pattern-phrase duality" and bootstrapping to identify relationships (e.g., "Honda Civic" isA "Economy Car") with minimal manual labeling.

Datasets

The researchers evaluated GIANT using:

  • Tencent Search Click Logs: A massive bipartite graph of queries and clicked documents from over a billion users.
  • Concept Mining Dataset (CMD): 10,000 manually labeled examples for concept extraction.
  • Event Mining Dataset (EMD): 10,668 examples for event extraction, including triggers and locations.
  • Production Data: The system was deployed on the Tencent QQ Browser (110M+ Daily Active Users).

Key Insights and Ideas

  • The Click Graph is a Goldmine: By looking at what documents users click after a specific query, the system can bridge the gap between informal search terms and formal document content.
  • Phrase Mining as a Graph Problem: Treating phrase extraction as a combination of graph convolution and a routing problem (TSP) allows the model to be much more robust to the "jumbled" and noisy nature of search queries compared to standard sequence-to-sequence models.
  • Semantic Granularity Matters: The AO allows recommenders to "zoom out." If a user is interested in a specific smartphone, the system can recognize it belongs to the "cellphone launch events" topic and recommend related news that doesn't necessarily share the same keywords.

Key Results

  • Scale: The Attention Ontology grew to approximately 2 million nodes, including 460k concepts and 86k events.
  • Accuracy: Human evaluation showed that the identified relationships (isA, involve, correlate) had an accuracy of over 95%.
  • Model Performance: GCTSP-Net significantly outperformed baselines like TextRank, AutoPhrase, and LSTM-CRF. For concept mining, it achieved an F1 score of 0.9576, compared to 0.8828 for the best LSTM-based baseline.
  • Real-world Impact: In online A/B testing on the QQ Browser, the Attention Ontology improved the average Click-Through Rate (CTR) from 12.47% to 13.02%. While a ~0.5% absolute increase might seem small, at the scale of 110 million users, this represents a massive increase in engagement.

Limitations and Future Work

  • Language Specificity: While the authors claim the techniques are adaptable, the current implementation and evaluation are focused on Chinese datasets.
  • Inference Noise: The authors noted that using relationships to infer user interest (e.g., generalizing from an entity to a concept) can sometimes introduce noise, leading to slightly lower CTRs for concept tags compared to specific entity tags.
  • Dynamic Updates: While the ontology grows daily, the paper does not deeply explore how to handle "concept drift" or the deprecation of outdated events in real-time.

Summary updated

BibTeX
@inproceedings{liu2020giant,
  author = {Bang Liu and Weidong Guo and Di Niu and Jinwen Luo and Chaoyue Wang and Zhen Wen and Yu Xu},
  title = {{GIANT: Scalable Creation of a Web-scale Ontology}},
  booktitle = {SIGMOD},
  year = {2020},
  url = {https://openreview.net/forum?id=UfYjK3pyHE},
}

Loading related content...

Figure