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

A Reparameterization of Mixtures of Truncated Basis Functions and its Applications

Antonio Salmerón, Helge Langseth, Andrés R. Masegosa, Thomas D. NielsenPGM 2022

Introduction

Hybrid Bayesian networks (BNs), which integrate both discrete and continuous variables, are essential for modeling complex real-world systems. However, they are notoriously difficult to handle mathematically. Mixtures of Truncated Basis Functions (MoTBFs) were developed to address this by providing a flexible framework that generalizes other popular models, such as Mixtures of Truncated Exponentials (MTEs) and Mixtures of Polynomials (MoPs).

Despite their flexibility, MoTBFs have historically suffered from a significant limitation: their standard mathematical definition allows for negative mixture weights and non-normalized components. While this allows them to fit complex shapes, it breaks standard machine learning tools like the Expectation-Maximization (EM) algorithm, which requires weights to behave like probabilities. Furthermore, it makes Bayesian parameter estimation nearly impossible, as defining a prior distribution over parameters that can be any real number is mathematically intractable. This paper introduces a novel reparameterization that expresses any MoTBF as a difference between two proper probability densities, finally enabling the use of EM and Bayesian inference for these models.

The Reparameterization Theorem

The core contribution of this work is a proof (Theorem 3) showing that any MoTBF density $f(x)$ can be rewritten in the form:

$$f(x) = (1 + a)p^+(x) - ap^-(x)$$

where $a$ is a positive constant, and $p^+(x)$ and $p^-(x)$ are proper mixture densities. In this context, "proper" means their weights are positive and sum to one, and their components are normalized to integrate to one. This "difference of densities" trick transforms a non-standard optimization problem into a standard one, creating a bridge between flexible MoTBFs and well-behaved probabilistic models.

Methods for Parameter Estimation

Iterative EM-Inspired Algorithm

By splitting the function into two proper densities, the authors developed an EM-inspired algorithm for parameter estimation. The process utilizes "composition" and "acceptance-rejection" sampling methods to generate synthetic samples from the underlying proper densities ($p^+$ and $p^-$). These samples allow the model to update parameters iteratively, converging toward a maximum likelihood estimate.

Bayesian Framework and Conjugacy

The reparameterization also paves the way for a fully Bayesian approach to MoTBFs. The authors demonstrate that if a MoP is used as a prior for a MoP likelihood, the resulting posterior is also a MoP. This achievement of a form of conjugacy is a significant step forward, as it allows for "incremental" learning where a model can be updated as new data arrives by simply updating its posterior distribution.

Experimental Results

The authors validated their approach using synthetic datasets (sample size $n=500$) including Mixtures of Polynomials of degree 4 and 6, as well as Beta distributions ($Be(0.5, 0.5)$ and $Be(5, 5)$).

  • EM Feasibility: The EM-inspired algorithm successfully converged to solutions with high log-likelihoods across all test cases, proving the practical utility of the reparameterization.
  • Comparison with Least Squares: The authors compared their method against the traditional least-squares approach provided by the MoTBFs R package. While least squares often yielded slightly higher log-likelihoods, the EM-inspired method proved competitive. For instance, in one test case ("Example 1"), the EM method achieved a log-likelihood of approximately 58.9 compared to 54.2 for least squares.
  • Mathematical Tractability: The successful derivation of a closed-form posterior for a degree-1 MoP confirmed that the reparameterization makes Bayesian analysis mathematically feasible for these models.

Limitations and Future Work

While this reparameterization solves the fundamental problem of applying probabilistic tools to MoTBFs, several challenges remain:

  1. Complexity Explosion: In the Bayesian framework, the number of parameters in the posterior distribution grows linearly with the amount of data. Future research must identify ways to "prune" or approximate the posterior to maintain computational efficiency.
  2. Non-Negativity Constraints: The current EM implementation checks for non-negativity at specific points. A more robust method for enforcing global non-negativity during the learning process is required.
  3. Multivariate Extension: This study focused on univariate MoTBFs. Extending the reparameterization to multivariate distributions is the logical next step, though it will likely introduce significant mathematical complexity.

Conclusion

By reparameterizing MoTBFs as a difference of proper densities, this work removes a long-standing barrier to using these flexible models in hybrid Bayesian networks. The ability to apply EM and Bayesian inference opens new doors for incremental learning and more robust parameter estimation in complex modeling scenarios.

Summary updated

BibTeX
@inproceedings{salmeron2022reparameterization,
  author = {Antonio Salmerón and Helge Langseth and Andrés R. Masegosa and Thomas D. Nielsen},
  title = {{A Reparameterization of Mixtures of Truncated Basis Functions and its Applications}},
  booktitle = {PGM},
  year = {2022},
  url = {https://openreview.net/forum?id=i81Wk59cUQa},
}
Figure