ISNet: Integrate Image-Level and Semantic-Level Context for Semantic Segmentation

Zhenchao Jin, Bin Liu, Qi Chu, Nenghai Yu

In the field of computer vision, semantic segmentation—the task of assigning a category label to every single pixel in an image—is a cornerstone for technologies like autonomous driving and medical imaging. To get this right, models need context. A brown patch might be a dog or a wooden floor; knowing the surrounding pixels are "grass" or "furniture" makes all the difference.

The paper "ISNet: Integrate Image-Level and Semantic-Level Context for Semantic Segmentation" argues that current models are missing a crucial piece of the contextual puzzle. While most existing methods focus on the "big picture" (image-level context), they often neglect the specific relationships between pixels of the same category (semantic-level context).

TL;DR

ISNet introduces a dual-context framework that augments pixel representations by simultaneously capturing global image-level information and category-specific semantic information. By balancing these two perspectives, ISNet achieves state-of-the-art accuracy across major benchmarks while remaining more computationally efficient than many existing approaches.

What Problem Does This Paper Address?

Most modern segmentation networks use context modules (like ASPP or PPM) to aggregate information from the entire image. This "image-level context" helps the model understand the overall scene. However, the authors point out a significant drawback: if a model relies too heavily on global context, pixels at the boundaries of objects or pixels belonging to very small objects can get "overwhelmed" by features from neighboring, different categories.

For example, a pixel on the edge of a car might mistakenly absorb too much context from the road it's sitting on, leading the model to mislabel it. The authors argue that we need to explicitly strengthen the "semantic-level context"—ensuring a "car" pixel is primarily influenced by other "car" pixels, regardless of where they are in the image.

Methods

The authors propose ISNet, which features two main components integrated into a standard backbone (like ResNet):

  1. Image-Level Context Module (ILCM): This captures the global scene statistics. In its simplest form, it uses global average pooling to summarize the entire image into a single vector, which is then fused back into the local pixel features.
  2. Semantic-Level Context Module (SLCM): This is the core innovation. The model first predicts a rough category distribution for the pixels. It then groups pixels belonging to the same category and computes a "region representation" for each class. Each pixel is then augmented specifically by the representation of its own predicted category.
Figure 1. Main idea of integrating image-level and semantic-level context. The blue region on the upper branch denotes for semantic- level context and the purple area on the lower branch stands for image-level context.

As shown in the architecture overview below, ISNet calculates similarities between the original pixel features and these two types of context. It then uses these similarities as weights to aggregate the information, effectively "cleaning up" the pixel representations before the final classification.

Figure 2. The overview of the proposed framework (ISNet). First, the semantic-level context module (SLCM) and image-level context module (ILCM) are utilized to extract the semantic-level contextual information Rsl and the image-level contextual information Ril, respectively. Then, we calculate the similarities between pixel representations R and Rsl, Ril. At last, both contextual information are adopted to augment the pixel representations according to the calculated similarities.

Datasets

The researchers evaluated ISNet on four widely recognized and challenging benchmarks:

  • ADE20K: A diverse dataset with 150 categories.
  • COCOStuff: A massive dataset covering 182 categories of "things" and "stuff."
  • LIP (Look Into Person): Focused on human part parsing (e.g., arms, legs, clothes).
  • Cityscapes: The gold standard for urban street scene understanding.

Key Insights and Ideas

  • Contextual Synergy: The ablation studies show that while ILCM and SLCM both improve performance individually, using them together provides a significant boost. They are complementary: ILCM tells the model "you are in a street scene," while SLCM tells it "you are part of a car, so look at other car pixels to be sure."
  • Boundary Precision: By focusing on same-category features, the SLCM helps maintain sharp boundaries. It prevents the "bleeding" of features from one object into another that often occurs with purely global context methods.
  • Efficiency Matters: Surprisingly, the proposed ISNet is quite lean. The combined ILCM+SLCM module requires only about 1/4 of the parameters of the popular ASPP module and 1/2 of the PPM module, making it less prone to overfitting and faster during inference.

Key Results

ISNet achieved state-of-the-art (SOTA) results across the board:

  • ADE20K: Reached 47.55% mIoU, surpassing previous leaders like OCRNet and ACNet.
  • Cityscapes: Achieved 81.10% mIoU (single-scale testing).
  • LIP: Hit 56.96% mIoU, setting a new high bar for human parsing.
  • Qualitative Improvement: Visual results (see Figure 4 in the paper) show that ISNet successfully recovers small objects and fine details that baseline models and even global-context models like PSPNet miss.
Qualitative results on ADE20K

Limitations and Future Work

While ISNet performs exceptionally well, the paper notes that the SLCM relies on an initial supervised prediction of category regions. If the initial prediction is wildly inaccurate, the semantic context could theoretically introduce errors.

Future work could explore more complex ways to fuse these contexts or investigate if this dual-context approach can be applied to other dense prediction tasks like depth estimation or instance segmentation. Additionally, while the ILCM used here was simple for efficiency, the authors note it can be swapped for more powerful global modules to push performance even further.

Summary updated

BibTeX
@misc{jin2021isnet,
  author = {Zhenchao Jin and Bin Liu and Qi Chu and Nenghai Yu},
  title = {{ISNet: Integrate Image-Level and Semantic-Level Context for Semantic Segmentation}},
  year = {2021},
  eprint = {2108.12382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.12382},
}
Figure