[Paper Review] Interactive Bayesian Hierarchical Clustering
This paper proposes an interactive Bayesian hierarchical clustering method that integrates user-specified triplet constraints—such as (\{a,b\},c) indicating a and b should cluster together without c—into a Dirichlet diffusion tree (DDT) framework using Markov Chain Monte Carlo (MCMC) sampling. By actively selecting high-variance subtrees for user feedback, the algorithm efficiently converges to a target hierarchy, outperforming vanilla DDT and average linkage in data likelihood and triplet distance on real datasets like MNIST and Fisher Iris.
Clustering is a powerful tool in data analysis, but it is often difficult to find a grouping that aligns with a user's needs. To address this, several methods incorporate constraints obtained from users into clustering algorithms, but unfortunately do not apply to hierarchical clustering. We design an interactive Bayesian algorithm that incorporates user interaction into hierarchical clustering while still utilizing the geometry of the data by sampling a constrained posterior distribution over hierarchies. We also suggest several ways to intelligently query a user. The algorithm, along with the querying schemes, shows promising results on real data.
Motivation & Objective
- Address the challenge of unsupervised hierarchical clustering failing to align with user-specific grouping preferences.
- Overcome the limitation of existing constrained clustering methods, which are largely restricted to flat clustering and not hierarchical structures.
- Design a Bayesian framework that combines data geometry with incremental user feedback via triplet constraints to refine hierarchical tree structures.
- Develop intelligent querying strategies to minimize user effort while maximizing convergence speed to the desired hierarchy.
- Enable interactive, user-in-the-loop hierarchical clustering that balances data-driven structure with user intent through constrained posterior sampling.
Proposed method
- Adopt a Dirichlet diffusion tree (DDT) as the prior distribution over hierarchical clusterings, enabling nonparametric Bayesian inference over tree structures.
- Use a Metropolis-Hastings MCMC sampler to sample from the constrained posterior distribution over trees, incorporating user-provided triplet constraints (e.g., (\{a,b\},c)) as hard constraints.
- Introduce a tree-distance variance (TDV) metric to quantify structural ambiguity in sampled trees: $\text{TDV}(\mathcal{T},S) = \max_{u,v\in S} \mathrm{Var}_{T\in\mathcal{T}}[\texttt{treedist}_{T|_S}(u,v)]$, used to select informative subtrees for querying.
- Implement an active querying strategy that selects subsets $S$ of constant size (e.g., |S|=10) with the highest TDV to maximize information gain per user interaction.
- Combine active querying with random querying in an interleaved scheme to avoid local optima and accelerate convergence.
- Use a data likelihood acquisition function $a(t) = 1/(1-t)$ and estimate Brownian motion parameter $\sigma^2$ from data to guide MCMC exploration.
Experimental results
Research questions
- RQ1Can user-guided triplet constraints be effectively integrated into Bayesian hierarchical clustering to guide the learning of a target tree structure?
- RQ2How can the algorithm intelligently select which subtrees to present to the user to maximize information gain and minimize user effort?
- RQ3Does active subtree querying based on tree-distance variance lead to faster convergence than random or uniform querying strategies?
- RQ4To what extent do triplet constraints improve the convergence and data likelihood of MCMC samplers in hierarchical clustering?
- RQ5How does the performance of interactive Bayesian hierarchical clustering compare to baseline methods like vanilla DDT and average linkage on real-world datasets?
Key findings
- The interleaved querying strategy—alternating between random and high-variance subtrees—achieved faster convergence and lower triplet distance than random or active-only querying on MNIST and Fisher Iris.
- Active querying based on tree-distance variance significantly improved convergence speed, reducing the number of iterations needed to reach a high-quality tree.
- On MNIST and Fisher Iris, interactive methods achieved higher data likelihood than both the vanilla DDT and average linkage baseline, indicating better posterior approximation.
- The smart query (showing the full tree and identifying violated triplets) performed best in simulations, achieving the lowest error with minimal queries, though it is impractical for large trees.
- Data likelihood increased rapidly over time as the sampler learned from constraints, suggesting that triplet constraints help MCMC escape poor local optima.
- The algorithm successfully converged to the target hierarchy $T^*$ in all tested datasets, including 20 Newsgroups and Zoo, when constraints were properly incorporated.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.