Frobenius-Regularized Linear Assignment
- FRA is a relaxation framework that replaces traditional Euclidean projection with Frobenius regularization to mitigate geometric misalignment in the doubly stochastic set.
- It introduces a tunable parameter θ to explicitly control assignment sharpness, reconciling scale sensitivity with normalization in iterative QAP solvers.
- Integrated via the SDSN method, FRA offers unique convergence guarantees and competitive performance in both dense and sparse graph matching applications.
Frobenius-regularized Linear Assignment (FRA) is a relaxation framework for assignment and graph matching that replaces a scale-sensitive Euclidean projection onto the doubly stochastic set with a Frobenius-regularized optimization step. In the formulation introduced in “FRAM: Frobenius-Regularized Assignment Matching with Mixed-Precision Computing,” FRA is used as the projection subproblem inside an iterative Quadratic Assignment Problem (QAP) solver for graph matching. Its purpose is twofold: to mitigate the geometric misalignment introduced by relaxing permutation matrices to the doubly stochastic polytope, and to restore algorithmic scale invariance through explicit normalization and a tunable regularization parameter (Shen et al., 26 Jul 2025).
1. Problem setting and motivation
Let denote the set of permutation matrices. Its convex hull is the Birkhoff polytope, namely the set of doubly stochastic matrices
A standard linear assignment problem (LAP) is
or equivalently when the relaxed solution is later discretized, for example by the Hungarian algorithm (Shen et al., 26 Jul 2025).
In graph matching, the relevant objective is typically a QAP. For two attributed graphs and with , a standard relaxation over is
0
with
1
where 2 are symmetric nonnegative edge-attribute matrices, 3 are node-attribute matrices, and 4 balances the two terms. Projection-based methods update via
5
followed by projection to 6 and a convex combination:
7
The paper identifies two errors induced by the standard relaxation-and-projection paradigm. First, the doubly stochastic polytope strictly contains 8, so iterates may remain in the interior rather than near permutation matrices; this is described as geometric misalignment. Second, Euclidean projection onto 9 is not invariant to positive rescaling: for 0, 1. These two issues motivate FRA as a replacement for the “naked” projection step (Shen et al., 26 Jul 2025).
2. FRA objective and geometric role
FRA reformulates the projection step as a Frobenius-regularized optimization over 2. Starting from the identity
3
the Euclidean projection of 4 onto 5 can be viewed as solving
6
FRAM makes this dependence explicit by normalizing 7 by its maximum entry and introducing a tunable scale parameter 8 (Shen et al., 26 Jul 2025).
The primal projection form of FRA is
9
and the equivalent concave form is
0
The first term, 1, is the linear assignment score inherited from the QAP gradient. The second term, 2, biases the optimizer toward larger Frobenius norms within 3. On the doubly stochastic set, 4 is maximized by permutation matrices, with value 5, and minimized by the uniform matrix 6, with value 7. Consequently, larger 8 induces sharper, near-permutation assignments, while smaller 9 yields softer assignments. In the paper’s interpretation, this directly counteracts the feasible-region inflation caused by the doubly stochastic relaxation (Shen et al., 26 Jul 2025).
This construction separates numerical scale from assignment sharpness. Rather than allowing arbitrary scaling of the gradient-like matrix to implicitly alter the projection behavior, FRA uses the normalization 0 and lets 1 alone govern the trade-off between softness and discreteness. The intended effect is scale invariance at the algorithmic level together with explicit geometric control over the relaxed solution.
3. Theoretical properties
The central equivalence result is stated as Theorem 1:
2
Because the maximization is strictly concave in 3 over the convex compact set 4, existence and uniqueness hold. This gives FRA a well-posed inner problem with a unique solution for each 5 and input 6 (Shen et al., 26 Jul 2025).
The paper also provides an explicit bound relative to the unregularized linear assignment score. Let
7
and define
8
For nonnegative 9, Theorem 2 states that
0
The interpretation given is that the loss in linear score induced by the Frobenius regularization is bounded by the regularizer weight; larger 1 reduces this gap.
The limiting behavior is also characterized. Theorem 3 states that as 2, 3 converges to the unique minimizer of 4 on the optimal face
5
If the optimal permutation is unique, then 6 converges to that permutation. Theorem 4 states that as 7, 8, the uniform doubly stochastic matrix. FRA therefore interpolates between the barycenter of the relaxation and a near-discrete assignment; the paper describes moderate 9 as yielding a “soft-yet-sharp” assignment that can mitigate premature overconfidence (Shen et al., 26 Jul 2025).
A KKT sketch is given for the concave form. With equality multipliers for row and column sums and complementary slackness for nonnegativity, stationarity yields
0
with 1 chosen to enforce the doubly stochastic constraints. The paper notes that these conditions are consistent with the closed-form affine projection operator used in the solver.
FRA is also presented as a proximal step:
2
where 3 is the indicator of 4. This links FRA to Euclidean proximal methods on polytopes and clarifies that the regularization is not an external heuristic but a reformulation of the projection step with explicit control over its geometry (Shen et al., 26 Jul 2025).
4. SDSN: the solver for FRA
The FRA subproblem is solved by Scaling Doubly Stochastic Normalization (SDSN), an alternating-projection method between two sets: the affine subspace of matrices with row and column sums equal to 5, and the nonnegative orthant. The method initializes with
6
then alternates between an affine projection 7 and an elementwise nonnegativity projection 8 until a deviation metric 9 is below a threshold (Shen et al., 26 Jul 2025).
The nonnegativity projection is
0
elementwise. The affine projection onto 1 has the closed form
2
Theorem 5 states that this is the exact Euclidean projection for general asymmetric 3.
The stopping metric is
4
Using von Neumann’s lemma for alternating projections and the structure of 5, the paper states that 6 decreases monotonically to 7. In FRAM’s outer loop, convergence is monitored by the normalized Frobenius decrease
8
Each SDSN iteration has 9 time and 0 memory cost. Theorem 6 gives an iteration bound: for 1, SDSN needs
2
iterations to obtain 3 with 4, where 5 is the linear convergence rate constant of DSN/SDSN (Shen et al., 26 Jul 2025).
The paper contrasts SDSN with Sinkhorn-style entropic normalization. Entropic regularization solves
6
through multiplicative row and column scalings and depends on exponentials such as 7. By contrast, FRA/SDSN uses Euclidean regularization and additive projections with clipping. The stated consequences are that it tolerates sign and sparsity in 8, is robust to wide dynamic ranges under low precision, and avoids the overflow and underflow issues associated with exponentials (Shen et al., 26 Jul 2025).
5. Integration into FRAM and computational profile
Within FRAM, FRA is the projection stage of an outer QAP solver. The method initializes with 9 and, at iteration 0, computes
1
when node features are present; edge-only tasks set 2. It then solves
3
updates
4
stops when 5, and finally discretizes 6 to a permutation matrix 7 using the Hungarian algorithm (Shen et al., 26 Jul 2025).
The dominant cost in dense settings is forming 8, which is 9. Each SDSN call is 00 per inner iteration, and Hungarian discretization has worst-case 01 complexity. The overall FRAM iteration complexity is therefore 02 time and 03 memory.
The paper recommends 04 for stable, fast progress, as in DSPFP, and notes that moderate 05 improves stepwise gains while avoiding overly confident early assignments. It also recommends normalizing 06, 07, and 08 by a common scale before iteration. Specifically, with
09
the pre-scaling is
10
This is done in FP64 and is intended to keep 11 in a numerically safe range for low-precision computation (Shen et al., 26 Jul 2025).
The mixed-precision architecture assigns FP64 to preconditioning, state update, convergence checks, and final Hungarian discretization; TF32 on GPU to forming 12; and FP32 to SDSN iterations. Theorem 7 states that if 13 at SDSN step 14, with 15 the low-precision truncation residual, then under alternating 16 the residual is progressively corrected and vanishes as 17 increases. This is the paper’s theoretical explanation for why TF32/FP32 inner loops can preserve final accuracy when coupled with FP64 accumulation and stopping (Shen et al., 26 Jul 2025).
6. Empirical behavior and practical use
The empirical evaluation covers real-world image matching, the CMU House sequence, and the Facebook-ego social network. For the real-image datasets, the paper uses eight sets—viewpoint, scale, blur, JPEG, and illumination—represented as dense graphs with node and edge attributes and with 18 up to 19. The metric is
20
For CMU House, which uses attribute-free edges, runtime and error are reported for 21 up to approximately 22. For Facebook-ego, with 23 and 24, node accuracy 25 is reported under 26, 27, and 28 noise (Shen et al., 26 Jul 2025).
On CPU-FP64 benchmarks, the paper reports that for real images at 29, FRAM has average runtime approximately 30s versus DSPFP at 31s, approximately 32 faster, while achieving best or tied-best error on most sets. On CMU House, FRAM is reported at 33s versus DSPFP at 34s and ASM at 35s, with lowest error 36 versus DSPFP 37. On Facebook-ego, FRAM achieves accuracies of 38, 39, and 40 at 41, 42, and 43 noise, respectively; it is reported as faster than ASM by a factor of 44 and as having higher accuracy than all baselines, including a gain of 45 versus DSPFP at 46 noise (Shen et al., 26 Jul 2025).
For mixed precision, the paper reports that on NVIDIA RTX 4080 SUPER, FRAM on ubc(2000) yields a 47 speedup versus GPU-FP64 and a 48 speedup versus CPU-FP64; for problems with at most 49 nodes, speedups are below 50, which the paper describes as consistent with Amdahl’s law and fixed overheads. The abstract summarizes the acceleration as “up to 370X speedup over its CPU-FP64 counterpart,” with negligible loss in solution accuracy (Shen et al., 26 Jul 2025).
The practical guidance given in the paper recommends 51, with small values for dense or clean graphs 52–53 and larger values for sparse or noisy graphs 54–55. A separate summary recommends 56 for dense tasks and 57 for sparse tasks. The suggested defaults are 58–59 with 60 default, 61–62 with 63 default, 64 to 65 for SDSN stopping, and 66 to 67 for FRAM stopping. The paper also states that results are not sensitive to 68 and that 69 is used throughout (Shen et al., 26 Jul 2025).
7. Relation to adjacent methods, scope, and limitations
FRA is positioned against several classes of assignment and graph-matching methods. Relative to the Hungarian algorithm, which is an exact solver for the unregularized LAP and is often used only for final discretization in QAP relaxations, FRA introduces squared Frobenius regularization within the doubly stochastic relaxation in order to bias intermediate iterates toward extreme points. Relative to entropic regularization, including Sinkhorn, SoftAssign, and GA, FRA replaces KL or entropy penalties and multiplicative scaling with Euclidean regularization and additive projections. The paper emphasizes that the two approaches have different numerical profiles: entropic methods can be sensitive to the regularization parameter 70 and to scaling, may overflow or underflow, and use exponentials that are poorly suited to low precision; FRA is designed to sharpen assignments through 71 without exponentials (Shen et al., 26 Jul 2025).
Relative to Frank–Wolfe and projected gradient methods on 72, FRA replaces standard Euclidean projection with a proximal-with-bias step having explicit sharpness control through 73 and a unique inner solution due to strong concavity. Relative to DSPFP and IPFP, the paper’s claim is that unregularized doubly stochastic projection is scale-sensitive and may keep iterates in the interior, whereas FRA stabilizes projection behavior, sharpens assignments, and enables mixed precision. Relative to OT and Gromov–Wasserstein variants such as GWL and S-GWL, the paper describes FRAM as more scalable and faster in the reported large-graph settings, with higher matching accuracy in those experiments (Shen et al., 26 Jul 2025).
The method’s limitations are also explicit. The parameter 74 is chosen empirically rather than adaptively. The dense multiplication 75 imposes 76 time per outer iteration, so sparsity exploitation, structure-aware kernels, or blocked and tiled GPU GEMMs are identified as potential improvements. The paper further notes that extending FRA to higher-order matching, tensor QAP, and partial or rectangular matching with rigorous guarantees remains open. It also points to low-level optimizations such as kernel fusion, custom mixed-precision accumulators, and asynchronous pipelines as possible future work (Shen et al., 26 Jul 2025).
Within that scope, FRA serves as the mathematical core of FRAM: a Frobenius-regularized projection on the doubly stochastic set that interpolates between the uniform matrix and near-permutation assignments, is equipped with score-gap and limiting guarantees, admits an 77 alternating-projection solver, and is designed to preserve scale invariance while remaining compatible with mixed-precision computation.