Skip to main content
QUICK REVIEW

[Paper Review] Butterfly factorization via randomized matrix-vector multiplications

Yang Liu, Xin Xing|arXiv (Cornell University)|Feb 9, 2020
Matrix Theory and AlgorithmsComputer Science27 references9 citations
TL;DR

This paper presents an adaptive, randomized algorithm for computing butterfly factorizations of large, highly oscillatory matrices using only matrix-vector multiplications. By applying the matrix and its transpose to structured random vectors, the method achieves $O(n^{3/2} ext{log}n)$ computation and $O(n\text{log}n)$ memory, with rigorous error bounds and parallel scalability, enabling efficient solution of high-frequency wave problems.

ABSTRACT

This paper presents an adaptive randomized algorithm for computing the butterfly factorization of a $m imes n$ matrix with $m\approx n$ provided that both the matrix and its transpose can be rapidly applied to arbitrary vectors. The resulting factorization is composed of $O(\log n)$ sparse factors, each containing $O(n)$ nonzero entries. The factorization can be attained using $O(n^{3/2}\log n)$ computation and $O(n\log n)$ memory resources. The proposed algorithm applies to matrices with strong and weak admissibility conditions arising from surface integral equation solvers with a rigorous error bound, and is implemented in parallel.

Motivation & Objective

  • To develop a fast and memory-efficient algorithm for constructing butterfly factorizations of matrices arising from high-frequency integral equations.
  • To address the high computational cost of existing methods for matrices with weak admissibility conditions, such as those from 3D surface integral equation solvers.
  • To provide a rigorous error bound that grows weakly with matrix size, ensuring accuracy across problem scales.
  • To enable parallel deployment for large-scale scientific computing applications.

Proposed method

  • The algorithm uses structured random vectors to probe the matrix and its transpose, enabling low-rank approximation of submatrices without explicit matrix access.
  • It adaptively selects submatrices based on a hierarchical butterfly structure, recursively decomposing them into low-rank blocks.
  • The method computes orthonormal row and column bases via randomized projection, avoiding full SVD and reducing memory usage.
  • It reverses the traditional factorization construction order, storing only essential information from random vectors to achieve $O(n\text{log}n)$ memory.
  • The algorithm leverages black-box matrix-vector multiplication, making it applicable to operators where matrix entries are not explicitly available.
  • It integrates orthogonal projection arguments to derive a rigorous error bound that scales weakly with matrix size.

Experimental results

Research questions

  • RQ1Can a butterfly factorization be constructed efficiently for matrices with weak admissibility conditions, such as those from 3D Helmholtz integral equations?
  • RQ2What is the computational and memory cost of constructing a butterfly factorization when only matrix-vector multiplication is available?
  • RQ3Can a randomized algorithm achieve both high accuracy and low memory usage for large-scale butterfly factorizations?
  • RQ4How does the error in the factorization scale with matrix size and tolerance?
  • RQ5Can the algorithm be efficiently parallelized for distributed-memory architectures?

Key findings

  • The proposed algorithm achieves $O(n^{3/2}\text{log}n)$ computation and $O(n\text{log}n)$ memory complexity, significantly improving upon prior $O(n^{3/2})$ memory methods.
  • For a 1.5 million-sized matrix ($n=1.5\times10^6$), the algorithm used only 2.82 GB of memory and 367 seconds for $\epsilon=10^{-2}$, with observed rank 250.
  • The error in the factorization grows only weakly with matrix size, and the method achieves the desired accuracy for all tested tolerances ($\epsilon=10^{-2}, 10^{-3}, 10^{-4}$).
  • The algorithm reduces memory usage compared to reference methods, with observed memory use scaling as $O(n^{0.25})$ in rank, consistent with theoretical expectations.
  • The computation time scales favorably with problem size, and the algorithm is highly parallelizable across 64 MPI processes on Cori nodes.
  • The method successfully computes butterfly factorizations for 2D and 3D Helmholtz problems using both strong and weak admissibility criteria, demonstrating robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.