FSANet: Frequency-Spatial Aware Network for Image Segmentation

Ruibo Wang, Ziyi Shen, Huaming Wu, Dong Liang, Kun ShangarXiv 2026

TL;DR

FSANet (Frequency-Spatial Aware Network) is a highly efficient segmentation framework designed to tackle real-world visual degradations like rain, glare, and low light. By integrating a dual-domain solver directly into foundation models like the Segment Anything Model (SAM), it effectively decouples global noise from semantic structures in the frequency domain. With a minimal overhead of just 0.035M trainable parameters, FSANet significantly improves boundary precision and robustness across challenging environments.

What Problem Does This Paper Address?

While modern vision transformers and foundation models (like SAM) excel at image segmentation under pristine, controlled conditions, they frequently suffer catastrophic failures in the wild. Real-world environments introduce complex noise patterns—such as rain streaks, heavy fog, low-light conditions, and intense optical glare—that distort spatial features.

Traditional spatial-only models struggle because these noise patterns are heavily entangled with the actual object structures in the spatial domain. Furthermore, existing segmentation benchmarks predominantly feature well-illuminated, clean images, leaving a massive data gap for training and evaluating models under non-ideal, adverse conditions.

Spatial models degrade significantly under real-world noise like rain, whereas dual-domain modeling maintains robustness.

Methods

FSANet addresses these limitations by introducing a dual-domain architecture that processes images in both the spatial and frequency domains simultaneously. Built on top of a frozen SAM encoder, FSANet introduces three key lightweight modules:

  1. Structure Prior Module (SPM): Computes an Image Structure Prior (ISP) based on local pixel extrema to suppress global noise and extract multi-scale structural representations.
  2. Dual-Domain Awareness Module (DDAM): The core engine of FSANet, which splits feature processing into two parallel tracks:
  3. Frequency Dynamic Filtering Block (FDFB): Uses a Fast Fourier Transform (FFT) to convert spatial features into the frequency domain. A learnable filter adaptively modulates the magnitude and phase components to separate noise from semantic data before transforming it back via Inverse FFT (IFFT).
  4. Lightweight Spatial Enhancement Block (LSEB): Runs in parallel to preserve fine-grained spatial details and reduce spatial redundancy using specialized convolutions.
  5. Edge Estimation Module (EEM): Combines the outputs of the SPM and DDAM, utilizing an edge-aware boundary loss function to sharply delineate object contours.
Fig. 3. Overall architecture of the proposed FSANet, which consists of three core components: the Structure Prior Module (SPM) for recovering structural information, the Dual Domain Awareness Module (DDAM) for cross-domain modeling in complex scenarios, and the Edge Estimation Module (EEM) for enhancing boundary awareness. For clarity, the prompt encoder, prompt tokens, and output tokens in SAM are omitted.

Datasets

To train and rigorously evaluate the model, the authors introduced SceneX, a novel open-source dataset consisting of 11,000 high-quality images spanning 10 distinct non-ideal scenarios: Low Light, Hail, Thunder, Frost, Dew, Occlusion, Sandstorm, Fog, Rain, and Snow. SceneX stands out for its high geometric complexity, featuring masks with significantly higher concavity (irregular boundaries) than standard datasets like COCO or ADE20K.

For comprehensive validation, the authors combined SceneX with six other prominent datasets (including DIS5K, ThinObject5K, FSS-1000, ECSSD, MSRA-10K, and DUTS) for training, and evaluated zero-shot generalization on COCO and the SegInW benchmark.

Category distribution and mask concavity analysis of the new SceneX dataset compared to standard benchmarks.

Key Insights and Ideas

  • Spectral Invariance of Noise: A key "aha" moment in the paper is that while noise like rain streaks changes drastically in spatial coordinates depending on the scene, its representation in the frequency domain remains remarkably invariant. Rain streaks manifest as distinct, predictable "frequency spikes" regardless of the underlying semantic content.
  • Global Governance of Frequency: Local edits in the frequency domain have a holistic, global impact on spatial structures. By targeting noise in the spectral domain, the model avoids the localized error propagation common to spatial-only networks.
  • Extreme Parameter Efficiency: Instead of fine-tuning massive backbones, FSANet demonstrates that inserting a tiny, frequency-aware adapter (accounting for just 0.07% of a ViT-H computational budget) can completely alter a model's resilience to environmental degradation.

Key Results

  • State-of-the-Art Accuracy: FSANet achieved an average mean IoU of 89.0% across five major benchmarks, outperforming HQ-SAM by 1.1% overall and showing massive improvements on boundary-sensitive metrics (mBIoU).
  • Zero-Shot Excellence: In zero-shot instance segmentation on the COCO benchmark, FSANet outperformed FastSAM by 10.5% AP and even surpassed the recent SAM 2.1 by 0.6% AP, despite using a fraction of the learnable parameters.
  • Qualitative Robustness: As shown in qualitative evaluations, FSANet successfully ignores optical glare from streetlamps, avoids over-segmentation in cluttered backgrounds, and recovers holistic object structures in low-contrast sandstorms where baseline models yield fragmented masks.
Fig. 1. Zero-shot Performance vs. Learnable Parameters for an array of SAM variants on the COCO dataset [10].

Limitations and Future Work

Despite its efficiency, the inclusion of dual-domain processing (specifically FFT and IFFT operations) introduces minor computational overhead that could impact deployment on highly resource-constrained edge devices.

To bridge this gap, the authors plan to explore lightweight backbone architectures and model compression techniques such as knowledge distillation and quantization. Additionally, they aim to expand the SceneX ecosystem to include an even broader spectrum of rare visual artifacts and extreme weather conditions.

Summary updated

BibTeX
@misc{wang2026fsanet,
  author = {Ruibo Wang and Ziyi Shen and Huaming Wu and Dong Liang and Kun Shang},
  title = {{FSANet: Frequency-Spatial Aware Network for Image Segmentation}},
  year = {2026},
  eprint = {2609.16773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.16773},
}
Figure