Context Encoders: Feature Learning by Inpainting

Deepak Pathak, Philipp Krahenbuhl, Jeff Donahue, Trevor Darrell, Alexei A. Efros
4/25/2016
6,016 citations
cs.CVcs.AIcs.GR

Official code: pathak22/context-encoder (905 stars, Lua, last commit 2020-07-19).

Abstract

We present an unsupervised visual feature learning algorithm driven by context-based pixel prediction. By analogy with auto-encoders, we propose Context Encoders -- a convolutional neural network trained to generate the contents of an arbitrary image region conditioned on its surroundings.

Show full abstract

In order to succeed at this task, context encoders need to both understand the content of the entire image, as well as produce a plausible hypothesis for the missing part(s). When training context encoders, we have experimented with both a standard pixel-wise reconstruction loss, as well as a reconstruction plus an adversarial loss. The latter produces much sharper results because it can better handle multiple modes in the output. We found that a context encoder learns a representation that captures not just appearance but also the semantics of visual structures. We quantitatively demonstrate the effectiveness of our learned features for CNN pre-training on classification, detection, and segmentation tasks. Furthermore, context encoders can be used for semantic inpainting tasks, either stand-alone or as initialization for non-parametric methods.

View on arXivView PDF

Code Implementations(1)

[CVPR 2016] Unsupervised Feature Learning by Image Inpainting using GANs

905199Lua, ShellApr 22, 20166 years agoNOASSERTION
computer-graphicscomputer-visioncontext-encodersdcgandeep-learning+5 more

Similar Papers

Cite this paper

@article{pathak2016context,
  title  = {Context Encoders: Feature Learning by Inpainting},
  author = {Deepak Pathak and Philipp Krahenbuhl and Jeff Donahue and Trevor Darrell and Alexei A. Efros},
  year   = {2016},
  eprint = {1604.07379},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1604.07379}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1604.07379.svg)](https://codeofpaper.com/paper/1604.07379)

Discussion