Abstract
Personalized tag recommendation in social bookmarking systems is a complex task due to the tripartite nature of folksonomies involving users, resources, and tags. This paper introduces a method to simplify this problem by transforming the data into a homogeneous graph of "posts" (user-resource pairs). By applying relational classification algorithms such as Weighted Average (WA) and Probabilistic Weighted Average (PWA), we achieve a fast, training-free recommendation system. Our evaluation on the BibSonomy dataset highlights the effectiveness of semi-supervised collective inference and the importance of prioritizing resource-based relationships.
Introduction
In social bookmarking systems like BibSonomy, users assign tags to resources, creating a "folksonomy." Recommending the right tags is difficult because it must be personalized; different users often use different vocabularies for the same item. While state-of-the-art methods typically use complex tensor factorization or PageRank on hypergraphs, these are often computationally expensive. This paper explores whether simplifying the ternary relationship into a standard graph can allow for the use of efficient relational classification algorithms.
Relation Engineering
The primary innovation of this work is "Relation Engineering." Instead of treating users and resources as separate entities, we define a post as a unique $(user, resource)$ pair. These posts serve as nodes in a homogeneous graph. Two posts are connected if they share the same user or the same resource.
As illustrated in Figure 4, the neighborhood of a post $(u_1, r_3)$ can be decomposed into relations based on the user ($u_1$) and the resource ($r_3$). The authors found that sharing a resource is generally a stronger signal for tag similarity than sharing a user. Consequently, they introduced a reward parameter to weight resource-based edges more heavily, significantly improving the model's F1-score.
Methodology
We propose two main algorithms for tag prediction:
- Weighted Average (WA*): A method that predicts tags for a post based on the tags of its neighbors in both the training and test sets using a one-shot estimation.
- Probabilistic Weighted Average (PWA*): A semi-supervised approach using relaxation labeling. This iterative process updates the probability of a tag for a post based on the current probabilities of its neighbors, allowing the model to learn from the unlabeled test data.
The strength of connections between posts is calculated using Cosine Similarity based on user-tag profiles. Finally, these models are combined into an ensemble using unweighted voting to enhance robustness.
Key Results
The models were evaluated on the BibSonomy dataset from the ECML PKDD Discovery Challenge 2009, which contains over 64,000 posts.
- Performance: The algorithms achieved an F1-score of approximately 0.34 on the challenge test set. While this was lower than the 0.45 achieved on internal holdout sets—likely due to concept drift—it remains a strong result for a training-free method.
- Efficiency: Because the methods rely on sparse local neighborhoods and do not require a lengthy offline training phase, prediction is extremely fast.
- Consistency: WA and PWA yielded very similar results, suggesting that local neighborhood information is highly informative even without extensive iteration.
Conclusion
By homogenizing tripartite folksonomy data into a graph of posts, we can leverage fast relational classification for personalized tag recommendation. Our results demonstrate the power of collective inference and the critical role of resource-based weighting. Future work will focus on incorporating content analysis and automating the weighting of different relation types.
Summary updated