HoT-VI: Reparameterizable Variational Inference for Capturing Instance-Level High-Order Correlations

Junxi Xiao, Qinliang Su, Zexin YuanNeurIPS 2025

TL;DR

HoT-VI (High-order Tree-structured Variational Inference) is a novel framework designed to capture complex, $k$-order dependencies between data instances in latent variable models. By utilizing a unique parameterization based on conditional correlations, HoT-VI ensures valid, positive-definite posterior distributions while maintaining the scalability required for large-scale time-series and graph datasets.

The Challenge with Standard Variational Inference

Variational Inference (VI) is a cornerstone of modern machine learning, widely used to approximate complex posterior distributions. However, its most common variant, mean-field VI, relies heavily on an "independence assumption"—treating every data point (or instance) as if it were entirely independent of the others.

In real-world applications, this assumption often falls short. In time-series data, today's state inherently depends on yesterday's; in social networks, individual behaviors are correlated with those of their peers. While some "structured VI" methods attempt to handle these dependencies, they are typically limited to first-order (pairwise) relationships or focus exclusively on correlations within a single data point's dimensions, rather than between different points. This leaves a significant gap: how can we efficiently model high-order relationships where a latent state might depend on a broad window of previous states or a complex neighborhood of nodes?

Introducing HoT-VI

To bridge this gap, the authors introduce HoT-VI, a method that explicitly models $k$-order instance-level correlations. The approach is built on three main pillars:

  1. Overlapping Local Marginals: Instead of attempting to parameterize a massive, computationally prohibitive $N \times N$ global correlation matrix, HoT-VI expresses the global posterior as a product of overlapping $k$-dimensional local marginals. This clever structural choice allows for highly efficient sequential sampling.
  2. Conditional Correlation Parameterization: A major hurdle in modeling correlations is ensuring the resulting matrix remains "positive definite" (a strict mathematical requirement for a valid Gaussian distribution). HoT-VI solves this by parameterizing the matrices using conditional correlations rather than raw correlation coefficients. This provides a theoretical guarantee that the method always produces valid distributions during optimization.
  3. Flexible Backbones: While sequential data naturally fits a "chain" structure, HoT-VI is extended to support tree-structured backbones. This flexibility allows the model to capture dependencies in more complex data types, such as graphs or hierarchical structures.
N instances with k-order dependency structure. The red and blue boxes illustrate the overlapping local marginals used to build the global posterior.

Key Insights

  • The "Order" Matters: A significant finding is that increasing the dependency order $k$ consistently leads to better posterior approximations (higher Evidence Lower Bound, or ELBO) and improved performance on downstream tasks. Moving from $k=1$ (pairwise) to $k=10$ provides a substantial performance boost.
  • Linear Scaling: Despite capturing complex high-order interactions, the computational cost of HoT-VI scales linearly with the order $k$. This makes it a highly practical choice for large datasets where computing a full covariance matrix would be impossible.
  • Guaranteed Validity: Thanks to the conditional correlation parameterization, the model can be trained via standard gradient descent without the risk of correlation matrices becoming mathematically invalid (non-positive definite) during the optimization process.

Empirical Results

The authors evaluated HoT-VI across three distinct tasks—time-series anomaly detection, multivariate time-series forecasting, and constrained clustering—using a wide array of benchmarks. HoT-VI consistently outperformed state-of-the-art baselines:

  • Anomaly Detection: On datasets like SMAP, MSL, and SMD, HoT-VI (particularly the 10-order variant) achieved significantly higher F1 scores and ELBO than popular VAE-based methods such as OmniAnomaly and SISVAE.
  • Forecasting: In multivariate forecasting tasks, HoT-VI outperformed specialized end-to-end models like Informer and DeepAR. For instance, on the ETTh1 dataset (horizon 24), HoT-VI reduced the Mean Squared Error (MSE) from 0.577 (Informer) to 0.363.
  • Clustering: The model also improved clustering accuracy on image and text datasets (MNIST, Reuters, etc.) by effectively capturing the relational structure between data points, outperforming previous structured VI methods like TreeVI.
Multivariate time series forecasting results. HoT-VI (10-order) consistently achieves the lowest MSE and MAE across different horizons and datasets.

Limitations and Future Work

The primary limitation of the current HoT-VI framework is that it requires a pre-specified backbone structure (such as a chain or a tree) to define which instances are correlated. While this is a natural fit for time-series data, it can be challenging to define for arbitrary, unstructured data.

Future work could focus on learning the backbone structure automatically directly from the data. Additionally, the authors aim to combine these instance-level correlations with dimension-level correlations to create an even more expressive and powerful variational posterior.

Summary updated

BibTeX
@inproceedings{xiao2025hot,
  author = {Junxi Xiao and Qinliang Su and Zexin Yuan},
  title = {{HoT-VI: Reparameterizable Variational Inference for Capturing Instance-Level High-Order Correlations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=wdI2WKCN3P},
}
Figure