Skip to main content
QUICK REVIEW

[Paper Review] A note on basis dimension selection in generalized additive modelling

Natalya Pya, Simon N. Wood|arXiv (Cornell University)|Feb 22, 2016
Fault Detection and Control SystemsEngineering11 citations
TL;DR

This paper proposes two computationally efficient methods for checking basis dimension adequacy in generalized additive models (GAMs): a residual differencing-based hypothesis test and a residual re-smoothing approach. Both methods outperform costly GCV/REML-based basis dimension searches in terms of efficiency while maintaining comparable accuracy in selecting appropriate basis dimensions, making them practical for routine model checking.

ABSTRACT

Two new approaches for checking the dimension of the basis functions when using penalized regression smoothers are presented. The first approach is a test for adequacy of the basis dimension based on an estimate of the residual variance calculated by differencing residuals that are neighbours according to the smooth covariates. The second approach is based on estimated degrees of freedom for a smooth of the model residuals with respect to the model covariates. In comparison with basis dimension selection algorithms based on smoothness selection criterion (GCV, AIC, REML) the above procedures are computationally efficient enough for routine use as part of model checking.

Motivation & Objective

  • To address the lack of practical, efficient methods for checking whether the basis dimension $k$ in penalized regression splines is sufficiently large to avoid oversmoothing.
  • To develop computationally lightweight alternatives to full model re-fitting with multiple $k$ values, which are expensive in practice.
  • To evaluate the performance of the proposed checks against established criteria like GCV and REML in terms of accuracy and computational efficiency.
  • To promote the adoption of these checks as standard tools in GAM model diagnostics.

Proposed method

  • Proposes a hypothesis test using differenced residuals ordered by smooth covariates to estimate residual variance; the ratio of this estimate to the model's residual variance ($\kappa = \phi_\Delta / \hat{\phi}$) indicates adequacy of $k$.
  • Introduces a residual re-smoothing method: fit a new smooth to the model residuals using a higher $k$, and assess whether the effective degrees of freedom exceed a threshold, indicating insufficient $k$.
  • Uses the deviance or residual sum of squares to compute $\phi_\Delta$, a local variance estimate based on neighboring residuals in covariate space.
  • Employs p-values from the $\kappa$ test to determine if $k$ is too small, with small p-values suggesting the need for a larger basis dimension.
  • Compares the two proposed checks against full optimization of GCV or REML over a grid of $k$ values, which requires repeated full model re-fitting.
  • Applies the methods to univariate and bivariate smooth functions, including sine waves and 'bump' functions, under varying sample sizes and $k$ values.

Experimental results

Research questions

  • RQ1Can a simple residual differencing test reliably detect when the basis dimension $k$ is too small in GAMs?
  • RQ2Does re-smoothing residuals with a higher $k$ provide a sensitive and efficient alternative to full model re-fitting for basis dimension checking?
  • RQ3How do the proposed methods compare in performance and computational cost to GCV- and REML-based $k$ selection procedures?
  • RQ4Is the proposed hypothesis test robust to different types of smooth functions, including wiggly and monotone functions?
  • RQ5Can these checks be used routinely in practice without the computational burden of optimizing $k$ via GCV or REML?

Key findings

  • The hypothesis testing approach based on residual differencing ($\kappa$) performs as well as GCV and REML in selecting appropriate $k$, but with significantly lower computational cost.
  • The residual re-smoothing method also performs comparably to full optimization, requiring only re-smoothing of individual smooth terms rather than full model re-fitting.
  • For the 'bump' function and sine wave with six cycles, all methods selected $k \geq 20$, indicating that $k=10$ is insufficient for wiggly functions.
  • The hypothesis test tends to select smaller $k$ values than other methods, suggesting it may be more conservative in detecting inadequate $k$.
  • REML optimization occasionally selected larger $k$ values than necessary, especially for $n=100$, leading to higher MSE in some cases.
  • The computational advantage of the proposed methods grows with the number of smooth terms, making them ideal for routine use in complex GAMs.

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.