---
title: Frobenius-Regularized Linear Assignment
url: https://www.emergentmind.com/topics/frobenius-regularized-linear-assignment-fra
type: topic
---

# Frobenius-Regularized Linear Assignment

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 $\theta>0$ [2508.00887].

## 1. Problem setting and motivation

Let $\Pi_n$ denote the set of $n\times n$ permutation matrices. Its convex hull is the Birkhoff polytope, namely the set of doubly stochastic matrices
$$
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
$$
\min_{P\in \Pi_n}\langle C,P\rangle,
$$
or equivalently $\min_{X\in DS}\langle C,X\rangle$ when the relaxed solution is later discretized, for example by the Hungarian algorithm [2508.00887].

In graph matching, the relevant objective is typically a QAP. For two attributed graphs $G=(V,E,A,F)$ and $\tilde G=(\tilde V,\tilde E,\tilde A,\tilde F)$ with $|V|=|\tilde V|=n$, a standard relaxation over $DS$ is
$$
\max_{N\in DS}\Phi(N),
$$
with
$$
\Phi(N)=\frac{1}{2}\langle N^T A N,\tilde A\rangle+\lambda\langle N^T F,\tilde F\rangle,
$$
where $A,\tilde A$ are symmetric nonnegative edge-attribute matrices, $F,\tilde F$ are node-attribute matrices, and $\lambda\ge 0$ balances the two terms. Projection-based methods update via
$$
\nabla\Phi(N)=A N \tilde A+\lambda F\tilde F^T,
$$
followed by projection to $DS$ and a convex combination:
$$
N^{t+1}=(1-\alpha)N^t+\alpha D^t,\qquad D^t\approx P(\nabla\Phi(N^t)).
$$

The paper identifies two errors induced by the standard relaxation-and-projection paradigm. First, the doubly stochastic polytope strictly contains $\Pi_n$, so iterates may remain in the interior rather than near permutation matrices; this is described as geometric misalignment. Second, Euclidean projection onto $DS$ is not invariant to positive rescaling: for $w>0$, $P_D(wX)\neq P_D(X)$. These two issues motivate FRA as a replacement for the “naked” projection step [2508.00887].

## 2. FRA objective and geometric role

FRA reformulates the projection step as a Frobenius-regularized optimization over $DS$. Starting from the identity
$$
\|D-wX\|_F^2=\langle D,D\rangle-2w\langle D,X\rangle+\text{const},
$$
the Euclidean projection of $wX$ onto $DS$ can be viewed as solving
$$
\arg\max_{D\in DS}\langle D,X\rangle-\frac{1}{2w}\|D\|_F^2.
$$
FRAM makes this dependence explicit by normalizing $X$ by its maximum entry and introducing a tunable scale parameter $\theta>0$ [2508.00887].

The primal projection form of FRA is
$$
D_X^\theta=\arg\min_{D\in DS}\left\|D-\frac{\theta}{2}X\right\|_F^2,
\qquad X\leftarrow X/\max(X),
$$
and the equivalent concave form is
$$
D_X^\theta=\arg\max_{D\in DS}\langle D,X\rangle-\frac{1}{\theta}\|D\|_F^2.
$$

The first term, $\langle D,X\rangle$, is the linear assignment score inherited from the QAP gradient. The second term, $-(1/\theta)\|D\|_F^2$, biases the optimizer toward larger Frobenius norms within $DS$. On the doubly stochastic set, $\|D\|_F^2$ is maximized by permutation matrices, with value $n$, and minimized by the uniform matrix $J/n$, with value $1$. Consequently, larger $\theta$ induces sharper, near-permutation assignments, while smaller $\theta$ yields softer assignments. In the paper’s interpretation, this directly counteracts the feasible-region inflation caused by the doubly stochastic relaxation [2508.00887].

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 $X\leftarrow X/\max(X)$ and lets $\theta$ 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:
$$
D_X^\theta=\arg\min_{D\in DS}\left\|D-\frac{\theta}{2}X\right\|_F^2
=\arg\max_{D\in DS}\langle D,X\rangle-\frac{1}{\theta}\|D\|_F^2.
$$
Because the maximization is strictly concave in $D$ over the convex compact set $DS$, existence and uniqueness hold. This gives FRA a well-posed inner problem with a unique solution for each $\theta>0$ and input $X$ [2508.00887].

The paper also provides an explicit bound relative to the unregularized linear assignment score. Let
$$
D_X^\infty\in \arg\max_{D\in DS}\langle D,X\rangle,
$$
and define
$$
\varepsilon_X^\theta:=\frac{1}{n}\big(\langle D_X^\infty,X\rangle-\langle D_X^\theta,X\rangle\big).
$$
For nonnegative $X$, Theorem 2 states that
$$
\varepsilon_X^\theta \le \frac{1}{\theta}.
$$
The interpretation given is that the loss in linear score induced by the Frobenius regularization is bounded by the regularizer weight; larger $\theta$ reduces this gap.

The limiting behavior is also characterized. Theorem 3 states that as $\theta\to\infty$, $D_X^\theta$ converges to the unique minimizer of $\|D\|_F^2$ on the optimal face
$$
F=\operatorname{conv}\{\text{optimal permutations}\}.
$$
If the optimal permutation is unique, then $D_X^\theta$ converges to that permutation. Theorem 4 states that as $\theta\to 0$, $D_X^\theta\to J/n$, the uniform doubly stochastic matrix. FRA therefore interpolates between the barycenter of the relaxation and a near-discrete assignment; the paper describes moderate $\theta$ as yielding a “soft-yet-sharp” assignment that can mitigate premature overconfidence [2508.00887].

A KKT sketch is given for the concave form. With equality multipliers for row and column sums and complementary slackness for nonnegativity, stationarity yields
$$
D=\frac{\theta}{2}(X+U\mathbf{1}^T+\mathbf{1}V^T),
$$
with $U,V$ 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:
$$
D_X^\theta=\operatorname{prox}_{I_{DS}}\!\left(\frac{\theta}{2}X\right)
=\arg\min_D I_{DS}(D)+\left\|D-\frac{\theta}{2}X\right\|_F^2,
$$
where $I_{DS}$ is the indicator of $DS$. 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 [2508.00887].

## 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 $1$, and the nonnegative orthant. The method initializes with
$$
X^{(0)}=\frac{\theta}{2}\frac{X}{\max(X)},
$$
then alternates between an affine projection $P_1$ and an elementwise nonnegativity projection $P_2$ until a deviation metric $\gamma$ is below a threshold [2508.00887].

The nonnegativity projection is
$$
P_2(X)=\max(0,X)
$$
elementwise. The affine projection onto $\{Y: Y\mathbf{1}=1,\; \mathbf{1}^T Y=\mathbf{1}^T\}$ has the closed form
$$
P_1(X)
=
X+\left[\frac{I}{n}+\frac{\mathbf{1}^T X \mathbf{1}}{n^2}I-\frac{1}{n}X\right]\mathbf{1}\mathbf{1}^T
-\frac{1}{n}\mathbf{1}\mathbf{1}^T X.
$$
Theorem 5 states that this is the exact Euclidean projection for general asymmetric $X$.

The stopping metric is
$$
\gamma(X)=\frac{1}{n}\mathbf{1}^T X \mathbf{1}-1.
$$
Using von Neumann’s lemma for alternating projections and the structure of $P_1/P_2$, the paper states that $\gamma(X^{(k)})$ decreases monotonically to $0$. In FRAM’s outer loop, convergence is monitored by the normalized Frobenius decrease
$$
\delta^t=\frac{\|N^t-N^{t-1}\|_F}{\|N^t\|_F}\le \delta_{\text{th}}.
$$

Each SDSN iteration has $O(n^2)$ time and $O(n^2)$ memory cost. Theorem 6 gives an iteration bound: for $\max(X)=1$, SDSN needs
$$
\left\lceil \frac{\ln\!\big(\varepsilon/[\theta(\|X\|_F+n)]\big)}{\ln(c)} \right\rceil
$$
iterations to obtain $X^*$ with $\|X^*-D_X^\theta\|_F<\varepsilon$, where $c\in(0,1)$ is the linear convergence rate constant of DSN/SDSN [2508.00887].

The paper contrasts SDSN with Sinkhorn-style entropic normalization. Entropic regularization solves
$$
\min_{D\in DS}\langle C,D\rangle+\varepsilon\sum_{ij}D_{ij}(\log D_{ij}-1)
$$
through multiplicative row and column scalings and depends on exponentials such as $\exp(-C/\varepsilon)$. By contrast, FRA/SDSN uses Euclidean regularization and additive projections with clipping. The stated consequences are that it tolerates sign and sparsity in $X$, is robust to wide dynamic ranges under low precision, and avoids the overflow and underflow issues associated with exponentials [2508.00887].

## 5. Integration into FRAM and computational profile

Within FRAM, FRA is the projection stage of an outer QAP solver. The method initializes with $N^0=0$ and, at iteration $t$, computes
$$
X^{(t)}=A N^{(t-1)}\tilde A+\lambda K,
\qquad K=F\tilde F^T,
$$
when node features are present; edge-only tasks set $\lambda=0$. It then solves
$$
D^{(t)}=\operatorname{SDSN}(X^{(t)},\theta),
$$
updates
$$
N^{(t)}=(1-\alpha)N^{(t-1)}+\alpha D^{(t)},
$$
stops when $\delta^t\le \delta_{\text{th}}$, and finally discretizes $N^T$ to a permutation matrix $M$ using the Hungarian algorithm [2508.00887].

The dominant cost in dense settings is forming $X^{(t)}=A N^{(t-1)}\tilde A$, which is $O(n^3)$. Each SDSN call is $O(n^2)$ per inner iteration, and Hungarian discretization has worst-case $O(n^3)$ complexity. The overall FRAM iteration complexity is therefore $O(n^3)$ time and $O(n^2)$ memory.

The paper recommends $\alpha\approx 0.95$ for stable, fast progress, as in DSPFP, and notes that moderate $\theta$ improves stepwise gains while avoiding overly confident early assignments. It also recommends normalizing $A$, $\tilde A$, and $K$ by a common scale before iteration. Specifically, with
$$
c=\max \text{ entries over } \{A,\tilde A,K\},
$$
the pre-scaling is
$$
A\leftarrow A/\sqrt{c},\qquad \tilde A\leftarrow \tilde A/\sqrt{c},\qquad K\leftarrow K/c.
$$
This is done in FP64 and is intended to keep $X^{(t)}$ in a numerically safe range for low-precision computation [2508.00887].

The mixed-precision architecture assigns FP64 to preconditioning, state update, convergence checks, and final Hungarian discretization; TF32 on GPU to forming $X^{(t)}$; and FP32 to SDSN iterations. Theorem 7 states that if $X_k=\hat X_k+\Delta X_k$ at SDSN step $k$, with $\Delta X_k$ the low-precision truncation residual, then under alternating $P_1/P_2$ the residual is progressively corrected and vanishes as $k$ 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 [2508.00887].

## 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$ up to $1000$. The metric is
$$
\frac{1}{2}\|A-M\tilde A M^T\|_F+\|F-M\tilde F\|_F.
$$
For CMU House, which uses attribute-free edges, runtime and error are reported for $n$ up to approximately $800$. For Facebook-ego, with $n=4039$ and $|E|=88{,}234$, node accuracy $(\#\text{correct}/n)$ is reported under $5\%$, $15\%$, and $25\%$ noise [2508.00887].

On CPU-FP64 benchmarks, the paper reports that for real images at $n=1000$, FRAM has average runtime approximately $2.3$s versus DSPFP at $6.5$s, approximately $2.8\times$ faster, while achieving best or tied-best error on most sets. On CMU House, FRAM is reported at $0.93$s versus DSPFP at $3.83$s and ASM at $3.16$s, with lowest error $(7047)$ versus DSPFP $(8117)$. On Facebook-ego, FRAM achieves accuracies of $94.7\%$, $91.1\%$, and $89.5\%$ at $5\%$, $15\%$, and $25\%$ noise, respectively; it is reported as faster than ASM by a factor of $2\times$ and as having higher accuracy than all baselines, including a gain of $+15\%$ versus DSPFP at $25\%$ noise [2508.00887].

For mixed precision, the paper reports that on NVIDIA RTX 4080 SUPER, FRAM on ubc(2000) yields a $12.7\times$ speedup versus GPU-FP64 and a $371.4\times$ speedup versus CPU-FP64; for problems with at most $1000$ nodes, speedups are below $4\times$, 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 [2508.00887].

The practical guidance given in the paper recommends $\theta\in[1,10]$, with small values for dense or clean graphs $(1$–$3)$ and larger values for sparse or noisy graphs $(5$–$15)$. A separate summary recommends $\theta=2$ for dense tasks and $\theta=10$ for sparse tasks. The suggested defaults are $\alpha\approx 0.9$–$0.99$ with $0.95$ default, $\lambda\approx 0.5$–$2$ with $1$ default, $\gamma_{\text{th}}\approx 10^{-8}$ to $10^{-6}$ for SDSN stopping, and $\delta_{\text{th}}\approx 10^{-5}$ to $10^{-3}$ for FRAM stopping. The paper also states that results are not sensitive to $\lambda$ and that $\lambda=1$ is used throughout [2508.00887].

## 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 $\varepsilon$ and to scaling, may overflow or underflow, and use exponentials that are poorly suited to low precision; FRA is designed to sharpen assignments through $\theta$ without exponentials [2508.00887].

Relative to Frank–Wolfe and projected gradient methods on $DS$, FRA replaces standard Euclidean projection with a proximal-with-bias step having explicit sharpness control through $\theta$ 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 [2508.00887].

The method’s limitations are also explicit. The parameter $\theta$ is chosen empirically rather than adaptively. The dense multiplication $A N \tilde A$ imposes $O(n^3)$ 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 [2508.00887].

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 $O(n^2)$ alternating-projection solver, and is designed to preserve scale invariance while remaining compatible with mixed-precision computation.

Source: https://www.emergentmind.com/topics/frobenius-regularized-linear-assignment-fra