Factoring Over the Right Number System: Complex CP Decomposition for Compact Complex-Valued Networks

Complex-valued neural networks process numbers with a magnitude and a phase. They are popular for audio spectrograms and other wave-like data, but they carry a heavy cost on ordinary hardware. One complex multiplication takes four real multiplications. A complex speech enhancer such as DCCRN needs 14.38 G multiply-accumulates (MACs), against 4.84 G for a real-valued version of matching quality (Rethinking Complex-Valued Deep Neural Networks for Monaural Speech Enhancement). A natural fix is to compress each convolution with a CP decomposition: write the four-way kernel tensor as a short sum of "rank-one" pieces, each the outer product of one vector per axis, and run it as four thin convolutions in sequence (Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition). The real question is not whether this works on complex networks. It is which number system to factor over. Should we compute the decomposition with complex factor vectors, or first convert the complex layer to an equivalent real layer and factor that?

Our claim is that the choice matters, for a counting reason. A rank-one complex term in a four-way tensor, once its real and imaginary parts are expanded, can need up to eight real rank-one terms to write down. The complex term costs only three or four times as much to run. If trained complex kernels really are close to low complex rank, factoring over the complex numbers should give better quality per real MAC than any real factorization. That would include real CP decomposition of the matched real network, the alternative that the speech-enhancement evidence favors. If they are not, the experiment gives a clean negative answer: complex structure does not pay its way even once the network is compressed.

Core Claim

Let $z_1 \otimes z_2 \otimes z_3 \otimes z_4$ be a complex rank-one kernel term, with $z_n = x_n + i\,y_n$ and $x_n, y_n$ real. Its real part is the sum of the products that contain an even number of $y$ factors, and its imaginary part is the sum of those with an odd number:

$$\mathrm{Re}(z_1\otimes z_2\otimes z_3\otimes z_4)=\sum_{\text{even } \#y} \pm\, u_1\otimes u_2\otimes u_3\otimes u_4,\qquad u_n\in\{x_n,y_n\},$$

Each part therefore has up to $2^{N-1}=8$ real rank-one terms for a tensor with $N=4$ axes. This is an upper bound, not a guarantee. Real decompositions of the converted tensor can sometimes do better, and trained kernels are never exactly low-rank. Still, the gap that the bound allows grows with the number of axes, while the per-term complex overhead is a fixed factor of three or four real multiplications (three with Gauss's rearrangement).

The testable hypothesis is about trained weights. Phase relationships across channels and frequency in models like DCCRN and the ComVo vocoder show up as low complex rank. They appear as high real rank once the layer is converted to real form. There is one more possible benefit, offered as a hypothesis rather than a result: real low-rank approximation suffers from ill-posed cases where the best approximation does not exist (Tensor Decompositions and Applications). Complex factors may sidestep some of these cases, because some real tensors have strictly lower rank over the complex numbers. The fine-tuning instability reported for real CP layers (Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition) could then be milder for complex factors. We measure this rather than assume it.

Relation to Prior Work

Lebedev et al. supply the method we build on. They compute a four-way CP decomposition of real AlexNet and character-recognition kernels by non-linear least squares, then fine-tune the result end to end. They report an 8.5x CPU speedup on the character CNN at a 1% accuracy drop. They worked only in real arithmetic, so they never faced the question of which number system to use. The only CP work on complex data in the file is offline neuroimaging, with no connection to network compression or runtime cost. That work is shift-invariant complex CP decomposition of multi-subject fMRI with phase sparsity (Shift-Invariant Canonical Polyadic Decomposition of Complex-Valued Multi-Subject fMRI Data With a Phase Sparsity Constraint) and alternating rank-R/rank-1 least squares for the same setting (Constrained CPD of Complex-Valued Multi-Subject fMRI Data via Alternating Rank-R and Rank-1 Least Squares). These papers do motivate us: they show that complex factors capture phase-coupled structure that real hybrids miss.

Two results constrain the design and could sink it. Wu et al. show that real networks matched for size and FLOPs equal complex ones in speech enhancement, and beat them at small sizes. Compression produces exactly such small models, so our proposal must beat compressed real networks, not just the uncompressed complex baseline. Ding et al. show that wide complex networks trained with "split" activations, meaning ones applied separately to the real and imaginary parts, behave like real networks of twice the width (Real-Valued Backpropagation is Unsuitable for Complex-Valued Neural Networks). If DCCRN's weights have effectively become real in this sense, they will not have low complex rank. The kernel-rank diagnostic below tests this directly.

On the engineering side, two papers show that fewer parameters do not mean less wall-clock time. Quaternion LSTMs train up to 3x slower despite 3.3x fewer parameters (Quaternion Recurrent Neural Networks), and fragmented automatic-differentiation graphs cost ComVo 25% of training time until its layers were rewritten as fused block-matrix operations (Toward Complex-Valued Neural Networks for Waveform Generation). We therefore report measured latency alongside MACs, and we implement every factor layer with the fused block-matrix form.

Research Program

The first stage is a diagnostic that needs no training. We take trained complex convolution kernels from DCCRN, trained on DNS 2020 following Wu et al.'s setup, and from ComVo, trained on LibriTTS. For each layer we plot approximation error against real-MAC cost under three factorizations:

  • complex CP decomposition, using damped Gauss–Newton (Low Complexity Damped Gauss-Newton Algorithms for CANDECOMP/PARAFAC) with alternating least squares as a fallback;
  • real CP decomposition of the converted real layer, whose kernel has shape 2T×2S×d×d with the block form [[Re, −Im],[Im, Re]];
  • real CP decomposition of the corresponding layer in Wu et al.'s matched real network.

Synthetic complex tensors with planted rank calibrate whether the solvers find the low-rank solutions that the counting argument predicts.

The second stage replaces the layers with four sequential factor convolutions and fine-tunes. We sweep rank to trace curves of quality against both real MACs and measured latency. A mixed variant keeps the channel factors complex but forces the two spatial factors to be real, which tells us where the phase structure actually lives. Fine-tuning compares split activations with the holistic zReLU, following Ding et al. The goal is to check that compression does not quietly turn the network into a real one.

Baselines

The do-nothing reference is the uncompressed complex DCCRN, implemented with fused block-matrix layers so that its cost reflects arithmetic rather than graph overhead. The file reports 14.38 G MACs for it on DNS 2020. On Voice Bank + DEMAND, DCCRN reaches a wide-band PESQ of 2.68 and DCCRN+ reaches 2.84 (DCCRN+: Channel-Wise Subband DCCRN with SNR Estimation for Speech Enhancement).

The strongest competitor is Wu et al.'s matched real DCCRN at 4.84 G MACs, compressed further with Lebedev-style real CP decomposition and fine-tuning. It is the strongest because real arithmetic already erases the complex cost at equal quality, and real CP decomposition is a proven compressor. No reported result on Lacuna was found for CP-compressed DCCRN in either number system, so we produce these numbers ourselves.

A second real baseline applies real CP decomposition to the converted complex layer. This is the ablation that isolates the key ingredient: it keeps the trained complex weights and changes only the number system of the factors.

A two-factor low-rank baseline uses a complex truncated singular value decomposition of the channel-unfolded kernel.

To keep comparisons fair, every method gets the same initialization source, the same fine-tuning epoch budget, and the same learning-rate grid. The grid is needed because Lebedev reports CP fine-tuning to be sensitive to learning rate. All methods also share identical kernels for the fused real and complex operations. Latency is measured as single-thread CPU real-time factor, as in DCCRN+, and on an A6000-class GPU.

Beating the strongest baseline means one of two things. Either we achieve higher PESQ, STOI and SI-SDR at every real-MAC budget at or below 4.84 G, or we achieve equal quality at measurably lower latency. Either must hold across three seeds.

Why not just…?

Why not just use the real network and compress that? This is the real threat. Wu et al.'s evidence says the complex structure in DCCRN buys nothing. Our response is not to argue but to place the compressed real network as the main baseline. If it wins, we report that complex structure does not survive compression, which is useful in itself. ComVo provides the counter-case: there, real networks given twice the parameters could not model coupled spiral trajectories. Running both models tells us whether the outcome depends on the task.

Why not just fuse complex operations into block matrices? ComVo's fusion removed 55–67% of backward-pass graph nodes and cut training time from 183 to 138 hours. It leaves the four-real-multiplication cost per complex multiplication untouched. We adopt fusion in every arm, so any gain we report comes on top of it.

Why not just use quaternion layers? E-QCNN achieves a 70% MAC reduction for a 0.9-point mAP loss on AudioSet (Efficient CNNs with Quaternion Transformations and Pruning for Audio Tagging). But quaternion weight sharing fixes a four-dimensional algebra and adds Hamilton-product cost. It does not exploit low rank in a model that is already complex. As a side check, we run the AudioSet setup with a complex CP-decomposed CNN14.

Why not just use a matrix SVD? It is cheap and exact, but it ignores the spatial axes. Lebedev found that four-way CP decomposition beat matrix approximations on real CNNs. The complex SVD baseline tests whether that advantage carries over.

Decisive Checks

The kernel diagnostic is the first gate. Suppose complex CP decomposition does not reach a target error at fewer real MACs than real decomposition of the converted layer, on most DCCRN and ComVo layers. Then the counting argument does not describe trained weights, Ding et al.'s collapse is the likely cause, and we stop before fine-tuning.

If the diagnostic passes, the end-to-end comparison follows. The decisive result is whether the complex-CP DCCRN beats CP-compressed real DCCRN at a matched budget, measured in latency as well as MACs. The zReLU-versus-split comparison then shows whether keeping genuinely complex training behavior is what preserves low complex rank.