atlas

Research map / Architectures and efficiency / RNNs and normalization

Memory-Efficient Training with In-Place FFT Implementation

NeurIPS 2025 · Architectures and efficiency › RNNs and normalization · approach: Scalable approximation and equivariant compute · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes rdFFT, a real-domain fully in-place FFT/IFFT that packs conjugate-symmetric spectra into n real slots, and applies it to circulant-structured fine-tuning to cut training memory.

Problem

Standard FFT and rFFT cannot run truly in-place on real tensors because rFFT maps n reals to n/2+1 complex values (n+2 reals), causing size mismatch, extra allocations, and no bfloat16 support in libraries, which hurts memory-efficient training with FFT-based operators.

Approach

Exploit conjugate symmetry and butterfly structure so each complex coefficient's real part sits at index k and imaginary part at index r-k, letting the whole FFT and IFFT run in place within an n-element real buffer, with bf16 support, and use it inside circulant-matrix fine-tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace rFFT with in-place real-domain FFTCirculant fine-tuning of LLaMA2-7B · GSM8Kpeak GPU memory (GB): 19.28 -> 17.93Helped
Replace rFFT with in-place real-domain FFTCirculant fine-tuning of RoBERTa-large · MRPCpeak GPU memory (GB): 6.13 -> 5.77Helped
Replace rFFT with in-place real-domain FFTCirculant fine-tuning of LLaMA2-7B · GSM8Kthroughput (k tokens/sec): 1.77 -> 0.92Hurt
Replace rFFT with in-place real-domain FFTRoBERTa-large fine-tuning · MRPCaccuracy (%): 90.7 -> 90.0 (p=512); 89.7 -> 90.3 (p=1024)Mixed
Replace rFFT with in-place real-domain FFTStandalone FFT operator · FFT p=512 forwardruntime (ms): 0.0195 -> 0.0279Hurt
Replace rFFT with in-place real-domain IFFTStandalone inverse FFT operator · FFT p=512 inverseruntime (ms): 0.0450 -> 0.0233Helped
Replace rFFT with in-place real-domain FFTStandalone FFT operator · FFT p=4096 forwardruntime (ms): 0.0199 -> 0.0687Hurt
Vary circulant block size from 128 to 4096 (ablation)rdFFT single-layer training · D=4096, B=1peak GPU memory (MB): 1.06 -> 0.09Helped
Vary circulant block size from 128 to 4096 (ablation)rdFFT single-layer training · D=4096, B=256peak GPU memory (MB): 20.50 -> 20.02No clear effect
Use in-place real-domain encoding instead of standard FFTSingle-layer circulant training · D=4096, B=1, block size 128peak GPU memory (MB): 3.65 -> 1.06Helped
Use in-place real-domain encoding instead of rFFTSingle-layer circulant training · D=4096, B=1, block size 128peak GPU memory (MB): 3.14 -> 1.06Helped

Surprising findings

Limitations

Experimental setup

Datasets: GSM8K MRPC

Benchmarks: MRPC GSM8K

Metrics: peak GPU memory (MB/GB) throughput (k tokens/sec) accuracy (%) operator runtime (ms) absolute and relative numerical error

Baselines: full fine-tuning LoRA torch.fft.fft circulant torch.fft.rfft circulant block circulant adapter

Builds on: Cooley-Tukey FFT block circulant adapter LoRA FourierFT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy