Papers
Topics
Authors
Recent
Search
2000 character limit reached

Frobenius-Regularized Linear Assignment

Updated 7 July 2026
  • 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 θ>0\theta>0 (Shen et al., 26 Jul 2025).

1. Problem setting and motivation

Let Πn\Pi_n denote the set of n×nn\times n permutation matrices. Its convex hull is the Birkhoff polytope, namely the set of doubly stochastic matrices

DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.

A standard linear assignment problem (LAP) is

minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,

or equivalently minXDSC,X\min_{X\in DS}\langle C,X\rangle 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 G=(V,E,A,F)G=(V,E,A,F) and G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F) with V=V~=n|V|=|\tilde V|=n, a standard relaxation over DSDS is

Πn\Pi_n0

with

Πn\Pi_n1

where Πn\Pi_n2 are symmetric nonnegative edge-attribute matrices, Πn\Pi_n3 are node-attribute matrices, and Πn\Pi_n4 balances the two terms. Projection-based methods update via

Πn\Pi_n5

followed by projection to Πn\Pi_n6 and a convex combination:

Πn\Pi_n7

The paper identifies two errors induced by the standard relaxation-and-projection paradigm. First, the doubly stochastic polytope strictly contains Πn\Pi_n8, so iterates may remain in the interior rather than near permutation matrices; this is described as geometric misalignment. Second, Euclidean projection onto Πn\Pi_n9 is not invariant to positive rescaling: for n×nn\times n0, n×nn\times n1. 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 n×nn\times n2. Starting from the identity

n×nn\times n3

the Euclidean projection of n×nn\times n4 onto n×nn\times n5 can be viewed as solving

n×nn\times n6

FRAM makes this dependence explicit by normalizing n×nn\times n7 by its maximum entry and introducing a tunable scale parameter n×nn\times n8 (Shen et al., 26 Jul 2025).

The primal projection form of FRA is

n×nn\times n9

and the equivalent concave form is

DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.0

The first term, DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.1, is the linear assignment score inherited from the QAP gradient. The second term, DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.2, biases the optimizer toward larger Frobenius norms within DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.3. On the doubly stochastic set, DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.4 is maximized by permutation matrices, with value DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.5, and minimized by the uniform matrix DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.6, with value DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.7. Consequently, larger DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.8 induces sharper, near-permutation assignments, while smaller DS:={XRn×n:X0,  X1=1,  1TX=1T}.DS := \{X \in \mathbb{R}^{n\times n}: X \ge 0,\; X\mathbf{1}=\mathbf{1},\; \mathbf{1}^T X=\mathbf{1}^T\}.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 minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,0 and lets minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,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:

minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,2

Because the maximization is strictly concave in minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,3 over the convex compact set minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,4, existence and uniqueness hold. This gives FRA a well-posed inner problem with a unique solution for each minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,5 and input minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,6 (Shen et al., 26 Jul 2025).

The paper also provides an explicit bound relative to the unregularized linear assignment score. Let

minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,7

and define

minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,8

For nonnegative minPΠnC,P,\min_{P\in \Pi_n}\langle C,P\rangle,9, Theorem 2 states that

minXDSC,X\min_{X\in DS}\langle C,X\rangle0

The interpretation given is that the loss in linear score induced by the Frobenius regularization is bounded by the regularizer weight; larger minXDSC,X\min_{X\in DS}\langle C,X\rangle1 reduces this gap.

The limiting behavior is also characterized. Theorem 3 states that as minXDSC,X\min_{X\in DS}\langle C,X\rangle2, minXDSC,X\min_{X\in DS}\langle C,X\rangle3 converges to the unique minimizer of minXDSC,X\min_{X\in DS}\langle C,X\rangle4 on the optimal face

minXDSC,X\min_{X\in DS}\langle C,X\rangle5

If the optimal permutation is unique, then minXDSC,X\min_{X\in DS}\langle C,X\rangle6 converges to that permutation. Theorem 4 states that as minXDSC,X\min_{X\in DS}\langle C,X\rangle7, minXDSC,X\min_{X\in DS}\langle C,X\rangle8, the uniform doubly stochastic matrix. FRA therefore interpolates between the barycenter of the relaxation and a near-discrete assignment; the paper describes moderate minXDSC,X\min_{X\in DS}\langle C,X\rangle9 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

G=(V,E,A,F)G=(V,E,A,F)0

with G=(V,E,A,F)G=(V,E,A,F)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:

G=(V,E,A,F)G=(V,E,A,F)2

where G=(V,E,A,F)G=(V,E,A,F)3 is the indicator of G=(V,E,A,F)G=(V,E,A,F)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 G=(V,E,A,F)G=(V,E,A,F)5, and the nonnegative orthant. The method initializes with

G=(V,E,A,F)G=(V,E,A,F)6

then alternates between an affine projection G=(V,E,A,F)G=(V,E,A,F)7 and an elementwise nonnegativity projection G=(V,E,A,F)G=(V,E,A,F)8 until a deviation metric G=(V,E,A,F)G=(V,E,A,F)9 is below a threshold (Shen et al., 26 Jul 2025).

The nonnegativity projection is

G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)0

elementwise. The affine projection onto G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)1 has the closed form

G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)2

Theorem 5 states that this is the exact Euclidean projection for general asymmetric G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)3.

The stopping metric is

G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)4

Using von Neumann’s lemma for alternating projections and the structure of G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)5, the paper states that G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)6 decreases monotonically to G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)7. In FRAM’s outer loop, convergence is monitored by the normalized Frobenius decrease

G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)8

Each SDSN iteration has G~=(V~,E~,A~,F~)\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)9 time and V=V~=n|V|=|\tilde V|=n0 memory cost. Theorem 6 gives an iteration bound: for V=V~=n|V|=|\tilde V|=n1, SDSN needs

V=V~=n|V|=|\tilde V|=n2

iterations to obtain V=V~=n|V|=|\tilde V|=n3 with V=V~=n|V|=|\tilde V|=n4, where V=V~=n|V|=|\tilde V|=n5 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

V=V~=n|V|=|\tilde V|=n6

through multiplicative row and column scalings and depends on exponentials such as V=V~=n|V|=|\tilde V|=n7. By contrast, FRA/SDSN uses Euclidean regularization and additive projections with clipping. The stated consequences are that it tolerates sign and sparsity in V=V~=n|V|=|\tilde V|=n8, 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 V=V~=n|V|=|\tilde V|=n9 and, at iteration DSDS0, computes

DSDS1

when node features are present; edge-only tasks set DSDS2. It then solves

DSDS3

updates

DSDS4

stops when DSDS5, and finally discretizes DSDS6 to a permutation matrix DSDS7 using the Hungarian algorithm (Shen et al., 26 Jul 2025).

The dominant cost in dense settings is forming DSDS8, which is DSDS9. Each SDSN call is Πn\Pi_n00 per inner iteration, and Hungarian discretization has worst-case Πn\Pi_n01 complexity. The overall FRAM iteration complexity is therefore Πn\Pi_n02 time and Πn\Pi_n03 memory.

The paper recommends Πn\Pi_n04 for stable, fast progress, as in DSPFP, and notes that moderate Πn\Pi_n05 improves stepwise gains while avoiding overly confident early assignments. It also recommends normalizing Πn\Pi_n06, Πn\Pi_n07, and Πn\Pi_n08 by a common scale before iteration. Specifically, with

Πn\Pi_n09

the pre-scaling is

Πn\Pi_n10

This is done in FP64 and is intended to keep Πn\Pi_n11 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 Πn\Pi_n12; and FP32 to SDSN iterations. Theorem 7 states that if Πn\Pi_n13 at SDSN step Πn\Pi_n14, with Πn\Pi_n15 the low-precision truncation residual, then under alternating Πn\Pi_n16 the residual is progressively corrected and vanishes as Πn\Pi_n17 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 Πn\Pi_n18 up to Πn\Pi_n19. The metric is

Πn\Pi_n20

For CMU House, which uses attribute-free edges, runtime and error are reported for Πn\Pi_n21 up to approximately Πn\Pi_n22. For Facebook-ego, with Πn\Pi_n23 and Πn\Pi_n24, node accuracy Πn\Pi_n25 is reported under Πn\Pi_n26, Πn\Pi_n27, and Πn\Pi_n28 noise (Shen et al., 26 Jul 2025).

On CPU-FP64 benchmarks, the paper reports that for real images at Πn\Pi_n29, FRAM has average runtime approximately Πn\Pi_n30s versus DSPFP at Πn\Pi_n31s, approximately Πn\Pi_n32 faster, while achieving best or tied-best error on most sets. On CMU House, FRAM is reported at Πn\Pi_n33s versus DSPFP at Πn\Pi_n34s and ASM at Πn\Pi_n35s, with lowest error Πn\Pi_n36 versus DSPFP Πn\Pi_n37. On Facebook-ego, FRAM achieves accuracies of Πn\Pi_n38, Πn\Pi_n39, and Πn\Pi_n40 at Πn\Pi_n41, Πn\Pi_n42, and Πn\Pi_n43 noise, respectively; it is reported as faster than ASM by a factor of Πn\Pi_n44 and as having higher accuracy than all baselines, including a gain of Πn\Pi_n45 versus DSPFP at Πn\Pi_n46 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 Πn\Pi_n47 speedup versus GPU-FP64 and a Πn\Pi_n48 speedup versus CPU-FP64; for problems with at most Πn\Pi_n49 nodes, speedups are below Πn\Pi_n50, 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 Πn\Pi_n51, with small values for dense or clean graphs Πn\Pi_n52–Πn\Pi_n53 and larger values for sparse or noisy graphs Πn\Pi_n54–Πn\Pi_n55. A separate summary recommends Πn\Pi_n56 for dense tasks and Πn\Pi_n57 for sparse tasks. The suggested defaults are Πn\Pi_n58–Πn\Pi_n59 with Πn\Pi_n60 default, Πn\Pi_n61–Πn\Pi_n62 with Πn\Pi_n63 default, Πn\Pi_n64 to Πn\Pi_n65 for SDSN stopping, and Πn\Pi_n66 to Πn\Pi_n67 for FRAM stopping. The paper also states that results are not sensitive to Πn\Pi_n68 and that Πn\Pi_n69 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 Πn\Pi_n70 and to scaling, may overflow or underflow, and use exponentials that are poorly suited to low precision; FRA is designed to sharpen assignments through Πn\Pi_n71 without exponentials (Shen et al., 26 Jul 2025).

Relative to Frank–Wolfe and projected gradient methods on Πn\Pi_n72, FRA replaces standard Euclidean projection with a proximal-with-bias step having explicit sharpness control through Πn\Pi_n73 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 Πn\Pi_n74 is chosen empirically rather than adaptively. The dense multiplication Πn\Pi_n75 imposes Πn\Pi_n76 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 Πn\Pi_n77 alternating-projection solver, and is designed to preserve scale invariance while remaining compatible with mixed-precision computation.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Frobenius-regularized Linear Assignment (FRA).