OCCA-Seg: Object and Channel Context Aggregation for Semantic Segmentation of Remote Sensing Images

Gang Yang, Si Chen, Quan Zhou, Jiangchuan LiarXiv 2026

TL;DR

OCCA-Seg tackles the "tunnel vision" of standard convolutional neural networks (CNNs) in remote sensing by explicitly modeling relationships between pixels of the same object class and their feature channels. By aggregating this global context, it produces sharper, more consistent semantic maps of complex urban landscapes, effectively turning fragmented pixel-level guesses into coherent object-level understanding.

What Problem Does This Paper Address?

Remote sensing images (RSIs) are a nightmare for standard computer vision models. Imagine looking at a high-resolution satellite image of a city: you have massive warehouses next to tiny cars, sprawling forests, and intricate road networks.

The standard tool for this job, the CNN, has a fundamental flaw: a limited receptive field. It mostly looks at local neighborhoods. If a building is large enough, a CNN might only see a small patch of gray roof at a time, losing the "big picture" context that tells it, "I am part of a single, continuous structure." This leads to fragmented results—what researchers call "salt and pepper" noise—and blurry boundaries where the model isn't quite sure where the building ends and the sidewalk begins.

Methods

The authors propose a framework called OCCA-Seg (Object and Channel Context Aggregation) to give these models a wider perspective. The architecture follows a logical flow:

  1. Multi-scale Fusion (MSF): First, it takes features from different depths of a backbone network and squashes them together. This ensures the model can "see" both fine details (like car edges) and broad patterns (like city blocks) simultaneously. The MSF architecture combines features from multiple scales.
Fig. 2. The architecture of MSF
  1. Object Contextual Attention Module (OCAM): This is the "spatial" branch. It aggregates information from all pixels that likely belong to the same object category. It’s like a pixel asking, "What do other pixels in my class look like across the whole image?" This helps maintain consistency across large objects.
  2. Channel Contextual Attention Module (CCAM): This is the "feature" branch. In deep learning, different "channels" often represent different abstract features (e.g., one might detect greenery, another might detect straight edges). CCAM learns which channels are most important for specific object categories, weighting them to make the final representation more discriminative. Detailed view of the OCAM and CCAM modules.
Fig. 3. The architecture of OCAM and CCAM
  1. Aggregation Module (AM): Finally, the AM fuses the spatial context from OCAM and the channel context from CCAM to refine the final pixel-level predictions. The overall OCCA-Seg architecture showing the flow from backbone to final output.
Fig. 1. Overall architecture of OCCA-Seg

Datasets

The model was put through its paces on four major benchmarks:

  • ISPRS Potsdam & Vaihingen: Classic, high-resolution aerial datasets focusing on urban land cover (buildings, trees, cars, etc.).
  • UAVid: A dataset captured by drones, featuring complex urban scenes and moving objects.
  • LoveDA: A challenging dataset that includes both urban and rural environments, testing the model's ability to generalize across different landscapes.

Key Insights and Ideas

  • Pixels are Social: A pixel's identity isn't just about its color; it's about the object it belongs to. By explicitly grouping pixels by predicted class (the "object context"), the model avoids the "fragmentation" common in local-only CNNs.
  • Channels have Personalities: Not every feature channel is useful for every object. By conditioning channel importance on the object category, the model becomes much more specialized and accurate.
  • Dual-Branch Synergy: The "aha moment" here is that spatial context (where things are) and channel context (what features matter) are complementary. Combining them leads to a much more robust "discriminative representation" than using either alone.

Key Results

OCCA-Seg achieved state-of-the-art or highly competitive results across the board.

  • On ISPRS Potsdam, it reached a mean Intersection over Union (mIoU) of 87.51%.
  • On ISPRS Vaihingen, it hit 84.03%.
  • Qualitatively, the difference is striking. As seen in Figure 4, while other models might leave "holes" in the middle of buildings or create jagged edges on roads, OCCA-Seg produces much cleaner, more solid segments that match the ground truth far more closely. Visual comparison of OCCA-Seg against other state-of-the-art methods.
Fig. 4. Visualization results of SOTA methods on ISPRS Potsdam dataset.

Limitations and Future Work

While OCCA-Seg is a powerhouse for urban land cover, the authors noted some room for growth:

  • Vehicle Segmentation: On the UAVid dataset, the model trailed slightly behind specialized methods in distinguishing between moving and static cars.
  • Computational Overhead: Although the authors designed the modules to be efficient, attention mechanisms naturally add more computational complexity than simple convolutions.
  • Future Directions: The team aims to further refine vehicle segmentation and explore even more efficient ways to integrate global context without blowing up the compute budget.

Summary updated

Abstract

Semantic segmentation, which assigns a class label to each pixel, is a key task in computer vision. However, semantic segmentation of remote sensing images (RSIs) remains challenging because of complex scenes and objects at multiple scales, which limits segmentation accuracy. To address these challenges, we propose a context aggregation scheme called object and channel context aggregation (OCCA), consisting of three components: object contextual attention module (OCAM), channel contextual attention module (CCAM), and aggregation module (AM). Firstly, motivated by the observation that each pixel shares the class label of the object to which it belongs, object-level context represents each pixel through aggregating context from its corresponding object class. Secondly, because feature channels are correlated with object categories, channel-wise context models channel-wise contextual dependencies conditioned on object categories. Finally, the context information from OCAM and CCAM are fed into AM and used to weight and modulate the object context, enhancing the discriminative ability of the segmentation model. The experiments on several public remote sensing datasets including LoveDA, UAVid, ISPRS Potsdam, and Vaihingen datasets demonstrate competitive improvements over existing methods.
BibTeX
@misc{yang2026occa,
  author = {Gang Yang and Si Chen and Quan Zhou and Jiangchuan Li},
  title = {{OCCA-Seg: Object and Channel Context Aggregation for Semantic Segmentation of Remote Sensing Images}},
  year = {2026},
  eprint = {2611.30267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30267},
}
Figure