• Cite Icon9
  • https://doi.org/10.1109/arith.2015.28Copy DOI Icon

Reproducible Tall-Skinny QR

  • Jun 1, 2015
  • Hong Diep Nguyen +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Reproducibility is the ability to obtain bitwise identical results from different runs of the same program on the same input data, regardless of the available computing resources, or how they are scheduled. Recently, techniques have been proposed to attain reproducibility for BLAS operations, all of which rely on reproducibly computing the floating-point sum and dot product. Nonetheless, a reproducible BLAS library does not automatically translate into a reproducible higher-level linear algebra library, especially when communication is optimized. For instance, for the QR factorization, conventional algorithms such as Householder transformation or Gram-Schmidt process can be used to reproducibly factorize a floating-point matrix by fixing the high-level order of computation, for example column-by-column from left to right, and by using reproducible versions of level-1 BLAS operations such as dot product and 2-norm. In a massively parallel environment, those algorithms have high communication cost due to the need for synchronization after each step. The Tall-Skinny QR algorithm obtains much better performance in massively parallel environments by reducing the number of messages by a factor of n to O(log(P)) where P is the processor count, by reducing the number of reduction operations to O(1). Those reduction operations however are highly dependent on the network topology, in particular the number of computing nodes, and therefore are difficult to implement reproducibly and with reasonable performance. In this paper we present a new technique to reproducibly compute a QR factorization for a tall skinny matrix, which is based on the Cholesky QR algorithm to attain reproducibility as well as to improve communication cost, and the iterative refinement technique to guarantee the accuracy of the computed results. Our technique exhibits strong scalability in massively parallel environments, and at the same time can provide results of almost the same accuracy as the conventional Householder QR algorithm unless the matrix is extremely badly conditioned, in which case a warning can be given. Initial experimental results in Matlab show that for not too ill-conditioned matrices whose condition number is smaller than sqrt(1/e) where e is the machine epsilon, our technique runs less than 4 times slower than the built-in Matlab qr() function, and always computes numerically stable results in terms of column-wise relative error.

Similar Papers
  • Single Report

Simulated Half-Precision Implementation of Blocked QR Factorization and Graph Clustering Applications

  • Aug 08, 2018
  • Lucia Minah Yang +1
  • Research Article
  • Citations108

Linear algebra with applications

  • Apr 01, 1999
  • Choice Reviews Online
  • George Nakos +1
  • Research Article
  • Citations20

Backward error analysis of the AllReduce algorithm for householder QR decomposition

  • Dec 17, 2011
  • Japan Journal of Industrial and Applied Mathematics
  • Daisuke Mori +2
  • Book Chapter
  • Citations159

Chapter 18 - The Algebraic Eigenvalue Problem

  • Sep 19, 2014
  • Numerical Linear Algebra with Applications
  • William F Ford
  • Conference Article
  • Citations3

Sphere decoding based on QR decomposition in STBC

  • Apr 01, 2011
  • Herve Koudougnon +2
  • Book Chapter

Performance Modeling of Multishift QR Algorithms for the Parallel Solution of Symmetric Tridiagonal Eigenvalue Problems

  • Jan 01, 2010
  • Takafumi Miyata +2
  • Book Chapter
  • Citations1

Chapter 17 - Implementing the QR Decomposition

  • Sep 19, 2014
  • Numerical Linear Algebra with Applications
  • William F Ford
  • Research Article
  • Citations3

Systolic SVD and QR Decomposition by Householder Reflections

  • Jan 01, 2002
  • International Journal of Computer Mathematics
  • D.J Evans +1
  • Research Article
  • Citations3

A unified co-processor architecture for matrix decomposition

  • Jul 11, 2010
  • Journal of Computer Science and Technology
  • Yong Dou +5
  • Conference Article
  • Citations5

Recursion Brings Speedup to Out-of-Core TensorCore-based Linear Algebra Algorithms: A Case Study of Classic Gram-Schmidt QR Factorization

  • Aug 09, 2021
  • Shaoshuai Zhang +1
  • Research Article
  • Citations5

Hardware Implementation of the Preprocessing QR-Decomposition for the Soft-Output MIMO Detection With Multiple Tree Traversals

  • Feb 01, 2018
  • IEEE Transactions on Circuits and Systems II: Express Briefs
  • Tsung-Hsien Liu +4
  • Conference Article
  • Citations10

Privacy-Preserving Outsourcing Computation of QR Decomposition in the Encrypted Domain

  • Aug 01, 2019
  • Yonghong Zhang +2
  • Research Article
  • Citations860

Numerical methods for computing angles between linear subspaces

  • Jan 01, 1973
  • Mathematics of Computation
  • Ȧke Björck +1
  • Conference Article
  • Citations1

An Efficient Quintic Time Scaling End-Effector Trajectory Generation Algorithm for a Servicing Robotic Arm

  • Jan 19, 2023
  • Aryslan Malik +2
  • Research Article

Scalable QR Factorisation of Ill-Conditioned Tall-and-Skinny Matrices on Distributed GPU Systems

  • Nov 11, 2025
  • Mathematics
  • Nenad Mijić +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.