Research
SPARSER: Sparse Variable Projection by Exploiting Separable Structure in Robotic Perception
Robotic perception systems routinely solve NLS problems with 10^6–10^7 variables, and scaling them is hard because they must be solved to high numerical accuracy and are often ill-conditioned.

- arXiv
- 2609.24708 · Preprint · not peer-reviewed
- Published
- 2026-09-21
- Authors
- Nikolas R. Sanderson, Andrew Fishberg, Haoyu Han, Heng Yang, Jonathan P. How, Hanumant Singh, Michael Everett, Alan Papalia
In plain words
Robotic perception systems routinely solve NLS problems with 10^6–10^7 variables, and scaling them is hard because they must be solved to high numerical accuracy and are often ill-conditioned.
Key results
- Per-dataset gains exceeding 40×. Individual datasets show speedups above 40×.
- Robust variant beats GNC. On real-world multi-robot SLAM data with naturally outlier-corrupted loop closures, the robust IRLS variant ranges from 2× to 16× faster than a state-of-the-art GNC solver.
AI summary
Overview
Research area: Robotics and robotic perception, specifically large-scale nonlinear least-squares (NLS) optimization for problems such as SLAM, structure from motion (SfM), and sensor network localization (SNL).
Technical level: Advanced. The paper assumes familiarity with nonlinear least squares, Levenberg–Marquardt-style solvers, the Schur complement, sparse Cholesky factorization, and basic graph/incidence-matrix concepts. The high-level idea is accessible to an intermediate reader, but the technical core is graduate-level numerical optimization.
One-sentence scope: The paper introduces SPARSER, a variable-projection scheme that analytically eliminates unconstrained variables in sparsity-structured perception problems—even in the presence of gauge symmetries—via a matrix-free Schur complement operator, and demonstrates 5×–7× average speedups over state-of-the-art baselines.
What This Paper Is About
Robotic perception systems routinely solve NLS problems with 10^6–10^7 variables, and scaling them is hard because they must be solved to high numerical accuracy and are often ill-conditioned. Many of these problems have a separable structure: some variables (landmarks, translations) appear linearly and can be solved for in closed form once the remaining variables (poses) are fixed, a property exploited by variable projection (VarPro). SPARSER's goal is to make VarPro practical for perception problems despite gauge symmetries—cost invariances to global shifts and rotations—that make the linear block rank-deficient and have previously limited VarPro's efficiency gains in robotics.
Key Contributions
- A sparsity-preserving VarPro scheme (SPARSER) that accelerates a broad class of perception problems by analytically eliminating unconstrained variables while retaining the original problem's sparsity, rather than forming a dense reduced matrix.
- A precise characterization of the applicable problem class, stated as checkable a priori conditions: a set of unconstrained variables exists, the residuals are linear in the variables, and the Jacobian block for the eliminated variables has a specific graph-theoretic structure (an incidence matrix of a connected graph) that permits a closed-form construction by deleting one row and one column from specific problem matrices.
- An extension to robust cost functions via iteratively reweighted least squares (IRLS), showing that the symbolic preprocessing is reusable across outer iterations so that only a numerical refactorization is needed after each reweighting.
- An open-source C++ implementation and all datasets released for reproducibility (github.com/UMich-RobotExploration/variable-projection), together with a GPU implementation and an expanded empirical evaluation relative to the ICRA 2026 conference version.
Main Findings
- Average runtime gains of 5× to 7×: Across synthetic and real benchmarks in SLAM, SNL, and SfM, SPARSER is on average 5× to 7× faster than state-of-the-art baselines on both CPU and GPU.
- Per-dataset gains exceeding 40×: Individual datasets show speedups above 40×.
- Reaching solutions baselines cannot: On the real-world structure-from-motion dataset BAL-1934, SPARSER is the only method able to reach the global optimum on CPU (Table 3) and is the fastest on GPU (Table 4).
- Robust variant beats GNC: On real-world multi-robot SLAM data with naturally outlier-corrupted loop closures, the robust IRLS variant ranges from 2× to 16× faster than a state-of-the-art GNC solver.
- Solving problems baselines cannot solve at all: On the large-scale
outfinitedataset, the comparison methods are unable to produce a solution, while SPARSER applies. - Gauge symmetries can be handled without workarounds: Removing a single row and column from the relevant matrices converts a rank-deficient, pseudoinverse-requiring system into a sparse positive-definite one admitting Cholesky factorization, which is what makes the matrix-free operator efficient.
- Robust costs preserve most of the exploited structure: Reweighting under IRLS changes only numbers, not the symbolic preprocessing, so the one-time construction survives outer iterations.
- Scope limits: The approach excludes problems composed entirely of constrained variables, such as pure rotation averaging, since it depends on having unconstrained variables to eliminate.
Methodology in Plain English
The starting point is the observation that with linear residuals, the perception problem becomes a constrained quadratic cost whose matrix is built from the residual Jacobian and the measurement weights. Splitting the variables into "constrained" ones (e.g., rotations that must stay on the rotation manifold) and "unconstrained" ones (e.g., translations, landmarks), the unconstrained block can be solved for exactly in terms of the constrained block and substituted back in, producing a smaller reduced problem in the constrained variables only.
The textbook way to do this substitution requires a pseudoinverse, because the unconstrained block is rank-deficient—the rank deficiency comes from gauge freedom, the fact that the cost does not change if you globally shift or rotate the whole solution. The pseudoinverse is expensive and, worse, the resulting reduced (Schur complement) matrix is dense, which destroys the sparsity that made the original problem tractable.
The authors' fix is to factor the unconstrained Jacobian into a column-space basis times a row-space basis (a CR decomposition). This replaces the pseudoinverse with the inverse of a smaller, well-conditioned matrix that is positive definite and therefore Cholesky-factorizable. For the common case where residuals are relative differences between pairs of unconstrained variables, that column-space basis is simply the incidence matrix of the underlying graph with one column deleted—so the whole construction reduces to deleting one row and one column from matrices the solver already has, then running a sparse Cholesky factorization. All of this happens once, as preprocessing.
Afterwards, products with the reduced matrix are computed on the fly as a sequence of sparse matrix products and forward/back substitutions, so the dense reduced matrix is never formed. Standard iterative solvers only need costs, gradients, and Hessian-vector products, all of which this operator supplies. For robust costs, the same preprocessing is reused while weights are updated across IRLS iterations.
Why This Matters
Impact on research: The paper shows that variable projection, a classical numerical-analysis technique with limited uptake in robotics, can be made compatible with the gauge symmetries that pervade perception problems. It generalizes prior sparsity-preserving work (Rosen et al., 2019) to a broader problem class and is deliberately narrower in residual scope than Khosoussi et al. (2016) in order to expose additional exploitable structure. It also connects the linear-algebraic construction to conditional inference in Gaussian graphical models, linking variable projection, conditional structure, and sparsity under marginalization.
Real-world applications (as evaluated or named in the paper):
- Multi-robot SLAM with naturally outlier-corrupted loop closures, where the robust variant is compared against a GNC solver.
- Structure from motion / 3D reconstruction, including the BAL-1934 benchmark and a large-scale dataset the baselines cannot solve.
- Sensor network localization from noisy range measurements.
- Pose-graph optimization for robot trajectory estimation, one of the four benchmark families.
Industry relevance: The method is a drop-in preprocessing step that integrates with standard iterative NLS solvers and comes with open-source C++ code plus a GPU implementation, so it can be adopted by existing SLAM and SfM pipelines without rewriting their back ends. Solving larger problems within memory limits—without forming dense reduced matrices—directly affects the scale of deployable field robots and mapping systems, and the robust extension matters for real deployments where loop closures are wrong.
Future Directions
- Handling residuals that are only partially linear: The paper notes the ideal conditions may be satisfied only partially (e.g., some residuals are nonlinear) and discusses how the method extends in that case; quantifying the cost of recomputing the CR decomposition and Cholesky factor at each linearization of a general nonlinear problem remains an open direction.
- Broadening the graph-theoretic conditions: Full sparsity-preserving efficiency is currently tied to a specific structure (incidence matrices of connected graphs). Whether other common Jacobian structures admit similarly cheap closed-form constructions is unresolved.
- Extending the robust pipeline: Since IRLS preserves the symbolic preprocessing, a natural next step is pushing this reuse further—for instance to other robust formulations or to incremental and distributed settings where the factorization is updated rather than recomputed.
- Scaling the GPU path: The GPU implementation demonstrates the matrix-free construction is exploitable on parallel hardware; how far the approach scales on much larger problems and how it composes with incremental smoothing and distributed multi-robot optimization are open questions. (The paper's Section 8 discusses future work, but that section's contents are not included in the provided text.)
Target Audience
Researchers and engineers working on optimization back ends for SLAM, structure from motion, sensor network localization, and multi-robot autonomy; numerical-optimization researchers interested in variable projection and matrix-free Schur complement methods; and practitioners maintaining large-scale C++ factor-graph or bundle-adjustment systems who want a preprocessing step that reduces runtime without changing their solver. Readers need comfort with sparse linear algebra and manifold-constrained least squares to follow the derivations, though the problem framing and empirical results are readable by a broader robotics audience.
Authors’ abstract
Robotic perception often requires solving large nonlinear least-squares (NLS) problems. While sparsity has been widely exploited to scale solvers, a complementary and underused structure is \emph{separability}: some variables, such as visual landmarks, appear linearly in the residuals and admit a closed-form solution once the remaining variables, such as poses, are fixed. Variable projection (VarPro) exploits this structure by analytically eliminating the linear variables,…
The full abstract on arXivRelated papers
- OCC4M: Object-Centric 4D Memory for Spatiotemporal Reasoning in Long-Horizon Manipulation 2026-09-23 · cs.RO · Also by Heng Yang
- Steering Generative Robot Policies with Lexicographic Preferences 2026-09-14 · cs.RO · Also by Jonathan P. How
- OpenSplatGraph: From Dense Semantic Maps to Structured Scene Graphs for Open-Vocabulary Robot Perception 2026-10-06 · cs.RO · Key terms of the title in common
- Sim-to-Real RL for ASVs using SysID 2026-10-08 · cs.RO · Also by Alan Papalia
- MuSTMM: Learning Sound-Triggered Mobile Manipulation across Multiple Scenes 2026-10-15 · cs.RO · Also by Heng Yang