A Fast Algorithm for Joint Diagonalization with Non-orthogonal Transformations and its Application to Blind Source Separation

Andreas Ziehe, Pavel Laskov, Guido Nolte, Klaus-Robert MüllerJMLR 2004

TL;DR

This paper introduces FFDIAG (Fast Frobenius Diagonalization), an efficient algorithm for simultaneously diagonalizing a set of matrices using non-orthogonal transformations. By leveraging a sparse, block-diagonal Hessian approximation, FFDIAG achieves quadratic convergence with a computational complexity of only $O(KN^2)$ per iteration, making it orders of magnitude faster than previous state-of-the-art methods for Blind Source Separation (BSS).

What Problem Does This Paper Address?

Joint Diagonalization (JD) is a cornerstone of signal processing and machine learning, particularly in Independent Component Analysis (ICA) and Blind Source Separation (BSS). The goal is to find a single transformation matrix that makes a whole "stack" of matrices as diagonal as possible.

Historically, researchers faced a trade-off:

  1. Orthogonal Methods: Fast and stable, but they assume the transformation is a rotation. This requires a "pre-whitening" step that can discard useful information or amplify noise.
  2. Non-Orthogonal Methods: More flexible and accurate (no pre-whitening needed), but computationally expensive. Existing algorithms like AC-DC were often too slow for large-scale problems, scaling poorly as the number of sensors ($N$) or matrices ($K$) increased.

The authors sought a "best of both worlds" approach: a non-orthogonal algorithm that is as fast as the simpler orthogonal ones.

Methods

The authors propose FFDIAG, which optimizes the Frobenius norm of the off-diagonal elements. Its efficiency comes from two key innovations:

  • Multiplicative Updates: Instead of updating the transformation matrix $V$ additively, they use $V_{n+1} \leftarrow (I + W)V_n$. This naturally enforces the invertibility of the transformation, preventing the algorithm from collapsing into a "trivial solution" (like a matrix of all zeros).
  • Sparse Hessian Approximation: To find the optimal update $W$, the authors use a second-order (Newton-like) approach. Usually, calculating the Hessian (the matrix of second derivatives) is the bottleneck. However, by ignoring certain small terms near the solution, the authors show that the problem decomposes into many independent $2 \times 2$ systems of equations. This reduces the complexity of the update step from $O(N^6)$ to $O(KN^2)$.

Datasets

The paper evaluates the algorithm using:

  • Synthetic Matrices: Randomly generated $10 \times 10$ and $5 \times 5$ matrices with varying levels of "non-diagonality" (noise) to test convergence speed and accuracy.
  • Scaling Benchmarks: Matrices of increasing dimensions (up to $N=50$) to measure how the running time grows with problem size.
  • Audio BSS Task: A mixture of seven real-world audio signals and one Gaussian noise source, mixed using an $8 \times 8$ Hadamard matrix.

Key Insights and Ideas

  • The Power of Sparsity: The "aha moment" is realizing that a specific approximation of the cost function leads to a block-diagonal Hessian. This allows the algorithm to solve for the update matrix $W$ in closed form for each pair of indices $(i, j)$, rather than solving one massive linear system.
  • Avoiding Pre-whitening: Because FFDIAG handles non-orthogonal transformations directly, it can separate sources even when they are highly correlated or when the mixing process isn't a simple rotation. This leads to better separation quality in practical BSS tasks.
  • Heuristic Normalization: To ensure the algorithm stays stable even when far from the solution, the authors include a normalization step for the update matrix $W$, effectively "steering" the algorithm toward the region where its quadratic convergence kicks in.

Key Results

  • Speed: In head-to-head tests, FFDIAG was approximately two orders of magnitude faster than the AC-DC algorithm. For a typical problem, FFDIAG took ~0.03 seconds per iteration compared to ~2.6 seconds for AC-DC.
  • Convergence: Like Newton's method, FFDIAG exhibits quadratic convergence near the solution. It typically reaches high precision (error $< 10^{-15}$) in fewer than 10–15 iterations.
  • Scalability: The algorithm scales linearly with the number of matrices ($K$) and quadratically with the matrix dimension ($N$), confirming the theoretical $O(KN^2)$ complexity.
  • Robustness: Even when the matrices cannot be perfectly diagonalized (the "noisy" case), FFDIAG converges reliably to a high-quality approximate solution.

Limitations and Future Work

  • Local Convergence: As a Newton-like method, FFDIAG is guaranteed to converge quadratically only when it is already "close enough" to the optimal solution. While the authors' normalization heuristic helps, a very poor initialization could still lead to issues.
  • Theoretical Gap: The authors acknowledge that their sparse Hessian is an approximation. While it works exceptionally well in practice, a deeper theoretical analysis of the convergence properties on "non-holonomic manifolds" (the mathematical space the algorithm operates in) remains an open research area.
  • Complex/Unsymmetric Data: While the paper focuses on real symmetric matrices, the authors note that extensions to complex-valued or unsymmetric matrices are possible but were not the primary focus of this study.

Summary updated

BibTeX
@article{ziehe2004fast,
  author = {Andreas Ziehe and Pavel Laskov and Guido Nolte and Klaus-Robert Müller},
  title = {{A Fast Algorithm for Joint Diagonalization with Non-orthogonal Transformations and its Application to Blind Source Separation}},
  journal = {J. Mach. Learn. Res.},
  year = {2004},
}
Figure