Search arXiv⌕ Search

arXiv · 2611.18547

Polynomial-Time Solvability of the Multi-Dimensional Slope Change Problem

Abstract

Slope change detection seeks to identify changes in the trends of time-ordered signals. We study the problem of fitting a multidimensional time series by continuous piecewise-linear functions with a shared continuous breakpoint and unrestricted slopes. We consider both the dense setting, in which every dimension may change slope, and the sparse setting, in which at most $k$ dimensions may change slope. Although the resulting optimization problems are nonconvex mixed integer nonlinear programs and may have irrational optimal solutions even for rational data, we prove that all six variants, corresponding to the $\ell_1$, $\ell_2$, and $\ell_\infty$ losses in both settings, are exactly solvable in polynomial time. For least-squares loss, we obtain efficient algorithms requiring $O(JT)$ operations in the dense setting and $O(J^2T\log J)$ operations in the sparse setting, where $T$ is the number of time points and $J$ is the number of dimensions. We implement these least-squares algorithms and evaluate them on simulated data and three real-world time series, namely, surface temperatures (ERA5), hand-tracking data from a mixed-reality headset (HoloAssist), and turbofan engine sensor data (NASA C-MAPSS). The dense algorithm solves instances with up to $J=10^5$ and $T=100$, that is, $10^7$ observations, in less than $0.1$ seconds on a laptop, while the sparse algorithm solves instances with about $10^3$ dimensions and up to $T=240$ in under a second. Compared with a mixed-integer nonlinear programming (MINLP) formulation solved by Gurobi, our algorithms are several orders of magnitude faster (approximately $8.9 \times 10^3$ to $3.4 \times 10^6$ times) on instances where Gurobi terminates within its default optimality tolerance of $0.01\%$ optimality gap. On larger instances, Gurobi frequently reaches a 10,000-second time limit with substantial optimality gaps.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Apoorva Narula, Santanu S. Dey. 2026-11-13. Polynomial-Time Solvability of the Multi-Dimensional Slope Change Problem. https://searcharxiv.org/abs/2611.18547

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

The one-shot problem: Solution to an open question of finite-fuel singular control with discretionary stopping

We resolve a long-standing open question posed by Karatzas, Ocone, Wang, and Zervos (Stochastics, 2000) on finite-fuel singular stochastic control with discretionary stopping. Our approach introduces a novel "one-shot" solution technique, based on reduction to an auxiliary optimal stopping problem. We prove that, despite the convexity of the objective function, the waiting region of the optimal strategy need not be connected. Furthermore, we identify a qualitative transition in the optimal policy: even with arbitrarily small positive fuel, the solution can differ from the zero-fuel (pure optimal stopping) limit. These results reveal a fundamental non-robustness in such control problems, showing that zero-fuel models need not approximate behaviour under small but positive fuel constraints.

math.OC↗

A FISTA-type Riemannian Accelerated Proximal Gradient Method

We study accelerated proximal gradient methods for minimizing the sum of a smooth and a nonsmooth function on Riemannian manifolds. Accelerated convergence rates under geodesic convexity have not been established for some existing methods, and global geodesic convexity may fail or be difficult to verify. We develop a Riemannian accelerated proximal gradient method that combines tangent-space proximal steps with momentum updates based on parallel transport and the exponential map. Under geodesic $μ$-strong convexity ($μ\geqslant0$) of the smooth term and pullback $ρ$-convexity ($ρ\in\mathbb{R}$) of the nonsmooth term, we establish accelerated convergence rates for the objective gap: an $\mathcal{O}(k^{-2})$ rate when $μ-ρ\geqslant0$ and a linear rate when $μ-ρ>0$, where $k$ is the iteration count. The rates depend on sectional curvature bounds and the diameter of a prescribed region assumed to contain the iterates. For nonconvex objectives or unknown problem parameters, we further consider an adaptive restart variant with proximal gradient safeguards. If the initial sublevel set is compact, we prove that every accumulation point of the safeguard reference sequence is stationary and that an $\varepsilon$-stationary point is obtained within $\mathcal{O}(\varepsilon^{-2})$ iterations for any tolerance $\varepsilon>0$. Both methods also apply to smooth objectives. In this setting, the basic method yields a single Riemannian accelerated gradient scheme for geodesically convex and geodesically $μ$-strongly convex problems. Its iteration and parameter recurrence extend continuously to $μ=0$, and a single analysis establishes accelerated rates in both cases. Numerical experiments on nonsmooth composite and smooth problems demonstrate the effectiveness of the proposed methods.

math.OC↗

Variational analysis of determinantal varieties

Determinantal varieties---the sets of bounded-rank matrices or tensors---have attracted growing interest in low-rank optimization. The tangent cone to low-rank sets is widely studied and underpins a range of geometric methods. The second-order geometry, which encodes curvature information, is more intricate. In this work, we develop a unified framework to derive explicit formulas for both first- and second-order tangent sets to various low-rank sets, including low-rank matrices, tensors, symmetric matrices, and positive semidefinite matrices. The framework also accommodates the intersection of a low-rank set and another set satisfying some assumptions, thereby yielding a tangent intersection rule. Through the lens of tangent sets, we establish a necessary and sufficient condition under which a nonsmooth problem and its smooth parameterization share equivalent second-order stationary points. As applications, we exploit tangent sets to characterize optimality conditions for low-rank optimization and prove that verifying second-order optimality is NP-hard. Moreover, for low-rank semidefinite programs, the Burer--Monteiro parameterization maps fourth-order stationary points of the parameterized problem to second-order stationary points of the original problem. In a separate line of analysis, we investigate variational geometry of the graph of the normal cone to matrix varieties, deriving the explicit Bouligand tangent cone, Fréchet and Mordukhovich normal cones to the graph. These results are further applied to develop optimality conditions for low-rank bilevel programs.

math.OC↗