Paper commentary
BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learning
BDD100K gives multitask driving models a diverse video dataset with ten tasks
- Problem Driving datasets have limited scene variety and thin annotations, and complex tasks like tracking with masks are hard to label at scale. As a result, research on those tasks has stayed on small datasets.
- Method BDD100K is a video dataset of 100K driving clips collected from drivers through crowd-sourcing. It covers ten tasks, so one model can be trained on several tasks together.
- Results Adding detection data lifted Mask R-CNN instance segmentation AP from 21.8 to 24.5. The authors conclude that special training strategies are still needed for heterogeneous tasks.
Why driving datasets limit multitask study
Driving models need several kinds of perception at once, but the datasets available cover only part of that need. The authors point to three gaps: limited scene variation, thin annotations and a narrow geographic spread. Models trained on these sets also tend to fit the particular domain they saw, which limits how far they transfer.
Real systems mix tasks with different complexity and output structure, such as a box, a pixel mask and a track over time. Simple labels like drivable areas and object boxes can be gathered at scale, but instance segmentation and tracking with masks are far harder to label. As a result, research on those complex tasks has stayed on small datasets.
The question the paper takes up is whether one model can handle tasks with different output structures together. The authors also argue that existing models need special training strategies before they can do this well.
How the BDD100K videos and splits are organized
The videos come from drivers through a crowd-sourcing route, which is how the authors get diversity in place and weather. Each clip is 40 seconds long at 720p and 30fps, and it comes with GPS and IMU recordings for the driving trajectory. In total there are 100K videos from more than 50K rides across New York, the San Francisco Bay Area and other regions.
The videos are split into 70K training, 10K validation and 20K testing clips. Image tasks use the frame at the 10th second, while tracking tasks use the full sequence. The authors say day and night videos are roughly equal in number, which makes the set useful for domain studies.
An image tagging classifier built on DLA-34 reaches an average accuracy of around 50 to 60 percent across the weather and scene tags. Across the whole benchmark the authors define ten tasks, from image tagging to imitation learning.
Domain shift between daytime and night, and across datasets
The first test asks whether the training domain matters for detection. The authors split the data into city and non-city sets, and into daytime and non-daytime sets, each with 30K training images. They train Faster-RCNN with ResNet-50 on each split and evaluate with the COCO API.
A detector trained on daytime images scored AP 30.6 on daytime test images. On non-daytime test images the same kind of detector fell to AP 23.6. The day-to-night gap is larger than the city-to-non-city gap, so the authors conclude that more work is needed to bridge it.
The same kind of shift shows up for segmentation between Cityscapes and BDD100K. A model trained on Cityscapes confuses simple classes such as sky and traffic signs on the new data. The authors read this as a sign that their data complements Cityscapes instead of duplicating it.
Joint training of lane marking and drivable area
The first multitask case pairs two tasks that share an output structure: drivable area segmentation and lane marking. Both use the same 70K training images, and the idea is that one task's labels might help the other. Drivable area has two foreground classes, while lane marking carries three attributes: direction, continuity and category.
DLA-34 serves as the base for both segmentation tasks, with four 3x3 convolution blocks and a 1x1 convolution head. That head produces maps at 4x downsampling, which bilinear interpolation then upsamples to the original scale. Lane marking gets three heads, one per attribute, trained with weighted cross-entropy using a foreground weight of 10.
Drivable area is scored by mean IoU, and lane marking by ODS-F at tolerances of 1, 2 and 10 pixels.
With only 10K images, mean lane ODS-F rose from 45.41 to 50.40 when the lane task was trained jointly with drivable area. Drivable area IoU barely moved, from 64.23 to 64.37. So the extra supervision helps lane marking when data is scarce, but adds little to drivable area.
At 20K and 70K images, joint and single-task training differ only slightly. The authors hypothesize that because the two tasks share a prediction structure, the extra supervision brings little new information. That hypothesis is what pushes the paper toward tasks with different output structures.
Detection supporting instance segmentation and tracking
Tracking and instance segmentation are expensive to annotate, yet they can depend on simpler predictions such as detection. The authors frame this as cascaded multitask learning and ask whether annotation effort should go to the complex tasks or to the basic ones.
The detection set has 70K images, against 7K images for instance segmentation. Mask R-CNN with ResNet-50 is trained on both sets in a batch-level round-robin manner. Instance segmentation AP rises from 21.8 to 24.5 with joint training. The authors attribute the gain to richer appearance and localization examples coming from the detection set.
For tracking, a modified Faster R-CNN with a shared DLA-34 backbone is trained on the MOT set, which has 278K training frames, and on the detection set. Detection AP rises from 28.1 to 30.7 and MOTA from 55.0 to 56.7, compared to the tracking-only model. Identity switches rise from 8386 to 9098, so the tracker gains come with a slight cost in ID consistency.
Semantic segmentation with detection and lane supervision
A base semantic segmentation model is fine-tuned in two ways: jointly with detection, and jointly with lane marking and drivable area. The single-task baseline reaches a mean IoU of 56.9.
Adding the 70K detection images raises overall mIoU from 56.9 to 58.3. The authors attribute most of the gain to object classes that the detection set also contains. So detection supervision helps segmentation even though its output structure differs.
Joint training with lane and drivable area helps stuff classes such as road and sidewalk. However, overall mIoU falls to 53.3 with that setup. The text reports this drop without isolating its cause.
Fine-tuning MOTS from upstream tasks
MOTS needs instance masks in every frame, so its training set has only 60 videos and about 12K frames. The authors draw on upstream data from detection (70K images), MOT (278K frames) and instance segmentation (7K images).
Starting from the instance segmentation model lifts segmentation AP from 13.0 to 18.7. Starting from the MOT model lifts MOTSA from 30.4 to 40.3 and lowers identity switches from 566 to 390. The authors read the two gains as coming from the extra examples in each upstream dataset.
Fine-tuning from the jointly trained detection and tracking model, which covers all four tasks, gives segmentation AP 23.3 and MOTSA 41.4. So the combined setup is the best of the MOTS rows reported, at the cost of more false positives.
Limitations
Joint lane and drivable area training helped only clearly at 10K images. At 20K and 70K images the difference from single-task training is small. The lane-plus-drivable setup also lowers overall semantic segmentation mIoU to 53.3.
The MOTS training set has only 60 videos, and the authors say that MOTS data is limited in video diversity. Each main experiment fixes one backbone per task family, so the paper does not show how other backbones behave. The authors state that special training strategies are needed for heterogeneous tasks, and they offer the benchmark as a basis for future work.
Paper info
- Authors
- Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, Trevor Darrell
- Venue
- arXiv · Preprint
- First published
- 2018-5-12
- Added
- 2026-11-12
- Updated
- 2020-4-8
- Version
- v2
- arXiv
- 1805.04687
- Category
- cs.CV
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, Trevor Darrell (2018). BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learning. arXiv:1805.04687v2. https://arxiv.org/abs/1805.04687v2
BibTeX
@misc{yu2018bdd100k,
title = {{BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learning}},
author = {Fisher Yu and Haofeng Chen and Xin Wang and Wenqi Xian and Yingying Chen and Fangchen Liu and Vashisht Madhavan and Trevor Darrell},
year = {2018},
eprint = {1805.04687},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1805.04687v2}
}