FaceLift: A transparent deep learning framework to beautify urban scenes

Sagar Joglekar, Daniele Quercia, Miriam Redi, Luca Maria Aiello, Tobias Kauer, Nishanth SastryarXiv 2020 · DOI

TL;DR

FaceLift is a novel deep learning framework that moves beyond simply scoring urban beauty to actively generating beautified versions of street scenes. By combining generative adversarial networks (GANs) with urban design metrics, it provides a transparent, explainable tool that helps architects and planners visualize and justify specific urban interventions.

What Problem Does This Paper Address?

While computer vision has become adept at predicting whether a street view is "beautiful," these models are typically "black boxes." They offer a score but fail to provide actionable insights for urban design. An architect cannot easily look at a high beauty score and understand why the model liked it, nor can they use a low score to determine exactly what needs to change.

The authors address this gap by creating a framework that not only transforms "ugly" scenes into "beautiful" ones but also explains the transformation through the lens of established urban planning literature (e.g., Jane Jacobs’s "urban vitality").

Methods

The FaceLift framework follows a five-step pipeline designed to balance generative power with real-world interpretability:

  1. Data Curation & Augmentation: To overcome the scarcity of labeled urban data, the team used the Google Street View API to augment existing datasets through "conservative translation"—capturing snapshots at different angles and nearby distances that maintain visual similarity to the original labeled scene.
  2. Beauty Classifier: They trained a modified AlexNet (CaffeNet) to distinguish between beautiful and ugly scenes.
  3. Synthetic Generation: Using a Deep Generator Network for Activation Maximization (DGN-AM), the framework "morphs" an input image to maximize the "beauty neuron" in the classifier, creating a synthetic beautification template.
  4. Realistic Retrieval: Because GAN-generated images often look "synthetic," the system performs a nearest-neighbor search in a large database of real images to find the closest realistic match to the synthetic template.
  5. Explanation: Finally, the framework uses SegNet (for pixel-level segmentation) and PlacesNet (for scene labeling) to compare the original and beautified scenes. It identifies exactly which elements—like trees, sidewalks, or landmarks—were added or removed to achieve the higher beauty rating.
Figure 1: An illustration of the FaceLift framework. The training data of urban scenes with beautiful and ugly labels is fed into the FaceLift algorithms (GAN and CNN). These transform the original image into its beautified version. The two images - original and beautified - are compared in terms of urban elements that have been added or removed.

Datasets

  • Place Pulse: A massive dataset containing 110k Google Street View images from 56 cities. It includes 1.2 million pairwise comparisons (e.g., "Which place looks safer?") generated by 82k volunteers.
  • Augmented Street View Data: The authors expanded the Place Pulse set by fetching additional views via the Google Street View API, using rotations and translations to increase the robust training set from 20k to a larger, more diverse pool.
Figure 3: Two types of augmentation: (a) rotation of the Street Views camera; and (b) translation of scenes at increasing distances.

Key Insights and Ideas

  • Actionable Explanations: The core "aha moment" is the shift from prediction to explanation. By segmenting the images, the authors could prove that the model’s idea of beauty aligns with human urban design principles.
  • The "Coziness" Factor: The model found that beautified scenes often have a lower "sky fraction." In urban design terms, this translates to a sense of enclosure or "coziness," which is generally preferred over vast, exposed open spaces.
  • Walkability as Beauty: There is a strong correlation between what the AI deems beautiful and what urban planners deem walkable. Beautified scenes consistently showed more plazas, courtyards, and greenery, while "uglified" scenes were dominated by broad roads and shop fronts.
  • Complexity Thresholds: The results suggest that beauty follows a "moderate complexity" rule—we dislike both barren, simple scenes and overly chaotic ones.

Key Results

  • Classifier Accuracy: The augmented training process improved the beauty classifier's accuracy from 63% to 73.5%, outperforming previous state-of-the-art models.
  • Human Validation: In a crowd-sourced experiment on Amazon Mechanical Turk, workers preferred the "FaceLifted" version of a scene 77.5% of the time.
  • Expert Consensus: A survey of 20 experts in architecture and urban planning found the tool highly effective for promoting green cities and supporting participatory urbanism, where citizens can visualize potential changes to their neighborhoods.
Examples of original scenes vs. their GAN-generated beautification templates.

Limitations and Future Work

The authors acknowledge that generative models are still difficult to control. Sometimes the "beautification" is too dramatic—such as physically shifting a building—making it an impossible blueprint for a real-world intervention. Additionally, the dataset is subject to seasonal and weather biases (e.g., a sunny day vs. a rainy one).

Future work aims to fine-tune the generative process to ensure interventions are structurally feasible and to incorporate socio-cultural specifics, acknowledging that the definition of "beauty" can change across different cultures and eras.

Summary updated

Abstract

In the area of computer vision, deep learning techniques have recently been used to predict whether urban scenes are likely to be considered beautiful: it turns out that these techniques are able to make accurate predictions. Yet they fall short when it comes to generating actionable insights for urban design. To support urban interventions, one needs to go beyond predicting beauty, and tackle the challenge of recreating beauty. Unfortunately, deep learning techniques have not been designed with that challenge in mind. Given their "black-box nature", these models cannot be directly used to explain why a particular urban scene is deemed to be beautiful. To partly fix that, we propose a deep learning framework called Facelift, that is able to both beautify existing urban scenes (Google Street views) and explain which urban elements make those transformed scenes beautiful. To quantitatively evaluate our framework, we cannot resort to any existing metric (as the research problem at hand has never been tackled before) and need to formulate new ones. These new metrics should ideally capture the presence/absence of elements that make urban spaces great. Upon a review of the urban planning literature, we identify five main metrics: walkability, green spaces, openness, landmarks and visual complexity. We find that, across all the five metrics, the beautified scenes meet the expectations set by the literature on what great spaces tend to be made of. This result is further confirmed by a 20-participant expert survey in which FaceLift have been found to be effective in promoting citizen participation. All this suggests that, in the future, as our framework's components are further researched and become better and more sophisticated, it is not hard to imagine technologies that will be able to accurately and efficiently support architects and planners in the design of spaces we intuitively love.
BibTeX
@misc{joglekar2020facelift,
  author = {Sagar Joglekar and Daniele Quercia and Miriam Redi and Luca Maria Aiello and Tobias Kauer and Nishanth Sastry},
  title = {{FaceLift: A transparent deep learning framework to beautify urban scenes}},
  year = {2020},
  eprint = {2001.05961},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.05961},
}

Loading related content...

Figure