Representation Learning via Variational Bayesian Networks

Oren Barkan, Avi Caciularu, Idan Rejwan, Ori Katz, Jonathan Weill, Itzik Malkiel, Noam Koenigstein

TL;DR

This paper introduces Variational Bayesian Networks (VBNs), a novel approach to learning representations for entities, especially those that are rare or have limited data (the "long-tail"). VBNs leverage hierarchical and explicit relational information, alongside co-occurrence data, and represent entities as probability densities to better handle uncertainty, outperforming existing methods across various tasks.

What Problem Does This Paper Address?

Many real-world datasets, particularly in areas like natural language processing, recommender systems, and medical informatics, suffer from a "long-tail" distribution. This means a vast majority of entities (words, items, diagnoses) appear very infrequently, leading to a scarcity of data for learning their representations. Traditional methods, which rely heavily on co-occurrence statistics, struggle with these rare entities, resulting in poor performance. This is often referred to as the "cold-start" problem in recommender systems. While some methods try to mitigate this by increasing dataset size or using post-processing techniques, they often fall short when data is inherently limited or when explicit relational information is available but not integrated during the learning process.

Methods

The core innovation is the Variational Bayesian Network (VBN). VBN addresses the long-tail problem through several key mechanisms:

  • Hierarchical Priors: VBN models entities within a hierarchical structure (like a taxonomy). This allows information to propagate from more frequent "parent" entities to rarer "child" entities, effectively borrowing strength from related, more data-rich entities.
  • Explicit Relational Modeling: Beyond co-occurrences, VBN explicitly incorporates other types of relationships between entities (e.g., antonyms, meronyms). This enforces structure and consistency in the learned representations, guiding them towards a more meaningful arrangement in the latent space.
  • Density-based Representations: Instead of representing entities as fixed vectors, VBN represents them as probability densities. This allows the model to explicitly capture and reason about uncertainty, which is crucial when dealing with scarce data.
  • Scalable Variational Bayes Optimization: The paper proposes a novel, scalable Variational Bayes (VB) optimization algorithm. This algorithm enables fast approximate Bayesian inference, making the VBN model computationally feasible for large datasets. It involves a clever use of variational approximations and analytical integration to overcome intractabilities.

Datasets

The paper evaluates VBN on a diverse set of datasets:

  • NLU (Natural Language Understanding): The SemCor dataset, annotated with hierarchical and explicit relations extracted from WordNet.
  • Recommender Systems: MovieLens 25M and Yahoo! Music datasets, which include user-item ratings and hierarchical information (genre → director → movie, artist → album → song).
  • Medical Informatics: The MIMIC-III dataset, containing patient diagnoses labeled with ICD9 codes and their hierarchical classification.

Key Insights and Ideas

  • Leveraging Side Information is Crucial for Long-Tail: The most significant insight is that explicitly modeling hierarchical and relational side information during the learning process, rather than as a post-processing step, leads to substantial improvements, especially for rare entities.
  • Bayesian Approach for Uncertainty: Representing entities as densities and employing a Bayesian framework inherently handles uncertainty, which is a direct benefit when data is scarce. This contrasts with point-estimate methods that can be overconfident.
  • Hierarchies as Information Bridges: The hierarchical priors act as powerful bridges, allowing knowledge learned from common entities to inform the representations of rare ones, effectively mitigating the cold-start problem.
  • Explicit Relations Enforce Meaningful Structure: Explicitly modeling relationships like antonymy or meronymy forces the latent representations to adhere to these semantic constraints, leading to more interpretable and accurate embeddings.

Key Results

  • Outperforms Baselines: VBN consistently outperforms existing methods (including Skip-Gram, Bayesian Skip-Gram, and their retrofitted versions) across NLU, recommendation, and medical inference tasks.
  • Superior Long-Tail Performance: The performance gap widens significantly on "rare" subsets of entities, demonstrating VBN's effectiveness in handling the long-tail. For instance, in inference tasks, VBN shows a substantial improvement in Hit-Rate@10% and MPR on rare catalogs.
  • Word Similarity Gains: VBN also achieves state-of-the-art results on word similarity tasks, outperforming even retrofitted models, highlighting the benefit of integrated relational learning.
  • Qualitative Examples: The paper provides compelling qualitative examples, showing VBN correctly identifying related movies for a rare movie and suggesting semantically relevant words for a rare lemma, even when direct co-occurrence data is absent.

Limitations and Future Work

  • Model Complexity: While the VB optimization is scalable, the VBN model itself is more complex than simpler embedding methods.
  • Future Work: The authors suggest expanding VBN to handle multimodal distributions (e.g., using Gaussian Mixture Models) and integrating deep neural networks to incorporate richer side information (like visual or audio signals) as priors. They also mention exploring extensions for arbitrary depth hierarchies and more complex relational structures.

Summary updated

BibTeX
@inproceedings{barkan2021representation,
  author = {Oren Barkan and Avi Caciularu and Idan Rejwan and Ori Katz and Jonathan Weill and Itzik Malkiel and Noam Koenigstein},
  title = {{Representation Learning via Variational Bayesian Networks}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  url = {https://openreview.net/forum?id=yxaRLorSHA},
}
Figure