NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deterministic Stretchy Regression

Kar-Ann Toh, Lei Sun, Zhiping LinarXiv 2018

TL;DR

This paper introduces Deterministic Stretchy Regression (SR), a novel extension of regularized least-squares that provides a closed-form, non-iterative solution for sparse and compressive learning. By using a "stretchy" parameter to modify the covariance computation, SR achieves accuracy comparable to popular methods like LASSO and Elastic-Net but at a fraction of the computational cost—sometimes thousands of times faster.

What Problem Does This Paper Address?

In machine learning, we often want to find a "sparse" solution where many model weights are zero, helping to identify the most important features. Standard Ridge Regression (using an $\ell_2$-norm penalty) is mathematically convenient and has a closed-form solution, but it doesn't produce sparse models. Conversely, methods like LASSO ($\ell_1$-norm) or Bridge Regression ($\ell_p$-norm with $p < 2$) are great for sparsity but typically require iterative numerical optimization because their objective functions are non-differentiable or non-convex.

These iterative searches are computationally expensive, especially for high-dimensional data where the number of features far exceeds the number of samples (under-determined systems). The authors sought a way to get the "best of both worlds": the sparsity of $\ell_p$-norm regularization with the deterministic, one-shot speed of a closed-form solution.

Methods

The authors achieve this by introducing a differentiable approximation of the $\ell_p$-norm, which they call the $k$-measure.

  1. Smooth Approximation: They replace the absolute value operator $|x|$ with a smooth function $f(\alpha) = \sqrt{\alpha^2 + \epsilon}$. As shown in Figure 1, this function acts as a differentiable "stand-in" for the absolute value, with $\epsilon$ controlling the sharpness of the approximation. Plot of the smooth approximation function for different epsilon values.

  2. The Stretchy Solution: By optimizing this $k$-measure subject to data fitting constraints, they derive a closed-form solution. The "magic" happens through an element-wise power operation on the data matrix $P$. The solution for the weights $\alpha$ takes the form: $$\alpha = (P^T)^{\circ \frac{1}{k-1}} [P(P^T)^{\circ \frac{1}{k-1}} + \frac{1}{ck}I]^{-1} y$$ Here, the $\circ$ denotes an element-wise power. The parameter $k$ (analogous to $p$ in $\ell_p$-norms) "stretches" the covariance, effectively compressing irrelevant parameters toward zero as $k$ approaches 1.

  3. First Quadrant Transformation: To avoid complex numbers when taking fractional powers of negative values, the authors propose an exponential input transformation that maps all data into the positive real space.

Plot of the smooth approximation function for different epsilon values.

Figure 2 illustrates how the contours of this $k$-measure approximate the familiar "diamond" shape of the $\ell_1$-norm as $k$ decreases, which is the key to its sparsifying effect. Contour plots comparing standard p-norms with the proposed k-measure and its powered form.

Contour plots comparing standard p-norms with the proposed k-measure and its powered form.

Datasets

The method was evaluated on a diverse set of benchmarks:

  • Synthetic Data: 1D polynomial regression and 2D binary classification to visualize decision boundaries.
  • Real-world Regression: Prostate cancer (8 features), Diabetes (10 features), Corn spectrometry (700 features), TFIDF text data (150,360 features), and Gaze image data (1.2 million features).
  • NIPS Feature Selection Challenge: Arcene, Dexter, Dorothea, Gisette, and Madelon datasets, ranging from 500 to 100,000 features.

Key Insights and Ideas

  • Closed-Form Sparsity: The most significant insight is that sparsity can be achieved deterministically. You don't always need an iterative solver to find a sparse-like solution; you can "stretch" the underlying geometry of the problem instead.
  • Adjustable Compression: The hyper-parameter $k$ provides a continuous dial for compression. Lower $k$ values (closer to 1) lead to higher compression, while $k=2$ recovers the standard least-squares solution.
  • Dual Space Efficiency: The derivation works particularly well in the "dual space" (outer product form), making it highly efficient for under-determined systems where you have many more features than observations.
  • Bias-Variance Tradeoff: The authors provide a formal variance analysis, proving that while the estimator is biased (like Ridge regression), it remains stable and effective for high-dimensional prediction.

Key Results

  • Speed: On the Prostate and Diabetes datasets, SR was 3,000 to 9,000 times faster than LASSO. Even on massive datasets like the 1.2-million-dimension Gaze data, it remained computationally feasible.
  • Accuracy: SR achieved prediction accuracy (MSE for regression, BER for classification) comparable to or better than LASSO and Elastic-Net across most benchmarks.
  • Sparsity: In under-determined scenarios, SR successfully pushed irrelevant feature weights toward zero, effectively performing feature selection during the learning process.

Limitations and Future Work

  • Numerical Stability: As $k$ gets very close to 1, the term $1/(k-1)$ grows very large, which can lead to numerical instability. The authors suggest $k \approx 1.1$ as a practical lower bound.
  • Over-determined Systems: The "stretching" effect is less pronounced in over-determined systems (more samples than features), where the solution tends not to be sparse.
  • Hyper-parameter Tuning: Like all regularized methods, SR requires careful tuning of $k$ and the regularization constant $c$.
  • Future Directions: The authors suggest that a more in-depth study of noise tolerance and further refinement of the input transformation could be valuable next steps.

Summary updated

BibTeX
@misc{toh2018deterministic,
  author = {Kar-Ann Toh and Lei Sun and Zhiping Lin},
  title = {{Deterministic Stretchy Regression}},
  year = {2018},
  eprint = {1806.03404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.03404},
}
Figure