AI Glossary / Graphs and symbolic AI / Intermediate
Conditional Gaussian
Definition
A conditional Gaussian model describes continuous variables with a Gaussian distribution once specified conditioning information is fixed. In hybrid Bayesian networks, the term commonly refers to a model in which the continuous variables are jointly Gaussian for each configuration of the discrete variables. This lets one probabilistic model combine categories with numerical measurements.
What it means
The word conditional is essential. Different discrete settings can select different Gaussian means, variances, and relationships. Combining those settings without observing them generally gives a mixture of Gaussians, which need not itself be Gaussian.
In a conditional linear Gaussian network, a continuous node has a linear conditional mean based on its continuous parents. The coefficients and residual variance can depend on the configuration of its discrete parents. The residual variance is fixed within that configuration in the standard form.
This entry uses the hybrid graphical-model sense. A Gaussian distribution obtained by conditioning one jointly Gaussian variable on another is a related use of the phrase, but it does not by itself imply a hybrid network with discrete modes.
How it works
First define the network and identify discrete and continuous variables. For each continuous node and each configuration of its discrete parents, specify a regression intercept, coefficients for its continuous parents, and a residual variance or standard deviation.
When parent values are known, the selected parameters determine the node's conditional Gaussian density. A density describes probability across ranges of values; its height at one point is not the probability of that exact continuous value.
The standard conditional linear Gaussian network has structural restrictions. Discrete nodes have discrete parents, while continuous nodes may have discrete and continuous parents. Adding a discrete child of a continuous parent generally moves beyond this restricted family.
When a discrete setting is unknown, inference must account for alternative settings and their probabilities. Simply averaging regression coefficients and keeping one residual variance can lose important uncertainty associated with those alternatives.
Three practical examples
1. A synthetic equipment model represents a numerical reading differently in two discrete operating modes, retaining both mode-specific means and noise levels.
2. A forecasting demonstration combines a category variable with a continuous input, allowing the slope relating input to output to differ across categories.
3. A model reviewer checks whether a reported bell-shaped summary conceals a mixture of distinct operating regimes that should remain visible in the uncertainty estimate.
Think of it this way
Think of the model as a collection of bell-shaped prediction rulers, with a discrete setting choosing the appropriate ruler and a continuous input shifting its center.
The analogy is limited: several continuous variables can be correlated, so the actual distribution may be multidimensional. Also, an unknown setting means combining possible rulers, not selecting whichever one gives the most convenient prediction.
Worked example
Consider a toy output Y with a continuous input X and a discrete mode M. In mode A, let the conditional mean be 2 + 3X and the residual standard deviation be 1. In mode B, let the mean be 5 + X and the residual standard deviation be 2.
At X = 4, mode A gives mean 14 and variance 1, while mode B gives mean 9 and variance 4. Each known-mode conditional distribution is Gaussian.
Suppose that, given the available information including X = 4, the mode probabilities are 0.75 for A and 0.25 for B. The mixture mean is 0.75 times 14 plus 0.25 times 9, which equals 12.75.
Its variance includes both within-mode variation and uncertainty between the mode means. The within-mode contribution is 0.75 times 1 plus 0.25 times 4 = 1.75. The between-mode contribution is 0.75 times 1.25 squared plus 0.25 times 3.75 squared = 4.6875. Total variance is therefore 6.4375.
Using only the average within-mode variance would substantially understate uncertainty in this example. The mixture is not generally one Gaussian with those summary moments.
Illustrative case study
Fictional case: Linden Analytics builds the two-mode demonstration above. Its first report shows a single predicted mean and averages the residual variances, treating uncertainty about the operating mode as irrelevant.
During review, the analysts separate uncertainty within each mode from uncertainty about which mode applies. They retain the mixture in their calculations and label the displayed mean as a summary rather than the most likely exact outcome.
The example illustrates uncertainty accounting in a deliberately simple model. It does not report measured forecasting gains or claim that Gaussian assumptions fit a particular real process.
Common misconceptions and mistakes
Do not assume Gaussian conditional distributions imply a Gaussian marginal distribution after discrete modes are mixed.
Do not confuse variance with standard deviation. A standard deviation of 2 corresponds to variance 4, which is the quantity used in the variance calculation above.
Do not treat every hybrid Bayesian network as conditional linear Gaussian. Structural and distributional restrictions matter. Finally, Gaussian residuals and linear means are modeling assumptions that require scrutiny, especially with extreme observations or changing variability.
Business use
For business teams, conditional Gaussian models can make category-specific numerical relationships explicit without converting every measurement into coarse bins. Their parameters also provide a compact way to discuss how expected outputs and uncertainty vary by setting.
Reviewers should ask whether each category has enough evidence, whether the residual assumptions are plausible, and how unobserved categories are handled. A clean mathematical representation is useful only when its assumptions and uncertainty summaries remain appropriate for the intended decisions.
People also ask
Is the conditional mean the guaranteed output?
No. It is the center of the specified conditional distribution; residual variability remains.
Can different discrete modes have different variances?
Yes. In the standard conditional linear Gaussian form, each discrete-parent configuration can select its own residual variance.
Can the combined distribution have more than one peak?
Yes. Mixing distinct Gaussian components can produce several peaks, although it does not always do so.
Check your understanding
Two uncertain modes have different predicted means. Is averaging only their residual variances enough to calculate total uncertainty?
Answer: No. The variation between their means also contributes to the mixture variance.
Related terms
- Bayesian network
- Linear regression
- Mixture distribution
- Variance
- Marginalization
- Gaussian distribution
- hybrid model
- conditional density
Learn next
Study the law of total variance and reproduce the two-mode calculation. Then examine conditional linear Gaussian network restrictions and compare their expressive power with more general hybrid probabilistic models.
More in Graphs and symbolic AI
- Concurrent action list - A concurrent action list specifies actions that must or must not occur alongside a particular action for its modeled effects to apply.
- Condition-action rule - A condition-action rule connects a recognized situation to an action: if a specified condition holds, select or perform the associated response.
- Conditional effect - A conditional effect is an outcome of an action that occurs only when an additional condition holds.
- Conditional independence
- Conditional plan - A conditional plan specifies an action and alternative continuations chosen according to information obtained during execution.
- Conditional random field - A conditional random field, or CRF, is a probabilistic model for predicting related output variables given observed inputs.
Sources
Russell and Norvig, Bayesian-network slides: https://aima.cs.berkeley.edu/4th-ed/slides-pdf/chapter14a.pdf ; bnlearn author documentation, hybrid network parameters: https://www.bnlearn.com/examples/custom-fitted/ . Relevant primary passages were consulted. The numerical mixture and fictional reporting case are original teaching examples.
Previous: Conditional expectation Next: Conditional generation