Papers › Learning Lightweight Lane Detection CNNs by Self Attention Distillation

Learning Lightweight Lane Detection CNNs by Self Attention Distillation

2 Aug 2019ICCV 2019 10arXiv:1908.00821archive 2025-07-28

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

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1908.00821")

Code

Syntology Ran 2 of 8 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · fixture could not drive it.

By repository: official repository: 2 samples from 1 repository, 1 ran; community (archive-listed): 6 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cardwing/Codes-for-Lane-Detection officialmentioned in papermentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 2 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · fixture could not drive it
6unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

flip cardwing/Codes-for-Lane-Detection/ERFNet-CULane-PyTorch/train_erfnet.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 1e6e2a7577f5c7c6 · report
validate cardwing/Codes-for-Lane-Detection/ERFNet-CULane-PyTorch/train_erfnet.py official repository unverified MIT (permissive) · 0eda96b389501673 · report
fanin_init NOHYC/autonomous_driving_car_project/SIM/catkin_ws/src/project/src/ddpg_stage.py community (archive-listed) ran · fixture could not drive it fingerprinted MIT (permissive) · 0d0842514b1844a1 · report
assignment NOHYC/autonomous_driving_car_project/SIM/cvbridge_build_ws/devel/.private/project/_setup_util.py community (archive-listed) unverified MIT (permissive) · 6da2d91a099c5bee · report
get_cameramat_dist NOHYC/autonomous_driving_car_project/NX/catkin_ws/src/enet_ros/src/pub_camera.py community (archive-listed) unverified MIT (permissive) · 1784d626db4641c8 · report
mish NOHYC/autonomous_driving_car_project/SIM/catkin_ws/src/project/src/ddpg_stage.py community (archive-listed) unverified MIT (permissive) · 55a0b1ed4884f9c2 · report
prepend_env_variables NOHYC/autonomous_driving_car_project/SIM/cvbridge_build_ws/devel/.private/project/_setup_util.py community (archive-listed) unverified MIT (permissive) · 614a55e26da69252 · report
rollback_env_variables NOHYC/autonomous_driving_car_project/SIM/cvbridge_build_ws/devel/.private/project/_setup_util.py community (archive-listed) unverified MIT (permissive) · 8cd63ad2dbce2c60 · report

Tasks

Knowledge DistillationLane DetectionRepresentation Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Lane Detection BDD100K val Enet-SAD Accuracy (%) 36.6 #11 of 11 Archive leaderboard report
Lane Detection BDD100K val Enet-SAD IoU (%) 16.02 #11 of 11 Archive leaderboard report
Lane Detection CULane ENet-SAD F1 score 70.8 #60 of 63 Archive leaderboard report
Lane Detection TuSimple ENet-SAD Accuracy 96.64% #12 of 43 Archive leaderboard report
Lane Detection TuSimple ENet-SAD F1 score 95.92 #12 of 43 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionDilated ConvolutionENetENet BottleneckENet Dilated BottleneckENet Initial BlockGlobal Average PoolingKaiming InitializationKnowledge DistillationMax PoolingPReLUReLUResidual BlockResidual ConnectionSpatialDropout

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections