Smoothing splines for discontinuous signals

Martin Storath, Andreas Weinmann
11/23/2022
math.NAmath.ST

Official code: mstorath/CSSD (8 stars, Rust, MIT, Rust, last commit 2026-05-11).

Abstract

Smoothing splines are twice differentiable by construction, so they cannot capture potential discontinuities in the underlying signal. In this work, we consider a special case of the weak rod model of Blake and Zisserman (1987) that allows for discontinuities penalizing their number by a linear term.

Show full abstract

The corresponding estimates are cubic smoothing splines with discontinuities (CSSD) which serve as representations of piecewise smooth signals and facilitate exploratory data analysis. However, computing the estimates requires solving a non-convex optimization problem. So far, efficient and exact solvers exist only for a discrete approximation based on equidistantly sampled data. In this work, we propose an efficient solver for the continuous minimization problem with non-equidistantly sampled data. Its worst case complexity is quadratic in the number of data points, and if the number of detected discontinuities scales linearly with the signal length, we observe linear growth in runtime. This efficient algorithm allows to use cross validation for automatic selection of the hyperparameters within a reasonable time frame on standard hardware. We provide a reference implementation and supplementary material. We demonstrate the applicability of the approach for the aforementioned tasks using both simulated and real data.

View on arXivView PDF

Code Implementations(1)

mstorath/CSSDOfficial100%
RustMIT

Smoothing splines for signals with discontinuities

82Rust, PythonMay 22, 20226 months agoMIT
changepoint-detectiondiscontinuitiesmatlabpiecewise-regressionpython+4 more

Similar Papers

Cite this paper

@article{storath2022smoothing,
  title  = {Smoothing splines for discontinuous signals},
  author = {Martin Storath and Andreas Weinmann},
  year   = {2022},
  eprint = {2211.12785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.12785}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.12785.svg)](https://codeofpaper.com/paper/2211.12785)

Discussion