Untangling Lariats: Subgradient Following of Variationally Penalized Objectives

Kai-Chia Mo, Shai Shalev-Shwartz, Nisæl ShártovarXiv 2024 · DOI

Introduction

In signal processing and machine learning, the task of "smoothing" a noisy sequence $y$ into a structured sequence $x$ is fundamental. Common structural priors include piecewise constancy (Fused Lasso) or monotonicity (Isotonic Regression). While specific algorithms exist for these cases, they often struggle with high-order penalties—such as making the change in velocity sparse—or multivariate data. Furthermore, standard iterative solvers frequently fail to recover exact "fusion" events where $x_i = x_{i+1}$.

A Unified Variational Framework

The authors propose a unified framework for solving convex optimization problems with sequential variational penalties: $$\min_{\mathbf{x}} \sum_{i=1}^n h_i(x_i) + \sum_{i=1}^{n-1} g_i(x_i - x_{i+1})$$ Here, $h_i$ represents a loss function (e.g., squared error or Bregman divergence), and $g_i$ is a variational penalty. This formulation encompasses a wide range of problems, from simple smoothing to complex temporal filtering.

Subgradient Following via Duality

The core innovation of the Untangled Lariat is the use of Fenchel-Moreau duality to transform the primal problem into a recursive sequence of subgradient set mappings. Instead of traditional primal gradient descent, the algorithm "unravels" the optimal solution from back to front.

Recursive subgradient mappings (left) and the resulting smoothed output sequence (right) compared to noisy input.

This approach allows for exact solutions. For "Fused Barriers"—where constraints are placed on the difference $|x_i - x_{i+1}|$—the authors introduce the Kvetsh operator. This operator effectively "squeezes" the recursive mapping by inserting intervals of zero slope, handling constraints exactly rather than through soft penalties. By viewing these problems through the lens of duality, the difference between Fused Lasso and Isotonic Regression becomes a single line of code in the recursive mapping.

High-Order and Multivariate Extensions

The framework extends beyond simple first-order differences. By utilizing lattice-based filtering, the authors derive $O(n^k)$ solvers for $k$-th order finite differences, enabling efficient sparse acceleration or "jerk" filtering. For multivariate sequences, the authors employ a Huber-loss relaxation and a gradient-based search on slack variables, achieving linear convergence to the optimum.

To maintain computational efficiency, the authors utilize skip-list data structures to find zero-crossings in $O(n \log n)$ time. This makes the "Fused Barrier" approach practical for large-scale sequences.

Experimental Results

Sparsity Recovery

In high-dimensional multivariate tests (dimension $d=100$), Untangled Lariat demonstrates superior performance in recovering exact sparse structures. While standard Dual Proximal Gradient (DPG) methods see a sharp decline in recovery rates as sparsity increases, Untangled Lariat maintains near-100% recovery of fusion events even at 90% sparsity. This makes the method particularly robust for applications requiring high structural fidelity.

Qualitative Analysis on Financial Data

Applying the framework to financial indices like the S&P 500 (SPX) and the VIX, the authors show that 2nd-order filtering produces piecewise linear trends. These trends capture market dynamics, such as "up-then-down" spikes, more faithfully than the piecewise constant outputs of standard Fused Lasso, which can be too rigid for volatile financial data.

Conclusion

Untangled Lariat provides a powerful, unified approach to variational smoothing. By leveraging the geometry of subgradient mappings, it achieves exactness and efficiency where iterative methods falter. The framework's ability to handle high-order and multivariate constraints makes it a versatile tool for modern signal processing tasks.

Summary updated

BibTeX
@misc{mo2024untangling,
  author = {Kai-Chia Mo and Shai Shalev-Shwartz and Nisæl Shártov},
  title = {{Untangling Lariats: Subgradient Following of Variationally Penalized Objectives}},
  year = {2024},
  eprint = {2405.04710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.04710},
}
Figure