FFCNet: Fourier Transform-Based Frequency Learning and Complex Convolutional Network for Colon Disease Classification

Kai-Ni Wang, Yuting He, Shuaishuai Zhuang, Juzheng Miao, Xiaopu He, Ping Zhou, Guanyu Yang, Guang-Quan Zhou, Shuo Li · DOI · OpenReview

Introduction

Automating the classification of colonoscopy images is a critical step toward the early detection and treatment of colorectal cancer. While standard deep learning architectures have made significant strides in medical imaging, they often struggle with the unique environmental constraints of endoscopic procedures. Challenges such as inconsistent lighting, varying lesion locations, and the loss of structural information during data processing can limit the clinical utility of traditional spatial-domain models.

This paper introduces FFCNet (Fourier-based Frequency Complex Network), a novel framework designed to address these limitations by processing colonoscopy images directly in the frequency domain using complex-valued convolutional networks. By leveraging the mathematical properties of the Fourier transform, FFCNet achieves superior robustness and accuracy compared to state-of-the-art spatial models.

Addressing Clinical Challenges in Endoscopy

Standard computer vision models face three primary hurdles when analyzing colonoscopy data:

  1. Uneven Illumination: The light source on endoscope probes creates inconsistent brightness across the intestinal wall, which can confuse models that rely solely on spatial pixel intensities.
  2. Location Variability: Lesions can appear anywhere within the frame. Spatial CNNs often overfit to specific positions rather than learning the intrinsic features of the lesion itself.
  3. Loss of Phase Information: While some researchers have explored frequency-domain learning, they typically utilize only the "magnitude" component of the Fourier transform. This discards the "phase" information, which contains essential data regarding the contours and structural textures of clinical findings.

The FFCNet Architecture

FFCNet overcomes these issues through two primary technical innovations: the Patch Shuffling Module and a fully complex-valued network backbone.

Patch Shuffling Module (PSM)

While the Discrete Fourier Transform (DFT) is excellent at capturing global image patterns, it can obscure local details. To bridge this gap, the authors developed the Patch Shuffling Module (PSM). This module divides the image into $K \times K$ patches, applies a DFT to each, and then randomly shuffles them. This process forces the network to learn both local, disease-specific features and long-range dependencies, preventing the model from becoming overly reliant on the global spatial arrangement.

Frequency-Domain Complex Network

Rather than converting frequency data back into real numbers—a process that typically results in information loss—FFCNet utilizes a Complex CNN. The researchers modified standard architectural components, including Convolution, ReLU, and Batch Normalization, to handle complex numbers ($a + bi$). This allows the network to simultaneously learn from both the magnitude and the phase of the image spectrum, preserving the structural integrity of the visual data throughout the forward pass.

The architecture utilizes a modified ResNet-18 as its backbone, where every internal component is replaced with its complex-valued counterpart.

Experimental Results

The model was evaluated using an in-house dataset of 3,568 standard white-light endoscopic images, categorized into four classes: Normal, Polyps, Adenomas, and Cancers. The dataset was split into a 6:2:2 ratio for training, validation, and testing.

FFCNet demonstrated significant performance improvements over both classical and modern architectures:

  • Accuracy: The model achieved 86.35% accuracy, representing a 4.46% improvement over the standard real-valued ResNet-18 backbone.
  • Comparative Performance: FFCNet outperformed several high-performance models, including EfficientNet (84.44%), GoogLeNet (85.42%), and the hybrid transformer-CNN CoAtNet (85.93%).
  • Ablation Insights: The inclusion of the Patch Shuffling Module alone improved accuracy by 9.2% over a basic frequency-domain baseline, confirming that local information is a vital component of spectral learning.

Discussion and Key Insights

The success of FFCNet stems from its ability to decouple image features in the frequency domain. In the Fourier spectrum, the "DC component" represents average brightness; by operating in this domain, the model can effectively ignore brightness fluctuations by isolating this component. Furthermore, because the magnitude map of a Fourier transform is translation-invariant, the model is naturally resistant to the "location variability" problem.

By ensuring that phase information—the key to capturing lesion textures—is preserved through complex-valued operations, FFCNet provides a more robust solution for clinical diagnostics than models that operate purely in the spatial domain.

Conclusion and Future Work

FFCNet represents a significant shift in how endoscopic images can be processed, proving that frequency-domain learning with complex-valued networks is highly effective for medical classification tasks. While the model shows sensitivity to hyperparameters like patch size ($K$), its ability to outperform modern transformers and CNNs suggests a promising path forward. Future research will focus on optimizing the computational complexity of complex-valued convolutions and further exploring the interplay between spatial and frequency features in real-world medical applications.

Summary updated

BibTeX
@inproceedings{wang2022ffcnet,
  author = {Kai-Ni Wang and Yuting He and Shuaishuai Zhuang and Juzheng Miao and Xiaopu He and Ping Zhou and Guanyu Yang and Guang-Quan Zhou and Shuo Li},
  title = {{FFCNet: Fourier Transform-Based Frequency Learning and Complex Convolutional Network for Colon Disease Classification}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  doi = {10.1007/978-3-031-16437-8\_8},
}
Figure