Disentangling Latent Risk Pathways via Bayesian Hypergraph Inference

Shengxian Ding (Yale University), Haonan Gao, Pangpang Liu, Xinyuan Tian, Yize Zhao

International Conference on Machine Learning 2026 · Oral

Overview

This talk introduces a novel Bayesian framework for modeling complex, overlapping relationships between input features and multiple correlated binary outcomes. Presented by Shengxian Ding from Yale University, the research addresses a fundamental limitation in multi-task prediction: standard models either assume outcome independence—failing to borrow statistical strength for rare events—or force all inputs into a single, monolithic latent representation that obscures granular associations. To resolve this, the authors propose Bayesian Hypergraph Inference, a principled statistical framework that learns input-specific, overlapping outcome structures while quantifying posterior uncertainty.

Watch on SlidesLive

Visual summary for Disentangling Latent Risk Pathways via Bayesian Hypergraph Inference by Shengxian Ding, Haonan Gao, Pangpang Liu, Xinyuan Tian, Yize Zhao
Visual summary for Disentangling Latent Risk Pathways via Bayesian Hypergraph Inference by Shengxian Ding, Haonan Gao, Pangpang Liu, Xinyuan Tian, Yize Zhao

Key moments

  1. 0:00 Introduction and motivation for latent risk pathways
  2. 2:00 Proposed Bayesian hypergraph pathway inference framework
  3. 4:00 Model components and hierarchical sparsity prior
  4. 6:00 Structured variational inference and scalable estimation
  5. 8:00 Real data results on UK Biobank and rare diseases
  6. 10:00 Learned global structure and case studies
  7. 12:00 Q&A: Explaining stability benefits for rare diseases

Disentangling Latent Risk Pathways via Bayesian Hypergraph Inference

Speakers: Shengxian Ding (Yale University); Haonan Gao; Pangpang Liu; Xinyuan Tian; Yize Zhao

Conference: ICML

YouTube: https://slideslive.com/39083656

Overview

This talk introduces a novel Bayesian framework for modeling complex, overlapping relationships between input features and multiple correlated binary outcomes. Presented by Shengxian Ding from Yale University, the research addresses a fundamental limitation in multi-task prediction: standard models either assume outcome independence—failing to borrow statistical strength for rare events—or force all inputs into a single, monolithic latent representation that obscures granular associations. To resolve this, the authors propose Bayesian Hypergraph Inference, a principled statistical framework that learns input-specific, overlapping outcome structures while quantifying posterior uncertainty.

The approach matters profoundly for high-stakes, multi-label prediction domains such as healthcare and computational biology. In settings like the UK Biobank, where researchers analyze hundreds of thousands of patient records with dozens of baseline risk factors and disease outcomes, many clinical conditions are inherently rare. Independent estimation leads to high variance and unstable predictions for these rare outcomes. By structuring the latent space as a hypergraph—where hyperedges represent overlapping groups of diseases sharing input association patterns—the method enables rare diseases to "borrow strength" from related common conditions without imposing rigid, mutually exclusive clusters.

Beyond statistical stability, the framework provides robust interpretability. By capturing phenomena where a single risk factor drives multiple distinct pathways (divergent risk factors) or a single disease emerges from multiple disparate contexts (convergent disease contexts), the model uncovers clinically actionable mechanisms. Crucially, this interpretability is achieved without sacrificing predictive performance, performing competitively with or outperforming standard baselines—particularly in the challenging rare-disease tail.

Background

▶ Watch: Introduction and motivation for latent risk pathways (0:00)

In machine learning and statistical systems, predicting multiple related outcomes from a shared set of features typically relies on one of three classical paradigms. The first approach involves independent outcome models, which fit separate models for each label. While transparent and straightforward to interpret, these models completely fail to borrow strength across tasks, rendering them statistically unstable when applied to rare outcomes or low-sample regimes.

The second approach utilizes shared representation multi-task models. These architectures successfully pool information across tasks, but they typically compress all inputs into a single shared latent space. Consequently, they obscure which specific input feature is driving which specific subgroup of outcomes. The third approach relies on pairwise output networks, which model interactions using standard graphs where edges link outcomes in pairs. However, real-world structural dependencies often involve higher-order groups of outcomes rather than isolated pairwise links. Forcing these higher-order groups into pairwise connections destroys their explicit group identity and typically provides limited quantification of structural uncertainty.

In the medical and biological domain, these limitations manifest acutely when mapping patient risk factors (such as BMI or smoking) to disease outcomes. A standard graph is insufficient because shared etiological mechanisms often involve an entire cluster of diseases. Furthermore, these disease groups frequently overlap, and their exact memberships are unknown a priori. The core problem addressed in this work is how to learn an input-specific, overlapping latent outcome structure while rigorously quantifying posterior uncertainty over both the topology and the parameters at biobank scale.

Key Findings

▶ Watch: Model components and hierarchical sparsity prior (4:00)

The primary contribution of this research is a scalable Bayesian hypergraph pathway inference framework that successfully bridges the gap between predictive accuracy and structural interpretability. Evaluated on both synthetic data and real-world biobank cohorts, the framework yields several key findings:

  • Superior Rare-Disease Stability: While common disease performance is largely saturated across standard methods (performing comparably to optimally tuned logistic regression), discriminative baselines exhibit long negative predictive tails for rare outcomes. In contrast, the proposed method maintains a positive mean prediction across every prevalence group, achieving its largest performance gains in the rare-disease tail.
  • Calibrated Uncertainty: The model demonstrates competitive calibration, tying for the best Brier score among evaluated baselines. Posterior inclusion probability masking experiments confirm that high-confidence hyperedges retain virtually all predictive signal, whereas lower-output confidence hyperedges lose most of it, proving that posterior confidence directly aligns with predictive relevance.
  • Sparse and Selective Topology: When applied to the UK Biobank dataset comprising roughly 500,000 participants, the model starts with 60 candidate pathways and prunes them down to approximately 28 active pathways, yielding a sparse, uncertainty-weighted map from risk factors to latent pathways and ultimately to diseases.
  • Uncovering Clinical Heterogeneity: The framework successfully resolves complex biomedical phenomena. For example, it isolates instances where a single risk factor (like smoking) activates multiple distinct pathways (such as a respiratory injury group versus a mucosal damage group) rather than forcing them into a single monolithic cluster. Conversely, it captures convergent disease contexts where a single condition (like dementia) participates in multiple distinct groups driven by different risk factors.

Technical Deep Dive

▶ Watch: Structured variational inference and scalable estimation (6:00)

The technical architecture of the Bayesian hypergraph inference framework rests on a hierarchical generative model and a specialized inference engine designed to preserve structural dependencies.

Generative Modeling and Hypergraph Structure

Instead of estimating predictor coefficients for each disease independently, the model factorizes the disease-level coefficient vector through a latent hypergraph. For any given risk factor, a disease inherits the coefficients of the specific pathways to which it belongs. If a disease belongs to multiple pathways, those contributions are aggregated, providing the mechanism for information sharing.

Formally, the latent structure is learned through a two-tier hierarchy:

  1. Topological Sparsity Prior: A hierarchical sparsity prior governs the hypergraph topology. Each candidate hyperedge possesses an existence indicator. Conditional on a hyperedge existing, each disease possesses a membership indicator within that hyperedge. This separation enforces a sparse latent structure while permitting overlapping pathways.
  2. Predictor-Activity Prior: Each predictor-hyperedge pair contains an activity indicator, ensuring that each risk factor activates only a subset of hyperedges.

Additionally, the authors employ a repulsion prior on the predictor-hyperedge pairs. Rather than serving predictive accuracy directly, the repulsion prior discourages a single predictor from selecting multiple highly overlapping hyperedges that explain essentially the same diseases. This drastically reduces redundancy and enhances structural stability and interpretability.

Structured Variational Inference

A major technical hurdle in hierarchical Bayesian models of this scale is performing posterior inference without violating the model's logical constraints. Standard mean-field variational inference fails because it can assign non-zero probability to a pathway being inactive while its constituent members remain active—a state strictly forbidden by the generative model.

To overcome this, the authors develop a structured variational family that preserves conditional dependence. When a pathway switches off, all dependent parameters collapse to zero simultaneously. To make inference tractable at biobank scale, the framework integrates Polya-Gamma augmentation, which yields analytical coordinate updates within the variational approximation and enables scalable optimization.

Experimental Setup & Results

▶ Watch: Learned global structure and case studies (10:00)

The evaluation spans both synthetic simulations and large-scale real-world clinical data:

  • Simulation Experiments: Initial validation on synthetic data confirms that the estimated disease effects align closely with ground truth. The model successfully recovers both latent pathway memberships and the underlying risk factor-to-pathway links while maintaining predictive performance comparable to optimally tuned logistic regression.
  • UK Biobank Cohort: The real-world evaluation utilizes the UK Biobank, a large-scale cohort containing approximately 500,000 participants, dozens of baseline risk factors, and multiple binary disease outcomes.
  • Baselines and Metrics: The framework is benchmarked against independent outcome models, shared representation multi-task models, and optimally tuned logistic regression. Performance is assessed using predictive calibration (Brier score), predictive error across disease prevalence deciles, and posterior inclusion probability validation.
  • Headline Results: While standard baselines experience performance degradation in the rare-disease tail, the hypergraph model maintains stable, positive predictive gains. Ablation-style posterior masking confirms that high-confidence hyperedges capture the entirety of the predictive signal, validating the structural integrity of the inferred pathways.

Practical Implications

▶ Watch: Q&A: Explaining stability benefits for rare diseases (12:00)

For practitioners, infrastructure teams, and model deployers working in high-dimensional tabular domains—particularly in healthcare, epidemiology, and complex systems risk analysis—this framework offers several crucial takeaways:

  • No Performance Penalty for Interpretability: Practitioners frequently assume that introducing interpretable, structured priors degrades predictive accuracy. This work proves that structural constraints can be integrated without sacrificing predictive power, matching tuned black-box baselines on common tasks while outperforming them on rare tasks.
  • Mitigating Data Scarcity via Borrowing Strength: In domains characterized by long-tail event distributions, independent modeling is unviable. The hypergraph formulation provides a principled mathematical mechanism for rare events to borrow statistical strength from correlated common events through shared latent pathways.
  • Actionable Structural Insights: By avoiding rigid, mutually exclusive clustering, the framework allows deployers to discover overlapping risk profiles and multi-context outcomes that would otherwise be obscured by standard multi-task architectures.
  • Limitations: The current methodology focuses primarily on binary outcomes and static risk factors. Expanding the framework to handle continuous longitudinal trajectories, dynamic time-series risk factors, and larger biomedical knowledge graphs remains an active area of extension (with ongoing tests at Yale Epic EHR).

Key Takeaways

  • Overlapping Latent Pathways: The framework models multi-disease risk through flexible, overlapping hypergraphs rather than restrictive pairwise links or isolated independent tasks.
  • Uncertainty Quantification at Scale: Using structured variational inference and Polya-Gamma augmentation, the model learns risk-factor-specific structures while quantifying posterior uncertainty at biobank scale.
  • Solved Rare-Disease Instability: By leveraging hyperedge memberships, rare diseases successfully borrow strength from common conditions, stabilizing predictions in the long tail.
  • Elimination of Redundancy: A specialized repulsion prior prevents predictors from selecting redundant, highly overlapping hyperedges, ensuring high interpretability and structural stability.
  • Maintained Predictive Parity: The model achieves deep structural insight and calibrated uncertainty without compromising predictive performance relative to optimally tuned logistic regression.

About the Speaker(s)

  • Shengxian Ding (Yale University): Shengxian Ding is from Yale University and presented work on Bayesian hypergraph inference for learning input-specific overlapping outcome structure in multi-task prediction problems.

Co-authors: Haonan Gao, Pangpang Liu, Xinyuan Tian, Yize Zhao.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026