Source-linked AI summary

Walk and Learn: Facial Attribute Representation Learning from Egocentric Video and Contextual Data

Jing Wang, Yu Cheng, Rogerio Schmidt Feris

arXiv:1604.06433v3cs.CV

TL;DR

This work targets rich facial-attribute features without manual labels, using location and weather as supervision from egocentric walks. Its self-supervised representation can match or exceed state-of-the-art methods pretrained on hundreds of thousands or millions of identity-labeled images.

  • Problem

    The paper targets learning rich visual representations for facial-attribute prediction without manual labels.

    Source: §1 · p. 1
  • Method

    The method learns from tracked faces in egocentric walking videos, using face-pair similarity and location and weather prediction as supervision.

    Source: §1 · p. 2
  • Results

    The self-supervised approach can match or exceed state-of-the-art methods pretrained on hundreds of thousands or millions of identity-labeled images.

    Source: §1 · p. 2
  • Takeaways & Limitations

    The representation leverages diverse faces across locations and lighting conditions without costly manual annotation during pre-training.

    Source: §1 · p. 2

    Location and weather data are required during training, while their availability at test time is not assured.

    Source: §6 · p. 8

Abstract

from arXiv · show

The way people look in terms of facial attributes (ethnicity, hair color, facial hair, etc.) and the clothes or accessories they wear (sunglasses, hat, hoodies, etc.) is highly dependent on geo-location and weather condition, respectively. This work explores, for the first time, the use of this contextual information, as people with wearable cameras walk across different neighborhoods of a city, in order to learn a rich feature representation for facial attribute classification, without the costly manual annotation required by previous methods. By tracking the faces of casual walkers on more than 40 hours of egocentric video, we are able to cover tens of thousands of different identities and automatically extract nearly 5 million pairs of images connected by or from different face tracks, along with their weather and location context, under pose and lighting variations. These image pairs are then fed into a deep network that preserves similarity of images connected by the same track, in order to capture identity-related attribute features, and optimizes for location and weather prediction to capture additional facial attribute features. Finally, the network is fine-tuned with manually annotated samples. We perform an extensive experimental analysis on wearable data and two standard benchmark datasets based on web images (LFWA and CelebA). Our method outperforms by a large margin a network trained from scratch. Moreover, even without using manually annotated identity labels for pre-training as in previous methods, our approach achieves results that are better than the state of the art.

1. Introduction

The paper learns facial-attribute representations from egocentric video without manual identity labels for pretraining, using face similarity and location and weather context as supervision. It reports matching or exceeding state-of-the-art methods that rely on identity-labeled pretraining.

  • Prior facial-attribute systems use identity-labeled CNN pretraining, which is costly and may miss non-identity attributes such as eyewear and hats.Source: §1 · p. 1
  • The method uses geo-location and weather as weak supervision because facial attributes vary with neighborhood demographics, while weather relates to lighting, clothing, and accessories.For example, the paper notes different demographic patterns across New York City neighborhoods and seasonal differences in clothing and accessories.Source: §1 · pp. 1–2
  • It tracks faces in more than 40 hours of egocentric video, forms nearly 5 million face pairs, learns from same-identity similarity and location and weather prediction, then fine-tunes with manual attribute labels.Source: §1 · p. 2
  • The representation avoids costly manual pretraining annotations and uses varied faces, locations, and lighting to capture attributes beyond identity-based features.The paper contrasts this with prior methods pretrained on identity labels [33].Source: §1 · p. 2
  • The paper introduces Ego-Humans, a dataset of more than 40 hours of wearable-camera video covering tens of thousands of walkers with location and weather context.Source: §1 · p. 2
  • The self-supervised approach matches or exceeds state-of-the-art methods that rely on identity-labeled pretraining, while facial attributes are implicitly encoded as the network predicts location, weather, and face similarity.The identity labels used by prior methods can number in the hundreds of thousands or millions.Source: §1 · p. 2

2. Related Work

Prior work spans facial-attribute modeling, egocentric video representation learning, and geo-tagged image analysis. This paper differs by using wearable-sensor location and weather context to learn representations for facial-attribute classification.

  • Existing egocentric datasets focus on other tasks; Ego-Humans is presented as larger and includes geo-location and weather context [3].Source: §2 · p. 3
  • Earlier facial-attribute methods use describable attributes, attribute dependencies, first-name discrimination, identity discrimination, or joint binary-code and attribute learning.Source: §2 · p. 3
  • Deep facial-attribute methods include pose-aligned networks, pairwise face reasoning, and identity-pretrained networks [33]; this work claims comparable or superior performance without manual identity labels for pretraining.Source: §2 · p. 3
  • Geo-tagged image research includes localization and context-informed classification [46]; related facial-attribute analysis used off-the-shelf classifiers rather than learning representations to improve them.Source: §2 · p. 3
  • Unsupervised image reconstruction and patch-based pretext tasks have not proven effective at matching supervised pretraining, while video methods use temporal coherence, slow-feature analysis, or sequence prediction [25] [7] [49] [42].Source: §2 · p. 3
  • Other wearable- or vehicle-camera representation methods use egomotion as supervision [1], whereas this work uses location and weather available from wearable sensors.Source: §2 · p. 3

3. Ego-Humans Dataset

Ego-Humans combines wearable-camera video of New York City walkers with location and weather context. The dataset construction also produces tracked face images and pairwise constraints for learning facial representations.

  • The dataset contains more than 40 hours of video recorded over 25 days across New York City neighborhoods, with GPS location and weather information.Collection ran from August 28 to October 26, during summer and fall, using chest-mounted cameras.Source: §3 · p. 3
  • Location labels cluster GPS coordinates using census ethnicity data into four groups—White, Black, Asian, and Indian—while weather training uses sunny/hot and cloudy/cold classes.The paper notes that other partitions could support other tasks, including finer weather categories or socio-economic location groupings for clothing attributes.Source: §3 · p. 4, Figure 2 · p. 4
  • Face detection and landmark tracking identify casual walkers, and the collection yields 15,000 tracks containing 160,000 face images.The detector favors high-confidence detections at the expense of more false negatives.Source: §3 · p. 4
  • Nearly 5 million face pairs use same-track connections as same-person constraints and faces from different locations as different-person constraints.Faces detected at different locations in the same video frame also serve as different-person pairs; same-track similarity is intended to improve robustness to lighting and pose variation.Source: §3 · p. 4

4. Facial Attribute Representation Learning

The section describes a representation for facial attribute classification that combines face-similarity features with weather and location information, with manual labels used for attribute fine-tuning.

4.1. Learning Objective

  • Each face image is mapped to a representation that can support a facial-attribute classifier, including through fine-tuning with a small manually labeled set.The framework uses face pairs and weather and location information as training data.Source: §4.1 · pp. 4–5
  • The learned representation concatenates identity-verification, weather, and location features to capture identity-related attributes and contextual factors.The contextual networks are initialized from the verification-trained model’s bottom layers and trained independently.Source: §4.1 · p. 5

4.2. Deep Network Structure

  • A Siamese network uses a GoogLeNet-style base architecture to learn face-pair embeddings from 90×90×3 images.The base architecture has two convolutional layers and six inception modules, with 5 × 5 filters removed from inception 4a through 4d.Source: §4.2 · p. 5
  • Weather and location models share the base architecture but use different top-layer parameters; their 1024-dimensional outputs are concatenated with the verification features.The contextual models use inception modules 4c and 4d to capture more localized features.Source: §4.2 · p. 5
  • The Siamese network’s contrastive loss preserves similarity for same-track faces and dissimilarity for faces from different tracks.Weather and location prediction models use softmax loss.Source: §4.2 · pp. 5–6
  • Table 2 compares attribute prediction results for scratch training and identity-verification pre-training on Ego-Humans and CASIA.Source: Table 2 · p. 6
  • Attribute classification fine-tuning adds output layers and uses cross-entropy loss on manually labeled images.Source: §4.2 · p. 6

5. Experiments

Experiments show that self-supervised pretraining and contextual features improve facial-attribute prediction, including on standard web-image benchmarks. Visualizations indicate that location and weather models capture different attribute-related cues.

5.1. Ablation Studies on Wearable Data

  • The identity-verification-pretrained model outperforms training from scratch by a large margin on the wearable dataset.The authors relate this result to the small training set and substantial pose and lighting variation.Source: §5.1 · p. 6
  • Concatenating geo-location, weather, or both with the verification features yields average improvements of 2%, 2%, and 4%, respectively.Geo-location adds complementary information for East and South Asian ethnicities, while weather adds cues for attributes such as sunglasses and hats.Source: §5.1 · pp. 6–7, Figure 5 · p. 6

5.2. Comparison with the State of the Art

  • On LFWA, the approach significantly outperforms four methods; on CelebA, its average score is comparable to LNet+ANet without manual identity labels for pretraining.Table 3 compares performance on 40 binary facial attributes.Source: §5.2 · p. 7, Table 3 · p. 7

5.3. Visual Attribute Discovery

  • Location-model neurons’ top activations show faces from different races across geo-location classes, indicating learned ethnicity priors for location classification.The figure caption identifies the classes as White, Black, Asian, and Indian.Source: §5.3 · p. 8, Figure 6 · p. 8
  • Verification-model visualizations recover global face features, while weather-model neurons focus on local cues such as sunglasses and hats.The authors describe the weather features as complementary to identity-related features.Source: §5.3 · p. 8, Figure 7 · p. 8

6. Discussion

The discussion notes that tracked faces vary in pose and lighting, and that contextual data is required only during training. It also proposes extending the approach beyond city neighborhoods and applying it to other attribute tasks.

6. Discussion

  • The experiments cover people walking across city neighborhoods, while the authors suggest applying the method at larger geographic scales to capture greater variation.Source: §6 · p. 8
  • Same-track faces vary substantially in pose and lighting, which the authors say helps robustness to those factors.The authors report that this variation does not make the generated face pairs a practical bias issue.Source: §6 · p. 8
  • Location and weather are needed during training; at test time, they may be unavailable, although they could help improve accuracy.Source: §6 · p. 8
  • The authors are applying the approach to fine-grained clothing attributes and suggest urban perception as another potential task.They note that weather and location influence clothing choices.Source: §6 · p. 8

7. Conclusions

The paper concludes that wearable video and contextual data can support facial-attribute representations using faces from casual walkers without costly manual labels.

7. Conclusions

  • The proposed framework learns facial-attribute features from wearable video and geo-location and weather context.Source: §7 · p. 8
  • It uses the varied appearances of faces from tens of thousands of casual walkers across locations and lighting conditions without costly manual labels.Source: §7 · p. 8
  • The authors report substantial improvement over other baselines across several real-world datasets.Source: §7 · p. 8
Loading 1604.06433v3…