Introduction
Transfer learning and multi-task learning are essential techniques for improving model performance on data-scarce tasks by leveraging information from related, data-rich sources. In topic modeling, the Hierarchical Dirichlet Process (HDP) has been the standard for sharing information across document collections. However, HDP suffers from a "rich-get-richer" bias, where the most frequent topics are the most likely to be shared. This often leads to the neglect of niche, low-frequency topics that may be critical for specific transfer learning scenarios.
To address this, we present a Sparse Nonparametric Topic Model that decouples a topic's prevalence from its probability of being shared across tasks.
Methodology
The core of the proposed model is the replacement of the HDP's stick-breaking construction with an Indian Buffet Process (IBP). The IBP generates a binary matrix that acts as a set of "switches," determining which topics are active for each specific task independently of their overall frequency.
Key technical features include:
- Spike-and-Slab Prior: Topic activity is modeled such that a topic is either "off" (spike at zero) or "on" with a strength drawn from a Gamma distribution (the slab).
- Secondary Sparsity Masking: An additional Bernoulli masking step is incorporated to prune inactive topics within tasks, preventing overfitting in extremely small datasets.
- Hybrid Inference: Parameter estimation is performed using a combination of collapsed Gibbs sampling and the Metropolis-Hastings algorithm.
Experimental Evaluation
The model was evaluated against the multi-task HDP (MT-HDPLDA) and single-task learning using two distinct setups: a simulated domain continuum and real-world NIPS conference papers.
Simulated Continuum
A synthetic dataset was created to control the degree of topic sharing and strength. The results demonstrate that the sparse IBP model is particularly effective in "intermediate" domains where shared topics are not necessarily the most dominant ones.
NIPS Research Sub-fields
Using NIPS articles from 1987 to 1999, the model's ability to transfer knowledge between research sections (e.g., "Algorithms and Architecture") was tested. The advantage of the proposed model is most pronounced when the target task has very few training documents (5–20), as shown in the performance plots.
Key Insights and Discussion
The primary contribution of this work is the decoupling of "sharing" and "strength." By allowing rare topics to be shared as easily as common ones, the model becomes significantly more robust for niche transfer learning. The secondary sparsity layer proved vital for maintaining performance on small datasets where standard IBP might otherwise overfit.
While the model shows superior performance in low-data regimes, its reliance on MCMC-based inference presents challenges for scaling to massive datasets. Future research could investigate variational inference techniques to improve computational efficiency and explore the model's sensitivity to its various hyperparameters.
Summary updated