Goto

Collaborating Authors

 interfacegan


Unifying Image Counterfactuals and Feature Attributions with Latent-Space Adversarial Attacks

arXiv.org Artificial Intelligence

Counterfactuals are a popular framework for interpreting machine learning predictions. These what if explanations are notoriously challenging to create for computer vision models: standard gradient-based methods are prone to produce adversarial examples, in which imperceptible modifications to image pixels provoke large changes in predictions. We introduce a new, easy-to-implement framework for counterfactual images that can flexibly adapt to contemporary advances in generative modeling. Our method, Counterfactual Attacks, resembles an adversarial attack on the representation of the image along a low-dimensional manifold. In addition, given an auxiliary dataset of image descriptors, we show how to accompany counterfactuals with feature attribution that quantify the changes between the original and counterfactual images. These importance scores can be aggregated into global counterfactual explanations that highlight the overall features driving model predictions. While this unification is possible for any counterfactual method, it has particular computational efficiency for ours. We demonstrate the efficacy of our approach with the MNIST and CelebA datasets.


Smooth image-to-image translations with latent space interpolations

arXiv.org Artificial Intelligence

Multi-domain image-to-image (I2I) translations can transform a source image according to the style of a target domain. One important, desired characteristic of these transformations, is their graduality, which corresponds to a smooth change between the source and the target image when their respective latent-space representations are linearly interpolated. However, state-of-the-art methods usually perform poorly when evaluated using inter-domain interpolations, often producing abrupt changes in the appearance or non-realistic intermediate images. In this paper, we argue that one of the main reasons behind this problem is the lack of sufficient inter-domain training data and we propose two different regularization methods to alleviate this issue: a new shrinkage loss, which compacts the latent space, and a Mixup data-augmentation strategy, which flattens the style representations between domains. We also propose a new metric to quantitatively evaluate the degree of the interpolation smoothness, an aspect which is not sufficiently covered by the existing I2I translation metrics. Using both our proposed metric and standard evaluation protocols, we show that our regularization techniques can improve the state-of-the-art multi-domain I2I translations by a large margin. Our code will be made publicly available upon the acceptance of this article. The growing interest in generative methods, specifically in image manipulation approaches, goes beyond academia and is also motivated by the enormous application potential, for instance, in the entertainment and fashion industry. Modern deep generative networks can artificially change a photo according to some desired "attribute" (e.g.


Time flies by: Analyzing the Impact of Face Ageing on the Recognition Performance with Synthetic Data

arXiv.org Artificial Intelligence

The deployment of face recognition systems has gained popularity in various application scenarios, such as border control initiatives like the European Entry-Exit System (EES) [Eu19]. In particular, the EES will be used as a central system for collecting and querying traveller data to the Schengen area at all border crossing points to facilitate the cooperation of visa and law enforcement authorities. The biometric performance of a system deployed in such sensitive environments must comply with high standards, such as those defined in the best practices for automated border control of the European Border and Coast Guard Agency (Frontex) [Fr15]. At the same time, the European General Data Protection Law complicates the processing of biometric data to avoid privacy leakages. Without an appropriate performance testing strategy, the risk of security lapses increases significantly and allows for the discriminatory treatment of travellers due to algorithmic or dataset bias. One solution to the lack of available test data includes the generation of synthetic data samples. However, in order to conduct reliable biometric performance tests, the synthetic samples must be as similar as possible to data collected in operational environments.


Multi-Attribute Balanced Sampling for Disentangled GAN Controls

arXiv.org Artificial Intelligence

Various controls over the generated data can be extracted from the latent space of a pre-trained GAN, as it implicitly encodes the semantics of the training data. The discovered controls allow to vary semantic attributes in the generated images but usually lead to entangled edits that affect multiple attributes at the same time. Supervised approaches typically sample and annotate a collection of latent codes, then train classifiers in the latent space to identify the controls. Since the data generated by GANs reflects the biases of the original dataset, so do the resulting semantic controls. We propose to address disentanglement by subsampling the generated data to remove over-represented co-occuring attributes thus balancing the semantics of the dataset before training the classifiers. We demonstrate the effectiveness of this approach by extracting disentangled linear directions for face manipulation on two popular GAN architectures, PGGAN and StyleGAN, and two datasets, CelebAHQ and FFHQ. We show that this approach outperforms state-of-the-art classifier-based methods while avoiding the need for disentanglement-enforcing post-processing.


GitHub - yuval-alaluf/hyperstyle: Official Implementation for "HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image Editing" https://arxiv.org/abs/2111.15666

#artificialintelligence

The inversion of real images into StyleGAN's latent space is a well-studied problem. Nevertheless, applying existing approaches to real-world scenarios remains an open challenge, due to an inherent trade-off between reconstruction and editability: latent space regions which can accurately represent real images typically suffer from degraded semantic control. Recent work proposes to mitigate this trade-off by fine-tuning the generator to add the target image to well-behaved, editable regions of the latent space. While promising, this fine-tuning scheme is impractical for prevalent use as it requires a lengthy training phase for each new image. In this work, we introduce this approach into the realm of encoder-based inversion. We propose HyperStyle, a hypernetwork that learns to modulate StyleGAN's weights to faithfully express a given image in editable regions of the latent space.