HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Learning Lightweight Lane Detection CNNs by Self Attention Distillation

Yuenan Hou; Zheng Ma; Chunxiao Liu; Chen Change Loy

Learning Lightweight Lane Detection CNNs by Self Attention Distillation

Abstract

Training deep models for lane detection is challenging due to the very subtle and sparse supervisory signals inherent in lane annotations. Without learning from much richer context, these models often fail in challenging scenarios, e.g., severe occlusion, ambiguous lanes, and poor lighting conditions. In this paper, we present a novel knowledge distillation approach, i.e., Self Attention Distillation (SAD), which allows a model to learn from itself and gains substantial improvement without any additional supervision or labels. Specifically, we observe that attention maps extracted from a model trained to a reasonable level would encode rich contextual information. The valuable contextual information can be used as a form of 'free' supervision for further representation learning through performing topdown and layer-wise attention distillation within the network itself. SAD can be easily incorporated in any feedforward convolutional neural networks (CNN) and does not increase the inference time. We validate SAD on three popular lane detection benchmarks (TuSimple, CULane and BDD100K) using lightweight models such as ENet, ResNet-18 and ResNet-34. The lightest model, ENet-SAD, performs comparatively or even surpasses existing algorithms. Notably, ENet-SAD has 20 x fewer parameters and runs 10 x faster compared to the state-of-the-art SCNN, while still achieving compelling performance in all benchmarks. Our code is available at https://github.com/cardwing/Codes-for-Lane-Detection.

Code Repositories

cardwing/Codes-for-Lane-Detection
Official
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
lane-detection-on-bdd100k-valEnet-SAD
Accuracy (%): 36.6
IoU (%): 16.02
lane-detection-on-culaneENet-SAD
F1 score: 70.8
lane-detection-on-tusimpleENet-SAD
Accuracy: 96.64%
F1 score: 95.92

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
Learning Lightweight Lane Detection CNNs by Self Attention Distillation | Papers | HyperAI