NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Identification of Latent Confounders via Investigating the Tensor Ranks of the Nonlinear Observations

Zhengming Chen, Yewei Xia, Feng Xie, Jie Qiao, Zhifeng Hao, Ruichu Cai, Kun ZhangICML 2025

Introduction

In causal discovery, researchers frequently encounter latent confounders—unobserved variables that influence multiple observed variables. When these hidden variables are discrete (e.g., a hidden disease state or a categorical socio-economic status), researchers often rely on the "tensor rank condition" to identify the underlying causal structure.

However, a major challenge arises in real-world applications: the tensor rank condition was originally designed for cases where the observed variables are also discrete. In practice, data is often "mixed-type," meaning the children of these hidden variables might be continuous (like blood oxygen levels) or follow complex, nonlinear relationships. Simply binning continuous data into categories usually breaks the mathematical assumptions required for tensor rank tests.

This paper extends the powerful tensor rank condition to identify discrete latent causal structures from mixed-type observational data. By leveraging a "completeness condition" for principled discretization and introducing a more flexible structural assumption, the authors provide a robust framework for uncovering hidden confounders in complex, nonlinear systems.

Proposed Methodology

The authors propose a two-stage identification framework supported by new theoretical guarantees to bridge the gap between continuous nonlinear dependencies and discrete algebraic constraints.

1. Principled Discretization via the Completeness Condition

Instead of arbitrary random binning, the authors utilize a "ranks' stopped increasing" criterion. They prove that under a completeness condition—a property satisfied by many common distributions, such as those in the exponential family—there exists a principled way to discretize continuous data. This specific discretization preserves the "full-rank" property needed for tensor rank analysis. In this context, discretization is transformed from a lossy, information-destroying process into a feature that maps a continuous nonlinear problem back into a discrete space where tensor algebra can solve it.

2. The Two-Sufficient Measurement Condition

Traditional latent variable models often require strict structural assumptions, such as the "three-pure-children" rule (where each latent variable must have three observed variables that it, and only it, influences).

Example of a multi-factor structure where multiple latent variables influence the same set of observed variables.

This paper introduces a more relaxed assumption: the two-sufficient measurement condition. Under this rule, each latent set only needs at least two "sufficient" measurements (variables with more possible values or support than the latent parent). Crucially, this allows for "multi-factor" clusters where multiple latent variables can influence the exact same set of observed variables, a significant departure from previous single-parent constraints.

3. Two-Stage Algorithm

The theoretical foundations are operationalized into a two-stage algorithm:

  • Step I (Finding Causal Clusters): The algorithm groups observed variables that share common latent parents by checking rank constraints on their joint probability tensors.
  • Step II (Structure Learning): Once the latent variables are identified, the algorithm uses a modified PC-style approach (PC-TENSOR-RANK) to determine the causal directions and edges between the latent variables themselves.

Experiments and Key Findings

The authors validated their approach using both simulated datasets and real-world benchmarks.

Simulated Data

Synthetic datasets were generated using mixture models to ensure the completeness condition was met. The researchers tested three different structural scenarios, ranging from linear chains to complex Directed Acyclic Graphs (DAGs), with sample sizes ranging from 5,000 to 50,000.

A complex latent DAG structure used to evaluate the algorithm's performance.
  • Superior Structure Recovery: The proposed method consistently achieved higher F1 scores for structure recovery compared to baselines like TS-PC (which uses random discretization) and Mixed-LT (which is restricted to tree structures).
  • Robustness to Sample Size: The method demonstrated a clear performance gain as sample sizes increased. This was particularly evident in "Case III" (a complex latent DAG), where it significantly outperformed the Mixed-LT baseline.

Real-World Consistency

The algorithm was also tested on the classic Industrialization and Political Democracy dataset (Bollen, 1989), which contains 11 variables across 75 countries. The algorithm successfully identified three latent factors:

  1. Industrialization (influencing GNP and energy consumption).
  2. Political Democracy 1 (influencing press freedom and election fairness).
  3. Political Democracy 2 (influencing similar democratic indicators over time).

These findings perfectly match established sociological theories, demonstrating the method's practical utility in real-world, mixed-type data scenarios.

Limitations and Future Work

While this paper presents a significant step forward, a few challenges remain:

  • Impure Observed Structures: The current framework largely assumes a "purity" where observed variables do not directly cause each other. While the authors discuss relaxing this in the appendix (the "Sparsity Assumption"), developing a fully general model for "impure" mixed-type data remains an open challenge.
  • Computational Complexity: Computing tensor ranks can become computationally expensive as the number of variables grows due to the "curse of dimensionality." Scaling to very high-dimensional latent spaces will require further algorithmic optimization.
  • Discrete Latents Only: The underlying theory is specifically tailored for discrete latent variables. Extending these tensor-based insights to continuous latent variables in nonlinear settings is a promising, albeit difficult, direction for future research.

Summary updated

BibTeX
@inproceedings{chen2025identification,
  author = {Zhengming Chen and Yewei Xia and Feng Xie and Jie Qiao and Zhifeng Hao and Ruichu Cai and Kun Zhang},
  title = {{Identification of Latent Confounders via Investigating the Tensor Ranks of the Nonlinear Observations}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=WH3ZRH2jno},
}
Figure