Integrating Structured Metadata with Relational Affinity Propagation

Anon Plangprasopchok, Kristina Lerman, Lise Getoor

Abstract

User-generated metadata on the Social Web often exists as fragmented, shallow hierarchies or "saplings." Aggregating these into a cohesive global taxonomy is difficult due to noise and structural inconsistencies. This paper presents Relational Affinity Propagation (RAP), an extension of the Affinity Propagation algorithm that incorporates structural constraints—specifically a single-parent requirement—into the message-passing process. By optimizing for a valid tree structure, RAP effectively disambiguates polysemous terms and merges fragmented metadata into deep, consistent taxonomies, outperforming standard clustering methods in both similarity and structural quality.

Introduction: The Challenge of Folksonomy Learning

On platforms like Flickr, users organize content into personal, shallow hierarchies. While rich in information, these "saplings" are idiosyncratic and often conflict when merged naively. A simple name-based merge often results in "ill-structured" graphs with loops or nodes having multiple parents, violating the properties of a clean taxonomy. For example, if "Bird" is placed under "Pet" by one user and "Wildlife" by another, a naive merge creates a multi-parent conflict.

Comparison between a clean taxonomy (a) and fragmented user 'saplings' (b).

The authors seek to solve this "folksonomy learning" problem by finding the best "exemplar" structures that represent how a community collectively organizes knowledge, transforming fragmented data into deep, consistent trees.

Methods: Relational Affinity Propagation

RAP builds on Affinity Propagation (AP), a clustering algorithm where data points "vote" for exemplars by passing messages. The core innovation is the introduction of a "single parent constraint" within a factor graph framework.

This constraint prevents the algorithm from merging nodes if the result would violate the tree property (i.e., a cluster having more than one parent cluster). The authors derive new message update rules (such as $\rho, \beta, \sigma, \tau$) that account for these structural dependencies. Unlike standard clustering, which only groups similar items, RAP optimizes a global objective function to ensure the resulting clusters form a valid tree structure, effectively using the tree requirement as a form of regularization.

The RAP factor graph (a) and detailed message passing between nodes (b).

Evaluation and Key Insights

The researchers evaluated RAP using a toy animal dataset and a real-world Flickr dataset consisting of user-created "collections" and "sets" across 15 seed terms (e.g., africa, bird, mammal, craft, sport).

Structure as a Disambiguator

Enforcing a tree structure helps the algorithm discover different "senses" of a word. If "Bird" cannot have two parents, the algorithm is forced to decide whether a specific instance belongs to the "Pet" cluster or the "Wildlife" cluster, leading to a more accurate taxonomy. This prevents the "shattering" effect seen in standard AP, where noisy data is broken into many isolated singleton clusters.

Quantitative Results

To quantify quality, the authors introduced the Area Under Tree (AUT) metric, which rewards hierarchies that are both deep and well-branched. RAP consistently produced deeper and denser trees (higher AUT scores) compared to the baseline. Furthermore, across all 15 Flickr seed sets, RAP achieved significantly higher net similarity scores, indicating that the resulting clusters were more cohesive and better represented the underlying data.

Limitations and Future Work

While RAP is effective for inducing trees, many real-world knowledge structures are Directed Acyclic Graphs (DAGs). Future work could modify the structural constraints to support these more complex graph types. Additionally, the current model relies on simple similarity functions based on tag overlap; incorporating more sophisticated relational clustering features could further improve performance. Finally, the complexity of the additional message passing may require optimization for extremely large-scale datasets.

Summary updated

Abstract

Structured and semi-structured data describing entities, taxonomies and ontologies appears in many domains. There is a huge interest in integrating structured information from multiple sources; however integrating structured data to infer complex common structures is a difficult task because the integration must aggregate similar structures while avoiding structural inconsistencies that may appear when the data is combined. In this work, we study the integration of structured social metadata: shallow personal hierarchies specified by many individual users on the SocialWeb, and focus on inferring a collection of integrated, consistent taxonomies. We frame this task as an optimization problem with structural constraints. We propose a new inference algorithm, which we refer to as Relational Affinity Propagation (RAP) that extends affinity propagation (Frey and Dueck 2007) by introducing structural constraints. We validate the approach on a real-world social media dataset, collected from the photosharing website Flickr. Our empirical results show that our proposed approach is able to construct deeper and denser structures compared to an approach using only the standard affinity propagation algorithm.
BibTeX
@inproceedings{plangprasopchok2010integrating,
  author = {Anon Plangprasopchok and Kristina Lerman and Lise Getoor},
  title = {{Integrating Structured Metadata with Relational Affinity Propagation}},
  booktitle = {Statistical Relational Artificial Intelligence},
  year = {2010},
  url = {https://openreview.net/forum?id=SyEGc0xObB},
}
Figure