Skip to content

Shared low-rank ​

Shared low-rank (shared_basis_method=:shared_low_rank, with the compatible default spelling :rsvd) reduces repeated encoding cost with two successive approximations: local randomized SVD (rSVD), then incremental sharing of the retained spatial factors. An optional final recompression introduces a third approximation stage. The image and coil maps are not low-rank approximated. The supplied Fourier trajectory is retained, while the numerical NFFT approximation has its own error.

Symbols follow Symbols and notation. For optional global recompression, this page distinguishes the accumulated rank R0 and factors S(0),q^(0) from the final rank R and factors S,q^. With recompression disabled, these are the same. Each dynamic is an encoding profile of the same unknown image, not a separately reconstructed frame.

Readouts use index i, with Nt samples each and Nro readouts (nSam, nDyn in Julia). The distinct Joint adaptive low-rank path constructs a common snapshot space directly and selects its final rank using global residual checks. Both approximate the same pure residual phase matrix; they share the downstream forward, adjoint and weighted normal representation.

Method overview ​

Signal model, shared-basis reconstruction, and sequential adaptive spatial compression across readouts i

Figure 1. Shared low-rank reconstruction. (a) The signal model separates zeroth-order phase, Fourier encoding, and residual field modulation. (b) Local rSVD factors are combined into a shared spatial basis and readout-specific temporal factors. (c) Readouts i are processed sequentially; residual spatial modes extend the basis, and earlier coefficient blocks are zero-padded. Here V~i=Vi,LΣi,L, the local rank L is fixed, and the shared rank R adapts and may exceed L.

The figure shows the default shared rSVD construction with global_basis_tol=nothing, so R=R0. The tolerance τ controls relative spatial-factor error, not image error. Without sample batching, the indicated NUFFT counts apply per coil to one forward or adjoint application; they are not runtime speedup factors. Open the full-size SVG.

This schematic omits optional final recompression. The stored temporal factors also include normalization and the NFFT centre correction, as detailed in phase folding. The full residual model, including the 2D residual terms and optional concomitant phase, is described below.

The default path is easiest to follow in this order:

  1. Local rSVD constructs Ui,L,V~i.
  2. Incremental sharing builds a spatial basis and saved coefficient blocks; earlier blocks are zero-padded when the basis grows.
  3. Temporal assembly forms q^i(0)=Ui,LC¯iH.
  4. Optional recompression rotates and may truncate the completed representation.
  5. Phase folding and NFFT implement the final forward, adjoint, and weighted normal operators.

The local and incremental stages introduce separate approximation errors. Temporal assembly and phase folding add no intended truncation. Optional final recompression adds error relative to the already shared representation. It cannot recover components discarded earlier.

Relation to previous methods ​

Separable temporal-spatial representations of higher-order MRI encoding have previously been obtained using singular-vector separation, and related decompositions are used in expanded-model reconstruction such as MaxGIRF. [2] [3] The randomized range-finding step used here follows standard rSVD methods. [4]

HighOrderMRI combines matrix-free per-dynamic factorization with an incrementally constructed shared spatial basis and a global-trajectory NFFT representation. The resulting shared basis is not an exact post-hoc global SVD of all dynamic-specific matrices. Consequently, the Eckart-Young optimality result for a truncated SVD of a fixed matrix does not apply directly to the completed incremental representation. [5]

The implementation's contribution is the combination of singular-value-weighted online sharing, matrix-free phase products and reuse of the completed common basis over the full Fourier trajectory. SVD, randomized range finding and subspace projection are established tools. Related group-patch joint compression also exploits MRI encoding redundancy, including B0 and RF modulations, with a different construction and grouping objective. [20] Claims about reduced memory, construction cost or reconstruction time require measurements at matched accuracy; these properties do not follow from an optimal-rank theorem for the incremental algorithm.

A direct global SVD/rSVD remains a useful approximation-quality reference when memory permits because all dynamics can be considered jointly. The incremental method instead targets memory-bounded construction and scalable execution. These alternatives are distinguished explicitly in Scientific validation strategy.

Shared subspace and hierarchical POD constructions also have established mathematical foundations, including HAPOD. [23] HAPOD's tree construction and tolerance allocation differ from this streaming merge; its error theorem is not a certificate for the present implementation.

For local fixed-precision approximation, Yu et al. give QB energy identities with orthogonality and finite-precision requirements. [21] Demmel et al. describe TSQR, a stable alternative to forming a tall matrix's Gram before SVD. [22] These are numerical references, not additional constructor backends.

Residual encoding matrix ​

For dynamic i, define

Hi(j,v)=exp{i2π[tjiΔf0,v+∑ℓ∈Rkℓ,jibℓ,v+ϕc(j,v,i)]},Hi∈CNt×Nv.

All phase features are real. Time is in seconds, the off-resonance map is in Hz, and each integrated coefficient/basis product is in cycles; the forward phase sign is positive. Stacking every actual readout gives

H=[H1⋮HNro]∈CN×Nv,N=NtNro,∥H∥F2=NNv.

This pure phase matrix excludes coil sensitivities, data weights, NFFT centre correction and normalization. Its relative Frobenius error is the common phase-approximation target for both shared constructions.

The zeroth-order temporal phase and the first-order Fourier terms are excluded from Hi. In 3D, R begins with the second-order terms. In 2D, the z first-order term remains in R because only the x and y first-order terms are represented by the 2D NFFT. The setup products do not require a full Hi. The chunked backend does materialize phase and encoding tiles; a chunk covering every masked voxel can materialize the complete matrix for that dynamic. Fused kernels accumulate the products directly. Matrix-free products still require sketch, factor, and workspace storage.

Concomitant phase in the residual model ​

The optional term in the residual exponent is zero when concomitant=nothing. For supplied coefficients,

ϕc(j,v,i)=c1(j,i)zv2+c2(j,i)(xv2+yv2)+c3(j,i)xvzv+c4(j,i)yvzv.

The four basis columns and corresponding coefficient rows are appended before residual basis construction. This applies to the selected shared or per-readout representation; the nominal first-order NFFT trajectory is unchanged. recon_terms selects only the original spherical-harmonic rows, and kspha still has 9 or 16 rows at the public interface.

julia
op = HighOrderLowRankOp(grid, kspha_dynamic, times_dynamic;
    fieldmap, csm, mask,
    concomitant=concomitant_coefficients,  # (4,nSam,nDyn), cycles/m²
)

A single-dynamic call also accepts (4,nSam). With concomitant=nothing, no extra phase buffers are appended. Match the coefficient coordinate frame and physical origin to the grid, and convert rad/m² to cycles/m² by dividing by 2π. Do not multiply these integrated coefficients by times again. See the encoding model for the common convention.

Per-dynamic randomized SVD ​

Let L denote L_rank, p denote rsvd_oversample, and Lsk=L+p. For each dynamic, a random test matrix

Ωi∈CNv×Lsk

is generated, and the randomized range sketch is computed as

Yi=HiΩi,Qi=orth(Yi).

The projected adjoint matrix is then

Bi=HiHQi∈CNv×Lsk.

Products with Hi and HiH are evaluated matrix-free from times, fieldmap, the residual rows of kspha, and the corresponding spatial basis functions. For a fixed configuration, dynamic i uses the deterministic seed

si=s0+i−1.

The current implementation uses one Gaussian sketch and QR range finding, without power iteration. The retained rank L is configured rather than chosen by an original-phase error tolerance. The sketch width must satisfy L+p≤min(Nt,Nv).

With voxel-distributed setup, worker g uses the seed si,g=si+1,000,003(g−1) for its sketch rows. Reproducibility therefore requires the same backend and voxel partition, not just the same base seed.

Direct SVD finalization ​

For rsvd_finalize=:svd, let

Bi=PiΣi(Zisvd)H.

Retaining the first L singular triplets gives

Ui,L=QiZi,Lsvd,V~i=Pi,LΣi,L,

and therefore

Hi≈Ui,LV~iH.

Because Qi and Zi,Lsvd have orthonormal columns,

Ui,LHUi,L=IL.

The singular values of the projected matrix Bi are absorbed into the spatial factor V~i=Vi,LΣi,L, where Vi,L=Pi,L. They need not equal the leading singular values of the full Hi. The retained local energy is therefore

ηi=‖V~i‖F2=∑l=1Lσi,l2.

Small-Gram finalization ​

For rsvd_finalize=:gram, the implementation forms

Gi=BiHBi∈CLsk×Lsk

and diagonalizes

Gi=ZisvdΛi(Zisvd)H,Λi=Σi2.

The retained factors are recovered as

Ui,L=QiZi,Lsvd,V~i=BiZi,Lsvd.

If Bi=PiΣi(Zisvd)H, then BiZi,Lsvd=Pi,LΣi,L. In exact arithmetic, the Gram and direct-SVD routes therefore give the same projected singular values and optimal projected error. Their retained approximation agrees when they choose the same leading invariant subspace; a tie at the truncation boundary can give different, equally optimal subspaces. The Gram formulation avoids a direct SVD of the tall Nv×Lsk matrix but squares its condition number. The single-device implementation checks for non-finite values, significant negative eigenvalues, and degeneracy and can fall back to the direct SVD if the Gram result fails these checks. Voxel-distributed setup requires Gram finalization and reports failure when its eigensystem is invalid; it does not silently switch to a distributed SVD.

Local projection error and sketch conditioning ​

In exact arithmetic, either supported finalization gives V~i=HiHUi,L and Ui,LHUi,L=I. Consequently the retained local approximation is an orthogonal projection:

Hi,loc=Ui,LUi,LHHi,Ui,LH(Hi−Hi,loc)=0.

Within the sampled range Qi, the small SVD supplies the best rank-L approximation. It need not equal the best rank-L approximation to Hi. More explicitly, with PQi=QiQiH,

∥Hi−Hi,loc∥F2=∥(I−PQi)Hi∥F2+∑h>Lσh(QiHHi)2.

This separates missed range information from truncation within that range. For a full SVD partition Hi=UΣVH at rank L, write Ω1=V1HΩi and Ω2=V2HΩi. If Ω1 has full row rank, the range-and-truncate construction satisfies the deterministic bound

∥Hi−Hi,loc∥F2≤∥Σ2∥F2+∥Σ2Ω2Ω1†∥F2.

To see this, the rank-L candidate HiΩiΩ1†V1H belongs to the sampled range. In SVD coordinates its error has squared norm equal to the right-hand side; the optimal small-SVD truncation within that range cannot do worse. This argument uses conjugate transposes and applies to complex matrices. Randomized estimates for the sketch term require their distribution and oversampling assumptions; a seed or fixed L is not an observed-error certificate. [4]

The local identity ∥Hi−Hi,loc∥F2=∥Hi∥F2−∥V~i∥F2 also assumes the stated orthogonality and exact products. Subtracting nearly equal energies is a poor numerical residual estimator for tight tolerances. Fixed-precision QB methods discuss these requirements explicitly. [21]

Independent per-readout representation ​

Set basis_layout=:per_readout to retain each local pair Ui,L,V~i directly, bypassing the shared-basis construction:

julia
op = HighOrderLowRankOp(grid, kspha, times;
    fieldmap, csm, mask,
    basis_layout=:per_readout,
    L_rank=6,
    rsvd_oversample=5,
)

For each readout and coil, the forward operation is

Ai,cm≈∑l=1Ldiag(ui,l)Fi(m⊙Cc⊙v~i,l∗).

The same zeroth-order phase, centre correction, and normalization are folded into the temporal factors. With resident factors, one NFFT plan is cached per readout, giving NroLNc transforms per forward or adjoint evaluation. Streaming and regeneration instead update a plan for the current readout within each cache. The spatial factor bank has NvNroL complex entries; cached plans also consume memory. This baseline can therefore require substantially more memory than the shared layout.

CPU storage and GPU lookahead ​

To bound GPU memory for a large independent factor bank, keep the factors in host RAM and use a readout queue:

julia
op = HighOrderLowRankOp(grid, kspha, times;
    fieldmap, csm, mask,
    arrayType=CuArray,
    basis_layout=:per_readout,
    per_readout_storage=:cpu,
    per_readout_cache_size=5,
    L_rank=6,
    rsvd_oversample=5,
)

Each normal-operator worker caches at most five readouts in this example. A separate CUDA stream copies future factors through one pinned host staging buffer. A single NFFT plan per worker updates its trajectory on the compute stream. Ready/consumed events prevent a slot from being used before its transfer completes or overwritten before its transforms finish. Completed slots are replenished while another slot computes. The same queue is used by the forward, adjoint, and multi-GPU normal operator. The source operator owns a separate queue for forward and standalone adjoint evaluations on the primary GPU.

Once the multi-GPU normal backend has been initialized, adjoints reuse its workers and queues, distributing readouts and evaluating all coils for each readout together. Each spatial factor block is then transferred once across the worker group. This also parallelizes the solver's initial adjoint without changing its weights or independent spatial factors.

For CG itself, select normal_distribution=:readout to assign disjoint readout ranges to workers, evaluating all coils for each assigned readout. Each factor block is then streamed once across the worker group per normal application, while all coil sensitivity maps are kept on each active GPU. normal_distribution=:channel retains the existing coil partition, with each worker traversing every readout. These compute the same weighted normal operator up to floating-point summation order.

Only storage and scheduling change: the full independent spatial bank still occupies NvNroL complex entries in host RAM. The default per_readout_storage=:gpu materializes independent factors and plans on the selected array backend: GPU for CuArray, CPU for Array. The :cpu and :regenerate modes require CUDA and bound cache slots rather than the complete host/device memory footprint.

Pipelined setup aggregation ​

Voxel-distributed per-readout setup uses per_readout_gather=:pipeline by default. Each GPU has two pinned host buffers and a separate collector worker. Downloads and host writes can overlap later rSVD phases. A CUDA event delays the next overwrite of the spatial factor until its download finishes; a host buffer is reused only after its final write completes. The queue is bounded to two outstanding readouts. per_readout_gather=:synchronous retains the blocking gather for comparisons. The independent factors and their precision are unchanged, and the full host factor bank is still required.

Provide threads for compute workers, factor collectors, and a coordinator when using the pipeline. A smaller thread count can reduce overlap while the queue remains bounded. See runtime requirements.

On-demand regeneration ​

When the independent spatial bank exceeds host RAM, use per_readout_storage=:regenerate with rsvd_distribution=:voxel, rsvd_backend=:kernel and rsvd_finalize=:gram. This retains each readout's original unmodulated Qi and Gram rotation Zisvd and generates

V~i=(HiHQi)Zi,Lsvd

with the existing matrix-free adjoint kernel. Uncached spatial blocks are generated as needed, rather than materializing the complete spatial bank. No additional singular-value truncation is introduced; GPU partition/GEMM geometry may change rounding, so validate the factor and operator errors for the workload. The temporal normalization and zeroth-order/centre phases remain in the operator's q, separately from Q/Z.

per_readout_cache_size=1 generates and consumes factors serially. Values of 2 or more enable an independent producer task/stream to prepare future readouts while the consumer evaluates all coils of the current readout. Each slot has ready/consumed events and is never overwritten while in use. Generation and NUFFT share GPU compute resources; lookahead is an opportunity to overlap work, not a guarantee that generation cost disappears.

per_readout_host_cache_bytes sets an optional host factor budget (default zero). Whole factor blocks from a fixed, evenly spaced subset are materialized during setup; all GPU workers reuse the same bank. Fixed residency avoids evicting every cached readout during repeated sequential CG sweeps. The budget excludes Q/Z, field maps, workspaces and pinned staging. The budget applies only to resident spatial factor blocks, not to Q/Z, the phase model, generator workspaces, or GPU slots. The source operator and each normal worker own bounded GPU slots and a generator workspace; close(op) releases these workers/caches, which are recreated lazily if the operator is subsequently reused.

Comparison scope ​

Both representations use the same local rSVD model. Changing basis_layout changes how retained factors are stored and combined. shared_rank_max and shared_basis_tol are unused for independent factors; global_basis_tol must be nothing, and shared_basis_method must select :shared_low_rank (or its compatible alias :rsvd). A zero shared tolerance still constructs a shared basis and does not select the independent representation. See the storage reference.

The independent factorization and per-readout NUFFT sums follow the MAXGIRF author's encoding implementation. This switch retains HighOrderMRI's local rSVD implementation. Supply concomitant separately to include its phase; the layout does not estimate physical coefficients or promise bitwise reproduction of the MATLAB reconstruction.

Incremental shared spatial basis ​

Independent local factorizations would retain up to NroL spatial columns. HighOrderMRI instead constructs one orthonormal spatial basis sequentially across dynamics.

Before processing dynamic i, let

Si−1∈CNv×Ri−1,Si−1HSi−1=I.

The current spatial factor is first projected onto the existing basis,

Ciold=Si−1HV~i,

and the residual is

Zi=V~i−Si−1Ciold.

A second projection/subtraction is performed in the implementation and the corresponding correction is accumulated in Ciold to reduce finite-precision loss of orthogonality.

The residual Gram matrix is decomposed with eigenvalues in descending order as

ZiHZi=TiΛi(R)TiH.

The residual Gram is accumulated in ComplexF64 on both local and voxel-distributed paths, including for Float32 input factors. Its small eigendecomposition and spectral rank selection use Float64; stored basis vectors, coefficients, and NFFT products retain the requested precision. This behavior is automatic. It applies to the incremental shared residual Gram, separately from local rSVD finalization.

The minimum number ri of additional basis vectors is selected such that

∑h=ri+1Lλi,h(R)ηi≤τ,

where τ is shared_basis_tol. The denominator ηi is the retained energy of the local rank-L factor, not the untruncated Hi energy. Nonnegative residual eigenvalues below a numerical floor are set to zero before this selection. Near-zero retained energy also returns without adding directions. Reported shared errors are therefore numerical residual estimates, not rigorous certificates of arbitrarily small original-phase error.

For the selected positive residual eigenvalues, the appended basis vectors are

Si,new=ZiTi,1:ri[Λi,1:ri(R)]−1/2.

Write the appended residual modes as Qiadd=Si,new; these differ from the local randomized range basis Qi. The basis is updated according to

Si=[Si−1Si,new],

and the coefficient block for the current dynamic is completed as

Cinew=Si,newHV~i,C¯i=[CioldCinew].

At the time dynamic i is inserted,

V~i≈SiC¯i.

If the required accumulated rank would exceed shared_rank_max, setup terminates with an error rather than relaxing the requested rank bound.

Streaming coefficient representation ​

The implementation is memory bounded: after dynamic i has been processed, V~i is not retained. When later dynamics append basis columns, earlier coefficient blocks are extended with zeros rather than recomputed.

Let

S(0)≡SNro∈CNv×R0

be the completed shared basis, and let C¯i∈CR0×L denote the stored coefficient block for dynamic i after zero-padding to the accumulated rank R0. The implementation satisfies the approximation

V~i≈S(0)C¯i.

For an earlier dynamic, however, the stored coefficient block is generally not the orthogonal projection onto the completed basis:

C¯i≠(S(0))HV~i.

Appending basis columns and padding earlier coefficient blocks with zeros leaves the previously stored approximation unchanged. The final coefficients should therefore be interpreted as streaming coefficients associated with the incremental construction, rather than as coefficients from a post-hoc global projection.

Optional no-add check ​

shared_noadd_check=false is the default. With voxel-distributed shared rSVD, the opt-in check can avoid the residual-Gram eigendecomposition when the existing basis is already sufficient. It keeps the original two-pass projection, coefficient correction, and full residual computation.

For a nonempty shared basis, workers sum the residual energy in FP64:

ei=∑g‖Zi,g‖F2.

A conservative guard compares this energy with τ2ηi. Only a safely sub-threshold result skips residual-Gram construction and its eigensolve. The first update, near-threshold or non-finite energies, and insufficient guard margins use the original Gram path. The diagnostic on an early return uses the full residual norm and can differ from the original diagnostic after tiny eigenvalues are discarded; that difference is not used to construct factors.

This is a setup optimization for the default rSVD method. It neither prunes ranks during CG nor selects the reconstruction distribution. Conditions and defaults are listed in the LowRank reference.

Optional final global recompression ​

The completed incremental representation is q^(0)(S(0))H, with R0 columns. When global_basis_tol=nothing, retain it unchanged: q^=q^(0), S=S(0), and R=R0. Otherwise, let ϵg be the nonnegative supplied tolerance and form

(q^(0))Hq^(0)=Zgdiag(μ1,…,μR0)ZgH,μ1≥⋯≥μR0≥0.

If (S(0))HS(0)=I, these are the squared singular values of the completed representation. For non-negligible total energy, retain the smallest positive rank R satisfying

∑h=R+1R0μh∑h=1R0μh≤ϵg2,q^=q^(0)Zg,R,S=S(0)Zg,R.

For a nonempty input representation, the implementation keeps at least one direction. The displayed rotation is used when the rank is reduced; when all columns are retained, the input factors are returned unchanged without rotation. Numerically negligible total energy also leaves the factors unchanged. The reported relative error is additional to local rSVD and incremental sharing error. It does not recover earlier discarded components or certify image error. Gram and basis-orthogonality roundoff remain separate numerical limitations. Recompression occurs before the temporal phase and normalization folding. For global_basis_tol >= 1, the current reported discarded-energy diagnostic can be inconsistent with the forced minimum rank of one. Do not treat that diagnostic as a checked error bound in this range; no numerical implementation change is included here.

Construction scope ​

This page derives Shared low-rank, the local-rSVD plus incremental-sharing path. Joint adaptive low-rank instead constructs one common snapshot parent, fits all actual time rows and recompresses the completed coefficient matrix. Its global H target, conditional error bounds and empirical rank-selection policy are described separately. The older shared_basis_method=:joint keeps its sampled per-readout checks; it is not an alias for :joint_adaptive_low_rank. The retained anchors above preserve existing links; the corresponding derivations are now on the joint theory page.

Final residual representation ​

For rSVD, first assemble the unscaled incremental sample-domain factor

q^i(0)=Ui,LC¯iH∈CNt×R0,Hi≈q^i(0)(S(0))H.

Stack all dynamic blocks with samples varying fastest. Optional global recompression produces q^,S and final rank R as defined above; without it, retain the incremental factors.

The stored temporal matrix additionally folds in:

  1. the zeroth-order phase d0,ji=exp⁡(i2πk0,ji);
  2. the parity-dependent NFFT centre correction cctr,ji;
  3. the symmetric normalization 1/Nv.

Thus the actual stored rows are

qi(j,:)=d0,jicctr,jiNvq^i(j,:).

The first-order Fourier phase stays in the NFFT. Here q,S and R refer to the factors and rank after optional global recompression, keeping the forward/adjoint dimensions consistent in either configuration.

Forward and adjoint operators ​

Let F denote the global NFFT containing the first-order trajectories of all dynamics, let sr denote column r of the completed shared basis, and let qr denote column r of the stored sample-domain coefficient matrix. For receive coil c,

Acm≈∑r=1Rdiag(qr)F(m⊙Cc⊙sr∗).

The complex conjugation of sr follows from Hi≈q^iSH.

The corresponding multi-coil adjoint is

AHy≈∑r=1Rsr⊙∑c=1NcCc∗⊙FH(qr∗⊙yc).

These expressions agree with the implemented conjugation pattern: the forward operator multiplies the image by the coil sensitivity and the conjugated shared-basis vector before the NFFT, whereas the adjoint applies the conjugated temporal coefficient, the NFFT adjoint, the conjugated coil sensitivity, and the non-conjugated shared-basis vector.

Without sample batching, each shared transform evaluates the concatenated trajectory. The number of NFFT evaluations per forward or adjoint application is

NNFFT=RNc.

For independent per-dynamic spatial factorizations, the corresponding transform count would scale approximately as NroLNc. This comparison concerns the number of NFFT evaluations and does not imply runtime independence from the number of samples or dynamics.

Weighted normal and rank execution ​

Let W contain the raw sample weights repeated identically for each coil. The data normal is ∑cAcHWHWAc. For a rank partition Ac=∑gAc,g, its application must preserve

AHWHWAm=∑c∑gAc,gHWHW(∑hAc,hm).

Summing only per-rank normals omits the g≠h terms. The rank backend sums partial forward signals on the host and broadcasts each complete signal. Workers then apply the same squared weights and their local adjoints; partial images are summed. Channel distribution instead partitions independent receive coils and sums their complete normal images. These decompositions preserve the chosen low-rank representation rather than adding a new truncation.

For rank batch size B, a forward or adjoint traverses ⌈NtNro/B⌉ batches. Its aggregate transform count is then RNc⌈NtNro/B⌉, with fewer samples in each transform. A normal application executes both forward and adjoint passes. Sample batching does not remove sample rows or factor columns and does not bound complete factor, image-grid, host-master, or solver storage. See rank execution and batching for constraints, the short-tail backend limitation, and resource management.

Two-stage approximation error ​

For the rSVD path, before optional global recompression and before temporal phase/normalization folding, the approximation is

Hi⟶Ui,LV~iH⟶Ui,LC¯iH(S(0))H=q^i(0)(S(0))H.

The triangle inequality gives

‖Hi−q^i(0)(S(0))H‖F≤‖Hi−Ui,LV~iH‖F+‖Ui,L(V~i−S(0)C¯i)H‖F.

Since Ui,LHUi,L=IL,

‖Ui,L(V~i−S(0)C¯i)H‖F=‖V~i−S(0)C¯i‖F,

and therefore

‖Hi−q^i(0)(S(0))H‖F≤‖Hi−Ui,LV~iH‖F+‖V~i−S(0)C¯i‖F.

The first term is the local rSVD approximation error and the second term is the incremental shared-basis approximation error. shared_basis_tol controls only the second stage relative to the retained local energy ηi; it does not bound the local rSVD truncation error relative to the full matrix Hi.

Orthogonal decomposition and a stacked bound ​

The orthogonal local projection permits a stronger identity than the triangle inequality. The local residual is orthogonal to Ui,L, while both the local and shared approximations have sample-domain columns in its range. Thus

∥Hi−q^i(0)(S(0))H∥F2=∥Hi−Hi,loc∥F2+∥V~i−S(0)C¯i∥F2.

Let H stack all readouts, Hloc stack their local approximations, and Hsh=q^(0)(S(0))H. If every accepted incremental update satisfies its actual residual condition ∥V~i−S(0)C¯i∥F2≤τ2ηi, then

∥Hloc−Hsh∥F2≤τ2∑iηi=τ2∥Hloc∥F2.

Zero-padding old coefficient blocks preserves each old approximation, so this inequality does not require a post-hoc refit to the final basis. With eloc=∥H−Hloc∥F/∥H∥F, orthogonality gives

∥H−Hsh∥F2∥H∥F2≤eloc2+τ2(1−eloc2).

This is a conditional exact-arithmetic result: the stacked bound needs the true local projection and the stated actual residual inequalities. Orthonormal spatial updates are additionally used to infer those residual inequalities from the residual spectrum. For numerical factors, orthogonality defects, phase-product roundoff and weak-spectrum decisions add errors. The reported Gram-tail estimates are not rigorous Float32 certificates. In particular τ=0.01 alone cannot certify 1% total H error because eloc remains unspecified.

Additional final compression ​

For the stacked original phase matrix H, adding final recompression gives

‖H−q^SH‖F≤‖H−q^(0)(S(0))H‖F+‖q^(0)(S(0))H−q^SH‖F.

The second term is controlled relative to the already shared representation, not relative to H. Neither shared tolerance includes numerical NFFT interpolation, floating-point operator evaluation, physical input errors, or solver convergence. A phase-matrix Frobenius tolerance is not an image-error guarantee.

The local residual remains orthogonal to the final representation: each recompressed readout still has sample-domain columns in the range of Ui,L. Write Esh=Hloc−Hsh and Dg=Hsh−q^SH. Then

∥H−q^SH∥F2=∥H−Hloc∥F2+∥Esh+Dg∥F2.

If the final stage actually satisfies ∥Dg∥F≤ϵg∥Hsh∥F, the earlier shared residual conditions give

∥H−q^SH∥F2∥H∥F2≤eloc2+(τ1−eloc2+ϵg∥Hsh∥F∥H∥F)2.

The sharing error is orthogonal to the basis available at its insertion time, but can have components along columns added later. A global rotation and truncation can mix these columns, so ⟨Esh,Dg⟩F need not vanish. Adding all three squared error percentages is therefore unjustified. The optional legacy global stage uses a coefficient Gram and subtractive tail accounting, unlike the blocked QR/SVD in Joint adaptive low-rank. Its ideal spectral interpretation does not remove the numerical limitations stated above.

Guarantees, empirical choices and contribution ​

StatementScope
Local projection identity and spatial-factor error transferExact-arithmetic identities under the displayed orthogonality conditions.
Stacked local-plus-shared boundConditional on each actual shared residual satisfying its threshold.
Small-SVD optimalityFor the projected matrix or residual being decomposed, not the entire completed streaming construction.
Final shared rank is globally minimalNot established; saved old coefficients are not refitted, and profile order can matter.
A configured local rank or shared tolerance certifies total H errorNot established; evaluate the original H residual of the final factors.
Lower memory or faster reconstructionImplementation/workload properties requiring matched-accuracy measurements.

The method-specific design is weighted online spatial sharing without retaining all local spatial matrices, followed by a reusable common-trajectory execution. Its joint alternative uses a different construction objective and error-selection policy. Neither path treats SVD, POD or randomized range finding as a new mathematical invention.

From H error to encoding and reconstruction error ​

For the point-voxel model, stack actual time rows as u and write the exact multi-coil encoding entry as a unit-modulus Fourier/temporal phase times CvcHuv/Nv. If ΔH=H^−H and ΔA=A^−A, then for raw weights wuc,

∥WΔA∥F2=1Nv∑u,v|ΔHuv|2∑c|wuc|2|Cvc|2.

Thus a global H tolerance is an unweighted average, whereas encoding error depends on coil and data weights. With unit weights and ∑c|Cvc|2=1 at every voxel, relative encoding Frobenius error equals eH for exact Fourier encoding. This equality does not include NFFT error or imply the same relative error on every object or ROI.

An illustrative inverse-problem bound makes the remaining dependence explicit. Consider converged linear Tikhonov solutions minimizing ∥Bx−d∥22+λ∥x∥22, with the same d=Wy and λ>0: x uses B=WA, and x^ uses B^=B+ΔB. Defining r=d−Bx, the normal equations give

x^−x=(B^HB^+λI)−1[ΔBHr−B^HΔBx].

Consequently

∥x^−x∥2≤∥ΔB∥2σmin(B^)2+λ(∥r∥2+∥B^∥2∥x∥2).

Here σmin(B)=inf∥z∥2=1∥Bz∥2 is defined over the entire chosen image domain. It is zero when B has a nullspace, including masked-out coordinates if the full grid is retained; it is not the smallest nonzero singular value of a rectangular matrix. Directly from the triangle inequality,

σmin(B^)≥max{σmin(B)−∥ΔB∥2,0}.

Thus the denominator is always at least λ, with a stronger lower bound only when the original operator and perturbation justify it. The encoding Frobenius bound controls ∥ΔB∥2 through ∥ΔB∥2≤∥ΔB∥F.

This identity follows by subtracting the two normal systems. It illustrates dependence on conditioning, regularization, the data residual and weighted operator error. It is not a guarantee for arbitrary regularizers or singular unregularized systems. A finite CG output has the additional error to its own converged solution. NFFT, low-rank and iterative errors must therefore be validated separately; eH≤ϵH does not imply an image error below ϵH.

Parameter interpretation ​

For the default rSVD construction:

ParameterStageMeaning
basis_layoutRepresentationShared spatial columns or independent per-readout factors.
L_rankLocal rSVDFixed retained rank L per dynamic.
rsvd_oversampleLocal rSVDAdditional sketch columns; L+p≤min(Nt,Nv).
rsvd_seedLocal rSVDBase seed; backend and partition also determine the actual sketch.
rsvd_finalizeLocal rSVDDirect SVD or projected Gram finalization.
rsvd_backendLocal productsChunked products or fused kernels; internal 16-column batches do not cap total rank.
shared_basis_tolIncremental mergeResidual tolerance relative to retained local energy ηi.
shared_rank_maxIncremental mergeCap on accumulated rank R0 before optional recompression.
shared_noadd_checkIncremental mergeOptional guarded residual-energy check; default false.
global_basis_tolFinal recompressionAdditional error relative to the completed representation; default nothing.
normal_distributionExecutionSelect single, channel, rank, or independent-readout execution.
normal_sample_batch_sizeRank executionBound sample batches, not total memory; default 12_000_000.

The local rank L and final shared rank R describe different approximations. L controls the per-dynamic rSVD truncation, whereas R0 is accumulated by incremental sharing and optional recompression can reduce it to R≤R0. The final R may still be smaller than, equal to, or larger than L.

Use the API reference for exact defaults and supported combinations, and the multi-GPU guide for runnable configuration. Approximation and adjoint checks should use a tractable explicit or directly constructed reference with the same mask and phase conventions. Validation methodology is described separately in Scientific validation strategy.

Validation scope ​

Regression tests assess consistency of phase sign, coordinate convention, NFFT node mapping, centring, normalization, masking, data layout, and adjointness on tractable problems. These tests establish implementation consistency but do not constitute an independent physical reference. Validation of absolute physical accuracy requires independent simulation or measured reference data.

HighOrderMRI.jl documentation · v0.1.1 · code 5d6ac72 · docs 5d6ac72