Title: FROM INFERENCE TO GENERATION: END-TO-END FULLY SELF-SUPERVISED GENERATION OF HUMAN FACE FROM SPEECH

Abstract: This work seeks the possibility of generating the human face from voice solely based on the audio-visual data without any human-labeled annotations. To this end, we propose a multi-modal learning framework that links the inference stage and generation stage. First, the inference networks are trained to match the speaker identity between the two different modalities. Then the trained inference networks cooperate with the generation network by giving conditional information about the voice. The proposed method exploits the recent development of GANs techniques and generates the human face directly from the speech waveform making our system fully end-to-end. We analyze the extent to which the network can naturally disentangle two latent factors that contribute to the generation of a face imageone that comes directly from a speech signal and the other that is not related to itand explore whether the network can learn to generate natural human face image distribution by modeling these factors. Experimental results show that the proposed network can not only match the relationship between the human face and speech, but can also generate the high-quality human face sample conditioned on its speech. Finally, the correlation between the generated face and the corresponding speech is quantitatively measured to analyze the relationship between the two modalities.

1. INTRODUCTION:

Utilizing audio-visual cues together to recognize a person's identity has been studied in various fields from neuroscience (Hasan et al., 2016; Tsantani et al., 2019) to practical machine learning applications (Nagrani et al., 2018b; a; Wen et al., 2019a; Shon et al., 2019) . For example, some neurological studies have found that in some cortical areas, humans recognize familiar individuals by combining signals from several modalities, such as faces and voices (Hasan et al., 2016) . In conjunction with the neurological studies, it is also a well known fact that a human speech production system is directly related to the shape of the vocal tract (Mermelstein, 1967; Teager & Teager, 1990) .

Inspired by the aforementioned scientific evidence, we would like to ask three related questions from the perspective of machine learning: 1) Is it possible to match the identity of faces and voices? (inference) 2) If so, is it possible to generate a face image from a speech signal? (generation) 3) Can we find the relationship between the two modalities only using cross-modal self-supervision with the data "in-the-wild"? To answer these questions, we design a two-step approach where the inference and generation stages are trained sequentially. First, the two inference networks for each modality (speech encoder and face encoder) are trained to extract the useful features and to compute the cross-modal identity matching probability. Then the trained inference networks are transferred to the generation stage to pass the information about the speech, which helps the generation network to output the face image from the conditioned speech.

We believe, however, that it is impossible to perfectly reconstruct all the attributes in the image of a person's face through the characteristics of the voice alone. This is due to factors that are clearly *Equal contribution unrelated to one's voice, such as lighting, glasses, and orientation, that also exist in the natural face image. To reflect the diverse characteristics presented in the face images "in-the-wild", we therefore model the generation process by incorporating two latent factors into the neural network. More specifically, we adopted conditional generative adversarial networks (cGANs) (Mirza & Osindero, 2014; Miyato & Koyama, 2018) so that the generator network can produce a face image that is dependent not only on the paired speech condition, but also on the stochastic variable. This allows the latent factors that contribute to the overall facial attributes to be disentangled into two factors: one that is relevant to the voice and the other that is irrelevant.

Adopting cGANs negligently still leaves a few problems. For example, the condition in a cGANs framework is typically provided as embedded conditional vectors through the embedding look-up table for one-hot encoded labels (Brock et al., 2019; Miyato & Koyama, 2018) . The raw signals such as speech, however, cannot be taken directly from the embedding look-up table, so an encoder module is required. Therefore, the trained speech encoder from the inference step is reused to output a pseudo conditional label that is used to extract meaningful information relevant to the corresponding face. Then the generator and the discriminator are trained in an adversarial way by utilizing the pseudo-embedded conditional vectors obtained from the trained speech encoder in the first step.

Another problem with applying the conventional cGANs for generating faces from voice arises from the fact that the distinction between different speakers can be quite subtle, which calls for a need for a more effective conditioning method. To mitigate this problem, we propose a new loss function, relativistic identity cGANs (relidGANs) loss, with modification of the relativistic GANs (Jolicoeur-Martineau, 2019), allowing us to generate the face with a more distinct identity. Each step will be described in greater detail in Section 3.

Our contributions can be summarized as follows:

1. We propose simple but effective end-to-end inference networks trained on audio-visual data without any labels in a self-supervised manner that perform a cross-modal identity matching task.

2. A cGANs-based generation framework is proposed to generate the face from speech, to be seamlessly integrated with the trained networks from inference stage.

3. A new loss function, so called a relidGANs loss, is designed to preserve a more consistent identity between the voices and the generated images.

4. An extensive analysis is conducted on both inference and generation tasks to validate our proposed approaches.

2. RELATED WORKS:

There has been an increasing interest in the self-supervised learning framework within the machine learning research community. While the focus of the many studies has been concentrated on applications of matching the audio-visual correspondence such as the presence or absence of objects in a video or a temporal alignment between two modalities (Chung et al., 2017; Afouras et al., 2018b; a; Ephrat et al., 2018) , growing attention has come to matching the speaker identity between the human face and voice.

Inference The cross-modal identity matching task between face and voice has been recently studied in machine learning community. Nagrani et al. (2018b) proposed a convolutional-neural-network (CNN) based biometric matching network by concatenating the two embedding vectors from each modality and classifying them with an additional classifier network. Though showing promising results, this style of training is limited as the model is not flexible in that the number of concatenated vectors used in the training cannot be changed in the test phase. Next, Nagrani et al. (2018a) modeled the concept of personal identity nodes (Bruce & Young, 1986 ) by mapping each modality into the shared embedding space and using triplet loss to train the encoders to allow more flexible inference. Lastly, Wen et al. (2019a) proposed DIMNet where two independent encoders are trained to map the speech and face into the shared embedding space, classifying each of them independently utilizing the supervised learning signals from labels such as identity, gender and nationality.

Generation There have been a few concurrent works that tackled the similar problem of generating a face image from speech, which we think are worth noting here. Duarte et al. (2019) proposed a GANs-based framework to generate a face image from the speech. But the intention of their work was not to generate a face from unseen speaker identity but more of seeking the possibility of crossmodal generation between the speech and face itself. Oh et al. (2019) proposed a similar work called speech2face. The pre-trained face recognition network and the neural parametric decoder were used to produce a normalized face (Parkhi et al., 2015; Cole et al., 2017) . After that, the speech encoder was trained to estimate the input parameter of the face decoder directly. Because the training process still requires the pre-trained modules trained with supervision, we do not consider this a fully-selfsupervised approach. Lastly, the most similar work to ours was recently proposed by Wen et al. (2019b) where they utilized a pre-trained speech identification network as a speech encoder, and used a GANs-based approach to produce the face conditioned on the speech embedding.

Our proposed method differs from the abovementioned approaches in the following ways. First, none of the previous approaches has tried to model the stochasticity in the generation process, but we address this problem by incorporating the stochasticity in the latent space so that the different face images can be sampled even when the speech condition is fixed. Second, modeling the image is more challenging in our work as we aim to train our network to produce larger image size (128 × 128) compared to other GANs-based works. Also, we trained the model on the AVSpeech dataset (Ephrat et al., 2018) which includes extremely diverse dynamics in the images. Finally, the important scope of this work is to seek the possibility of training the whole inference and generation stages only using the self-supervised learning method, which is the first attempt to our knowledge. The whole pipeline of the proposed approach is illustrated in Fig. 1 . 

3. SELF-SUPERVISED INFERENCE AND GENERATION:



3.1. CROSS-MODAL IDENTITY MATCHING:

In order to successfully identify the speaker identity from the two audio-visual modalities, we trained two encoders for each modality. First, a speech encoder is trained to extract the information related to a person's identity from a segment of speech. To this end, we use raw-waveform based speech encoder that was shown to extract useful features in speaker verification task, outperforming conventional feature such as mel-frequnecy-cepstal-coefficient (MFCC) even when trained using selfsupervised learning in speech modality (Pascual et al., 2019) 1 . The first layer of the speech encoder is SincNet where the parameterized sinc functions act as trainable band-pass filters (Ravanelli & Bengio, 2018) . The rest of the layers are composed of 7 stacks of 1d-CNN, batch normalization (BN), and multi-parametric rectified linear unit (PReLU) activation. Next, we used a 2d-CNN based face encoder with residual connections in each layer. Note that the network structure is similar to the discriminator network of (Miyato & Koyama, 2018) . The details of the networks are shown in Appendix C.

Based on the speech encoder S(•) and the face encoder F(•), they are trained to correctly identify whether the given face and speech is paired or not. Specifically, as a cross-modal identity matching task, we consider two settings as in (Nagrani et al., 2018b) , 1. V-F: given a segment of speech select one face out of K different faces, 2. F-V: given an image of face select one speech segment out of K different speech segments. The probability that the j-th face f j is matched to the given speech s or vice versa is computed by the inner product of embedding vectors from each module followed by the softmax function as follows:

EQUATION

where s denotes a speech segment, f denotes a face image, se denotes a speech embedding vector and f e denotes a face embedding vector.

Note that using inner product as a means of computing similarity allows more flexible inference. For example, the proposed method enables both F-V and V-F settings, no matter with which method the model is trained. Also, it allows setting a different number of K in the test phase than the training phase.

Finally, the two encoders are trained solely using the self-supervised learning signal from crossentropy error.

3.2. GENERATING FACE FROM VOICE:

Although we aim to generate the human face from the speech, it is only natural to think that not all attributes of the face image are correlated to the speech. Hence, we assume the latent space of the face to be broken down into two parts, the deterministic variable from the speech encoder c and a random variable z sampled from Gaussian distribution.

Such latent space is modeled using cGANs, a generative model that allows the sampling of face images conditioned on speech. More specifically, randomly sampled Gaussian noise z ∈ R 128 and speech condition c ∈ R 128 are concatenated and used as input for the generator function f f ake = G(z, c) to sample the face image conditioned on the speech. In addition, adaptive instance normalization (AdaIN) technique is applied as a more direct conditioning method for each layer of the generator network (Huang & Belongie, 2017; Karras et al., 2019) . The details of the network are described in Appendix C.

In order to generate the face image that are not only close enough to the real face image distribution, but matches with the given condition, the condition information must be properly fed into the discriminator. Many studies have suggested such conditioning approaches for the discriminator (Reed et al., 2016; Odena et al., 2017; Miyato & Koyama, 2018) ; among them, we adopted a recent conditioning method, projection discriminator (Miyato & Koyama, 2018) , which not only suggests a more principled way of conditioning embeddings into the discriminator, but has also been widely used in many successful GANs related works (Brock et al., 2019; Zhang et al., 2018; Miyato et al., 2018) .

The study showed that, writing the discriminator function as D(f , c) := A(g(f , c)), the condition information can be effectively provided to the discriminator using the inner-product of two vectors, c and φ(f ), as follows:

EQUATION

where A(•) denotes an activation function (sigmoid in our case), c denotes condition embedding, φ(f ) denotes output from the inner layer of discriminator and ψ(•) denotes a function that maps input vector to a scalar value (fully-connected layer in our case). Here we focused on the fact that the conditioning signals can be used as an inner-product of two vectors and replaced it with the same inner-product operation used to compute the identity matching probability in the inference framework. Accordingly, we can rewrite the Eq. 2 by providing the condition with the trained speech encoder c = S(s) and substituting φ(•) with a trained face encoder F(•) from the subsection 3.1 as follows:

EQUATION

Next, we adopted relativistic GANs (relGANs) loss which was reported to give stable image generation performance. See Jolicoeur-Martineau (2019) for more details. Combining the condition term c T φ(f ) and relGANs loss, g(f , c) can be modified to g rel (f real , f f ake , c) as follows:

EQUATION

Eq. 4 is formulated to produce a face from the paired speech, but it can cause catastrophic forgetting on the trained φ(•) because the discriminator is no longer trained to penalize the mismatched face and voice. Thus, we again modify Eq. 4 so that the discriminator relativistically penalizes the mismatched face and voice more than a positively paired face and voice as follows:

EQUATION

where f real and c + denotes the paired face and speech condition from data distribution, f f ake denotes the generated face sample conditioned on c + , and c -denotes the speech condition with mismatched identity to f real using negative sampling.

Finally, utilizing the non-saturating loss (Goodfellow et al., 2014; Jolicoeur-Martineau, 2019) , the proposed objective function (relidGANs loss) for discriminator L D and generator L G becomes as follows:

EQUATION

4. EXPERIMENTS AND RESULTS:

Dataset and Sampling Two datasets were used throughout the experiments. The first dataset is the AVSpeech dataset (Ephrat et al., 2018) . It consists of 2.8m of YouTube video clips of people actively speaking. Among them, we downloaded about 800k video clips from a train set and 140k clips from a test set. Out of 800k training samples, we used 50k of them as a validation set. The face images included in the dataset are extremely diverse since the face images were extracted from the videos "in the wild" (e.g., closing eyes, moving lips, diversity of video quality, and diverse facial expressions) making it challenging to train a generation model. In addition, since no speaker identity information is provided, training the model with this dataset is considered fully self-supervised. Because of the absence of the speaker identity information, we assumed that each audio-visual clip represents an individual identity. Therefore, a positive audio-visual pair was sampled only within a single clip while the negative samples were randomly selected from any clips excluding the ones sampled by the positive pair. Note that each speech and face image included in the positive pair was sampled from different time frames within the clip. This was to ensure that the encoded embeddings of each modality do not contain linguistic related features (e.g., lip movement or phoneme related features).

The second dataset is the intersection of VoxCeleb (Nagrani & Zisserman, 2017) and VGGFace (Parkhi et al., 2015) . VoxCeleb is also a large-scale audio-visual dataset collected on YouTube videos. VGGFace is a collection of the images of public figures gathered from the web, which is less diverse and relatively easier to model compared to the images in AVSpeech dataset. Since both VGGFace and VoxCeleb provide speaker identity information, we used the speakers' included in the both datasets resulting in 1,251 speakers. We used face images from both VoxCeleb and VGGFace, and used speech audio from Voxceleb. Note that, this dataset provides multiple images and audio for a single speaker; therefore, training a model with this dataset cannot be called a self-supervised training method in a strict sense.

Implementation In every experiment, we used 6 seconds of audio. The speech samples that were shorter or longer than 6 seconds were duplicated or randomly truncated so that they became 6 seconds. At the inference stage, we trained the networks with stochastic gradient descent optimizer (SGD). At the generation stage, we trained the networks with Adam optimizer (Kingma & Ba, 2015) . The discriminator network was regularized using R 1 regularizer (Mescheder et al., 2018) . More details are described in Appendix B.

4.1. CROSS-MODAL INFERENCE EVALUATION RESULTS:

Fully self-supervised inference accuracy results: Here we show the evaluation results of the inference networks trained on the AVSpeech dataset. Again, the model was trained with no additional information about speaker identity. The evaluations were conducted 5 times by selecting different negative samples each time and reported using the average value of them. We trained our model in two settings (1. V-F and 2. F-V) and both were trained in 10-way setting (1 positive pair and 9 negative pairs). Then the two trained models were tested on both V-F and F-V settings, each of which were tested on 2way and 10-way settings. The top1-accuracy (%) results of cross-modal identity matching task is shown in Table 1 . The results show that our network can perform the task of crossmodal identity matching with a reasonable accuracy despite being trained in a fully self-supervised manner. In addition, our model can perform F-V inference with a reasonable accuracy even when it is trained in V-F setting, and vice versa.

Comparison results: We compared our model with two models -SVHFNet (Nagrani et al., 2018b) and DIMNet (Wen et al., 2019a) . For fair comparisons, we trained our model with the intersection of VoxCeleb and VGGFace datasets. Our model is trained in two train settings (1. V-F and 2. F-V) with 10-way configuration. The comparison results are shown in Table 2 . The results show that our model performs worse when tested in 2-way setting compared to other models. Note that, SVHFNet used a pretrained speaker identification network and face recognition network trained in a supervised manner with identity information and DIMNet trained the network in a supervised manner using the labels such as identity, gender, and nationality, and therefore is not trainable without such labels, whereas our model was trained from the scratch and without any such labels. Under a more challenging situation where K increases from two to ten, however, our model shows significantly bet-ter performance, which may indicate the proposed method is capable of extracting more informative and reliable features for the cross-modal identity matching task.

4.2. CROSS-MODAL GENERATION EVALUATION RESULTS:

We conducted three qualitative analyses (QLA's) and three quantitative analyses (QTA's) to thoroughly examine the relationship between condition and the generated face samples.

QLA 1. Random samples from (z, c) plane: The generated face images from diversely sampled z and fixed speech condition c is shown in Fig. 2 . We can observe that each variable shows different characteristics. For example, it is observable that z controls the orientation of head, background color, haircolor, hairstyle, glasses, etc. Alternatively, we observed that c controls gender, age, ethnicity and the details of the face such as the shape of the face and the shape of the nose.

Figure 2 : The illustration of generated face images from interpolated speech conditions. Note that the first column consists of the ground truth image of the speakers3 .

QLA 2. Generated samples from interpolated speech condition: Next, we conducted an experiment to observe how speech conditions affect facial attributes by exploring the latent variable c with z fixed. We sampled the speech segments from the AVSpeech test set and linearly interpolated two speech conditions. After that we generated the face images based on the interpolated condition vectors. The generated face images are shown in Fig. 3 . We can observe the smooth transition of speech condition c in the latent space and can confirm that it has a control over the parts that are directly correlated to the identity of a person such as gender, age, and ethnicity.

QLA 3. Generated samples from interpolated stochastic variable: Lastly, we conducted an experiment that shows the role of stochastic variable in the generation process by interpolating two randomly sampled z vectors with c fixed. The speech segments from the AVSpeech test set were used to make a fixed c for each row. The generated face images are shown in Fig. 4 . We can observe that the latent vector z has a control over the parts that are not directly correlated to the identity of a person such as head orientation, hair color, attire, and glasses.

QTA 1. Correlation between the generated samples and speech conditions: We performed a quantitative analysis to investigate the relationship between the speech condition and the face image it generated. To this end, we first sampled two different random variables z 1 , z 2 and two different speech condition vectors c 1 , c 2 of different speakers. Next, we generated two face images f f ake c 2 ) using the generator network. Then the two generated samples were encoded using the trained inference network F(•) to extract the face embeddings f e 1 = F(f f ake 1 ), f e 2 = F(f f ake 2 ). We then calculated the cosine distance between the speech condition vectors (CD(c 1 , c 2 )), and the cosine distance between the two face embeddings (CD(f e 1 , f e 2 )). Finally, we computed the Pearson correlation between CD(c 1 , c 2 ) and CD(f e 1 , f e 2 ). This is to see if there exists any positive correlation between the embedding spaces of the two different modalities; that is, to see if closer speech embeddings help generate face images whose embeddings are also closer even when the random variable z is perturbed. Fig. 5 (a) shows the results using the test set of the AVSpeech. We can see a positive correlation between the CD(c 1 , c 2 ) and CD(f e 1 , f e 2 ) meaning that the generated face images are not randomly sampled.

1 = G(z 1 , c 1 ), f f ake 2 = G(z 2 ,

Furthermore, we examined whether the CD between two speech condition vectors gets closer when controlling the gender of the speaker, and also the face images generated from the two speech condition vectors. We tested this on VoxCeleb dataset as it provides gender labels for each speaker identity. We compared the mean values of CD(c 1 , c 2 ) and CD(f e 1 , f e 2 ) in two cases; one setting the gender of the two speakers different and the other one setting the gender the same. Fig. 5 (b) shows a scatter plot of the CD when the two sampled speakers have different genders, and Fig. 5 (c) shows a case where the genders are set the same. We found out that the mean value of CD(c 1 , c 2 ) gets smaller (0.46 → 0.28) when we set the gender of two speakers the same and accordingly the CD(f e 1 , f e 2 ) gets also smaller (0.27 → 0.15). QTA 2. Testing the generated samples with the inference networks: Here we conducted two inference experiments in V-F setting. In the first experiment, given a positive pair from the AVSpeech test set (f , s), two face images (f and G(z, S(s))) are passed to the trained inference networks. The inference networks are then used to determine which of the two images yields a greater cross-modal matching probability with a given speech segment s as follows:

EQUATION

where 1[•] denotes an identity function, n denotes a index of test sample, f n,1 denotes the generated sample G(z, S(s n ))), f n,2 denotes the ground truth image paired with the speech s n , and N denotes the total number of test samples. Note that z was randomly sampled from Gaussian distribution for each n.

Surprisingly, we found out that the inference networks tend to choose the generated samples more than the ground truth face images with a chance of 76.65%, meaning that the generator is able to generate a plausible image given the speech condition c. On the other hand, we found out that the chances significantly decreases to 47.2% when we do not use the relidGANs loss (using Eq. 4), showing that the proposed loss function helps generate images reflecting the identity of a speaker. Note that, however, this result does not necessarily say that the generator is capable of generating a more plausible image conditioned on one's voice than the paired face image as this experiment is bounded to the performance of the inference network. In addition, we believe the distribution of real face image is much more diverse than the generated samples, causing the inference network tend towards the generated samples more.

Our second experiment is similar to the first experiment, but this time we compared the generated images from two different generators; one trained without mismatched identity loss (Eq. 4) and the other with the proposed relidGANs loss. We found out that the inference networks selected the generated sample from the generator trained with the proposed relidGANs loss with a chance of 79.68%, again showing that the proposed loss function helps to generate samples that reflect the identity information encoded in the speech condition.

Next, we conducted one additional experiment in F-V setting. Given a generated image G(z, S(s 1 )) from a speech segment s 1 , we measured the accuracy of inference network selecting s 1 out of two audio segments s 1 and s 2 as follows:

EQUATION

where f n denotes a generated face image from a speech segment s n,1 , and s n,2 denotes a negatively selected speech segment. We found out that the inference networks select s 1 with a chance of 95.14%. Note that, the accuracy of inference networks in 2-way F-V setting is 88.47%, which means the generator can faithfully generate a face image according to the given speech segment s 1 .

QTA 3. Face image retrieval: Lastly, we conducted a face retrieval experiment in which the goal was to accurately retrieve a real face image for the speaker using the generated image from their speech segment as a query. To compose a retrieval dataset, we randomly sampled 100 speakers from the test set of the AVSpeech. For each speaker, we extracted 50 face images from a video clip resulting in 5,000 images for the retrieval experiment in total. Note that this process of composing the retrieval dataset is same as that of Speech2Face Oh et al. (2019) . To retrieve the closest face image out of the 5,000 samples, the trained face encoder was used to measure the feature distance between the generated image and each of the 5,000 images. We computed three metrics as a feature distance (L 1 , L 2 , and cosine distance (CD)) and the results are reported in Table 3 .

Table 3 shows that our model can achieve higher performance than that of Speech2Face on all distance metrics. We also measured the performance of the generator trained without mismatched identity loss (mil) (Eq. 4). The results show that the proposed relidGANs loss function is crucial to generate the face images that reflect the identity of the speakers. Examples of the top-5 retrieval results are shown in Fig. 6 .

Real Generated:

Top-5 nearest face images 

5. CONCLUSION AND FUTURE WORK:

In this work, we proposed a cross-modal inference and generation framework that can be trained in a fully self-supervised way. We trained cGANs by transferring the trained networks from the inference stage so that the speech could be successfully encoded as a pseudo conditional embedding. We also proposed relidGANs loss to train the discriminator to penalize negatively paired face and speech so that the generator could produce face images with more distinguished identity between different speakers. As a future work, we would like to address a data bias problem (e.g., ethnicity, gender, age, etc.) that exists in many datasets. This is a significant problem as many publicly available datasets have biased demographic statistics, consequently affecting the results of many algorithms (Buolamwini & Gebru, 2018) . We believe that this can be solved with the use of a better data sampling strategy in an unsupervised manner such as (Amini et al., 2019) . In addition, we would like to expand the proposed methods to various multi-modal datasets by generalizing the proposed concept to other modalities.

To train cGANs, we used Adam optimizer using β 1 and β 1 of 0.9 and 0.9, respectively. The learning rate of generator and discriminator was fixed to 0.0001 and 0.00005 during training, respectively. Each time the discriminator was updated twice, the generator was updated once. Batch size is 24 and we trained the model about 500,000 iterations. Note that we adopted the truncation trick of Brock et al. (2019) in subsection 4.2. In all experiments except QTA 1 and QTA 2, where the truncation trick was not adopted, the truncation threshold was set to 1.0.

C NETWORK STRUCTURES:

Inference network consists of a speech encoder and a face encoder. The network structure of the speech encoder is based on the problem agnostic speech encoder (PASE) (Pascual et al., 2019) followed by an additional time pooling layer and a fully-connected layer (FC). PASE consists of SincNet and 7 stacks convolutional-block (ConvBlock) composed of 1d-CNN, batch normalization, and multi-parametric rectified linear unit (PReLU) activation. Following PASE, average pooling on time dimension is applied to make the size of embedding time-invariant. The FC layer was used as the last layer of the speech encoder. The details of the speech encoder is depicted in Fig. 7 For face encoder, we used 2d-CNN based residual block (ResBlock) in each layer. Note that the network structure is similar to the discriminator network of (Miyato & Koyama, 2018) . The details of the architecture is shown in Fig. 8 .

For the generator, we followed the generator network structure of (Miyato & Koyama, 2018) with some modifications, such as concatenating z and c as an input and adopting adaptive instance normalization (AdaIN) for the direct conditioning method. The details of the discriminator are almost the same as the face encoder except that it includes additional FC layer, projection layer, and sigmoid as activation function. The details of the discriminator and generator are shown in Fig. 8 and Fig. 9 , respectively. 

:

The speech encoder can be downloaded in the following link: https://github.com/santi-pdp/pase

The 10-way results are inferred from the graph of the paper DIMNet(Wen et al., 2019a).

Speech samples: https://drive.google.com/open?id=1n9VTYm9Z-dxNpwS-ELiotmXES6COE4h

Audio samples are available in the following link: https://drive.google.com/open?id=1gWZqh6VfqN33uaKDlmRf8IxmF33FoxAE

Figures and Tables:

Figure 1: Overview of the proposed inference and generation stages.

Figure 3: The illustration of generated face images from interpolated speech condition vectors while fixing z. Note that the images on the very left and right sides of each row are the ground truth face images of the speakers.

Figure 4: The illustration of generated face images from interpolated random vectors while fixing c. Note that the images on the very left side of each row are the ground truth face images of the speakers.

Figure 5: The scatter plots of CD(c 1 , c 2 ) and CD(f e 1 , f e 2 ).

Figure 6: Top-5 retrieval examples.

Figure 7: The structure of the speech encoder. O, K, S indicate the number of output channels, size of the kernel and stride, respectively

Figure 9: The structure of the generator network. The numbers on each block denote the output channel.



Table content: <table><tr><td/><td colspan="5">: Accuracy (%) of cross-</td></tr><tr><td colspan="5">modal identity matching task.</td></tr><tr><td>Test</td><td>Train</td><td>V-F</td><td/><td>F-V</td></tr><tr><td/><td>V-F</td><td colspan="4">89.22 54.33 85.10 44.70</td></tr><tr><td/><td>F-V</td><td colspan="4">86.94 49.20 88.47 52.55</td></tr><tr><td colspan="2">K-way</td><td>2</td><td>10</td><td>2</td><td>10</td></tr></table>



Table content: <table><tr><td/><td colspan="5">: Comparison results in</td></tr><tr><td colspan="6">terms of accuracy (%) of cross-</td></tr><tr><td colspan="5">modal identity matching task.</td></tr><tr><td>Model</td><td>Train</td><td>V-F 2</td><td/><td>F-V</td></tr><tr><td colspan="2">SVHFNet</td><td>81.00</td><td>35</td><td>79.50</td><td>-</td></tr><tr><td colspan="2">DIMNet-IG</td><td>84.12</td><td>40</td><td>84.03</td><td>-</td></tr><tr><td>Ours</td><td/><td colspan="4">79.90 55.66 80.83 54.84</td></tr><tr><td colspan="2">K-way</td><td>2</td><td>10</td><td>2</td><td>10</td></tr></table>

Face retrieval performance.

Table content: <table><tr><td>Models</td><td>Metric</td><td/><td colspan="2">Top-K</td><td/></tr><tr><td/><td/><td colspan="4">K = 1 K = 2 K = 5 K = 10</td></tr><tr><td/><td>L1</td><td>8.34</td><td>13.7</td><td>24.66</td><td>36.22</td></tr><tr><td>Speech2Face</td><td>L2</td><td>8.28</td><td colspan="2">13.66 24.66</td><td>35.84</td></tr><tr><td/><td colspan="4">CD 10.92 17.00 30.60</td><td>45.82</td></tr><tr><td>Ours (w/o mil)</td><td>L1 L2 CD</td><td>7.32 7.21 7.36</td><td colspan="2">12.81 24.41 12.83 24.34 13.04 24.78</td><td>38.82 39.24 39.59</td></tr><tr><td>Ours</td><td>L1</td><td colspan="3">12.97 20.98 36.56</td><td>52.66</td></tr><tr><td>(w/ mil</td><td>L2</td><td>12.90</td><td>21.5</td><td>36.84</td><td>52.49</td></tr><tr><td>(relidGANs))</td><td colspan="4">CD 13.59 21.69 36.94</td><td>53.83</td></tr></table>

Peer review (iclr2020):
Summary - In this work the authors propose a two-stage procedure for training a GAN which generates plausible faces conditioned on the raw waveform of a speech signal. In the first stage two embedding functions are trained, one taking as input a frame from a video (of a person speaking), the other taking as input the raw waveform of the same video*s audio. These embeddings are trained to maximize the inner product of positively sampled embeddings (frame and audio from same video), and minimize the inner product of negatively sampled embeddings (frame and audio from different videos). In the second stage a GAN is trained where the input to the generator is the a random latent code (z), concatenated with the learned embedding of a speech signal from stage 1 (c). They also initialize the first half (phi) of the discriminator using the face embedding network from stage 1, and propose a modification of the relativistic GAN loss to prevent phi from losing the ability to produce face embeddings that have low inner product with the wrong speech embedding. The authors explore the properties of their learned pipeline in a number of experiments. In 4.1 they compare their self-supervised speaker matching pipeline with prior work, showing that it has competitive performance with prior work that relies on either supervised pretraining, or additional labels such as age and gender. In particular they show that as the number of negative samples increases from 1 to 9, their identity matching performance significantly improves over prior work (in the K=2 regime their method underperforms prior work). Qualitatively they show that their generator has some reasonable success (it is hard to judge what perfect success would look like, and how far they are from reaching it) at disentangling aspects of facial appearence that can and cannot be inferred from the speech signal (QLA1). They also show qualitatively that the output of their generator can be smoothly controlled by interpolating between speech conditioning vectors, producing reasonable faces at each intermediary step (QLA2). In experiment QTA1 they quantitatively validate the conditioning vector c is affecting the generated image. In experiment QTA2 the authors (with a small issue, see weaknesses) show that their proposed modification to the loss function causes their outputs to be better matched to the speech conditioning as measured by the fixed embedding network trained in stage 1. Finally in QT3 they measure how well their generated faces can be used with the original face embedding network to perform image retrieval (I am a bit unclear on the details of this experiment, see questions) Strengths - * The authors* proposed pipeline and modified loss function offers a generalized framework for jumpstarting conditional GAN training * Their pipeline does not assume human-specified labels, but instead access to paired data from different modalities, which is can easily be obtained for many conditional image generation tasks (inpainting, super-resolution, colorization, etc.) * Their pipeline also doesn*t seem particularly finetuned for the speech-driven image synthesis task, so it seems reasonable to believe it could be adapted to other tasks * Their results are qualitatively compelling, and they make a convincing efforts in experiments QTA1-3 to quantitatively show that the conditioning information is affecting the output * The paper is generally well-written and easy to follow Weaknesses - * Without completing the loop, and showing that the second stage of this pipeline helps with identity matching for speakers, I*m not clear on what the motivation for this particular form of conditional image generation is (this is unfortunate, because their framework is quite general, and it seems feasible that the authors could have applied it directly to a task where the output of conditional image generation is directly useful) * I interpret the main purpose of experiment QTA 2 as validating the effectiveness of their proposed loss modification, it seems like a natural experiment to make this claim more convincing is to compare a generator trained with Eq 4. against real images (hopefully getting a much lower matching probability than the 76.65% reported in the first experiment of this section) * It seems like an important ablation study is testing the effect of jumpstarting the GAN training with the pretrained networks of stage 1, and reporting what happens when one or both of these networks are initialized randomly (assuming that initializing randomly hurts performance significantly, this would be further evidence of their framework*s strengths) * The novelty of the proposed approach is limited so far as I can tell (slight architectural modifications, and adding a negative sampling term to the discriminator loss) Initial Rating - Weak Accept Questions - * In experiment QTA3 I*m confused by how including multiple faces from the same video clip affects measuring retrieval accuracy. Does retrieving any of the 50 faces from the same clip count as correct? Explanation of Rating - The novelty of the work is limited, and it doesn*t seem clearly useful for any practical task. However the stated task is certainly a non-trivial one, and the qualitative results and experiments give compelling evidence that the authors are proposing a powerful framework for conditional image generation. I think that the high quality writing, experiments, and results; coupled with potential impact for other conditional image generation tasks warrant acceptance. However the paper is held back by the lack of novelty and lack of clear motivation. Revised Rating After Rebuttal: Accept Explanation of Revised Rating: The authors addressed my concrete concerns about missing experiments in the rebuttal. Despite my concerns about the motivation for this particular task, I think the good results produced by author*s methodology indicate this work will be valuable in the context of conditional image generation more broadly. I am upgrading my rating to accept.