# LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loop

Humans and deep networks jointly label a million images per scene category

Fisher Yu, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, Jianxiong Xiao · arXiv · 2015-6-10

- **Problem** Hand-labeling image datasets dense enough for deep networks scales poorly. Each larger dataset needs a proportional amount of crowd work, which cannot keep pace with deeper models.
- **Method** LSUN uses a cascade where a classifier trained on crowd labels from a small sample confidently labels most of a pool. Ambiguous images go to the next round, and people label only the rest.
- **Results** Adding LSUN to PLACES fine-tuning lowered PLACES testing error from 28.6% to 22.2%.

## Why hand labeling limits dataset density

Deep networks with millions of parameters need large labeled sets to fit those parameters, and the available image data on the Internet keeps growing. Turning that raw supply into supervised data is the hard part, because each label has to come from a person.

Existing benchmarks are large in total but thin per category: ImageNet has roughly 1000 images per category and is seven years old. Deep networks trained on such sparse categories tend to learn noisy or unstable features, and augmenting the training set adds stability without adding new examples. The target density in this work is about 10 times that of PLACES and 100 times that of ImageNet per category.

Crowdsourced labeling of ImageNet and Places each took more than a year of effort on Amazon Mechanical Turk. Under that cost model, a dataset N times larger would need more than N years of annotation, which cannot keep pace with deeper models.

## A cascade that lets a classifier take over the easy images

The labeling of each category is treated as a binary problem, where every downloaded image is either positive or negative for that category. A small random sample of the pool is labeled by workers and split into training and testing parts, and a classifier trained on the training part scores both the labeled test part and the full unlabeled pool.

The score thresholds are set from the labeled test part: one threshold keeps 95% of the ground truth positives above it, and a second sits where only 1% of the total positives fall below it. Images above the upper threshold become positives, images below the lower threshold become negatives, and the images between them go on to the next round.

The design accepts local overfitting, because the goal is correct labels for one fixed pool rather than a classifier that generalizes beyond it. Each round keeps the ambiguous images and adds a new random sample, so later classifiers train on harder examples. The loop ends when the remaining set is small enough to label exhaustively, and it stays affordable only if the unlabeled set shrinks by a large factor each round.

## Collecting candidate images from search

Candidate URLs come from Google Images search, with queries built from category names combined with adjectives. For scene categories, 696 adjectives are combined with each scene name, and every three-day time span since 2009 is queried to push past the usual result limits. Object categories use a separate set of object-relevant adjectives.

Duplicate URLs are removed, but near-duplicate image content is kept on purpose, because removing it across tens of millions of images would be too costly. Only images whose smaller dimension is greater than 256 pass the initial check, and about 60% of the downloaded images are kept. Since only a small subset is labeled by hand, leaving duplicates in the pool does not raise the cost of labeling.

## Choosing and retraining the classifier

On the initial set, the last fully connected layer of AlexNet, followed by a multi-layer perceptron with two hidden layers, removed more than half of the images. After two iterations, that feature space stopped separating the images well, so the pipeline adapts a pre-trained GoogLeNet by fine-tuning it instead.

Fine-tuning starts with a learning rate of 0.001 that drops to 0.0001 after 40,000 iterations, with 60,000 iterations in total and a mini-batch size of 80. Early rounds score only the central crop, while later rounds average scores over 10 crops, and training is extended after the 10th labeling iteration.

Validation positives are rare, so model selection uses two accuracy scores: one weights every image equally, the other gives positives and negatives equal total weight. The model that removes more images from the test set is selected.

Each round draws 40 thousand images uniformly from the unlabeled pool, reserving 10 thousand for testing confidence and 5 thousand for validation. Samples of 80 or 120 thousand images were tried, but they did not noticeably improve results in the early stages.

## Crowdsourced labels and quality control

Workers see one image at a time at full size, with a default answer of No and a space bar that toggles it. Small thumbnails of the three previous and three upcoming images are shown, and a fullscreen button enlarges the labeling window.

Because worker interpretations of categories vary, the instruction page shows example images and their ground truth labels, and corner cases such as trucks and buses for the car category are explicitly marked negative. Parts of an object are judged for sufficiency; a single visible wheel, for example, is not enough to assert a bicycle. For each category, 30,000 images were labeled by 3 people in test HITs, and 15 of the resulting corner cases are shown to workers before each HIT.

Each image is labeled by two workers, and only doubly confirmed labels are kept. Each HIT holds 205 images, of which 150 are the images of interest and 55 are quality-control images, and workers usually finish a HIT within 5 minutes.

The first 15 images in each HIT are tutorial images, and a wrong answer on any of them blocks the interface until it is corrected. Forty embedded images with known ground truth are used per HIT: 20 are checked before submission and 20 after it, to detect workers who try to get past the online check. The accuracy thresholds are 90% for the online ground truth and 85% for the hidden ground truth.

## Label precision and effort amplification

Verification tests on the pipeline labels give more than 90% precision on average. A separate check used 2000 images from 11 object categories, labeled completely by trained experts because AMT labeling was judged not reliable enough for that test.

Computer-rendered images cause the most serious errors for the person category, where confusing cases also make the statistical tests harder.

Effort amplification is the ratio of images placed into a positive or negative set to the images that people actually labeled. On average this ratio is around 40:1 across the object categories, so the pipeline saves roughly 40 times the human effort.

## Training with LSUN on PLACES testing

AlexNet is fine-tuned either on PLACES alone or on PLACES together with LSUN, and in both cases the fine-tuning covers only the 10 LSUN scene categories. LSUN is capped at 200 thousand images per category to balance the dataset, and both models are tested on the PLACES testing set for those 10 categories.

The overall error percentage falls from 28.6% with PLACES alone to 22.2% with PLACES and LSUN, which the authors report as a 22.37% improvement in testing error. Per category, the added data improves accuracy for 8 of the 10 categories.

The authors note that this comparison is unfavorable to LSUN because of potential dataset bias issues.

## Pre-training on LSUN objects for PASCAL VOC

AlexNet is trained on LSUN object data from scratch, and VGG is trained on LSUN object data while starting from ImageNet initialization. Test scores average 10 crops taken at the center and four corners, with mirroring, and the same procedure is run with ImageNet-pretrained models for comparison.

AlexNet with LSUN pre-training reaches mAP 0.87, against 0.8 for ImageNet pre-training. VGG with LSUN object pre-training reaches mAP 0.88, against 0.82 for ImageNet pre-training. The table reports one mAP value per model, with no variance across runs.

The authors read this as evidence that more images in related categories matter more than more categories.

## First-layer filters

AlexNet is trained on LSUN object images and on ImageNet, and the first-layer filters are compared visually. The filters learned from LSUN object images show cleaner patterns, while the ImageNet filters look noisier.

## Limitations

The authors state that the LSUN training labels may contain some noise. Precision is slightly below manual annotation, and the precision check covers 2000 images from 11 object categories, with no precision figure given for the 10 scene categories.

The PLACES comparison is limited to the 10 scene categories, with the LSUN per-category cap of 200 thousand images. The VOC comparison covers only the object categories and only the AlexNet and VGG pre-training runs reported here. The filter comparison is a visual inspection of first-layer filters.

## Paper info

- **Authors**: Fisher Yu, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, Jianxiong Xiao
- **Venue**: arXiv · Preprint
- **First published**: 2015-6-10
- **Added**: 2026-11-12
- **Updated**: 2016-6-4
- **Version**: v3
- **arXiv**: 1506.03365
- **Category**: cs.CV
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1506.03365v3) · [PDF ↗](https://arxiv.org/pdf/1506.03365v3)

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, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, Jianxiong Xiao (2015). LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loop. arXiv:1506.03365v3. https://arxiv.org/abs/1506.03365v3

**BibTeX**

```
@misc{yu2015lsun,
  title = {{LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loop}},
  author = {Fisher Yu and Ari Seff and Yinda Zhang and Shuran Song and Thomas Funkhouser and Jianxiong Xiao},
  year = {2015},
  eprint = {1506.03365},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.03365v3}
}
```

## Other paper commentary

- [Ensemble deep learning: A review](https://refivu.com/en/papers/ea9dfe6e-facd-4eab-ba72-3f4f7be98df5-ensemble-deep-learning-a-review.md)
- [Benchmarking Single Image Dehazing and Beyond](https://refivu.com/en/papers/e56ca83c-da79-4a86-ba3f-0e290a906769-benchmarking-single-image-dehazing-and-beyond.md)
- [Object Detection in Optical Remote Sensing Images: A Survey and A New Benchmark](https://refivu.com/en/papers/9963ea9e-19c4-4bf2-8e66-d7887d703d1e-object-detection-in-optical-remote-sensing-images-a.md)
- [AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wild](https://refivu.com/en/papers/93b39bb6-a5c2-45b8-8cd8-f4785271bb90-affectnet-a-database-for-facial-expression-valence-and.md)
- [Objects as Points](https://refivu.com/en/papers/15289860-cbb9-4b2e-92d1-6e9088d6effa-objects-as-points.md)
- [An Underwater Image Enhancement Benchmark Dataset and Beyond](https://refivu.com/en/papers/2eda18ba-6e06-4338-b14f-62b509de128c-an-underwater-image-enhancement-benchmark-dataset-and-beyond.md)
- [Time Series Classification from Scratch with Deep Neural Networks: A Strong Baseline](https://refivu.com/en/papers/8883de27-afd8-4d47-acd8-ad01a7dfe332-time-series-classification-from-scratch-with-deep-neural.md)
- [A Diversity-Promoting Objective Function for Neural Conversation Models](https://refivu.com/en/papers/a4f62a40-246e-47fd-bbb9-33f09731586c-a-diversity-promoting-objective-function-for-neural.md)
- [The Arcade Learning Environment: An Evaluation Platform for General Agents](https://refivu.com/en/papers/2c89eed5-9dfb-4243-8466-0655582e3266-the-arcade-learning-environment-an-evaluation-platform-for.md)
- [A Call for Clarity in Reporting BLEU Scores](https://refivu.com/en/papers/626061b1-f2e9-4997-a6e6-2f15df6f8b3f-a-call-for-clarity-in-reporting-bleu-scores.md)
- [Federated Optimization: Distributed Machine Learning for On-Device Intelligence](https://refivu.com/en/papers/5f4eb215-ecfd-414d-aaa9-bd382c3c7b54-federated-optimization-distributed-machine-learning-for-on.md)

## Terms in this paper

- [AlexNet](https://refivu.com/en/terms/e5142ede4de4-alexnet)
- [GoogLeNet](https://refivu.com/en/terms/50b933468e4c-googlenet)
- [PASCAL VOC 2012](https://refivu.com/en/terms/269f59a1eb03-pascal-voc-2012)
- [multi-layer perceptron](https://refivu.com/en/terms/835dd4f24c91-multi-layer-perceptron)
- [LSUN](https://refivu.com/en/terms/8199283e30fb-lsun)
- [VGG](https://refivu.com/en/terms/032f18440e7f-vgg)
- [active learning](https://refivu.com/en/terms/0e0dd6f76a6c-active-learning)
- [Amazon Mechanical Turk](https://refivu.com/en/terms/628ea6c57d47-amazon-mechanical-turk)
- [PLACES](https://refivu.com/en/terms/f1989482056f-places)
- [Convolutional Networks](https://refivu.com/en/terms/fc56e54cf63a-convolutional-networks)
- [visual recognition](https://refivu.com/en/terms/6eccb39d80b2-visual-recognition)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/9f84cef9-f864-4975-816c-e96f0a87497d-lsun-construction-of-a-large-scale-image-dataset)
