Skip to main content
QUICK REVIEW

[Paper Review] On Tractable Computation of Expected Predictions

Pasha Khosravi, YooJung Choi|arXiv (Cornell University)|Oct 5, 2019
Neural Networks and ApplicationsComputer Science25 citations
TL;DR

This paper proposes a tractable framework for computing exact expectations and arbitrary-order moments of discriminative models (regressors) with respect to generative models using probabilistic circuits with shared vtree structures. By leveraging structural constraints in probabilistic circuits, the method enables polynomial-time computation of moments, significantly improving robustness in missing data imputation and enabling principled model analysis for fairness and explainability in both regression and classification scenarios through efficient approximation.

ABSTRACT

Computing expected predictions of discriminative models is a fundamental task in machine learning that appears in many interesting applications such as fairness, handling missing values, and data analysis. Unfortunately, computing expectations of a discriminative model with respect to a probability distribution defined by an arbitrary generative model has been proven to be hard in general. In fact, the task is intractable even for simple models such as logistic regression and a naive Bayes distribution. In this paper, we identify a pair of generative and discriminative models that enables tractable computation of expectations, as well as moments of any order, of the latter with respect to the former in case of regression. Specifically, we consider expressive probabilistic circuits with certain structural constraints that support tractable probabilistic inference. Moreover, we exploit the tractable computation of high-order moments to derive an algorithm to approximate the expectations for classification scenarios in which exact computations are intractable. Our framework to compute expected predictions allows for handling of missing data during prediction time in a principled and accurate way and enables reasoning about the behavior of discriminative models. We empirically show our algorithm to consistently outperform standard imputation techniques on a variety of datasets. Finally, we illustrate how our framework can be used for exploratory data analysis.

Motivation & Objective

  • To address the computational intractability of computing expected predictions for discriminative models under arbitrary generative distributions.
  • To identify a model pair—probabilistic circuits with shared vtree structure—that allows polynomial-time computation of exact expectations and high-order moments in regression.
  • To extend the framework to classification by developing an efficient approximation method for moments when exact computation is infeasible.
  • To enable principled reasoning about model behavior under uncertainty, especially in missing data and sub-population analysis scenarios.
  • To demonstrate the framework's superiority over standard imputation techniques in real-world datasets.

Proposed method

  • Utilizes probabilistic circuits with structural constraints (e.g., decomposability, d-separability) to enable tractable inference.
  • Employs shared vtree structures between generative and discriminative circuits to align computation across models.
  • Derives a polynomial-time algorithm for computing k-th order moments of a discriminative regressor with respect to a generative distribution.
  • Applies moment computation to approximate expected predictions in classification tasks via moment-based estimation.
  • Operates on paired nodes in the two circuits corresponding to the same vtree node, achieving quadratic runtime complexity.
  • Leverages the tractable computation of moments to perform conditional expectation queries under partial observations (e.g., missing features).

Experimental results

Research questions

  • RQ1Under what conditions can exact expectations and moments of discriminative models be computed in polynomial time?
  • RQ2Can a pair of expressive probabilistic circuits enable tractable computation of high-order moments for regression?
  • RQ3Is it possible to approximate expected predictions in classification scenarios where exact computation is intractable?
  • RQ4How does the proposed framework compare to standard imputation methods in handling missing data?
  • RQ5Can the framework support sub-population analysis and fairness evaluation in predictive modeling?

Key findings

  • The framework enables exact computation of arbitrary-order moments and expectations in polynomial time for regression using probabilistic circuits with shared vtree structures.
  • For classification, exact computation remains intractable due to non-decomposable, non-linear functions, but an efficient approximation method is developed using moment computation.
  • The method consistently outperforms standard imputation techniques on multiple datasets, especially under high missing data rates (e.g., 30% missing), where baseline methods failed due to computational cost.
  • The framework allows accurate estimation of expected predictions under complex conditioning (e.g., multiple features), even when data is sparse or unavailable, as demonstrated by queries on sub-populations like female smokers in specific regions.
  • The approach enables robust fairness and explainability analysis, such as quantifying differences in expected insurance costs between subgroups (e.g., smokers vs. non-smokers, regions), revealing significant disparities in both mean and variance.
  • The method achieves high accuracy in estimating expectations even with only 4–3 matching samples in sub-populations, where direct empirical estimation fails.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.