HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

CSFNet: A Cosine Similarity Fusion Network for Real-Time RGB-X Semantic Segmentation of Driving Scenes

Danial Qashqai; Emad Mousavian; Shahriar Baradaran Shokouhi; Sattar Mirzakuchaki

CSFNet: A Cosine Similarity Fusion Network for Real-Time RGB-X Semantic Segmentation of Driving Scenes

Abstract

Semantic segmentation, as a crucial component of complex visual interpretation, plays a fundamental role in autonomous vehicle vision systems. Recent studies have significantly improved the accuracy of semantic segmentation by exploiting complementary information and developing multimodal methods. Despite the gains in accuracy, multimodal semantic segmentation methods suffer from high computational complexity and low inference speed. Therefore, it is a challenging task to implement multimodal methods in driving applications. To address this problem, we propose the Cosine Similarity Fusion Network (CSFNet) as a real-time RGB-X semantic segmentation model. Specifically, we design a Cosine Similarity Attention Fusion Module (CS-AFM) that effectively rectifies and fuses features of two modalities. The CS-AFM module leverages cross-modal similarity to achieve high generalization ability. By enhancing the fusion of cross-modal features at lower levels, CS-AFM paves the way for the use of a single-branch network at higher levels. Therefore, we use dual and single-branch architectures in an encoder, along with an efficient context module and a lightweight decoder for fast and accurate predictions. To verify the effectiveness of CSFNet, we use the Cityscapes, MFNet, and ZJU datasets for the RGB-D/T/P semantic segmentation. According to the results, CSFNet has competitive accuracy with state-of-the-art methods while being state-of-the-art in terms of speed among multimodal semantic segmentation models. It also achieves high efficiency due to its low parameter count and computational complexity. The source code for CSFNet will be available at https://github.com/Danial-Qashqai/CSFNet.

Code Repositories

Danial-Qashqai/CSFNet
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
real-time-semantic-segmentation-on-cityscapes-1CSFNet-1
Frame (fps): 106.1
mIoU: 74.73
real-time-semantic-segmentation-on-cityscapes-1CSFNet-2
Frame (fps): 72.3 (3090)
mIoU: 76.36
semantic-segmentation-on-cityscapes-valCSFNet-2
FPS: 72.3 (3090)
mIoU: 76.36
semantic-segmentation-on-cityscapes-valCSFNet-1
FPS: 106.1 (3090)
mIoU: 74.73
semantic-segmentation-on-zju-rgb-pCSFNet-2
Frame (fps): 75 (3090)
mIoU: 91.40
semantic-segmentation-on-zju-rgb-pCSFNet-1
Frame (fps): 108.5
mIoU: 90.85
thermal-image-segmentation-on-mfn-datasetCSFNet-2
Frame (fps): 72.7 (3090)
mIOU: 59.98
thermal-image-segmentation-on-mfn-datasetCSFNet-1
Frame (fps): 106.3 (3090)
mIOU: 56.05

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
CSFNet: A Cosine Similarity Fusion Network for Real-Time RGB-X Semantic Segmentation of Driving Scenes | Papers | HyperAI