Estimating Shape Parameters of Piecewise Linear-Quadratic Problems

Peng Zheng, Aleksandr Y. Aravkin, Karthikeyan Natesan Ramamurthy · DOI

Abstract

Piecewise Linear-Quadratic (PLQ) penalties are widely used to develop models in statistical inference, signal processing, and machine learning. Common examples of PLQ penalties include least squares, Huber, Vapnik, 1-norm, and their asymmetric generalizations. Properties of these estimators depend on the choice of penalty and its shape parameters, such as degree of asymmetry for the quantile loss, and transition point between linear and quadratic pieces for the Huber function. In this paper, we develop a statistical framework that can help the modeler to automatically tune shape parameters once the shape of the penalty has been chosen. The choice of the parameter is informed by the basic notion that each QS penalty should correspond to a true statistical density. The normalization constant inherent in this requirement helps to inform the optimization over shape parameters, giving a joint optimization problem over these as well as primary parameters of interest. A second contribution is to consider optimization methods for these joint problems. We show that basic first-order methods can be immediately brought to bear, and design specialized extensions of interior point (IP) methods for PLQ problems that can quickly and efficiently solve the joint problem. Synthetic problems and larger-scale practical examples illustrate the potential of the approach.

Introduction

In statistical modeling and machine learning, Piecewise Linear-Quadratic (PLQ) penalties are essential tools for handling outliers and promoting sparsity. Familiar examples include the Huber loss, which transitions from a quadratic to a linear regime, and the quantile loss, which introduces asymmetry to handle biased noise.

Common PLQ penalties: Huber, quantile, and quantile Huber.

These penalties are defined by "shape parameters"—such as the transition point $\kappa$ for Huber loss or the asymmetry $\tau$ for quantile regression. Traditionally, these parameters are tuned via computationally expensive methods like grid search or cross-validation, requiring the model to be refit many times. This paper proposes a framework for automatic parameter selection, allowing the optimal shape of the penalty to be inferred directly from the data during the model-fitting process.

Methodology

The core innovation lies in bridging optimization and statistics by treating a penalty function $\rho(r; \theta)$ as the negative log of a statistical density.

The Normalization Constant

For a penalty to correspond to a valid probability distribution, it must integrate to unity. This requirement introduces a normalization constant, $n_c(\theta)$, which is a function of the shape parameters $\theta$.

Joint Objective Formulation

The authors propose an extended likelihood formulation that incorporates this constant: $$\min_{x, \theta} \sum_{i=1}^m \rho(y_i - a_i^T x; \theta) + m \log(n_c(\theta))$$ The term $m \log(n_c(\theta))$ acts as a natural regularizer. It prevents the optimization from collapsing into trivial solutions (e.g., making the loss zero by choosing extreme shape parameters) by ensuring the resulting model remains statistically valid.

Optimization Algorithms

The joint problem is generally non-convex. The paper explores two primary algorithmic approaches:

  1. First-Order Methods: The Proximal Alternating Linearized Minimization (PALM) algorithm is adapted for large-scale problems where the penalty is smooth.
  2. Interior Point (IP) Methods: A specialized IP algorithm is developed using conjugate representations of PLQ functions. This approach is highly robust, typically converging in fewer than 20 iterations regardless of problem dimensionality.

Experimental Evaluation

The framework was tested on both synthetic and real-world datasets:

  • Synthetic Data: Linear regression problems ($m=1000, n=50$) were generated using "quantile Huber" distributions to see if the algorithm could recover the ground truth $\tau$ and $\kappa$.
  • Real-World Data (Campus Dataset): A video sequence for Robust PCA (RPCA) was used to separate moving foreground objects from a static background. The data was represented as a $20480 \times 202$ matrix.

Key Results and Insights

  • Parameter Recovery: In synthetic trials, the algorithm successfully recovered the true asymmetry and robustness thresholds used to generate the data.
  • Efficiency: Jointly optimizing for shape and model parameters proved significantly faster than traditional tuning. The joint approach was approximately 20 times faster than a standard $5 \times 5$ grid search.
  • Robust PCA Performance: On the Campus dataset, the self-tuning Huber penalty outperformed fixed-parameter baselines. The algorithm automatically adjusted the penalty scale to treat moving objects as outliers, resulting in superior background separation.
  • Convergence: The Interior Point method demonstrated extremely fast convergence, making it a competitive choice for medium-sized problems despite its per-iteration complexity.

Conclusion and Future Work

While the joint problem is non-convex, local search methods proved reliable in finding high-quality solutions. However, theoretical global optimality guarantees remain an area for future research. Additionally, scaling the Interior Point method to "big data" regimes will require the integration of iterative solvers and specialized pre-conditioners. Finally, the behavior of the method as the number of shape parameters increases is an open question for further investigation.

Summary updated

Abstract

Piecewise Linear-Quadratic (PLQ) penalties are widely used to develop models in statistical inference, signal processing, and machine learning. Common examples of PLQ penalties include least squares, Huber, Vapnik, 1-norm, and their asymmetric generalizations. Properties of these estimators depend on the choice of penalty and its shape parameters, such as degree of asymmetry for the quantile loss, and transition point between linear and quadratic pieces for the Huber function. In this paper, we develop a statistical framework that can help the modeler to automatically tune shape parameters once the shape of the penalty has been chosen. The choice of the parameter is informed by the basic notion that each QS penalty should correspond to a true statistical density. The normalization constant inherent in this requirement helps to inform the optimization over shape parameters, giving a joint optimization problem over these as well as primary parameters of interest. A second contribution is to consider optimization methods for these joint problems. We show that basic first-order methods can be immediately brought to bear, and design specialized extensions of interior point (IP) methods for PLQ problems that can quickly and efficiently solve the joint problem. Synthetic problems and larger-scale practical examples illustrate the potential of the approach.
BibTeX
@misc{zheng2017estimating,
  author = {Peng Zheng and Aleksandr Y. Aravkin and Karthikeyan Natesan Ramamurthy},
  title = {{Estimating Shape Parameters of Piecewise Linear-Quadratic Problems}},
  year = {2017},
  eprint = {1706.01865},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.01865},
}
Figure