FourierCompress: Layer-Aware Spectral Activation Compression for Efficient and Accurate Collaborative LLM Inference

Jian Ma, Xinchen Lyu, Jun Jiang, Longhao Zou, Chenshan Ren, Qimei Cui, Xiaofeng TaoarXiv 2025 · DOI

Introduction

As Large Language Models (LLMs) continue to scale, deploying them on resource-constrained edge devices like smartphones or IoT sensors presents a significant challenge. Collaborative (split) LLM inference offers a solution by partitioning the model: the edge device executes the initial layers, while a more powerful edge server handles the remaining computation.

However, this approach introduces a massive "bandwidth bottleneck." Because LLMs generate text token-by-token (autoregressively), they require the continuous transmission of high-dimensional intermediate activations. This communication overhead scales linearly with the output length, often exceeding the capacity of standard wireless networks. Traditional compression techniques, such as Top-k sparsification or Singular Value Decomposition (SVD), are either too computationally intensive for edge hardware or result in unacceptable accuracy degradation under high compression ratios.

Methodology: The Spectral Approach

To address these challenges, we introduce FourierCompress, a framework that treats activation tensors as 2D signals and performs compression in the spectral domain using the Fast Fourier Transform (FFT).

Layer-Aware Splitting

A core discovery of this work is that activations are not equally compressible across all layers. The first Transformer layer serves as an "optimal split point." Activations at this stage exhibit high spatial smoothness and structured patterns, whereas deeper layers become increasingly chaotic and high-entropy as they develop task-specific representations.

The FourierCompress Workflow

  1. 2D FFT Transformation: The activation matrix (Sequence Length $S \times$ Hidden Size $D$) is transformed into the frequency domain using a 2D FFT.
  2. Low-Frequency Retention: Since the "energy" of early-layer activations is concentrated in low frequencies, the framework retains only a compact block of low-frequency coefficients from the top-left of the 2D spectrum, discarding the rest.
  3. Conjugate Symmetry Reconstruction: On the server side, the signal is reconstructed using an Inverse FFT (IFFT). By leveraging the conjugate symmetry of real-valued signals, the amount of data transmitted is further halved.
  4. Hardware Acceleration: FFT is a standard primitive highly optimized for Digital Signal Processors (DSPs), FPGAs, and GPUs, making it significantly more efficient than sorting-based methods like Top-k.
Workflow of FourierCompress: From spatial activations to low-frequency spectral coefficients and back via FFT/iFFT.

Experimental Evaluation

FourierCompress was evaluated using Llama 3 (1B, 3B) and Qwen 2.5 (1.5B, 3B) models across 10 diverse commonsense reasoning benchmarks, including OpenBookQA, ARC-Easy, PIQA, and CommonsenseQA.

Key Results

  • High Compression & Low Loss: The framework achieved an average 7.6× reduction in activation size with less than 0.3% accuracy loss. In some instances, such as with Qwen2.5-3B, performance slightly improved (+0.1%), likely due to the low-pass filter's implicit denoising effect.
  • Superior Stability: Unlike Top-k or SVD, which see performance plummet as compression ratios increase, FourierCompress maintains near-baseline accuracy even at extreme compression levels.
  • Hardware Efficiency: On FPGA/DSP hardware, FourierCompress is 32× faster than Top-k sparsification and over two orders of magnitude faster than SVD-based methods.
Accuracy vs. Compression Ratio across four benchmarks, comparing FourierCompress to traditional methods like Top-k and SVD.

Discussion and Insights

FourierCompress shifts the system bottleneck from the slow wireless channel back to the domain of scalable computation. In simulated 6G environments, this allows a single edge server to support up to 1,500 concurrent clients on a 10 Gbps link, compared to only 150 clients using uncompressed baselines.

While the current framework focuses on splitting at the first Transformer layer for maximum compressibility, future work will explore integrating spectral compression with activation-aware fine-tuning. This could potentially allow for deeper split points or even higher compression ratios in complex tasks like creative writing or coding, where high-frequency "outlier" tokens may play a more critical role.

Summary updated

BibTeX
@misc{ma2025fouriercompress,
  author = {Jian Ma and Xinchen Lyu and Jun Jiang and Longhao Zou and Chenshan Ren and Qimei Cui and Xiaofeng Tao},
  title = {{FourierCompress: Layer-Aware Spectral Activation Compression for Efficient and Accurate Collaborative LLM Inference}},
  year = {2025},
  eprint = {2510.16418},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.16418},
}
Figure