In scientific modeling, we often face a fundamental tension: a complex model with many parameters can fit data more closely than a simple one, but it risks "overfitting"—capturing random noise rather than the underlying signal. Traditional methods often rely on arbitrary penalties for complexity. However, a growing body of research across cosmology, biology, and machine learning demonstrates that Bayesian evidence (or the marginal likelihood) provides a principled, automatic mechanism for selecting the most parsimonious model.
The Problem of Model Complexity
When comparing different explanations for a phenomenon—such as whether dark energy is constant or evolving (Gong‐Bo Zhao et al., The clustering of galaxies in the completed SDSS-III Baryon Oscillation Spectroscopic Survey)—researchers must decide if the improvement in fit provided by a more complex model is "worth it."
If we only look at the maximum likelihood (the best possible fit), the more complex model will almost always win. To counter this, frequentist approaches use information criteria like AIC or BIC, which add a rigid penalty term based on the number of parameters. As Ting Zhou and colleagues show in Estimating the Complier Average Causal Effect, BIC is often more effective than AIC at identifying the correct structure because it penalizes complexity more aggressively as sample sizes grow.
The Marginal Likelihood as a Natural Occam’s Razor
The core intuition behind the Bayesian approach is that we should not just look at the best fit, but at the average fit across all possible parameter values. This is the marginal likelihood ($Z$), also known as Bayesian evidence:
$$Z = P(D|M) = \int P(D|\theta, M) P(\theta|M) d\theta$$
This integral naturally implements a mathematical version of Occam’s Razor. A simple model with a small parameter space concentrates its "probability mass" on a few outcomes. A complex model spreads its probability mass thinly over a much larger space of possible datasets. Consequently, if a simple model is compatible with the observed data, its evidence will be higher than that of a complex model that could have fit the data but also could have fit many other things.
As Quoc V Le and Samuel L. Smith argue in A Bayesian Perspective on Generalization and Stochastic Gradient Descent, this "Occam factor" is what allows Bayesian methods to generalize well. It penalizes "sharp" minima in the loss landscape—regions where only a tiny range of parameters work—favoring "flat" regions that are more robust.
Identifying Signal from Systematic Noise
This mechanism is particularly powerful in high-noise environments. In 21-cm cosmology, researchers try to detect the faint signal of the first stars buried under foreground noise that is orders of magnitude stronger. Michael Pagano, Adrian Liu, and others in A General Bayesian Framework to Account for Foreground Map Errors use Bayesian evidence to prevent their models from "absorbing" the target signal into the noise parameters. By calculating the evidence for different levels of model complexity, they can objectively decide when a systematic error term is necessary and when it is simply overfitting the noise.
Similarly, K. H. Scheutwinkel and Eloy de Lera Acedo demonstrate in Bayesian evidence-driven diagnosis of instrumental systematics that evidence serves as a diagnostic tool. If adding a parameter for an instrumental artifact doesn't significantly boost the evidence, the artifact likely isn't there, or the data doesn't support its inclusion.
Structural Discovery and Order Identification
Beyond just tuning parameters, Bayesian evidence allows for structural discovery—finding the underlying "grammar" of a system.
- Network Memory: Ingo Scholtes and Luka V. Petrović show in Learning the Markov order of paths in a network that marginal likelihood is more data-efficient than standard tests for determining how much "memory" (Markov order) a sequence has.
- Automated Machine Learning: David Duvenaud and colleagues in Structure Discovery in Nonparametric Regression use BIC to approximate marginal likelihood while searching for the best kernel in Gaussian process regression. This allows a computer to "discover" if a dataset has trends, cycles, or noise without human intervention.
- Biological Networks: In Elucidation of Genetic Interactions, Andreas Milias‐Argeitis uses evidence to rank 32 different mathematical models of yeast gene regulation, identifying the most likely physical topology of the network.
Why It Works: The Bayesian Trade-off
The power of this approach lies in its ability to quantify the trade-off between explanatory power and predictive uncertainty. A model that is too simple cannot explain the data (low likelihood). A model that is too complex can explain anything, but its predictions are so diluted across the parameter space that the probability of any specific observation is low (low marginal likelihood).
As Roberto Trotta explains in Probing dark energy with future surveys, the "Bayes factor"—the ratio of evidences for two models—tells us exactly how much more the data supports one theory over another. This allows researchers like G. Lazarides and Roberto Ruiz de Austri to conclude that, despite the theoretical elegance of multi-field inflation models, current data still prefers the simpler, standard inflaton model (Constraints on a mixed inflaton and curvaton scenario).
By moving from "fitting the data" to "evaluating the evidence," researchers gain a robust, objective way to navigate the complexity of the natural world.