Automatic Construction and Natural-Language Description of Nonparametric Regression Models

James Robert Lloyd, David K. Duvenaud, Roger B. Grosse, Joshua B. Tenenbaum, Zoubin Ghahramani · OpenReview

Introduction

Statistical modeling often presents a dichotomy between highly interpretable but rigid "simple" models and flexible but opaque "black-box" models. Bridging this gap requires a system capable of both discovering complex structures in data and explaining them in human-understandable terms. This paper introduces the Automatic Bayesian Covariance Discovery (ABCD) system, an "automatic statistician" designed to automate the entire pipeline of data discovery, evaluation, and natural-language reporting.

Methodology: The Language of Kernels

The core of the ABCD system is a compositional grammar of kernels for Gaussian Process (GP) models. Rather than relying on a single fixed kernel, the system treats kernels as a language where base components can be combined to represent complex data properties:

  • Smoothness: Represented by Squared Exponential kernels.
  • Trends: Captured via Linear kernels.
  • Periodicity: Modeled with Periodic kernels.
  • Noise: White Noise kernels.
  • Regime Changes: Handled through changepoints using sigmoidal multiplication.

These base kernels are combined using addition (to sum independent patterns) and multiplication (to modify patterns, such as a periodic signal with a growing amplitude).

Model Search and Selection

The system explores this open-ended space of models using a greedy search. Starting from a simple base model, it proposes new structures by applying operators like addition or multiplication. To prevent overfitting and ensure parsimony, the system uses the Bayesian Information Criterion (BIC) for model selection, effectively applying a "Bayesian Occam’s Razor" that favors simpler explanations unless complexity is justified by a significant improvement in fit.

Natural Language Generation

A standout feature of ABCD is its ability to translate mathematical kernel expressions into plain English. By converting complex kernels into a "sum of products" normal form, the system isolates individual components of the data. Each component is then mapped to a linguistic template. For example, a periodic kernel multiplied by a linear kernel is described as "a periodic function with linearly increasing amplitude."

Figure 6: Automated description and visualization of a smooth component in the solar irradiance dataset.

Key Insights: Discovering the Maunder Minimum

The power of this compositional approach is best demonstrated on historical datasets. When applied to 400 years of solar irradiance data, the system did more than just identify the well-known 11-year sunspot cycle. It correctly identified a significant historical anomaly: the Maunder Minimum.

Figure 8: Automated detection of the 11-year solar cycle and the Maunder Minimum (1643–1716).

As shown in Figure 8, the system automatically detected that the periodic component "applies until 1643 and from 1716 onwards," effectively isolating the period where sunspot activity nearly vanished. This discovery was made without any prior astronomical knowledge, purely through the search for the most probable statistical model.

Results and Performance

The authors evaluated ABCD across 13 real-world time series, including airline passenger volumes and Mauna Loa CO2 levels. Key findings include:

  • Predictive Accuracy: The system outperformed standard benchmarks like linear regression and single-kernel GPs in extrapolation tasks.
  • Interpretability vs. Accuracy: While the most complex models offered the highest accuracy, the "interpretability-focused" version of ABCD still surpassed standard baselines while providing readable reports.
  • Qualitative Quality: The generated reports mirror the output of a human statistician, providing isolated component plots and statistical significance descriptions.

Limitations and Future Directions

Despite its successes, the system has limitations. The use of sigmoidal functions for changepoints can lead to interpolation issues at the exact point of transition. Additionally, the current kernel language does not yet incorporate autoregressive (AR) or moving-average (MA) models common in econometrics. Future work aims to expand the model class and improve search strategies to avoid local optima.

Conclusion

The ABCD system represents a significant step toward "AI for Statistics." By moving beyond black-box curve fitting, it provides a framework for systems that can not only predict data but also explain the underlying phenomena in a way that is accessible to humans.

Summary updated

BibTeX
@inproceedings{lloyd2014automatic,
  author = {James Robert Lloyd and David K. Duvenaud and Roger B. Grosse and Joshua B. Tenenbaum and Zoubin Ghahramani},
  title = {{Automatic Construction and Natural-Language Description of Nonparametric Regression Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.8904},
}
Figure