Optimal Piecewise Linear Approximations for Sigmoid, Tanh, Probability Density and Cumulative Distribution Functions: Tabular Form and R Package pwlapprox2d

Abstract We present information in tabular form about optimal piecewise linear (PWL) approximations of the sigmoid and tanh activation functions as used in neural networks, as well as the probability density and cumulative distribution functions of the Normal and log-Normal distributions. The presented approximations minimise the maximum absolute difference between the PWL function and the continuous function being modelled; we also provide information on optimal over- and underestimators. We provide information on the optimal breakpoint locations for different numbers of breakpoints in a series of tables, as well as the accuracy provided by these approximations. This allows practitioners to utilise the PWL approximations whenever needed; for example, to enable the use of mixed-integer linear programming techniques to solve problems where these functions may appear, or to approximate integrals. The provided optimal breakpoint locations lead to an improvement over a uniform breakpoint location of the maximum absolute difference of up to 95% and an average of 84% among the six functions. This information is available online at https://doi.org/10.5281/zenodo.16362215 and can be recreated using the R package pwlapprox2d [1].

Authors

Institutions

Publication Details

Journal
Journal of Global Optimization
Published
2026-01-30
DOI
https://doi.org/10.1007/s10898-026-01588-8
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimal Piecewise Linear Approximations for Sigmoid, Tanh, Probability Density and Cumulative Distribution Functions: Tabular Form and R Package pwlapprox2d

John Alasdair Warwicker, Steffen Rebennack
Journal of Global Optimization
Neural Networks and Applications
article

Optimal Piecewise Linear Approximations for Sigmoid, Tanh, Probability Density and Cumulative Distribution Functions: Tabular Form and R Package pwlapprox2d

John Alasdair Warwicker, Steffen Rebennack
article en

Abstract

Abstract We present information in tabular form about optimal piecewise linear (PWL) approximations of the sigmoid and tanh activation functions as used in neural networks, as well as the probability density and cumulative distribution functions of the Normal and log-Normal distributions. The presented approximations minimise the maximum absolute difference between the PWL function and the continuous function being modelled; we also provide information on optimal over- and underestimators. We provide information on the optimal breakpoint locations for different numbers of breakpoints in a series of tables, as well as the accuracy provided by these approximations. This allows practitioners to utilise the PWL approximations whenever needed; for example, to enable the use of mixed-integer linear programming techniques to solve problems where these functions may appear, or to approximate integrals. The provided optimal breakpoint locations lead to an improvement over a uniform breakpoint location of the maximum absolute difference of up to 95% and an average of 84% among the six functions. This information is available online at https://doi.org/10.5281/zenodo.16362215 and can be recreated using the R package pwlapprox2d [1].

Journal of Global Optimization
Karlsruhe Institute of Technology (DE)
Deutsche Forschungsgemeinschaft
Openalex Percentile: Top 75%
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.