TL;DR
This paper introduces "quaternion-native" iterative methods to compute the Moore-Penrose pseudoinverse of quaternion matrices directly in the quaternionic space $\mathbb{H}$ without relying on real or complex embeddings. By tailoring Newton-Schulz, hyperpower, randomized sketch-and-project, and conjugate gradient methods to handle non-commutativity, the authors achieve state-of-the-art accuracy with dramatically reduced computational time and memory overhead for large-scale applications like video completion and image deblurring.
What Problem Does This Paper Address?
Quaternions extend complex numbers into four dimensions (one real part and three imaginary parts) and are widely used in robotics, computer graphics, and aerospace engineering to represent 3D rotations smoothly and avoid issues like gimbal lock. However, quaternion multiplication is non-commutative ($ab \neq ba$), which breaks standard linear algebra algorithms designed for real or complex numbers.
To compute the Moore-Penrose pseudoinverse of a quaternion matrix—a fundamental operation for solving least-squares problems—researchers typically rely on Singular Value Decomposition (QSVD) or convert the problem into massive real or complex matrices via embeddings. While QSVD is stable, its high computational and memory cost makes it impractical for large matrices. Conversely, embeddings destroy the underlying algebraic structure and inflate memory usage. This paper tackles the challenge of designing efficient, structure-preserving, iterative, and matrix-free methods that operate directly within the quaternion skew field $\mathbb{H}$.
Methods
The authors develop several quaternion-native algorithms designed to respect non-commutativity:
- Damped Newton-Schulz (NS-Q): Adapted to handle non-commutativity by enforcing precise left/right identities depending on whether the input matrix is full-row or full-column rank. A simple spectral scaling guarantees convergence.
- Higher-Order (Hyperpower) NS Schemes: These extend Newton-Schulz to order-$p$ local convergence. To minimize expensive matrix-matrix products, the authors implement cost-saving algebraic factorizations (binary and Paterson-Stockmeyer schedules).
- Randomized Sketch-and-Project (RSP-Q): A randomized block Kaczmarz variant that makes inexpensive randomized projections onto sketched identity constraints, providing global linear convergence in expectation.
- Hybrid RSP+NS: A "global-then-local" approach that interleaves cheap randomized steps (to find a favorable convergence basin) with exact hyperpower steps (for rapid local contraction).
- Matrix-form Conjugate Gradient on Normal Equations (CGNE-Q): A matrix-free approach that minimizes a convex quadratic residual using only multiplications by the matrix $A$ and its conjugate transpose $A^H$, avoiding any matrix factorizations.
Datasets
The proposed algorithms were evaluated using a mix of synthetic benchmarks and real-world application datasets:
- Synthetic Data: Random quaternion matrices of sizes ranging from $100 \times 150$ to $800 \times 850$, with elements drawn from a standard Gaussian distribution.
- Kodak Image Dataset: Specifically the color images
kodim16andkodim20. Color images are modeled as quaternion fields where the RGB channels map directly to the three imaginary units ($i, j, k$). These were used for low-rank CUR image completion and nonblind deblurring. - YouTube Video Data: A "flowers" video sequence ($256 \times 256 \times 3 \times 174$) treated as a third-order quaternion tensor to test video completion.
- Lorenz Attractor Simulations: Synthetic 3D time-series data generated by integrating the chaotic Lorenz system, used to evaluate trajectory reconstruction and filtering performance.
Key Insights and Ideas
- Ditching Embeddings Preserves Structure: Operating directly in $\mathbb{H}$ avoids the memory inflation of real/complex embeddings, allowing the algorithms to act as drop-in, matrix-free solvers for large-scale inverse problems.
- Rank Dictates Side Conventions: Because quaternions don't commute, the matrix's shape dictates whether you should apply a left-residual or right-residual update to minimize the computational cost of dominant matrix products.
- The Sketching Bottleneck: While randomized sketching (RSP-Q) successfully reduces dominant matrix multiplications, it introduces a new bottleneck: the repeated overhead of thin QR factorizations or small Gram solves. Consequently, the deterministic Newton-Schulz baseline often remains faster in practice.
Key Results
- Massive Speedups over Baselines: For Lorenz-attractor filtering on an $N \times N$ system ($N=200$), the proposed NS-Q method was one to two orders of magnitude faster than unpreconditioned QGMRES (0.596 seconds vs. 73.920 seconds) while maintaining excellent residual accuracy.
- Efficient Video Recovery: In video completion tasks where 70% of the pixels were randomly removed, the iterative pseudoinverse approach delivered identical reconstruction quality (PSNR) to the QSVD baseline while cutting the wall-clock execution time roughly in half.
- Deblurring Parity: For nonblind color image deblurring, the specialized FFT-NS-Q variant achieved the exact same state-of-the-art accuracy (PSNR and SSIM) as the QSLST-FFT baseline but ran entirely within the quaternion domain.
Limitations and Future Work
- Rank-Deficient Matrices: The current convergence theory primarily guarantees behavior for full-rank (row or column) rectangular matrices. The authors note that handling severely rank-deficient inputs will require integrating explicit $\lambda$-regularization.
- RSP-Q Optimization: The randomized sketch-and-project method is currently slowed down by its per-iteration micro-solvers. Future work will target this via incremental/blocked QR factorizations and sketch reuse.
- Broader Algebraic Extensions: The authors plan to extend these iterative frameworks to more complex structures, including quaternion tensors, split quaternions, dual quaternions, and alternative generalized inverses (like the Drazin and group inverse), alongside GPU acceleration.
Summary updated