Does the Affine Constraint Make Graph Thresholds Safe?

Subspace clustering groups data points that lie near the same low-dimensional flat. It works by writing each point as a weighted combination of the other points, then treating those weights as edges of a graph that a spectral method cuts into clusters. Almost every pipeline also prunes small weights before the cut, using a global cutoff $\tau$ or by keeping the top $k$ per point. That pruning step is notoriously sensitive. Too permissive and noise edges merge clusters; too strict and clusters shatter. Separately, the affine-subspace literature has shown that adding a "weights sum to one" constraint lets the method model flats that do not pass through the origin. For points inside a cluster's convex hull, the same constraint also makes the weights dense and non-negative, which glues each cluster into one connected piece. These two facts pull in opposite directions. Dense glue made of many small weights is exactly what a magnitude threshold deletes first.

This note proposes to measure, explain, and exploit that collision. The claim is that the sum-to-one constraint changes the threshold problem. Coefficients that sum to one have no units, so a cutoff can be stated relative to the effective size of each point's support instead of tuned per dataset. The constraint should therefore widen the range of safe thresholds whenever the threshold rule respects that scale, and shrink it when a naive top-$k$ or absolute cutoff is used. If this holds, it also qualifies the known result that affine and linear models become equivalent in high dimensions. That equivalence would hold only at a well-tuned threshold, not across thresholds.

Core Claim

On Geometric Analysis of Affine Sparse Subspace Clustering proves two things. Affine sparse subspace clustering (ASSC) is equivalent to ordinary sparse subspace clustering on data with a constant coordinate appended. And for interior points with non-negative solutions, the $\ell_1$ penalty becomes the constant $1$, so it stops promoting sparsity. That paper motivates this work: it identifies the glue. It does not analyze what happens when that glue is pruned.

We make three linked claims, each falsifiable. First, a sensitivity claim. Under the affine constraint, the intra-cluster coefficients of an interior point are on the order of $1/s_j$, where $s_j$ is that point's effective support size. Top-$k$ pruning with $k < s_j$, or an absolute cutoff above roughly $1/s_j$, will therefore break intra-cluster connectivity in ASSC more readily than in linear SSC.

Second, a window claim. Write $\eta$ for the typical magnitude of cross-cluster coefficients caused by noise. There is a safe window of cutoffs, bounded below by $\eta$ and above by the interior glue magnitude, and its width depends predictably on ambient dimension $D$, noise level, and cluster size.

Third, a method claim. A per-point cutoff tied to the sum-to-one scale, with a single dimensionless constant fixed once on synthetic data, transfers across datasets without retuning. The rule is

$$ \tau_j = \frac{\beta}{s_j}, \qquad s_j = \exp\Big(-\sum_i p_{ij}\log p_{ij}\Big), \quad p_{ij} = \frac{|c_{ij}|}{\|\mathbf{c}_j\|_1}. $$

Here $\mathbf{c}_j$ is point $j$'s coefficient vector, $s_j$ is the entropy-based effective number of neighbors, and $\beta$ is one global constant. For a linear representation, $\|\mathbf{c}_j\|_1$ moves with the point's norm and offset, so the same rule has no fixed meaning. Under the affine constraint it does.

The representation itself is not new. Affine ridge regression is essentially ridge regression on homogenized data with a large appended constant. The contribution is the account of how the constraint interacts with pruning, the predicted safe window, and a cutoff rule justified by that account.

Research Program

Theory. We will bound the magnitude of interior coefficients for ASSC and for an affine version of thresholded ridge regression, under random sampling on each flat. From those bounds we will derive the threshold at which an affine cluster's pruned graph first disconnects. We will compare that threshold with the noise floor $\eta$, which follows the intra-subspace projection dominance argument of Robust Subspace Clustering via Thresholding Ridge Regression. That paper supplies the technique but proves dominance only for subspaces through the origin.

Extreme points, which On Geometric Analysis of Affine Sparse Subspace Clustering flags as brittle, need separate treatment. Symmetrizing the graph as $W=|C|+|C|^\top$ lets interior points that use an extreme point pass glue back to it. We will bound when this rescues extreme points under pruning. Graph Connectivity in Noisy Sparse Subspace Clustering constrains the theory: it shows that linear sparse graphs fragment for subspace dimension $d\ge 4$. Our window must therefore be stated relative to that baseline fragmentation, and should not claim pruning is the only cause.

Measurement. We will map clustering error and connected components per true cluster over a grid of thresholds. The grid will be crossed with ambient dimension, shift magnitude, noise level, and representation type. The representation types are linear SSC, ASSC, least-squares regression with and without the affine constraint, and thresholded ridge with and without it.

This directly tests a gap left by Is an Affine Constraint Needed for Affine Subspace Clustering?. That paper shows the linear and affine models converge once $D \ge \sum_k d_k + K$, but it reports accuracy only, not graph topology or threshold dependence.

All $\ell_1$ problems will use the proximal solver of Efficient Solvers for Sparse Subspace Clustering, so that solver differences do not confound the curves.

Baselines

Do nothing. The simplest reference is no pruning at all: spectral clustering on $|C|+|C|^\top$ exactly as the solver returns it. It is a genuine competitor because ASSC's dense glue might make pruning unnecessary. Our rule beats it only if it lowers error on noisy data while leaving the clean-data error unchanged.

Strongest existing method. This is thresholded ridge regression (TRR) from Robust Subspace Clustering via Thresholding Ridge Regression, with its top-$k$ parameter tuned on the evaluation data, which is its most favorable setting. That paper reports 86.57% accuracy on Extended Yale B under 50% Gaussian noise, against 55.85% for SSC.

Strongest affine reference. This is ASSC with its usual tuned pruning. On Geometric Analysis of Affine Sparse Subspace Clustering reports these clustering errors:

Dataset ASSC error SSC error
Hopkins 155, two-motion 1.95% 5.48%
UCI Wine 7.87% 34.83%
Breast Cancer Wdbc 8.26% 28.12%

Ablations. These isolate the key ingredient. The first applies the same $\beta/s_j$ rule to linear representations, with $\beta$ frozen identically. The second uses an affine representation with plain top-$k$ pruning. The third is a cumulative-mass cutoff, which keeps the largest coefficients until a fixed fraction of $\|\mathbf{c}_j\|_1$ is retained.

Fairness rules. Every method receives the same data, the same solver, and the same regularization grid. Tuned baselines get their best threshold chosen on the test data; our rule gets one $\beta$ frozen from synthetic data.

What counts as winning. The rule wins if it matches tuned baselines within about one point of error on Hopkins 155, Wine, Wdbc, and Extended Yale B. It must also do clearly better than untuned baselines at their default settings, and its window of near-optimal $\beta$ must be wider than the corresponding window for $\tau$ or $k$.

Why not just…?

Why not just homogenize the data and use linear TRR? Homogenization is exactly equivalent to ASSC, as On Geometric Analysis of Affine Sparse Subspace Clustering and Algebraic Clustering of Affine Subspaces establish, so we adopt it as our representation. What it does not settle is the threshold question. Homogenized TRR still needs $k$ chosen by hand. The ridge version also adds a second knob, the size of the appended constant, which the file notes is sensitive to data scaling relative to Median K-flats for hybrid linear modeling with many outliers. We will sweep that constant and report whether our rule removes sensitivity to it.

Why not just skip pruning, since the affine glue already ensures connectivity? This is a real threat. If the do-nothing baseline matches pruned ASSC on noisy Extended Yale B and Hopkins 155, then the sensitivity claim fails and the rule becomes unnecessary. We will report this outcome as a result in its own right. The expected failure mode is cross-cluster leakage from noise, which TRR's gain over SSC under heavy noise suggests is substantial.

Why not just pick the threshold without labels, for example by the eigengap of the graph or by stability across bootstrap resamples? Both are reasonable automatic tuners and will be included as baselines with an equal compute budget. They search over $\tau$ but say nothing about why a value works, and they cost many spectral decompositions. If eigengap tuning on linear TRR matches our rule everywhere, the method claim reduces to a cheaper equivalent. In that case the theory and measurement results would stand on their own.

Why not just use a consensus k-nearest-neighbor graph? Consensus of k-NNs for Robust Neighborhood Selection on Graph-Based Manifolds builds threshold-robust graphs from distance-based neighborhoods. Near an intersection of flats, however, points from different flats are each other's nearest neighbors. We include it on the synthetic intersecting-flats data to show that failure directly.

Proposed Experiments

The first decisive check is synthetic. We will build arrangements of shifted lines, planes, and $d\ge4$ flats, varying the shift magnitude and $D$. In the low-dimensional regime $D < \sum_k d_k + K$, we predict that ASSC under top-$k$ disconnects at smaller $k$ than linear SSC, and that the $\beta/s_j$ rule does not. If ASSC is no more fragile under top-$k$, the sensitivity claim fails.

The second check tests the dimension gap. We will use COIL-100 downsampled from 32×32 to 2×2 pixels, and Hopkins 155 projected by principal component analysis to varying dimensions, as in Is an Affine Constraint Needed for Affine Subspace Clustering?. The question is whether linear and affine curves agree at every threshold or only at the best one. If they agree at every threshold above the gap, the second claim is refuted.

The third check is transfer. We will freeze $\beta$ on synthetic data and evaluate on Hopkins 155, Wine, Wdbc, and Extended Yale B with 0–50% noise. Metrics are clustering error, normalized mutual information, connected components per true cluster, and the width of the near-optimal threshold window.