Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parse/train/1GTpBZvNUrk/1GTpBZvNUrk.md +248 -0
- parse/train/1GTpBZvNUrk/1GTpBZvNUrk_content_list.json +996 -0
- parse/train/1GTpBZvNUrk/1GTpBZvNUrk_middle.json +0 -0
- parse/train/1GTpBZvNUrk/1GTpBZvNUrk_model.json +0 -0
- parse/train/3ZeGLibhFo0/3ZeGLibhFo0.md +285 -0
- parse/train/3ZeGLibhFo0/3ZeGLibhFo0_content_list.json +1504 -0
- parse/train/3ZeGLibhFo0/3ZeGLibhFo0_middle.json +0 -0
- parse/train/3ZeGLibhFo0/3ZeGLibhFo0_model.json +0 -0
- parse/train/6NFBvWlRXaG/6NFBvWlRXaG.md +0 -0
- parse/train/6NFBvWlRXaG/6NFBvWlRXaG_content_list.json +0 -0
- parse/train/6NFBvWlRXaG/6NFBvWlRXaG_middle.json +0 -0
- parse/train/6NFBvWlRXaG/6NFBvWlRXaG_model.json +0 -0
- parse/train/IhiU6AJYpDs/IhiU6AJYpDs.md +415 -0
- parse/train/IhiU6AJYpDs/IhiU6AJYpDs_content_list.json +0 -0
- parse/train/IhiU6AJYpDs/IhiU6AJYpDs_middle.json +0 -0
- parse/train/IhiU6AJYpDs/IhiU6AJYpDs_model.json +0 -0
- parse/train/NiM9Q7Z95z/NiM9Q7Z95z.md +479 -0
- parse/train/NiM9Q7Z95z/NiM9Q7Z95z_content_list.json +1167 -0
- parse/train/NiM9Q7Z95z/NiM9Q7Z95z_middle.json +0 -0
- parse/train/NiM9Q7Z95z/NiM9Q7Z95z_model.json +0 -0
- vlm/train/0-EYBhgw80y/0.png +3 -0
- vlm/train/0-EYBhgw80y/1.png +3 -0
- vlm/train/0-EYBhgw80y/10.png +3 -0
- vlm/train/0-EYBhgw80y/11.png +3 -0
- vlm/train/0-EYBhgw80y/12.png +3 -0
- vlm/train/0-EYBhgw80y/13.png +3 -0
- vlm/train/0-EYBhgw80y/14.png +3 -0
- vlm/train/0-EYBhgw80y/2.png +3 -0
- vlm/train/0-EYBhgw80y/3.png +3 -0
- vlm/train/0-EYBhgw80y/4.png +3 -0
- vlm/train/0-EYBhgw80y/5.png +3 -0
- vlm/train/0-EYBhgw80y/6.png +3 -0
- vlm/train/0-EYBhgw80y/7.png +3 -0
- vlm/train/0-EYBhgw80y/8.png +3 -0
- vlm/train/0-EYBhgw80y/9.png +3 -0
- vlm/train/3SV-ZePhnZM/0.png +3 -0
- vlm/train/3SV-ZePhnZM/1.png +3 -0
- vlm/train/3SV-ZePhnZM/10.png +3 -0
- vlm/train/3SV-ZePhnZM/11.png +3 -0
- vlm/train/3SV-ZePhnZM/12.png +3 -0
- vlm/train/3SV-ZePhnZM/13.png +3 -0
- vlm/train/3SV-ZePhnZM/14.png +3 -0
- vlm/train/3SV-ZePhnZM/15.png +3 -0
- vlm/train/3SV-ZePhnZM/2.png +3 -0
- vlm/train/3SV-ZePhnZM/3.png +3 -0
- vlm/train/3SV-ZePhnZM/4.png +3 -0
- vlm/train/3SV-ZePhnZM/5.png +3 -0
- vlm/train/3SV-ZePhnZM/6.png +3 -0
- vlm/train/3SV-ZePhnZM/7.png +3 -0
- vlm/train/3SV-ZePhnZM/8.png +3 -0
parse/train/1GTpBZvNUrk/1GTpBZvNUrk.md
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up
|
| 2 |
+
|
| 3 |
+
Yifan Jiang1, Shiyu Chang2,3, Zhangyang Wang1 1University of Texas at Austin 2UC Santa Barbara 3MIT-IBM Watson AI Lab {yifanjiang97,atlaswang}@utexas.edu, chang87@ucsb.edu
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
The recent explosive interest on transformers has suggested their potential to become powerful “universal" models for computer vision tasks, such as classification, detection, and segmentation. While those attempts mainly study the discriminative models, we explore transformers on some more notoriously difficult vision tasks, e.g., generative adversarial networks (GANs). Our goal is to conduct the first pilot study in building a GAN completely free of convolutions, using only pure transformer-based architectures. Our vanilla GAN architecture, dubbed TransGAN, consists of a memory-friendly transformer-based generator that progressively increases feature resolution, and correspondingly a multi-scale discriminator to capture simultaneously semantic contexts and low-level textures. On top of them, we introduce the new module of grid self-attention for alleviating the memory bottleneck further, in order to scale up TransGAN to high-resolution generation. We also develop a unique training recipe including a series of techniques that can mitigate the training instability issues of TransGAN, such as data augmentation, modified normalization, and relative position encoding. Our best architecture achieves highly competitive performance compared to current stateof-the-art GANs using convolutional backbones. Specifically, TransGAN sets the new state-of-the-art inception score of 10.43 and FID of 18.28 on STL-10. It also reaches the inception score of 9.02 and FID of 9.26 on CIFAR-10, and 5.28 FID on CelebA $\mathbf { 1 2 8 \times 1 2 8 }$ , respectively: both on par with the current best results. When it comes to higher-resolution (e.g. $\mathbf { 2 5 6 \times 2 5 6 } )$ ) generation tasks, such as on CelebAHQ and LSUN-Church, TransGAN continues to produce diverse visual examples with high fidelity and reasonable texture details. In addition, we dive deep into the transformer-based generation models to understand how their behaviors differ from convolutional ones, by visualizing training dynamics. The code is available at: https://github.com/VITA-Group/TransGAN.
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
Generative adversarial networks (GANs) have gained considerable success on numerous tasks [1, 2, 3, 4, 5, 6, 7]. Unfortunately, GANs suffer from the notorious training instability, and numerous efforts have been devoted to stabilizing GAN training, introducing various regularization terms [8, 9, 10, 11], better losses [1, 12, 13, 14], and training recipes [15, 16]. Among them, one important route to improving GANs examines their neural architectures. [17, 8] reported a large-scale study of GANs and observed that when serving as (generator) backbones, popular neural architectures perform comparably well across the considered datasets. Their ablation study suggested that most of the variations applied in the ResNet family resulted in very marginal improvements. Nevertheless, neural architecture search (NAS) was later introduced to GANs and suggests enhanced backbone designs are also important for improving GANs, just like for other computer vision tasks. Those works are consistently able to discover stronger GAN architectures beyond the standard ResNet topology [18, 19, 20]. Other efforts include customized modules such as self-attention [21], style-based generator [22], and autoregressive transformer-based part composition [23].
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
Figure 1: Representative visual examples synthesized by TransGAN, without using convolutional layers. (a) The synthesized visual examples on CelebA-HQ $2 5 6 \times 2 5 6 )$ dataset. (b) The linear interpolation results between two latent vectors, on CelebA-HQ ( $2 5 6 \times 2 5 6 )$ ) dataset.
|
| 15 |
+
|
| 16 |
+
However, one last “commonsense" seems to have seldomly been challenged: using convolutional neural networks (CNNs) as GAN backbones. The original GAN [24, 25] used fully-connected networks and can only generate small images. DCGAN [26] was the first to scale up GANs using CNN architectures, which allowed for stable training for higher resolution and deeper generative models. Since then, in the computer vision domain, every successful GAN relies on CNN-based generators and discriminators. Convolutions, with the strong inductive bias for natural images, crucially contribute to the appealing visual results and rich diversity achieved by modern GANs.
|
| 17 |
+
|
| 18 |
+
Can we build a strong GAN completely free of convolutions? This is a question not only arising from intellectual curiosity, but also of practical relevance. Fundamentally, a convolution operator has a local receptive field, and hence CNNs cannot process long-range dependencies unless passing through a sufficient number of layers. However, that is inefficient, and could cause the loss of feature resolution and fine details, in addition to the difficulty of optimization. Vanilla CNN-based models are therefore inherently not well suited for capturing an input image’s “global" statistics, as demonstrated by the benefits from adopting self-attention [21] and non-local [27] operations in computer vision. Moreover, the spatial invariance possessed by convolution poses a bottleneck on its ability of adapting to spatially varying/heterogeneous visual patterns, which also motivates the success of relational network [28], dynamic filters [29, 30] and kernel prediction [31] methods.
|
| 19 |
+
|
| 20 |
+
# 1.1 Our Contributions
|
| 21 |
+
|
| 22 |
+
This paper aims to be the first pilot study to build a GAN completely free of convolutions, using only pure transformer-based architectures. We are inspired by the recent success of transformer architectures in computer vision [32, 33, 34]. Compared to parallel generative modeling works [21, 23, 35] that applied self-attention or transformer encoder in conjunction with CNN-based backbones, our goal is more ambitious and faces several daunting gaps ahead. First and foremost, although a pure transformer architecture applied directly to sequences of image patches can perform very well on image classification tasks [34], it is unclear whether the same way remains effective in generating images, which crucially demands the spatial coherency in structure, color, and texture, as well as the richness of fine details. The handful of existing transformers that output images have unanimously leveraged convolutional part encoders [23] or feature extractors [36, 37]. Moreover, even given well-designed CNN-based architectures, training GANs is notoriously unstable and prone to mode collapse [15]. Training vision transformers are also known to be tedious, heavy, and data-hungry [34]. Combining the two will undoubtedly amplify the challenges of training.
|
| 23 |
+
|
| 24 |
+
In view of those challenges, this paper presents a coherent set of efforts and innovations towards building the pure transformer-based GAN architectures, dubbed TransGAN. A naive option may directly stack multiple transformer blocks from raw pixel inputs, but that would scale poorly due to memory explosion. Instead, we start with a memory-friendly transformer-based generator by gradually increasing the feature map resolution in each stage. Correspondingly, we also improve the discriminator with a multi-scale structure that takes patches of varied size as inputs, which balances between capturing global contexts and local details, in addition to enhancing memory efficiency more. Based on the above generator-discriminator design, we introduce a new module called grid self-attention, that alleviates the memory bottleneck further when scaling up TransGAN to high-resolution generation (e.g. $2 5 6 \times 2 5 6$ ).
|
| 25 |
+
|
| 26 |
+
To address the aforementioned instability issue brought by both GAN and Transformer, we also develop a unique training recipe in association with our innovative TransGAN architecture, that effectively stabilizes its optimization and generalization. That includes showings the necessity of data augmentation, modifying layer normalization, and replacing absolute token locations with relative position encoding. Our contributions are outlined below:
|
| 27 |
+
|
| 28 |
+
• Novel Architecture Design: We build the first GAN using purely transformers and no convolution. TransGAN has customized a memory-friendly generator and a multi-scale discriminator, and is further equipped with a new grid self-attention mechanism. Those architectural components are thoughtfully designed to balance memory efficiency, global feature statistics, and local fine details with spatial variances.
|
| 29 |
+
• New Training Recipe: We study a number of techniques to train TransGAN better, including leveraging data augmentation, modifying layer normalization, and adopting relative position encoding, for both generator and discriminator. Extensive ablation studies, discussions, and insights are presented.
|
| 30 |
+
Performance and Scalability: TransGAN achieves highly competitive performance compared to current state-of-the-art GANs. Specifically, it sets the new state-of-the-art inception score of 10.43 and FID score of 18.28 on STL-10. It also reaches competitive 9.02 inception score and 9.26 FID on CIFAR-10, and 5.28 FID score on CelebA $1 2 8 \times 1 2 8$ , respectively. Meanwhile, we also evaluate TransGAN on higher-resolution (e.g., $2 5 6 \times 2 5 6 )$ generation tasks, where TransGAN continues to yield diverse and impressive visual examples.
|
| 31 |
+
|
| 32 |
+
# 2 Related Works
|
| 33 |
+
|
| 34 |
+
Generative Adversarial Networks. After its origin, GANs quickly embraced fully convolutional backbones [26], and inherited most successful designs from CNNs such as batch normalization, pooling, (Leaky) ReLU and more [38, 39, 40, 18]. GANs are widely adopted in image translation [3, 4, 41], image enhancement [7, 42, 43], and image editing [44, 45]. To alleviate its unstable training, a number of techniques have been studied, including the Wasserstein loss [46], the stylebased generator [22], progressive training [16], lottery ticket [47], and spectral normalization [48].
|
| 35 |
+
|
| 36 |
+
Transformers in Computer Vision. The original transformer was built for NLP [49], where the multi-head self-attention and feed-forward MLP layer are stacked to capture the long-term correlation between words. A recent work [34] implements highly competitive ImageNet classification using pure transformers, by treating an image as a sequence of $1 6 \times 1 6$ visual words. It has strong representation capability and is free of human-defined inductive bias. In comparison, CNNs exhibit a strong bias towards feature locality, as well as spatial invariance due to sharing filter weights across all locations. However, the success of original vision transformer relies on pretraining on large-scale external data. [50, 51] improve the data efficiency and address the difficulty of optimizing deeper models. Other works introduce the pyramid/hierarchical structure to transformer [52, 53, 54] or combine it with convolutional layers [55, 56]. Besides image classification task, transformer and its variants are also explored on image processing [37], point cloud [57], semantic segmentation [58], object detection [32, 59] and so on. A comprehensive review is referred to [60].
|
| 37 |
+
|
| 38 |
+
Transformer Modules for Image Generation. There exist several related works combining the transformer modules into image generation models, by replacing certain components of CNNs. [61] firstly formulated image generation as autoregressive sequence generation, for which they adopted a transformer architecture. [62] propose sparse factorization of the attention matrix to reduce its complexity. While those two works did not tackle the GANs, one recent (concurrent) work [23] used a convolutional GAN to learn a codebook of context-rich visual parts, whose composition is subsequently modeled with an autoregressive transformer architecture.The authors demonstrated success in synthesizing high-resolution images. However, the overall CNN architecture remains in place (including CNN encoder/decoder for the generators, and a fully CNN-based discriminator), and the customized designs (e.g, codebook and quantization) also limit their model’s versatility. Another concurrent work [35] employs a bipartite self-attention on StyleGAN and thus it can propagate latent variables to the evolving visual features, yet its main structure is still convolutional, including both the generator and discriminator. To our best knowledge, no other existing work has tried to completely remove convolutions from their generative modeling frameworks.
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
Figure 2: The pipeline of the pure transform-based generator and discriminator of TransGAN. We take $2 5 6 \times 2 5 6$ resolution image generation task as a typical example to illustrate the main procedure. Here patch size $p$ is set to 32 as an example for the convenience of illustration, while practically the patch size is normally set to be no more than $8 \times 8$ , depending on the specific dataset. Grid Transformer Blocks refers to the transformer blocks with the proposed grid self-attention. Detailed architecture configurations are included in Appendix B.
|
| 42 |
+
|
| 43 |
+
# 3 Technical Approach: A Journey Towards GAN with Pure Transformers
|
| 44 |
+
|
| 45 |
+
In this section, we start by introducing the memory-friendly generator and multi-scale discriminator, equipped with a novel grid self-attention. We then introduce a series of training techniques to stabilize its training procedure, including data augmentation, the modified normalization, and injecting relative position encoding to self-attention.
|
| 46 |
+
|
| 47 |
+
To start with, we choose the transformer encoder [49] as our basic block and try to make minimal changes. An encoder is a composition of two parts. The first part is constructed by a multi-head self-attention module and the second part is a feed-forward MLP with GELU non-linearity. The normalization layer is applied before both of the two parts. Both parts employ residual connection.
|
| 48 |
+
|
| 49 |
+
# 3.1 Memory-friendly Generator
|
| 50 |
+
|
| 51 |
+
The task of generation poses a high standard for spatial coherency in structure, color, and texture, both globally and locally. The transformer encoders take embedding token words as inputs and calculate the interaction between each token recursively. [63, 34]. The main dilemma here is: what is the right “word" for image generation tasks? If we similarly generate an image in a pixel-by-pixel manner through stacking transformer encoders, even a low-resolution image (e.g. $3 2 \times 3 2$ ) can result in an excessively long sequence (1024), causing the explosive cost of self-attention (quadratic w.r.t. the sequence length) and prohibiting the scalability to higher resolutions. To avoid this daunting cost, we are inspired by a common design philosophy in CNN-based GANs, to iteratively upscale the resolution at multiple stages [25, 16]. Our strategy is hence to increase the input sequence and reduce the embedding dimension gradually .
|
| 52 |
+
|
| 53 |
+
Figure 2 (left) illustrates a memory-friendly transformer-based generator that consists of multiple stages. Each stage stacks several transformer blocks. By stages, we gradually increase the feature map resolution until it meets the target resolution $H \times W$ . Specifically, the generator takes the random noise as its input, and passes it through a multiple-layer perceptron (MLP) to a vector of length $H _ { 0 } \times W _ { 0 } \times C$ . The vector is reshaped into a $H _ { 0 } \times W _ { 0 }$ resolution feature map (by default we use $H _ { 0 } = W _ { 0 } = 8$ ), each point a $C$ -dimensional embedding. This “feature map" is next treated as a length-64 sequence of $C$ -dimensional tokens, combined with the learnable positional encoding.
|
| 54 |
+
|
| 55 |
+
To scale up to higher-resolution images, we insert an upsampling module after each stage, consisting of a reshaping and resolution-upscaling layer. For lower-resolution stages (resolution lower than $6 4 \times 6 4 )$ ), the upsampling module firstly reshapes the 1D sequence of token embedding back to a 2D feature map $X _ { i } ~ \overset { \cdot } { \in } ~ \mathbb { R } ^ { \cup _ { i } \times W _ { i } \times C }$ and then adopts the bicubic layer to upsample its resolution while the embedded dimension is kept unchanged, resulting in the output $\boldsymbol { X } _ { i } ^ { ' } \in \mathbb { R } ^ { 2 H _ { i } \times 2 W _ { i } \times C }$ . After that, the 2D feature map $X _ { i } ^ { ' }$ is again reshaped into the 1D sequence of embedding tokens. For higher-resolution stages, we replace the bicubic upscaling layer with the pixelshuffle module, which upsamples the resolution of feature map by $2 \times$ ratio and also reduces the embedding dimension to a quarter of the input. This pyramid-structure with modified upscaling layers mitigates the memory and computation explosion. We repeat multiple stages until it reaches the target resolution $( H , W )$ , and then we will project the embedding dimension to 3 and obtain the RGB image $Y \in \mathbb { R } ^ { H \times W \times 3 }$ .
|
| 56 |
+
|
| 57 |
+
# 3.2 Multi-scale Discriminator
|
| 58 |
+
|
| 59 |
+
Unlike the generator which synthesizes precise pixels, the discriminator is tasked to distinguish between real/fake images. This allows us to treat it as a typical classifier by simply tokenizing the input image in a coarser patch-level [34], where each patch can be regarded as a “word". However, compared to image recognition tasks where classifiers focus on the semantic differences, the discriminator executes a simpler and more detail-oriented task to distinguish between synthesized and real. Therefore, the local visual cues and artifacts will have an important effect on the discriminator. Practically, we observe that the patch splitting rule plays a crucial role, where large patch size sacrifices low-level texture details, and smaller patch size results in a longer sequence that costs more memory. The above dilemma motivates our design of multi-scale discriminator below.
|
| 60 |
+
|
| 61 |
+
As shown in Figure 2 (right), a multi-scale discriminator is designed to take varying size of patches as inputs, at its different stages. We firstly split the input images $Y \in R ^ { H \times W \times 3 ^ { \bullet } }$ into three different sequences by choosing different patch sizes $( P , 2 P , 4 P )$ . The longest sequence $\textstyle \left( { \frac { H } { P } } \times { \frac { W } { P } } \right) \times 3$ is linearly transformed to $\begin{array} { r } { \left( \frac { H } { P } \times \frac { W } { P } \right) \times \frac { C } { 4 } } \end{array}$ and then combined with the learnable position encoding to serve as the input of the first stage, where $\frac { C } { 4 }$ is the embedded dimension size. Similarly, the second 4and third sequences are linearly transformed to $\begin{array} { r } { \big ( \frac { H } { 2 P } \times \frac { W } { 2 P } \big ) \times \frac { C } { 4 } } \end{array}$ and $\bigl ( { \frac { H } { 4 P } } \times { \frac { W } { 4 P } } \bigr ) \times { \frac { C } { 2 } }$ , and then separately concatenated into the second and third stages. Thus these three different sequences are able to extract both the semantic structure and texture details. Similar to the generator, we reshape the 1D-sentence to 2D feature map and adopt Average Pooling layer to downsample the feature map resolution, between each stage. By recursively forming the transformer blocks in each stage, we obtain a pyramid architecture where multi-scale representation is extracted. At the end of these blocks, a [cls] token is appended at the beginning of the 1D sequence and then taken by the classification head to output the real/fake prediction.
|
| 62 |
+
|
| 63 |
+
# 3.3 Grid Self-Attention: A Scalable Variant of Self-Attention for Image Generation
|
| 64 |
+
|
| 65 |
+
Self-attention allows the generator to capture the global correspondence, yet also impedes the efficiency when modeling long sequences/higher resolutions. That motivates many efficient selfattention designs in both language [64, 65] and vision tasks [66, 67]. To adapt self-attention for higher-resolution generative tasks, we propose a simple yet effective strategy, named Grid SelfAttention, tailored for high-resolution image generation.
|
| 66 |
+
|
| 67 |
+
As shown in Figure 3, instead of calculating the correspondence between a given token and all other tokens, the grid self-attention partitions the full-size feature map into several non-overlapped grids, and the token interactions are calculated inside each local grid. We add the grid self-attention on high-resolution stages (resolution higher than $3 2 \times 3 2$ ) while still keeping standard self-attention in low-resolution stages, shown as Figure 2, again so as to strategically balance local details and global awareness. The grid self-attention shows surprising effectiveness over other efficient self-attention forms [64, 67] in generative tasks, as compared later in Section 4.1.
|
| 68 |
+
|
| 69 |
+
One potential concern might arise with the boundary artifact between each grid. We observe that while the artifact indeed occurs at early training stages, it gradually vanishes given enough training iterations and training data, while producing nicely coherent final results. We think this is owing to the larger, multi-scale receptive field of the discriminator that requires generated image fidelity in different scales. For other cases where the large-scale training data is hard to obtain, we discuss several solutions on Sec. 4.6.
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 3: Grid Self-Attention across different transformer stages. We replace Standard Self-Attention with Grid Self-Attention when the resolution is higher than $3 2 \times 3 2$ and the grid size is set to be $1 6 \times 1 6$ by default.
|
| 73 |
+
|
| 74 |
+
# 3.4 Exploring the Training Recipe
|
| 75 |
+
|
| 76 |
+
Data Augmentation. The transformer-based architectures are known to be highly data-hungry due to removing human-designed bias. Particularly in image recognition task [34], they were inferior to CNNs until much larger external data [68] was used for pre-training. To remove this roadblock, data augmentation was revealed as a blessing in [50], which showed that different types of strong data augmentation could lead us to data-efficient training for vision transformers.
|
| 77 |
+
|
| 78 |
+
We follow a similar mindset. Traditionally, training CNN-based GANs hardly refers to data augmentation. Recently, there is an interest surge in the few-shot GAN training, aiming to match state-of-the-art GAN results with orders of magnitude fewer real images [69, 70]. Contrary to this “commonsense" in CNNs, data augmentation is found to be crucial in transformer-based architectures, even with $100 \%$ real images being utilized. We show that simply using differential augmentation [69] with three basic operators {T ranslation, Cutout, Color} leads to surprising performance improvement for TransGAN, while CNN-based GANs hardly benefit from it. We conduct a concrete study on the effectiveness of augmentation for both transformer and CNNs: see details in Section 4.2
|
| 79 |
+
|
| 80 |
+
Relative Position Encoding. While classical transformers [49, 34] used deterministic position encoding or learnable position encoding, the relative position encoding [71] gains increasing popularity [72, 28, 52, 73], by exploiting lags instead of absolute positions. Considering a single head of self-attention layer,
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
A t t e n t i o n ( Q , K , V ) = s o f t m a x ( ( \frac { Q K ^ { T } } { \sqrt { d _ { k } } } V )
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $Q , K , V \in \mathbb { R } ^ { ( H \times W ) \times C }$ represent query, key, value matrices, $H , W , C$ denotes the height, width, embedded dimension of the input feature map. The difference in coordinate between each query and key on $H$ axis lies in the range of $[ - ( H - \bar { 1 } ) , H - 1 ]$ , and similar for $W$ axis. By simultaneously considering both $H$ and $W$ axis, the relative position can be represented by a parameterized matrix $M \in \mathbb { R } ^ { ( 2 \hat { H _ { - 1 } } ) \times ( 2 W - 1 ) }$ . Per coordinate, the relative position encoding $E$ is taken from matrix $M$ and added to the attention map $Q K ^ { T }$ as a bias term, shown as following,
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
A t t e n t i o n ( Q , K , V ) = s o f t m a x ( ( ( \frac { Q K ^ { T } } { \sqrt { d _ { k } } } + E ) V )
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
Compared to its absolute counterpart, relative position encoding learns a stronger “relationship" between local contents, bringing important performance gains in large-scale cases and enjoying widespread use ever since. We also observe it to consistently improve TransGAN, especially on higher-resolution datasets. We hence apply it on top of the learnable absolute positional encoding for both the generator and discriminator.
|
| 93 |
+
|
| 94 |
+
Modified Normalization. Normalization layers are known to help stabilize the deep learning training of deep neural networks, sometimes remarkably. While both the original transformer [49] and its variants [52, 54] by default use the layer normalization, we follow previous works [75, 16] and replace it with a token-wise scaling layer to prevent the magnitudes in transformer blocks from being too high, describe as $\begin{array} { r } { Y = X / \sqrt { \frac { 1 } { C } \sum _ { i = 0 } ^ { C - 1 } ( X ^ { i } ) ^ { 2 } + \epsilon } } \end{array}$ , where $\epsilon = 1 e - 8$ by default, $X$ and $Y$ denote the token before and after scaling layer, $C$ represents the embedded dimension. Note that our modified normalization resembles local response normalization that was once used in AlexNet [75]. Unlike other “modern" normalization layers [76, 77, 78] that need affine parameters for both mean and variances, we find that a simple re-scaling without learnable parameters suffices to stabilize TransGAN training – in fact, it makes TransGAN train better and improves the FID.
|
| 95 |
+
|
| 96 |
+
Table 1: Unconditional image generation results on CIFAR-10, STl-10, and CelebA $( 1 2 8 \times 1 2 8 )$ dataset. We train the models with their official code if the results are unavailable, denoted as “\*”, others are all reported from references.
|
| 97 |
+
|
| 98 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="2">CIFAR-10</td><td colspan="2">STL-10</td><td>CelebA</td></tr><tr><td>IS↑</td><td>FID↓</td><td>IS↑</td><td>FID↓</td><td>FID↓</td></tr><tr><td>WGAN-GP [1]</td><td>6.49 ± 0.09</td><td>39.68</td><td>1</td><td>=</td><td></td></tr><tr><td>SN-GAN [48]</td><td>8.22 ± 0.05</td><td></td><td>9.16 ± 0.12</td><td>40.1</td><td></td></tr><tr><td>AutoGAN[18]</td><td>8.55 ±0.10</td><td>12.42</td><td>9.16 ± 0.12</td><td>31.01</td><td></td></tr><tr><td>AdversarialNAS-GAN[18]</td><td>8.74 ±0.07</td><td>10.87</td><td>9.63 ± 0.19</td><td>26.98</td><td>=</td></tr><tr><td>Progressive-GAN[16]</td><td>8.80 ± 0.05</td><td>15.52</td><td>=</td><td></td><td>7.30</td></tr><tr><td>COCO-GAN [74]</td><td></td><td>-</td><td>=</td><td>-</td><td>5.74</td></tr><tr><td>StyleGAN-V2 [69]</td><td>9.18</td><td>11.07</td><td>10.21* ± 0.14</td><td>20.84*</td><td>5.59*</td></tr><tr><td>StyleGAN-V2 + DiffAug. [69]</td><td>9.40</td><td>9.89</td><td>10.31*± 0.12</td><td>19.15*</td><td>5.40*</td></tr><tr><td>TransGAN</td><td>9.02 ± 0.12</td><td>9.26</td><td>10.43 ± 0.16</td><td>18.28</td><td>5.28</td></tr></table>
|
| 99 |
+
|
| 100 |
+
# 4 Experiments
|
| 101 |
+
|
| 102 |
+
Datasets We start by evaluating our methods on three common testbeds: CIFAR-10 [79], STL10 [80], and CelebA [81] dataset. The CIFAR-10 dataset consists of $6 0 \mathbf { k } \ 3 2 \times 3 2$ images, with $5 0 \mathrm { k }$ training and $1 0 \mathrm { k }$ testing images, respectively. We follow the standard setting to use the $5 0 \mathrm { k }$ training images without labels. For the STL-10 dataset, we use both the 5k training images and $1 0 0 \mathrm { k }$ unlabeled images, and all are resized to $4 8 \times 4 8$ resolution. For the CelebA dataset, we use $2 0 0 \mathrm { k }$ unlabeled face images (aligned and cropped version), with each image at $1 2 8 \times 1 2 8$ resolution. We further consider the CelebA-HQ and LSUN Church datasets to scale up TransGAN to higher resolution image generation tasks. We use $3 0 \mathrm { k }$ images for CelebA-HQ [16] dataset and $1 2 5 \mathrm { k }$ images for LSUN Church dataset [82], all at $2 5 6 \times 2 5 6$ resolution.
|
| 103 |
+
|
| 104 |
+
Implementation We follow the setting of WGAN [46], and use the WGAN-GP loss [1]. We adopt a learning rate of $1 e - 4$ for both generator and discriminator, an Adam optimizer with $\beta _ { 1 } = 0$ and $\beta _ { 2 } = 0 . 9 9$ , exponential moving average weights for generator, and a batch size of 128 for generator and 64 for discriminator, for all experiments. We choose DiffAug. [69] as basic augmentation strategy during the training process if not specially mentioned, and apply it to our competitors for a fair comparison. Other popular augmentation strategies ([70, 10]) are not discussed here since it is beyond the scope of this work. We use common evaluation metrics Inception Score (IS) [15] and Frechet Inception Distance (FID) [83], both are measured by 50K samples with their official Tensorflow implementations 12. All experiments are set with 16 V100 GPUs, using PyTorch 1.7.0. We include detailed training cost for each dataset in Appendix D. We focus on the unconditional image generation setting for simplicity.
|
| 105 |
+
|
| 106 |
+
# 4.1 Comparison with State-of-the-art GANs
|
| 107 |
+
|
| 108 |
+
CIFAR-10. We compare TransGAN with recently published results by unconditional CNN-based GANs on the CIFAR-10 dataset, shown in Table 1. Note that some promising conditional GANs [21, 8] are not included, due to the different settings. As shown in Table 1, TransGAN surpasses the strong model of Progressive GAN [16], and many other latest competitors such as SN-GAN [48], AutoGAN [18], and AdversarialNAS-GAN [19], in terms of inception score (IS). It is only next to the huge and heavily engineered StyleGAN-v2 [40]. Once we look at the FID results, TransGAN is even found to outperform StyleGAN-v2 [40] with both applied the same data augmentation [69].
|
| 109 |
+
|
| 110 |
+
STL-10. We then apply TransGAN on another popular benchmark STL-10, which is larger in scale (105k) and higher in resolution (48x48). We compare TransGAN with both the automatic searched and hand-crafted CNN-based GANs, shown in Table 1. Different from the results on CIFAR-10, we find that TransGAN outperforms all current CNN-based GAN models, and sets new state-of-the-art results in terms of both IS and FID score. This is thanks to the fact that the STL-10 dataset size is $2 \times$ larger than CIFAR-10, suggesting that transformer-based architectures benefit much more notably from larger-scale data than CNNs.
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 4: Representative visual results produced by TransGAN on different datasets, as resolution grows from $3 2 \times 3 2$ to $2 5 6 \times 2 5 6$ . More visual examples are included in Appendix F.
|
| 114 |
+
|
| 115 |
+
Table 2: The effectiveness of Data Augmentation on both CNN-based GANs and TransGAN. We use the full CIFAR-10 training set and DiffAug [69].
|
| 116 |
+
|
| 117 |
+
<table><tr><td rowspan="2">Methods</td><td colspan="2">WGAN-GP</td><td colspan="2">AutoGAN</td><td colspan="2">StyleGAN-V2</td><td colspan="2">TransGAN</td></tr><tr><td>IS个</td><td>FID←</td><td>IS个</td><td>FID←</td><td>IS个</td><td>FID←</td><td>IS个</td><td>FID↓</td></tr><tr><td>Original</td><td>6.49</td><td>39.68</td><td>8.55</td><td>12.42</td><td>9.18</td><td>11.07</td><td>8.36</td><td>22.53</td></tr><tr><td>+ DiffAug [69]</td><td>6.29</td><td>37.14</td><td>8.60</td><td>12.72</td><td>9.40</td><td>9.89</td><td>9.02</td><td>9.26</td></tr></table>
|
| 118 |
+
|
| 119 |
+
Table 3: The ablation study of proposed techniques in three common dataset CelebA $( 6 4 \times 6 4 )$ , CelebA $( 1 2 8 \times 1 2 8$ , and LSUN Church $( 2 5 6 \times 2 5 6 )$ ). “OOM” represents out-of-momery issue.
|
| 120 |
+
|
| 121 |
+
<table><tr><td>Training Configuration</td><td>CelebA (64x64)</td><td>CelebA (128x128)</td><td>LSUN Church (256x256)</td></tr><tr><td>(A). Standard Self-Attention</td><td>8.92</td><td>00M</td><td>0OM</td></tr><tr><td>(B). Nystrom Self-Attention [64]</td><td>13.47</td><td>17.42</td><td>39.92</td></tr><tr><td>(C). Axis Self-Attention [67]</td><td>12.39</td><td>13.95</td><td>29.30</td></tr><tr><td>(D). Grid Self-Attention</td><td>9.89</td><td>10.58</td><td>20.39</td></tr><tr><td>+Multi-scale Discriminator</td><td>9.28</td><td>8.03</td><td>15.29</td></tr><tr><td>+Modified Normalization</td><td>7.05</td><td>7.13</td><td>13.27</td></tr><tr><td>+Relative Position Encoding</td><td>6.14</td><td>6.32</td><td>11.93</td></tr><tr><td>(E). Converge</td><td>5.01</td><td>5.28</td><td>8.94</td></tr></table>
|
| 122 |
+
|
| 123 |
+
CelebA (128x128). We continue to examine another common benchmark: CelebA dataset $( 1 2 8 \times 1 2 8$ resolution). As shown in Table 1, TransGAN largely outperforms Progressive-GAN [16] and COCOGAN [74], and is slightly better than the strongest competitor StyleGAN-v2 [40], by reaching a FID score of 5.28. Visual examples generated on CIFAR-10, STL-10, and CelebA $( 1 2 8 \times 1 2 8 )$ are shown in Figure 4, from which we observe pleasing visual details and diversity.
|
| 124 |
+
|
| 125 |
+
# 4.2 Scaling Up to Higher-Resolution
|
| 126 |
+
|
| 127 |
+
We further scale up TransGAN to higher-resolution $( 2 5 6 \times 2 5 6 )$ generation, including on CelebAHQ [16] and LSUN Church [82]. These high-resolution datasets are significantly more challenging due to their much richer and detailed low-level texture as well as the global composition. Thanks to the proposed multi-scale discriminator, TransGAN produces pleasing visual results, reaching competitive quantitative results with 10.28 FID on CelebA-HQ $2 5 6 \times 2 5 6$ and $8 . 9 4 \mathrm { F I D }$ on LSUN Church dataset, respectively. As shown in Figure 4, diverse examples with rich textures details are produced. We discuss the memory cost reduction brought by the Grid Self-Attention in Appendix E.
|
| 128 |
+
|
| 129 |
+
# 4.3 Data Augmentation is Crucial for TransGAN
|
| 130 |
+
|
| 131 |
+
We study the effectiveness of data augmentation for both CNN-based GANs and Our TransGAN. We apply the differentiable augmentation [69] to all these methods. As shown in Table 2, for three CNN-based GANs, the performance gains of data augmentation seems to diminish in the full-data regime. Only the largest model, StyleGAN-V2, is improved on both IS and FID. In sharp contrast, TransGAN sees a shockingly large margin of improvement: IS improving from 8.36 to 9.02 and FID improving from 22.53 to 9.26. This phenomenon suggests that CIFAR-10 is still “small-scale " when fitting transformers; it re-confirms our assumption that transformer-based architectures are much more data-hungry than CNNs, and that can be helped by stronger data augmentation.
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
Figure 5: Left: training dynamic with training epochs for both TransGAN and MSG-GAN on CelebA-HQ $( 2 5 6 \times 2 5 6 )$ . Right: Interpolation on latent space produced by TransGAN.
|
| 135 |
+
|
| 136 |
+
# 4.4 Ablation Study
|
| 137 |
+
|
| 138 |
+
To further evaluate the proposed grid self-attention, multi-scale discriminator, and unique training recipe, we conduct the ablation study by separately adding these techniques to the baseline method and report their FID score on different datasets. Due to the fact that most of our contributions are tailored for the challenges brought by higher-resolution tasks, we choose CelebA and LSUN Church as the main testbeds, with details shown in Table 3. We start by constructing our memory-friendly with vanilla discriminator as our baseline method (A), both applied with standard self-attention. The baseline method achieves relatively good results with 8.92 FID on CelebA $( 6 4 \times 6 4 )$ dataset, however, it fail on higher-resolution tasks due to the memory explosion issue brought by self-attention. This motivates us to evaluate two efficient form of self-attention, (B) Nyström Self-Attention [64] and (C) Axis Self-Attention [67]
|
| 139 |
+
|
| 140 |
+
By replacing all self-attention layers in high-resolution stages (feature map resolution higher than $3 2 \times 3 2 )$ with these efficient variants, both two methods (B)(C) are able to produce reasonable results. However, they still show to be inferior to standard self-attention, even on the $6 4 \times 6 4$ resolution dataset. By adopting our proposed Grid Self-Attention (D), we observe a significant improvement on both three datasets, reaching 9.89, 10.58, 20.39 FID on CelebA $6 4 \times 6 4$ , $1 2 8 \times 1 2 8$ and LSUN Church $2 5 6 \times 2 5 6$ , respectively. Based on the configuration (D), we continue to add the proposed techniques, including the multi-scale discriminator, modified normalization, and relative position encoding. All these three techniques significantly improve the performance of TransGAN on three datasets. At the end, we train our final configuration (E) until it converges, resulting in the best FID on CelebA $6 4 \times 6 4$ (5.01), CelebA $1 2 8 \times 1 2 8$ (5.28), and LSUN Church $2 5 6 \times 2 5 6$ (8.94).
|
| 141 |
+
|
| 142 |
+
# 4.5 Understanding Transformer-based Generative Model
|
| 143 |
+
|
| 144 |
+
We dive deep into our transformer-based GAN by conducting interpolation on latent space and comparing its behavior with CNN-based GAN, through visualizing their training dynamics. We choose MSG-GAN [84] for comparison since it extracts multi-scale representation as well. As shown in Figure 5, the CNN-based GAN quickly extracts face representation in the early stage of training process while transformer only produces rough pixels with no meaningful global shape due to missing any inductive bias. However, given enough training iterations, TransGAN gradually learns informative position representation and is able to produce impressive visual examples at convergence. Meanwhile, the boundary artifact also vanishes at the end. For the latent space interpolation, TransGAN continues to show encouraging results where smooth interpolation are maintained on both local and global levels. More high-resolution visual examples will be presented in Appendix F.
|
| 145 |
+
|
| 146 |
+
# 4.6 Analyzing the Failure Cases and Improving High-resolution Tasks
|
| 147 |
+
|
| 148 |
+
While TransGAN shows competitive or even better results on common low-resolution benchmarks, we still see large improvement room of its performance on high-resolution synthesis tasks, by analyzing the failure cases shown in appendix C. Here we discuss several alternatives tailored for high-resolution synthesis tasks, as potential remedies to address these failure cases. Specifically, we apply the self-modulation [85, 22, 35] to our generator and use cross-attention [53, 86] to map the latent space to the global region. Besides, we replace the current $2 \times$ upsampling layer, and instead firstly upsample it to $4 \times$ lager resolution using bicubic interpolation, and then downsample it back to $2 \times$ larger one. This simple modification not only helps the cross-boundary information interaction, but also help enhances the high-frequency details [87]. Moreover, an overlapped patch splitting strategy for discriminator can slightly improve the FID score. Additionally, we follow the previous work [22, 40] to conduct noise injection before the self-attention layer, which is found to further improve the generation fidelity and diversity of TransGAN. By applying these techniques to our high-resolution GAN frameworks, we observe additional improvement on both qualitative and quantitative results, e.g., the FID score on CelebA $2 5 6 \times 2 5 6$ dataset is further improved from 10.26 to 8.93.
|
| 149 |
+
|
| 150 |
+
# 5 Conclusions, Limitation, and Discussions of Broad Impact
|
| 151 |
+
|
| 152 |
+
In this work, we provide the first pilot study of building GAN with pure transformers. We have carefully crafted the architectures and thoughtfully designed training techniques. As a result, the proposed TransGAN has achieved state-of-the-art performance across multiple popular datasets, and easily scales up to higher-resolution generative tasks. Although TransGAN provides an encouraging starting point, there is still a large room to explore further, such as achieving state-of-the-art results on $2 5 6 \times 2 5 6$ generation tasks or going towards extremely high resolution generation tasks (e.g., $1 0 2 4 \times 1 0 2 4 ,$ ), which would be our future directions.
|
| 153 |
+
|
| 154 |
+
Broader Impact. The proposed generative model can serve as a data engine to alleviate the challenge of data collection. More importantly, using synthesized image examples helps avoid privacy concerns. However, the abuse of advanced generative models may create fake media materials, which demands caution in the future.
|
| 155 |
+
|
| 156 |
+
# Acknowledgements
|
| 157 |
+
|
| 158 |
+
We would like to express our deepest gratitude to the MIT-IBM Watson AI Lab, in particular John Cohn for generously providing us with the computing resources necessary to conduct this research. Z Wang’s work is in part supported by an IBM Faculty Research Award, and the NSF AI Institute for Foundations of Machine Learning (IFML).
|
| 159 |
+
|
| 160 |
+
# References
|
| 161 |
+
|
| 162 |
+
[1] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In Advances in neural information processing systems, pages 5767–5777, 2017.
|
| 163 |
+
[2] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale gan training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018.
|
| 164 |
+
[3] Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1125–1134, 2017.
|
| 165 |
+
[4] Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2223–2232, 2017.
|
| 166 |
+
[5] Jun-Yan Zhu, Richard Zhang, Deepak Pathak, Trevor Darrell, Alexei A Efros, Oliver Wang, and Eli Shechtman. Toward multimodal image-to-image translation. In Advances in neural information processing systems, pages 465–476, 2017.
|
| 167 |
+
[6] Shuai Yang, Zhangyang Wang, Zhaowen Wang, Ning Xu, Jiaying Liu, and Zongming Guo. Controllable artistic text style transfer via shape-matching gan. In Proceedings of the IEEE International Conference on Computer Vision, pages 4442–4451, 2019.
|
| 168 |
+
[7] Yifan Jiang, Xinyu Gong, Ding Liu, Yu Cheng, Chen Fang, Xiaohui Shen, Jianchao Yang, Pan Zhou, and Zhangyang Wang. Enlightengan: Deep light enhancement without paired supervision. IEEE Transactions on Image Processing, 30:2340–2349, 2021.
|
| 169 |
+
[8] Karol Kurach, Mario Luciˇ c, Xiaohua Zhai, Marcin Michalski, and Sylvain Gelly. A large-scale study ´ on regularization and normalization in gans. In International Conference on Machine Learning, pages 3581–3590. PMLR, 2019.
|
| 170 |
+
[9] Kevin Roth, Aurelien Lucchi, Sebastian Nowozin, and Thomas Hofmann. Stabilizing training of generative adversarial networks through regularization. In Advances in neural information processing systems, pages 2018–2028, 2017.
|
| 171 |
+
[10] Han Zhang, Zizhao Zhang, Augustus Odena, and Honglak Lee. Consistency regularization for generative adversarial networks. arXiv preprint arXiv:1910.12027, 2019.
|
| 172 |
+
[11] Lars Mescheder, Andreas Geiger, and Sebastian Nowozin. Which training methods for gans do actually converge? arXiv preprint arXiv:1801.04406, 2018.
|
| 173 |
+
[12] Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2794–2802, 2017.
|
| 174 |
+
[13] Alexia Jolicoeur-Martineau. The relativistic discriminator: a key element missing from standard gan. arXiv preprint arXiv:1807.00734, 2018.
|
| 175 |
+
[14] Chun-Liang Li, Wei-Cheng Chang, Yu Cheng, Yiming Yang, and Barnabás Póczos. Mmd gan: Towards deeper understanding of moment matching network. In Advances in neural information processing systems, pages 2203–2213, 2017.
|
| 176 |
+
[15] Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. arXiv preprint arXiv:1606.03498, 2016.
|
| 177 |
+
[16] Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. arXiv preprint arXiv:1710.10196, 2017.
|
| 178 |
+
[17] Mario Lucic, Karol Kurach, Marcin Michalski, Olivier Bousquet, and Sylvain Gelly. Are gans created equal? a large-scale study. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pages 698–707, 2018.
|
| 179 |
+
[18] Xinyu Gong, Shiyu Chang, Yifan Jiang, and Zhangyang Wang. Autogan: Neural architecture search for generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, pages 3224–3234, 2019.
|
| 180 |
+
[19] Chen Gao, Yunpeng Chen, Si Liu, Zhenxiong Tan, and Shuicheng Yan. Adversarialnas: Adversarial neural architecture search for gans. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5680–5689, 2020.
|
| 181 |
+
[20] Yuan Tian, Qin Wang, Zhiwu Huang, Wen Li, Dengxin Dai, Minghao Yang, Jun Wang, and Olga Fink. Offpolicy reinforcement learning for efficient and effective gan architecture search. In European Conference on Computer Vision, pages 175–192. Springer, 2020.
|
| 182 |
+
[21] Han Zhang, Ian Goodfellow, Dimitris Metaxas, and Augustus Odena. Self-attention generative adversarial networks. In International conference on machine learning, pages 7354–7363. PMLR, 2019.
|
| 183 |
+
[22] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4401–4410, 2019.
|
| 184 |
+
[23] Patrick Esser, Robin Rombach, and Björn Ommer. Taming transformers for high-resolution image synthesis. arXiv preprint arXiv:2012.09841, 2020.
|
| 185 |
+
[24] Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. arXiv preprint arXiv:1406.2661, 2014.
|
| 186 |
+
[25] Emily Denton, Soumith Chintala, Arthur Szlam, and Rob Fergus. Deep generative image models using a laplacian pyramid of adversarial networks. arXiv preprint arXiv:1506.05751, 2015.
|
| 187 |
+
[26] Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015.
|
| 188 |
+
[27] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018.
|
| 189 |
+
[28] Han Hu, Zheng Zhang, Zhenda Xie, and Stephen Lin. Local relation networks for image recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3464–3473, 2019.
|
| 190 |
+
[29] Yu-Syuan Xu, Shou-Yao Roy Tseng, Yu Tseng, Hsien-Kai Kuo, and Yi-Min Tsai. Unified dynamic convolutional network for super-resolution with variational degradations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12496–12505, 2020.
|
| 191 |
+
[30] David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. arXiv preprint arXiv:1609.09106, 2016.
|
| 192 |
+
[31] Ben Mildenhall, Jonathan T Barron, Jiawen Chen, Dillon Sharlet, Ren Ng, and Robert Carroll. Burst denoising with kernel prediction networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2502–2510, 2018.
|
| 193 |
+
[32] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. arXiv preprint arXiv:2005.12872, 2020.
|
| 194 |
+
[33] Yanhong Zeng, Jianlong Fu, and Hongyang Chao. Learning joint spatial-temporal transformations for video inpainting. In ECCV. Springer, 2020.
|
| 195 |
+
[34] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
|
| 196 |
+
[35] Drew A Hudson and C Lawrence Zitnick. Generative adversarial transformers. arXiv preprint arXiv:2103.01209, 2021.
|
| 197 |
+
[36] Fuzhi Yang, Huan Yang, Jianlong Fu, Hongtao Lu, and Baining Guo. Learning texture transformer network for image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5791–5800, 2020.
|
| 198 |
+
[37] Hanting Chen, Yunhe Wang, Tianyu Guo, Chang Xu, Yiping Deng, Zhenhua Liu, Siwei Ma, Chunjing Xu, Chao Xu, and Wen Gao. Pre-trained image processing transformer. arXiv preprint arXiv:2012.00364, 2020.
|
| 199 |
+
[38] Jie Gui, Zhenan Sun, Yonggang Wen, Dacheng Tao, and Jieping Ye. A review on generative adversarial networks: Algorithms, theory, and applications. arXiv preprint arXiv:2001.06937, 2020.
|
| 200 |
+
[39] Edgar Schonfeld, Bernt Schiele, and Anna Khoreva. A u-net based discriminator for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8207–8216, 2020.
|
| 201 |
+
[40] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8110–8119, 2020.
|
| 202 |
+
[41] Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-in-one gan compression by a unified optimization framework. In European Conference on Computer Vision, pages 54–73. Springer, 2020.
|
| 203 |
+
[42] Christian Ledig, Lucas Theis, Ferenc Huszár, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photo-realistic single image superresolution using a generative adversarial network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4681–4690, 2017.
|
| 204 |
+
[43] Orest Kupyn, Tetiana Martyniuk, Junru Wu, and Zhangyang Wang. Deblurgan-v2: Deblurring (ordersof-magnitude) faster and better. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 8878–8887, 2019.
|
| 205 |
+
[44] Xi Ouyang, Yu Cheng, Yifan Jiang, Chun-Liang Li, and Pan Zhou. Pedestrian-synthesis-gan: Generating pedestrian data in real scene and beyond. arXiv preprint arXiv:1804.02047, 2018.
|
| 206 |
+
[45] Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. Generative image inpainting with contextual attention. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5505–5514, 2018.
|
| 207 |
+
[46] Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017.
|
| 208 |
+
[47] Tianlong Chen, Yu Cheng, Zhe Gan, Jingjing Liu, and Zhangyang Wang. Ultra-data-efficient gan training: Drawing a lottery ticket first, then training it toughly. arXiv preprint arXiv:2103.00397, 2021.
|
| 209 |
+
[48] Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. arXiv preprint arXiv:1802.05957, 2018.
|
| 210 |
+
[49] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pages 5998–6008, 2017.
|
| 211 |
+
[50] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
|
| 212 |
+
[51] Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou. Going deeper with image transformers. arXiv preprint arXiv:2103.17239, 2021.
|
| 213 |
+
[52] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021.
|
| 214 |
+
[53] Chun-Fu Chen, Quanfu Fan, and Rameswar Panda. Crossvit: Cross-attention multi-scale vision transformer for image classification. arXiv preprint arXiv:2103.14899, 2021.
|
| 215 |
+
[54] Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multiscale vision longformer: A new vision transformer for high-resolution image encoding. arXiv preprint arXiv:2103.15358, 2021.
|
| 216 |
+
[55] Changlin Li, Tao Tang, Guangrun Wang, Jiefeng Peng, Bing Wang, Xiaodan Liang, and Xiaojun Chang. Bossnas: Exploring hybrid cnn-transformers with block-wisely self-supervised neural architecture search. arXiv preprint arXiv:2103.12424, 2021.
|
| 217 |
+
[56] Yutong Xie, Jianpeng Zhang, Chunhua Shen, and Yong Xia. Cotr: Efficiently bridging cnn and transformer for 3d medical image segmentation. arXiv preprint arXiv:2103.03024, 2021.
|
| 218 |
+
[57] Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip Torr, and Vladlen Koltun. Point transformer. arXiv preprint arXiv:2012.09164, 2020.
|
| 219 |
+
[58] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020.
|
| 220 |
+
[59] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020.
|
| 221 |
+
[60] Kai Han, Yunhe Wang, Hanting Chen, Xinghao Chen, Jianyuan Guo, Zhenhua Liu, Yehui Tang, An Xiao, Chunjing Xu, Yixing Xu, et al. A survey on visual transformer. arXiv preprint arXiv:2012.12556, 2020.
|
| 222 |
+
[61] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, pages 4055–4064. PMLR, 2018.
|
| 223 |
+
[62] Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509, 2019.
|
| 224 |
+
[63] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 225 |
+
[64] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li, and Vikas Singh. Nystromformer: A nystrom-based algorithm for approximating self-attention. arXiv preprint arXiv:2102.03902, 2021.
|
| 226 |
+
[65] Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020.
|
| 227 |
+
[66] Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? arXiv preprint arXiv:2102.05095, 2021.
|
| 228 |
+
[67] Manoj Kumar, Dirk Weissenborn, and Nal Kalchbrenner. Colorization transformer. arXiv preprint arXiv:2102.04432, 2021.
|
| 229 |
+
[68] Chen Sun, Abhinav Shrivastava, Saurabh Singh, and Abhinav Gupta. Revisiting unreasonable effectiveness of data in deep learning era. In Proceedings of the IEEE international conference on computer vision, pages 843–852, 2017.
|
| 230 |
+
[69] Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for dataefficient gan training. arXiv preprint arXiv:2006.10738, 2020.
|
| 231 |
+
[70] Tero Karras, Miika Aittala, Janne Hellsten, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Training generative adversarial networks with limited data. arXiv preprint arXiv:2006.06676, 2020.
|
| 232 |
+
[71] Peter Shaw, Jakob Uszkoreit, and Ashish Vaswani. Self-attention with relative position representations. arXiv preprint arXiv:1803.02155, 2018.
|
| 233 |
+
[72] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683, 2019.
|
| 234 |
+
[73] Cheng-Zhi Anna Huang, Ashish Vaswani, Jakob Uszkoreit, Noam Shazeer, Curtis Hawthorne, AM Dai, MD Hoffman, and D Eck. Music transformer: Generating music with long-term structure (2018). arXiv preprint arXiv:1809.04281, 2018.
|
| 235 |
+
[74] Chieh Hubert Lin, Chia-Che Chang, Yu-Sheng Chen, Da-Cheng Juan, Wei Wei, and Hwann-Tzong Chen. Coco-gan: Generation by parts via conditional coordinating. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4512–4521, 2019.
|
| 236 |
+
[75] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097–1105, 2012.
|
| 237 |
+
[76] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 238 |
+
[77] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, pages 448–456. PMLR, 2015.
|
| 239 |
+
[78] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016.
|
| 240 |
+
[79] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
|
| 241 |
+
[80] Adam Coates, Andrew Ng, and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pages 215–223. JMLR Workshop and Conference Proceedings, 2011.
|
| 242 |
+
[81] Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), 2015.
|
| 243 |
+
[82] Fisher Yu, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, and Jianxiong Xiao. Lsun: Construction of a large-scale image dataset using deep learning with humans in the loop. arXiv preprint arXiv:1506.03365, 2015.
|
| 244 |
+
[83] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. arXiv preprint arXiv:1706.08500, 2017.
|
| 245 |
+
[84] Animesh Karnewar and Oliver Wang. Msg-gan: Multi-scale gradients for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7799– 7808, 2020.
|
| 246 |
+
[85] Ting Chen, Mario Lucic, Neil Houlsby, and Sylvain Gelly. On self modulation for generative adversarial networks. arXiv preprint arXiv:1810.01365, 2018.
|
| 247 |
+
[86] Long Zhao, Zizhao Zhang, Ting Chen, Dimitris N Metaxas, and Han Zhang. Improved transformer for high-resolution gans. arXiv preprint arXiv:2106.07631, 2021.
|
| 248 |
+
[87] Tero Karras, Miika Aittala, Samuli Laine, Erik Härkönen, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Alias-free generative adversarial networks. arXiv preprint arXiv:2106.12423, 2021.
|
parse/train/1GTpBZvNUrk/1GTpBZvNUrk_content_list.json
ADDED
|
@@ -0,0 +1,996 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
186,
|
| 8 |
+
122,
|
| 9 |
+
815,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yifan Jiang1, Shiyu Chang2,3, Zhangyang Wang1 1University of Texas at Austin 2UC Santa Barbara 3MIT-IBM Watson AI Lab {yifanjiang97,atlaswang}@utexas.edu, chang87@ucsb.edu ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
272,
|
| 19 |
+
224,
|
| 20 |
+
727,
|
| 21 |
+
284
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
306,
|
| 32 |
+
535,
|
| 33 |
+
324
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "The recent explosive interest on transformers has suggested their potential to become powerful “universal\" models for computer vision tasks, such as classification, detection, and segmentation. While those attempts mainly study the discriminative models, we explore transformers on some more notoriously difficult vision tasks, e.g., generative adversarial networks (GANs). Our goal is to conduct the first pilot study in building a GAN completely free of convolutions, using only pure transformer-based architectures. Our vanilla GAN architecture, dubbed TransGAN, consists of a memory-friendly transformer-based generator that progressively increases feature resolution, and correspondingly a multi-scale discriminator to capture simultaneously semantic contexts and low-level textures. On top of them, we introduce the new module of grid self-attention for alleviating the memory bottleneck further, in order to scale up TransGAN to high-resolution generation. We also develop a unique training recipe including a series of techniques that can mitigate the training instability issues of TransGAN, such as data augmentation, modified normalization, and relative position encoding. Our best architecture achieves highly competitive performance compared to current stateof-the-art GANs using convolutional backbones. Specifically, TransGAN sets the new state-of-the-art inception score of 10.43 and FID of 18.28 on STL-10. It also reaches the inception score of 9.02 and FID of 9.26 on CIFAR-10, and 5.28 FID on CelebA $\\mathbf { 1 2 8 \\times 1 2 8 }$ , respectively: both on par with the current best results. When it comes to higher-resolution (e.g. $\\mathbf { 2 5 6 \\times 2 5 6 } )$ ) generation tasks, such as on CelebAHQ and LSUN-Church, TransGAN continues to produce diverse visual examples with high fidelity and reasonable texture details. In addition, we dive deep into the transformer-based generation models to understand how their behaviors differ from convolutional ones, by visualizing training dynamics. The code is available at: https://github.com/VITA-Group/TransGAN. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
232,
|
| 42 |
+
340,
|
| 43 |
+
766,
|
| 44 |
+
698
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
174,
|
| 54 |
+
723,
|
| 55 |
+
310,
|
| 56 |
+
739
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Generative adversarial networks (GANs) have gained considerable success on numerous tasks [1, 2, 3, 4, 5, 6, 7]. Unfortunately, GANs suffer from the notorious training instability, and numerous efforts have been devoted to stabilizing GAN training, introducing various regularization terms [8, 9, 10, 11], better losses [1, 12, 13, 14], and training recipes [15, 16]. Among them, one important route to improving GANs examines their neural architectures. [17, 8] reported a large-scale study of GANs and observed that when serving as (generator) backbones, popular neural architectures perform comparably well across the considered datasets. Their ablation study suggested that most of the variations applied in the ResNet family resulted in very marginal improvements. Nevertheless, neural architecture search (NAS) was later introduced to GANs and suggests enhanced backbone designs are also important for improving GANs, just like for other computer vision tasks. Those works are consistently able to discover stronger GAN architectures beyond the standard ResNet topology [18, 19, 20]. Other efforts include customized modules such as self-attention [21], style-based generator [22], and autoregressive transformer-based part composition [23]. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
748,
|
| 66 |
+
825,
|
| 67 |
+
900
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "image",
|
| 73 |
+
"img_path": "images/adcb25935a6e25e1b2ab70151735aa65bcbfa9d2b385186c0dc4a0005b6915f2.jpg",
|
| 74 |
+
"image_caption": [
|
| 75 |
+
"Figure 1: Representative visual examples synthesized by TransGAN, without using convolutional layers. (a) The synthesized visual examples on CelebA-HQ $2 5 6 \\times 2 5 6 )$ dataset. (b) The linear interpolation results between two latent vectors, on CelebA-HQ ( $2 5 6 \\times 2 5 6 )$ ) dataset. "
|
| 76 |
+
],
|
| 77 |
+
"image_footnote": [],
|
| 78 |
+
"bbox": [
|
| 79 |
+
178,
|
| 80 |
+
88,
|
| 81 |
+
820,
|
| 82 |
+
265
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 1
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "",
|
| 89 |
+
"bbox": [
|
| 90 |
+
173,
|
| 91 |
+
330,
|
| 92 |
+
823,
|
| 93 |
+
359
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "However, one last “commonsense\" seems to have seldomly been challenged: using convolutional neural networks (CNNs) as GAN backbones. The original GAN [24, 25] used fully-connected networks and can only generate small images. DCGAN [26] was the first to scale up GANs using CNN architectures, which allowed for stable training for higher resolution and deeper generative models. Since then, in the computer vision domain, every successful GAN relies on CNN-based generators and discriminators. Convolutions, with the strong inductive bias for natural images, crucially contribute to the appealing visual results and rich diversity achieved by modern GANs. ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
364,
|
| 103 |
+
825,
|
| 104 |
+
462
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Can we build a strong GAN completely free of convolutions? This is a question not only arising from intellectual curiosity, but also of practical relevance. Fundamentally, a convolution operator has a local receptive field, and hence CNNs cannot process long-range dependencies unless passing through a sufficient number of layers. However, that is inefficient, and could cause the loss of feature resolution and fine details, in addition to the difficulty of optimization. Vanilla CNN-based models are therefore inherently not well suited for capturing an input image’s “global\" statistics, as demonstrated by the benefits from adopting self-attention [21] and non-local [27] operations in computer vision. Moreover, the spatial invariance possessed by convolution poses a bottleneck on its ability of adapting to spatially varying/heterogeneous visual patterns, which also motivates the success of relational network [28], dynamic filters [29, 30] and kernel prediction [31] methods. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
468,
|
| 114 |
+
825,
|
| 115 |
+
607
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "1.1 Our Contributions ",
|
| 122 |
+
"text_level": 1,
|
| 123 |
+
"bbox": [
|
| 124 |
+
176,
|
| 125 |
+
621,
|
| 126 |
+
343,
|
| 127 |
+
636
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "This paper aims to be the first pilot study to build a GAN completely free of convolutions, using only pure transformer-based architectures. We are inspired by the recent success of transformer architectures in computer vision [32, 33, 34]. Compared to parallel generative modeling works [21, 23, 35] that applied self-attention or transformer encoder in conjunction with CNN-based backbones, our goal is more ambitious and faces several daunting gaps ahead. First and foremost, although a pure transformer architecture applied directly to sequences of image patches can perform very well on image classification tasks [34], it is unclear whether the same way remains effective in generating images, which crucially demands the spatial coherency in structure, color, and texture, as well as the richness of fine details. The handful of existing transformers that output images have unanimously leveraged convolutional part encoders [23] or feature extractors [36, 37]. Moreover, even given well-designed CNN-based architectures, training GANs is notoriously unstable and prone to mode collapse [15]. Training vision transformers are also known to be tedious, heavy, and data-hungry [34]. Combining the two will undoubtedly amplify the challenges of training. ",
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
642,
|
| 137 |
+
825,
|
| 138 |
+
821
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "In view of those challenges, this paper presents a coherent set of efforts and innovations towards building the pure transformer-based GAN architectures, dubbed TransGAN. A naive option may directly stack multiple transformer blocks from raw pixel inputs, but that would scale poorly due to memory explosion. Instead, we start with a memory-friendly transformer-based generator by gradually increasing the feature map resolution in each stage. Correspondingly, we also improve the discriminator with a multi-scale structure that takes patches of varied size as inputs, which balances between capturing global contexts and local details, in addition to enhancing memory efficiency more. Based on the above generator-discriminator design, we introduce a new module called grid self-attention, that alleviates the memory bottleneck further when scaling up TransGAN to high-resolution generation (e.g. $2 5 6 \\times 2 5 6$ ). ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
828,
|
| 148 |
+
823,
|
| 149 |
+
911
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
90,
|
| 159 |
+
825,
|
| 160 |
+
147
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 2
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "To address the aforementioned instability issue brought by both GAN and Transformer, we also develop a unique training recipe in association with our innovative TransGAN architecture, that effectively stabilizes its optimization and generalization. That includes showings the necessity of data augmentation, modifying layer normalization, and replacing absolute token locations with relative position encoding. Our contributions are outlined below: ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
154,
|
| 170 |
+
825,
|
| 171 |
+
222
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "• Novel Architecture Design: We build the first GAN using purely transformers and no convolution. TransGAN has customized a memory-friendly generator and a multi-scale discriminator, and is further equipped with a new grid self-attention mechanism. Those architectural components are thoughtfully designed to balance memory efficiency, global feature statistics, and local fine details with spatial variances. \n• New Training Recipe: We study a number of techniques to train TransGAN better, including leveraging data augmentation, modifying layer normalization, and adopting relative position encoding, for both generator and discriminator. Extensive ablation studies, discussions, and insights are presented. \nPerformance and Scalability: TransGAN achieves highly competitive performance compared to current state-of-the-art GANs. Specifically, it sets the new state-of-the-art inception score of 10.43 and FID score of 18.28 on STL-10. It also reaches competitive 9.02 inception score and 9.26 FID on CIFAR-10, and 5.28 FID score on CelebA $1 2 8 \\times 1 2 8$ , respectively. Meanwhile, we also evaluate TransGAN on higher-resolution (e.g., $2 5 6 \\times 2 5 6 )$ generation tasks, where TransGAN continues to yield diverse and impressive visual examples. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
217,
|
| 180 |
+
229,
|
| 181 |
+
825,
|
| 182 |
+
443
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "2 Related Works ",
|
| 189 |
+
"text_level": 1,
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
457,
|
| 193 |
+
330,
|
| 194 |
+
474
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Generative Adversarial Networks. After its origin, GANs quickly embraced fully convolutional backbones [26], and inherited most successful designs from CNNs such as batch normalization, pooling, (Leaky) ReLU and more [38, 39, 40, 18]. GANs are widely adopted in image translation [3, 4, 41], image enhancement [7, 42, 43], and image editing [44, 45]. To alleviate its unstable training, a number of techniques have been studied, including the Wasserstein loss [46], the stylebased generator [22], progressive training [16], lottery ticket [47], and spectral normalization [48]. ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
174,
|
| 203 |
+
483,
|
| 204 |
+
825,
|
| 205 |
+
568
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Transformers in Computer Vision. The original transformer was built for NLP [49], where the multi-head self-attention and feed-forward MLP layer are stacked to capture the long-term correlation between words. A recent work [34] implements highly competitive ImageNet classification using pure transformers, by treating an image as a sequence of $1 6 \\times 1 6$ visual words. It has strong representation capability and is free of human-defined inductive bias. In comparison, CNNs exhibit a strong bias towards feature locality, as well as spatial invariance due to sharing filter weights across all locations. However, the success of original vision transformer relies on pretraining on large-scale external data. [50, 51] improve the data efficiency and address the difficulty of optimizing deeper models. Other works introduce the pyramid/hierarchical structure to transformer [52, 53, 54] or combine it with convolutional layers [55, 56]. Besides image classification task, transformer and its variants are also explored on image processing [37], point cloud [57], semantic segmentation [58], object detection [32, 59] and so on. A comprehensive review is referred to [60]. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
573,
|
| 215 |
+
825,
|
| 216 |
+
738
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "Transformer Modules for Image Generation. There exist several related works combining the transformer modules into image generation models, by replacing certain components of CNNs. [61] firstly formulated image generation as autoregressive sequence generation, for which they adopted a transformer architecture. [62] propose sparse factorization of the attention matrix to reduce its complexity. While those two works did not tackle the GANs, one recent (concurrent) work [23] used a convolutional GAN to learn a codebook of context-rich visual parts, whose composition is subsequently modeled with an autoregressive transformer architecture.The authors demonstrated success in synthesizing high-resolution images. However, the overall CNN architecture remains in place (including CNN encoder/decoder for the generators, and a fully CNN-based discriminator), and the customized designs (e.g, codebook and quantization) also limit their model’s versatility. Another concurrent work [35] employs a bipartite self-attention on StyleGAN and thus it can propagate latent variables to the evolving visual features, yet its main structure is still convolutional, including both the generator and discriminator. To our best knowledge, no other existing work has tried to completely remove convolutions from their generative modeling frameworks. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
746,
|
| 226 |
+
825,
|
| 227 |
+
911
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "image",
|
| 233 |
+
"img_path": "images/e89dc9eb445115b78109b53440aa8db8c120d23b4e23956ef5aedc971cd11810.jpg",
|
| 234 |
+
"image_caption": [
|
| 235 |
+
"Figure 2: The pipeline of the pure transform-based generator and discriminator of TransGAN. We take $2 5 6 \\times 2 5 6$ resolution image generation task as a typical example to illustrate the main procedure. Here patch size $p$ is set to 32 as an example for the convenience of illustration, while practically the patch size is normally set to be no more than $8 \\times 8$ , depending on the specific dataset. Grid Transformer Blocks refers to the transformer blocks with the proposed grid self-attention. Detailed architecture configurations are included in Appendix B. "
|
| 236 |
+
],
|
| 237 |
+
"image_footnote": [],
|
| 238 |
+
"bbox": [
|
| 239 |
+
186,
|
| 240 |
+
90,
|
| 241 |
+
816,
|
| 242 |
+
429
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 3
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "",
|
| 249 |
+
"bbox": [
|
| 250 |
+
174,
|
| 251 |
+
525,
|
| 252 |
+
820,
|
| 253 |
+
553
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 3
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "3 Technical Approach: A Journey Towards GAN with Pure Transformers ",
|
| 260 |
+
"text_level": 1,
|
| 261 |
+
"bbox": [
|
| 262 |
+
173,
|
| 263 |
+
565,
|
| 264 |
+
803,
|
| 265 |
+
583
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 3
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "In this section, we start by introducing the memory-friendly generator and multi-scale discriminator, equipped with a novel grid self-attention. We then introduce a series of training techniques to stabilize its training procedure, including data augmentation, the modified normalization, and injecting relative position encoding to self-attention. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
174,
|
| 274 |
+
592,
|
| 275 |
+
825,
|
| 276 |
+
646
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 3
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "To start with, we choose the transformer encoder [49] as our basic block and try to make minimal changes. An encoder is a composition of two parts. The first part is constructed by a multi-head self-attention module and the second part is a feed-forward MLP with GELU non-linearity. The normalization layer is applied before both of the two parts. Both parts employ residual connection. ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
174,
|
| 285 |
+
654,
|
| 286 |
+
825,
|
| 287 |
+
709
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 3
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "3.1 Memory-friendly Generator ",
|
| 294 |
+
"text_level": 1,
|
| 295 |
+
"bbox": [
|
| 296 |
+
174,
|
| 297 |
+
719,
|
| 298 |
+
408,
|
| 299 |
+
734
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 3
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "The task of generation poses a high standard for spatial coherency in structure, color, and texture, both globally and locally. The transformer encoders take embedding token words as inputs and calculate the interaction between each token recursively. [63, 34]. The main dilemma here is: what is the right “word\" for image generation tasks? If we similarly generate an image in a pixel-by-pixel manner through stacking transformer encoders, even a low-resolution image (e.g. $3 2 \\times 3 2$ ) can result in an excessively long sequence (1024), causing the explosive cost of self-attention (quadratic w.r.t. the sequence length) and prohibiting the scalability to higher resolutions. To avoid this daunting cost, we are inspired by a common design philosophy in CNN-based GANs, to iteratively upscale the resolution at multiple stages [25, 16]. Our strategy is hence to increase the input sequence and reduce the embedding dimension gradually . ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
173,
|
| 308 |
+
738,
|
| 309 |
+
825,
|
| 310 |
+
877
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "Figure 2 (left) illustrates a memory-friendly transformer-based generator that consists of multiple stages. Each stage stacks several transformer blocks. By stages, we gradually increase the feature map resolution until it meets the target resolution $H \\times W$ . Specifically, the generator takes the random noise as its input, and passes it through a multiple-layer perceptron (MLP) to a vector of length $H _ { 0 } \\times W _ { 0 } \\times C$ . The vector is reshaped into a $H _ { 0 } \\times W _ { 0 }$ resolution feature map (by default we use $H _ { 0 } = W _ { 0 } = 8$ ), each point a $C$ -dimensional embedding. This “feature map\" is next treated as a length-64 sequence of $C$ -dimensional tokens, combined with the learnable positional encoding. ",
|
| 317 |
+
"bbox": [
|
| 318 |
+
174,
|
| 319 |
+
883,
|
| 320 |
+
820,
|
| 321 |
+
911
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "",
|
| 328 |
+
"bbox": [
|
| 329 |
+
174,
|
| 330 |
+
90,
|
| 331 |
+
825,
|
| 332 |
+
160
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 4
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "To scale up to higher-resolution images, we insert an upsampling module after each stage, consisting of a reshaping and resolution-upscaling layer. For lower-resolution stages (resolution lower than $6 4 \\times 6 4 )$ ), the upsampling module firstly reshapes the 1D sequence of token embedding back to a 2D feature map $X _ { i } ~ \\overset { \\cdot } { \\in } ~ \\mathbb { R } ^ { \\cup _ { i } \\times W _ { i } \\times C }$ and then adopts the bicubic layer to upsample its resolution while the embedded dimension is kept unchanged, resulting in the output $\\boldsymbol { X } _ { i } ^ { ' } \\in \\mathbb { R } ^ { 2 H _ { i } \\times 2 W _ { i } \\times C }$ . After that, the 2D feature map $X _ { i } ^ { ' }$ is again reshaped into the 1D sequence of embedding tokens. For higher-resolution stages, we replace the bicubic upscaling layer with the pixelshuffle module, which upsamples the resolution of feature map by $2 \\times$ ratio and also reduces the embedding dimension to a quarter of the input. This pyramid-structure with modified upscaling layers mitigates the memory and computation explosion. We repeat multiple stages until it reaches the target resolution $( H , W )$ , and then we will project the embedding dimension to 3 and obtain the RGB image $Y \\in \\mathbb { R } ^ { H \\times W \\times 3 }$ . ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
173,
|
| 341 |
+
166,
|
| 342 |
+
826,
|
| 343 |
+
324
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 4
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "3.2 Multi-scale Discriminator ",
|
| 350 |
+
"text_level": 1,
|
| 351 |
+
"bbox": [
|
| 352 |
+
174,
|
| 353 |
+
335,
|
| 354 |
+
392,
|
| 355 |
+
349
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 4
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "Unlike the generator which synthesizes precise pixels, the discriminator is tasked to distinguish between real/fake images. This allows us to treat it as a typical classifier by simply tokenizing the input image in a coarser patch-level [34], where each patch can be regarded as a “word\". However, compared to image recognition tasks where classifiers focus on the semantic differences, the discriminator executes a simpler and more detail-oriented task to distinguish between synthesized and real. Therefore, the local visual cues and artifacts will have an important effect on the discriminator. Practically, we observe that the patch splitting rule plays a crucial role, where large patch size sacrifices low-level texture details, and smaller patch size results in a longer sequence that costs more memory. The above dilemma motivates our design of multi-scale discriminator below. ",
|
| 362 |
+
"bbox": [
|
| 363 |
+
173,
|
| 364 |
+
354,
|
| 365 |
+
825,
|
| 366 |
+
479
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 4
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "As shown in Figure 2 (right), a multi-scale discriminator is designed to take varying size of patches as inputs, at its different stages. We firstly split the input images $Y \\in R ^ { H \\times W \\times 3 ^ { \\bullet } }$ into three different sequences by choosing different patch sizes $( P , 2 P , 4 P )$ . The longest sequence $\\textstyle \\left( { \\frac { H } { P } } \\times { \\frac { W } { P } } \\right) \\times 3$ is linearly transformed to $\\begin{array} { r } { \\left( \\frac { H } { P } \\times \\frac { W } { P } \\right) \\times \\frac { C } { 4 } } \\end{array}$ and then combined with the learnable position encoding to serve as the input of the first stage, where $\\frac { C } { 4 }$ is the embedded dimension size. Similarly, the second 4and third sequences are linearly transformed to $\\begin{array} { r } { \\big ( \\frac { H } { 2 P } \\times \\frac { W } { 2 P } \\big ) \\times \\frac { C } { 4 } } \\end{array}$ and $\\bigl ( { \\frac { H } { 4 P } } \\times { \\frac { W } { 4 P } } \\bigr ) \\times { \\frac { C } { 2 } }$ , and then separately concatenated into the second and third stages. Thus these three different sequences are able to extract both the semantic structure and texture details. Similar to the generator, we reshape the 1D-sentence to 2D feature map and adopt Average Pooling layer to downsample the feature map resolution, between each stage. By recursively forming the transformer blocks in each stage, we obtain a pyramid architecture where multi-scale representation is extracted. At the end of these blocks, a [cls] token is appended at the beginning of the 1D sequence and then taken by the classification head to output the real/fake prediction. ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
173,
|
| 375 |
+
486,
|
| 376 |
+
825,
|
| 377 |
+
672
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 4
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "3.3 Grid Self-Attention: A Scalable Variant of Self-Attention for Image Generation ",
|
| 384 |
+
"text_level": 1,
|
| 385 |
+
"bbox": [
|
| 386 |
+
174,
|
| 387 |
+
684,
|
| 388 |
+
763,
|
| 389 |
+
699
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 4
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "Self-attention allows the generator to capture the global correspondence, yet also impedes the efficiency when modeling long sequences/higher resolutions. That motivates many efficient selfattention designs in both language [64, 65] and vision tasks [66, 67]. To adapt self-attention for higher-resolution generative tasks, we propose a simple yet effective strategy, named Grid SelfAttention, tailored for high-resolution image generation. ",
|
| 396 |
+
"bbox": [
|
| 397 |
+
173,
|
| 398 |
+
704,
|
| 399 |
+
825,
|
| 400 |
+
773
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 4
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "As shown in Figure 3, instead of calculating the correspondence between a given token and all other tokens, the grid self-attention partitions the full-size feature map into several non-overlapped grids, and the token interactions are calculated inside each local grid. We add the grid self-attention on high-resolution stages (resolution higher than $3 2 \\times 3 2$ ) while still keeping standard self-attention in low-resolution stages, shown as Figure 2, again so as to strategically balance local details and global awareness. The grid self-attention shows surprising effectiveness over other efficient self-attention forms [64, 67] in generative tasks, as compared later in Section 4.1. ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
174,
|
| 409 |
+
780,
|
| 410 |
+
825,
|
| 411 |
+
877
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 4
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "One potential concern might arise with the boundary artifact between each grid. We observe that while the artifact indeed occurs at early training stages, it gradually vanishes given enough training iterations and training data, while producing nicely coherent final results. We think this is owing to the larger, multi-scale receptive field of the discriminator that requires generated image fidelity in different scales. For other cases where the large-scale training data is hard to obtain, we discuss several solutions on Sec. 4.6. ",
|
| 418 |
+
"bbox": [
|
| 419 |
+
174,
|
| 420 |
+
883,
|
| 421 |
+
821,
|
| 422 |
+
911
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 4
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "image",
|
| 428 |
+
"img_path": "images/5aa30c4dc12e735df83a2803ff77d51d6c674cced188b389797c086e25b8de54.jpg",
|
| 429 |
+
"image_caption": [
|
| 430 |
+
"Figure 3: Grid Self-Attention across different transformer stages. We replace Standard Self-Attention with Grid Self-Attention when the resolution is higher than $3 2 \\times 3 2$ and the grid size is set to be $1 6 \\times 1 6$ by default. "
|
| 431 |
+
],
|
| 432 |
+
"image_footnote": [],
|
| 433 |
+
"bbox": [
|
| 434 |
+
181,
|
| 435 |
+
77,
|
| 436 |
+
820,
|
| 437 |
+
179
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 5
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "",
|
| 444 |
+
"bbox": [
|
| 445 |
+
174,
|
| 446 |
+
228,
|
| 447 |
+
825,
|
| 448 |
+
284
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 5
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "3.4 Exploring the Training Recipe ",
|
| 455 |
+
"text_level": 1,
|
| 456 |
+
"bbox": [
|
| 457 |
+
176,
|
| 458 |
+
294,
|
| 459 |
+
424,
|
| 460 |
+
309
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 5
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "Data Augmentation. The transformer-based architectures are known to be highly data-hungry due to removing human-designed bias. Particularly in image recognition task [34], they were inferior to CNNs until much larger external data [68] was used for pre-training. To remove this roadblock, data augmentation was revealed as a blessing in [50], which showed that different types of strong data augmentation could lead us to data-efficient training for vision transformers. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
173,
|
| 469 |
+
313,
|
| 470 |
+
825,
|
| 471 |
+
382
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 5
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "We follow a similar mindset. Traditionally, training CNN-based GANs hardly refers to data augmentation. Recently, there is an interest surge in the few-shot GAN training, aiming to match state-of-the-art GAN results with orders of magnitude fewer real images [69, 70]. Contrary to this “commonsense\" in CNNs, data augmentation is found to be crucial in transformer-based architectures, even with $100 \\%$ real images being utilized. We show that simply using differential augmentation [69] with three basic operators {T ranslation, Cutout, Color} leads to surprising performance improvement for TransGAN, while CNN-based GANs hardly benefit from it. We conduct a concrete study on the effectiveness of augmentation for both transformer and CNNs: see details in Section 4.2 ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
173,
|
| 480 |
+
388,
|
| 481 |
+
825,
|
| 482 |
+
501
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 5
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "Relative Position Encoding. While classical transformers [49, 34] used deterministic position encoding or learnable position encoding, the relative position encoding [71] gains increasing popularity [72, 28, 52, 73], by exploiting lags instead of absolute positions. Considering a single head of self-attention layer, ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
173,
|
| 491 |
+
506,
|
| 492 |
+
825,
|
| 493 |
+
561
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 5
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "equation",
|
| 499 |
+
"img_path": "images/dbb01f6ced9089b3c2847770df83453bea906785efbac2a8e617ec65bab96ef6.jpg",
|
| 500 |
+
"text": "$$\nA t t e n t i o n ( Q , K , V ) = s o f t m a x ( ( \\frac { Q K ^ { T } } { \\sqrt { d _ { k } } } V )\n$$",
|
| 501 |
+
"text_format": "latex",
|
| 502 |
+
"bbox": [
|
| 503 |
+
348,
|
| 504 |
+
559,
|
| 505 |
+
650,
|
| 506 |
+
594
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 5
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "where $Q , K , V \\in \\mathbb { R } ^ { ( H \\times W ) \\times C }$ represent query, key, value matrices, $H , W , C$ denotes the height, width, embedded dimension of the input feature map. The difference in coordinate between each query and key on $H$ axis lies in the range of $[ - ( H - \\bar { 1 } ) , H - 1 ]$ , and similar for $W$ axis. By simultaneously considering both $H$ and $W$ axis, the relative position can be represented by a parameterized matrix $M \\in \\mathbb { R } ^ { ( 2 \\hat { H _ { - 1 } } ) \\times ( 2 W - 1 ) }$ . Per coordinate, the relative position encoding $E$ is taken from matrix $M$ and added to the attention map $Q K ^ { T }$ as a bias term, shown as following, ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
173,
|
| 515 |
+
597,
|
| 516 |
+
825,
|
| 517 |
+
684
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 5
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "equation",
|
| 523 |
+
"img_path": "images/d642168023319f11cbc80f8d9df34a9ce6f6ffd07f0e3008d315f28bd6603d49.jpg",
|
| 524 |
+
"text": "$$\nA t t e n t i o n ( Q , K , V ) = s o f t m a x ( ( ( \\frac { Q K ^ { T } } { \\sqrt { d _ { k } } } + E ) V )\n$$",
|
| 525 |
+
"text_format": "latex",
|
| 526 |
+
"bbox": [
|
| 527 |
+
325,
|
| 528 |
+
689,
|
| 529 |
+
673,
|
| 530 |
+
724
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 5
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "Compared to its absolute counterpart, relative position encoding learns a stronger “relationship\" between local contents, bringing important performance gains in large-scale cases and enjoying widespread use ever since. We also observe it to consistently improve TransGAN, especially on higher-resolution datasets. We hence apply it on top of the learnable absolute positional encoding for both the generator and discriminator. ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
173,
|
| 539 |
+
728,
|
| 540 |
+
825,
|
| 541 |
+
799
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 5
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "Modified Normalization. Normalization layers are known to help stabilize the deep learning training of deep neural networks, sometimes remarkably. While both the original transformer [49] and its variants [52, 54] by default use the layer normalization, we follow previous works [75, 16] and replace it with a token-wise scaling layer to prevent the magnitudes in transformer blocks from being too high, describe as $\\begin{array} { r } { Y = X / \\sqrt { \\frac { 1 } { C } \\sum _ { i = 0 } ^ { C - 1 } ( X ^ { i } ) ^ { 2 } + \\epsilon } } \\end{array}$ , where $\\epsilon = 1 e - 8$ by default, $X$ and $Y$ denote the token before and after scaling layer, $C$ represents the embedded dimension. Note that our modified normalization resembles local response normalization that was once used in AlexNet [75]. Unlike other “modern\" normalization layers [76, 77, 78] that need affine parameters for both mean and variances, we find that a simple re-scaling without learnable parameters suffices to stabilize TransGAN training – in fact, it makes TransGAN train better and improves the FID. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
173,
|
| 550 |
+
804,
|
| 551 |
+
825,
|
| 552 |
+
912
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 5
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "table",
|
| 558 |
+
"img_path": "images/3736709c036ee2e90a0a961b83e5eadc3a8c00fa0505f62df932fa0420a35521.jpg",
|
| 559 |
+
"table_caption": [
|
| 560 |
+
"Table 1: Unconditional image generation results on CIFAR-10, STl-10, and CelebA $( 1 2 8 \\times 1 2 8 )$ dataset. We train the models with their official code if the results are unavailable, denoted as “\\*”, others are all reported from references. "
|
| 561 |
+
],
|
| 562 |
+
"table_footnote": [],
|
| 563 |
+
"table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">CIFAR-10</td><td colspan=\"2\">STL-10</td><td>CelebA</td></tr><tr><td>IS↑</td><td>FID↓</td><td>IS↑</td><td>FID↓</td><td>FID↓</td></tr><tr><td>WGAN-GP [1]</td><td>6.49 ± 0.09</td><td>39.68</td><td>1</td><td>=</td><td></td></tr><tr><td>SN-GAN [48]</td><td>8.22 ± 0.05</td><td></td><td>9.16 ± 0.12</td><td>40.1</td><td></td></tr><tr><td>AutoGAN[18]</td><td>8.55 ±0.10</td><td>12.42</td><td>9.16 ± 0.12</td><td>31.01</td><td></td></tr><tr><td>AdversarialNAS-GAN[18]</td><td>8.74 ±0.07</td><td>10.87</td><td>9.63 ± 0.19</td><td>26.98</td><td>=</td></tr><tr><td>Progressive-GAN[16]</td><td>8.80 ± 0.05</td><td>15.52</td><td>=</td><td></td><td>7.30</td></tr><tr><td>COCO-GAN [74]</td><td></td><td>-</td><td>=</td><td>-</td><td>5.74</td></tr><tr><td>StyleGAN-V2 [69]</td><td>9.18</td><td>11.07</td><td>10.21* ± 0.14</td><td>20.84*</td><td>5.59*</td></tr><tr><td>StyleGAN-V2 + DiffAug. [69]</td><td>9.40</td><td>9.89</td><td>10.31*± 0.12</td><td>19.15*</td><td>5.40*</td></tr><tr><td>TransGAN</td><td>9.02 ± 0.12</td><td>9.26</td><td>10.43 ± 0.16</td><td>18.28</td><td>5.28</td></tr></table>",
|
| 564 |
+
"bbox": [
|
| 565 |
+
183,
|
| 566 |
+
119,
|
| 567 |
+
812,
|
| 568 |
+
280
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 6
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "",
|
| 575 |
+
"bbox": [
|
| 576 |
+
176,
|
| 577 |
+
290,
|
| 578 |
+
821,
|
| 579 |
+
332
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 6
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "4 Experiments ",
|
| 586 |
+
"text_level": 1,
|
| 587 |
+
"bbox": [
|
| 588 |
+
173,
|
| 589 |
+
338,
|
| 590 |
+
313,
|
| 591 |
+
356
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 6
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "Datasets We start by evaluating our methods on three common testbeds: CIFAR-10 [79], STL10 [80], and CelebA [81] dataset. The CIFAR-10 dataset consists of $6 0 \\mathbf { k } \\ 3 2 \\times 3 2$ images, with $5 0 \\mathrm { k }$ training and $1 0 \\mathrm { k }$ testing images, respectively. We follow the standard setting to use the $5 0 \\mathrm { k }$ training images without labels. For the STL-10 dataset, we use both the 5k training images and $1 0 0 \\mathrm { k }$ unlabeled images, and all are resized to $4 8 \\times 4 8$ resolution. For the CelebA dataset, we use $2 0 0 \\mathrm { k }$ unlabeled face images (aligned and cropped version), with each image at $1 2 8 \\times 1 2 8$ resolution. We further consider the CelebA-HQ and LSUN Church datasets to scale up TransGAN to higher resolution image generation tasks. We use $3 0 \\mathrm { k }$ images for CelebA-HQ [16] dataset and $1 2 5 \\mathrm { k }$ images for LSUN Church dataset [82], all at $2 5 6 \\times 2 5 6$ resolution. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
359,
|
| 601 |
+
825,
|
| 602 |
+
484
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 6
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Implementation We follow the setting of WGAN [46], and use the WGAN-GP loss [1]. We adopt a learning rate of $1 e - 4$ for both generator and discriminator, an Adam optimizer with $\\beta _ { 1 } = 0$ and $\\beta _ { 2 } = 0 . 9 9$ , exponential moving average weights for generator, and a batch size of 128 for generator and 64 for discriminator, for all experiments. We choose DiffAug. [69] as basic augmentation strategy during the training process if not specially mentioned, and apply it to our competitors for a fair comparison. Other popular augmentation strategies ([70, 10]) are not discussed here since it is beyond the scope of this work. We use common evaluation metrics Inception Score (IS) [15] and Frechet Inception Distance (FID) [83], both are measured by 50K samples with their official Tensorflow implementations 12. All experiments are set with 16 V100 GPUs, using PyTorch 1.7.0. We include detailed training cost for each dataset in Appendix D. We focus on the unconditional image generation setting for simplicity. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
173,
|
| 611 |
+
491,
|
| 612 |
+
825,
|
| 613 |
+
643
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 6
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "4.1 Comparison with State-of-the-art GANs ",
|
| 620 |
+
"text_level": 1,
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
654,
|
| 624 |
+
491,
|
| 625 |
+
667
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 6
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "CIFAR-10. We compare TransGAN with recently published results by unconditional CNN-based GANs on the CIFAR-10 dataset, shown in Table 1. Note that some promising conditional GANs [21, 8] are not included, due to the different settings. As shown in Table 1, TransGAN surpasses the strong model of Progressive GAN [16], and many other latest competitors such as SN-GAN [48], AutoGAN [18], and AdversarialNAS-GAN [19], in terms of inception score (IS). It is only next to the huge and heavily engineered StyleGAN-v2 [40]. Once we look at the FID results, TransGAN is even found to outperform StyleGAN-v2 [40] with both applied the same data augmentation [69]. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
672,
|
| 635 |
+
826,
|
| 636 |
+
770
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 6
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "STL-10. We then apply TransGAN on another popular benchmark STL-10, which is larger in scale (105k) and higher in resolution (48x48). We compare TransGAN with both the automatic searched and hand-crafted CNN-based GANs, shown in Table 1. Different from the results on CIFAR-10, we find that TransGAN outperforms all current CNN-based GAN models, and sets new state-of-the-art results in terms of both IS and FID score. This is thanks to the fact that the STL-10 dataset size is $2 \\times$ larger than CIFAR-10, suggesting that transformer-based architectures benefit much more notably from larger-scale data than CNNs. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
173,
|
| 645 |
+
775,
|
| 646 |
+
825,
|
| 647 |
+
872
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 6
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "image",
|
| 653 |
+
"img_path": "images/6e96e44a3e68b78d7018919b2cfbce5508a09fd739e9d26cf4824f8d0c72caee.jpg",
|
| 654 |
+
"image_caption": [
|
| 655 |
+
"Figure 4: Representative visual results produced by TransGAN on different datasets, as resolution grows from $3 2 \\times 3 2$ to $2 5 6 \\times 2 5 6$ . More visual examples are included in Appendix F. "
|
| 656 |
+
],
|
| 657 |
+
"image_footnote": [],
|
| 658 |
+
"bbox": [
|
| 659 |
+
178,
|
| 660 |
+
82,
|
| 661 |
+
818,
|
| 662 |
+
241
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 7
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "table",
|
| 668 |
+
"img_path": "images/f1c4e2b09d5e2f8e5edf0927060448a8a0cc45c22cecb15cb148ce6fe11b716d.jpg",
|
| 669 |
+
"table_caption": [
|
| 670 |
+
"Table 2: The effectiveness of Data Augmentation on both CNN-based GANs and TransGAN. We use the full CIFAR-10 training set and DiffAug [69]. "
|
| 671 |
+
],
|
| 672 |
+
"table_footnote": [],
|
| 673 |
+
"table_body": "<table><tr><td rowspan=\"2\">Methods</td><td colspan=\"2\">WGAN-GP</td><td colspan=\"2\">AutoGAN</td><td colspan=\"2\">StyleGAN-V2</td><td colspan=\"2\">TransGAN</td></tr><tr><td>IS个</td><td>FID←</td><td>IS个</td><td>FID←</td><td>IS个</td><td>FID←</td><td>IS个</td><td>FID↓</td></tr><tr><td>Original</td><td>6.49</td><td>39.68</td><td>8.55</td><td>12.42</td><td>9.18</td><td>11.07</td><td>8.36</td><td>22.53</td></tr><tr><td>+ DiffAug [69]</td><td>6.29</td><td>37.14</td><td>8.60</td><td>12.72</td><td>9.40</td><td>9.89</td><td>9.02</td><td>9.26</td></tr></table>",
|
| 674 |
+
"bbox": [
|
| 675 |
+
194,
|
| 676 |
+
318,
|
| 677 |
+
803,
|
| 678 |
+
391
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 7
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "table",
|
| 684 |
+
"img_path": "images/25c0032de9117db6ffe66c1bcb8ba86cc9bfa5f079bdbf7a78a3daa9c1d02d03.jpg",
|
| 685 |
+
"table_caption": [
|
| 686 |
+
"Table 3: The ablation study of proposed techniques in three common dataset CelebA $( 6 4 \\times 6 4 )$ , CelebA $( 1 2 8 \\times 1 2 8$ , and LSUN Church $( 2 5 6 \\times 2 5 6 )$ ). “OOM” represents out-of-momery issue. "
|
| 687 |
+
],
|
| 688 |
+
"table_footnote": [],
|
| 689 |
+
"table_body": "<table><tr><td>Training Configuration</td><td>CelebA (64x64)</td><td>CelebA (128x128)</td><td>LSUN Church (256x256)</td></tr><tr><td>(A). Standard Self-Attention</td><td>8.92</td><td>00M</td><td>0OM</td></tr><tr><td>(B). Nystrom Self-Attention [64]</td><td>13.47</td><td>17.42</td><td>39.92</td></tr><tr><td>(C). Axis Self-Attention [67]</td><td>12.39</td><td>13.95</td><td>29.30</td></tr><tr><td>(D). Grid Self-Attention</td><td>9.89</td><td>10.58</td><td>20.39</td></tr><tr><td>+Multi-scale Discriminator</td><td>9.28</td><td>8.03</td><td>15.29</td></tr><tr><td>+Modified Normalization</td><td>7.05</td><td>7.13</td><td>13.27</td></tr><tr><td>+Relative Position Encoding</td><td>6.14</td><td>6.32</td><td>11.93</td></tr><tr><td>(E). Converge</td><td>5.01</td><td>5.28</td><td>8.94</td></tr></table>",
|
| 690 |
+
"bbox": [
|
| 691 |
+
212,
|
| 692 |
+
436,
|
| 693 |
+
782,
|
| 694 |
+
580
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 7
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "CelebA (128x128). We continue to examine another common benchmark: CelebA dataset $( 1 2 8 \\times 1 2 8$ resolution). As shown in Table 1, TransGAN largely outperforms Progressive-GAN [16] and COCOGAN [74], and is slightly better than the strongest competitor StyleGAN-v2 [40], by reaching a FID score of 5.28. Visual examples generated on CIFAR-10, STL-10, and CelebA $( 1 2 8 \\times 1 2 8 )$ are shown in Figure 4, from which we observe pleasing visual details and diversity. ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
173,
|
| 703 |
+
593,
|
| 704 |
+
826,
|
| 705 |
+
662
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 7
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "4.2 Scaling Up to Higher-Resolution ",
|
| 712 |
+
"text_level": 1,
|
| 713 |
+
"bbox": [
|
| 714 |
+
174,
|
| 715 |
+
676,
|
| 716 |
+
439,
|
| 717 |
+
691
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 7
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "We further scale up TransGAN to higher-resolution $( 2 5 6 \\times 2 5 6 )$ generation, including on CelebAHQ [16] and LSUN Church [82]. These high-resolution datasets are significantly more challenging due to their much richer and detailed low-level texture as well as the global composition. Thanks to the proposed multi-scale discriminator, TransGAN produces pleasing visual results, reaching competitive quantitative results with 10.28 FID on CelebA-HQ $2 5 6 \\times 2 5 6$ and $8 . 9 4 \\mathrm { F I D }$ on LSUN Church dataset, respectively. As shown in Figure 4, diverse examples with rich textures details are produced. We discuss the memory cost reduction brought by the Grid Self-Attention in Appendix E. ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
173,
|
| 726 |
+
696,
|
| 727 |
+
826,
|
| 728 |
+
795
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 7
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "4.3 Data Augmentation is Crucial for TransGAN ",
|
| 735 |
+
"text_level": 1,
|
| 736 |
+
"bbox": [
|
| 737 |
+
174,
|
| 738 |
+
808,
|
| 739 |
+
526,
|
| 740 |
+
823
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 7
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "We study the effectiveness of data augmentation for both CNN-based GANs and Our TransGAN. We apply the differentiable augmentation [69] to all these methods. As shown in Table 2, for three CNN-based GANs, the performance gains of data augmentation seems to diminish in the full-data regime. Only the largest model, StyleGAN-V2, is improved on both IS and FID. In sharp contrast, TransGAN sees a shockingly large margin of improvement: IS improving from 8.36 to 9.02 and FID improving from 22.53 to 9.26. This phenomenon suggests that CIFAR-10 is still “small-scale \" when fitting transformers; it re-confirms our assumption that transformer-based architectures are much more data-hungry than CNNs, and that can be helped by stronger data augmentation. ",
|
| 747 |
+
"bbox": [
|
| 748 |
+
174,
|
| 749 |
+
827,
|
| 750 |
+
825,
|
| 751 |
+
911
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 7
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "image",
|
| 757 |
+
"img_path": "images/77da0030a49f68b1242125a5ca2cb5670b6ba0577419be181bcc412c753e9bdb.jpg",
|
| 758 |
+
"image_caption": [
|
| 759 |
+
"Figure 5: Left: training dynamic with training epochs for both TransGAN and MSG-GAN on CelebA-HQ $( 2 5 6 \\times 2 5 6 )$ . Right: Interpolation on latent space produced by TransGAN. "
|
| 760 |
+
],
|
| 761 |
+
"image_footnote": [],
|
| 762 |
+
"bbox": [
|
| 763 |
+
179,
|
| 764 |
+
77,
|
| 765 |
+
816,
|
| 766 |
+
174
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 8
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "",
|
| 773 |
+
"bbox": [
|
| 774 |
+
173,
|
| 775 |
+
217,
|
| 776 |
+
823,
|
| 777 |
+
246
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 8
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "4.4 Ablation Study ",
|
| 784 |
+
"text_level": 1,
|
| 785 |
+
"bbox": [
|
| 786 |
+
174,
|
| 787 |
+
256,
|
| 788 |
+
316,
|
| 789 |
+
271
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 8
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "To further evaluate the proposed grid self-attention, multi-scale discriminator, and unique training recipe, we conduct the ablation study by separately adding these techniques to the baseline method and report their FID score on different datasets. Due to the fact that most of our contributions are tailored for the challenges brought by higher-resolution tasks, we choose CelebA and LSUN Church as the main testbeds, with details shown in Table 3. We start by constructing our memory-friendly with vanilla discriminator as our baseline method (A), both applied with standard self-attention. The baseline method achieves relatively good results with 8.92 FID on CelebA $( 6 4 \\times 6 4 )$ dataset, however, it fail on higher-resolution tasks due to the memory explosion issue brought by self-attention. This motivates us to evaluate two efficient form of self-attention, (B) Nyström Self-Attention [64] and (C) Axis Self-Attention [67] ",
|
| 796 |
+
"bbox": [
|
| 797 |
+
174,
|
| 798 |
+
276,
|
| 799 |
+
825,
|
| 800 |
+
415
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 8
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "By replacing all self-attention layers in high-resolution stages (feature map resolution higher than $3 2 \\times 3 2 )$ with these efficient variants, both two methods (B)(C) are able to produce reasonable results. However, they still show to be inferior to standard self-attention, even on the $6 4 \\times 6 4$ resolution dataset. By adopting our proposed Grid Self-Attention (D), we observe a significant improvement on both three datasets, reaching 9.89, 10.58, 20.39 FID on CelebA $6 4 \\times 6 4$ , $1 2 8 \\times 1 2 8$ and LSUN Church $2 5 6 \\times 2 5 6$ , respectively. Based on the configuration (D), we continue to add the proposed techniques, including the multi-scale discriminator, modified normalization, and relative position encoding. All these three techniques significantly improve the performance of TransGAN on three datasets. At the end, we train our final configuration (E) until it converges, resulting in the best FID on CelebA $6 4 \\times 6 4$ (5.01), CelebA $1 2 8 \\times 1 2 8$ (5.28), and LSUN Church $2 5 6 \\times 2 5 6$ (8.94). ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
174,
|
| 809 |
+
421,
|
| 810 |
+
825,
|
| 811 |
+
559
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 8
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "4.5 Understanding Transformer-based Generative Model ",
|
| 818 |
+
"text_level": 1,
|
| 819 |
+
"bbox": [
|
| 820 |
+
173,
|
| 821 |
+
570,
|
| 822 |
+
584,
|
| 823 |
+
585
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 8
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "We dive deep into our transformer-based GAN by conducting interpolation on latent space and comparing its behavior with CNN-based GAN, through visualizing their training dynamics. We choose MSG-GAN [84] for comparison since it extracts multi-scale representation as well. As shown in Figure 5, the CNN-based GAN quickly extracts face representation in the early stage of training process while transformer only produces rough pixels with no meaningful global shape due to missing any inductive bias. However, given enough training iterations, TransGAN gradually learns informative position representation and is able to produce impressive visual examples at convergence. Meanwhile, the boundary artifact also vanishes at the end. For the latent space interpolation, TransGAN continues to show encouraging results where smooth interpolation are maintained on both local and global levels. More high-resolution visual examples will be presented in Appendix F. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
590,
|
| 833 |
+
825,
|
| 834 |
+
729
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "4.6 Analyzing the Failure Cases and Improving High-resolution Tasks ",
|
| 841 |
+
"text_level": 1,
|
| 842 |
+
"bbox": [
|
| 843 |
+
176,
|
| 844 |
+
746,
|
| 845 |
+
671,
|
| 846 |
+
762
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 8
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "While TransGAN shows competitive or even better results on common low-resolution benchmarks, we still see large improvement room of its performance on high-resolution synthesis tasks, by analyzing the failure cases shown in appendix C. Here we discuss several alternatives tailored for high-resolution synthesis tasks, as potential remedies to address these failure cases. Specifically, we apply the self-modulation [85, 22, 35] to our generator and use cross-attention [53, 86] to map the latent space to the global region. Besides, we replace the current $2 \\times$ upsampling layer, and instead firstly upsample it to $4 \\times$ lager resolution using bicubic interpolation, and then downsample it back to $2 \\times$ larger one. This simple modification not only helps the cross-boundary information interaction, but also help enhances the high-frequency details [87]. Moreover, an overlapped patch splitting strategy for discriminator can slightly improve the FID score. Additionally, we follow the previous work [22, 40] to conduct noise injection before the self-attention layer, which is found to further improve the generation fidelity and diversity of TransGAN. By applying these techniques to our high-resolution GAN frameworks, we observe additional improvement on both qualitative and quantitative results, e.g., the FID score on CelebA $2 5 6 \\times 2 5 6$ dataset is further improved from 10.26 to 8.93. ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
174,
|
| 855 |
+
772,
|
| 856 |
+
825,
|
| 857 |
+
911
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 8
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "",
|
| 864 |
+
"bbox": [
|
| 865 |
+
174,
|
| 866 |
+
90,
|
| 867 |
+
825,
|
| 868 |
+
160
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 9
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "5 Conclusions, Limitation, and Discussions of Broad Impact ",
|
| 875 |
+
"text_level": 1,
|
| 876 |
+
"bbox": [
|
| 877 |
+
174,
|
| 878 |
+
174,
|
| 879 |
+
691,
|
| 880 |
+
191
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 9
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "In this work, we provide the first pilot study of building GAN with pure transformers. We have carefully crafted the architectures and thoughtfully designed training techniques. As a result, the proposed TransGAN has achieved state-of-the-art performance across multiple popular datasets, and easily scales up to higher-resolution generative tasks. Although TransGAN provides an encouraging starting point, there is still a large room to explore further, such as achieving state-of-the-art results on $2 5 6 \\times 2 5 6$ generation tasks or going towards extremely high resolution generation tasks (e.g., $1 0 2 4 \\times 1 0 2 4 ,$ ), which would be our future directions. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
173,
|
| 889 |
+
199,
|
| 890 |
+
825,
|
| 891 |
+
296
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 9
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "Broader Impact. The proposed generative model can serve as a data engine to alleviate the challenge of data collection. More importantly, using synthesized image examples helps avoid privacy concerns. However, the abuse of advanced generative models may create fake media materials, which demands caution in the future. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
303,
|
| 901 |
+
825,
|
| 902 |
+
358
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 9
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "Acknowledgements ",
|
| 909 |
+
"text_level": 1,
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
372,
|
| 913 |
+
338,
|
| 914 |
+
388
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 9
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "We would like to express our deepest gratitude to the MIT-IBM Watson AI Lab, in particular John Cohn for generously providing us with the computing resources necessary to conduct this research. Z Wang’s work is in part supported by an IBM Faculty Research Award, and the NSF AI Institute for Foundations of Machine Learning (IFML). ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
397,
|
| 924 |
+
825,
|
| 925 |
+
453
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 9
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "References ",
|
| 932 |
+
"text_level": 1,
|
| 933 |
+
"bbox": [
|
| 934 |
+
174,
|
| 935 |
+
473,
|
| 936 |
+
266,
|
| 937 |
+
488
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 9
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "[1] Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of wasserstein gans. In Advances in neural information processing systems, pages 5767–5777, 2017. \n[2] Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale gan training for high fidelity natural image synthesis. arXiv preprint arXiv:1809.11096, 2018. \n[3] Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1125–1134, 2017. \n[4] Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2223–2232, 2017. \n[5] Jun-Yan Zhu, Richard Zhang, Deepak Pathak, Trevor Darrell, Alexei A Efros, Oliver Wang, and Eli Shechtman. Toward multimodal image-to-image translation. In Advances in neural information processing systems, pages 465–476, 2017. \n[6] Shuai Yang, Zhangyang Wang, Zhaowen Wang, Ning Xu, Jiaying Liu, and Zongming Guo. Controllable artistic text style transfer via shape-matching gan. In Proceedings of the IEEE International Conference on Computer Vision, pages 4442–4451, 2019. \n[7] Yifan Jiang, Xinyu Gong, Ding Liu, Yu Cheng, Chen Fang, Xiaohui Shen, Jianchao Yang, Pan Zhou, and Zhangyang Wang. Enlightengan: Deep light enhancement without paired supervision. IEEE Transactions on Image Processing, 30:2340–2349, 2021. \n[8] Karol Kurach, Mario Luciˇ c, Xiaohua Zhai, Marcin Michalski, and Sylvain Gelly. A large-scale study ´ on regularization and normalization in gans. In International Conference on Machine Learning, pages 3581–3590. PMLR, 2019. \n[9] Kevin Roth, Aurelien Lucchi, Sebastian Nowozin, and Thomas Hofmann. Stabilizing training of generative adversarial networks through regularization. In Advances in neural information processing systems, pages 2018–2028, 2017. \n[10] Han Zhang, Zizhao Zhang, Augustus Odena, and Honglak Lee. Consistency regularization for generative adversarial networks. arXiv preprint arXiv:1910.12027, 2019. \n[11] Lars Mescheder, Andreas Geiger, and Sebastian Nowozin. Which training methods for gans do actually converge? arXiv preprint arXiv:1801.04406, 2018. \n[12] Xudong Mao, Qing Li, Haoran Xie, Raymond YK Lau, Zhen Wang, and Stephen Paul Smolley. Least squares generative adversarial networks. In Proceedings of the IEEE international conference on computer vision, pages 2794–2802, 2017. \n[13] Alexia Jolicoeur-Martineau. The relativistic discriminator: a key element missing from standard gan. arXiv preprint arXiv:1807.00734, 2018. \n[14] Chun-Liang Li, Wei-Cheng Chang, Yu Cheng, Yiming Yang, and Barnabás Póczos. Mmd gan: Towards deeper understanding of moment matching network. In Advances in neural information processing systems, pages 2203–2213, 2017. \n[15] Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. arXiv preprint arXiv:1606.03498, 2016. \n[16] Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of gans for improved quality, stability, and variation. arXiv preprint arXiv:1710.10196, 2017. \n[17] Mario Lucic, Karol Kurach, Marcin Michalski, Olivier Bousquet, and Sylvain Gelly. Are gans created equal? a large-scale study. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pages 698–707, 2018. \n[18] Xinyu Gong, Shiyu Chang, Yifan Jiang, and Zhangyang Wang. Autogan: Neural architecture search for generative adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, pages 3224–3234, 2019. \n[19] Chen Gao, Yunpeng Chen, Si Liu, Zhenxiong Tan, and Shuicheng Yan. Adversarialnas: Adversarial neural architecture search for gans. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5680–5689, 2020. \n[20] Yuan Tian, Qin Wang, Zhiwu Huang, Wen Li, Dengxin Dai, Minghao Yang, Jun Wang, and Olga Fink. Offpolicy reinforcement learning for efficient and effective gan architecture search. In European Conference on Computer Vision, pages 175–192. Springer, 2020. \n[21] Han Zhang, Ian Goodfellow, Dimitris Metaxas, and Augustus Odena. Self-attention generative adversarial networks. In International conference on machine learning, pages 7354–7363. PMLR, 2019. \n[22] Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4401–4410, 2019. \n[23] Patrick Esser, Robin Rombach, and Björn Ommer. Taming transformers for high-resolution image synthesis. arXiv preprint arXiv:2012.09841, 2020. \n[24] Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. arXiv preprint arXiv:1406.2661, 2014. \n[25] Emily Denton, Soumith Chintala, Arthur Szlam, and Rob Fergus. Deep generative image models using a laplacian pyramid of adversarial networks. arXiv preprint arXiv:1506.05751, 2015. \n[26] Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv preprint arXiv:1511.06434, 2015. \n[27] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018. \n[28] Han Hu, Zheng Zhang, Zhenda Xie, and Stephen Lin. Local relation networks for image recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3464–3473, 2019. \n[29] Yu-Syuan Xu, Shou-Yao Roy Tseng, Yu Tseng, Hsien-Kai Kuo, and Yi-Min Tsai. Unified dynamic convolutional network for super-resolution with variational degradations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12496–12505, 2020. \n[30] David Ha, Andrew Dai, and Quoc V Le. Hypernetworks. arXiv preprint arXiv:1609.09106, 2016. \n[31] Ben Mildenhall, Jonathan T Barron, Jiawen Chen, Dillon Sharlet, Ren Ng, and Robert Carroll. Burst denoising with kernel prediction networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2502–2510, 2018. \n[32] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. arXiv preprint arXiv:2005.12872, 2020. \n[33] Yanhong Zeng, Jianlong Fu, and Hongyang Chao. Learning joint spatial-temporal transformations for video inpainting. In ECCV. Springer, 2020. \n[34] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. \n[35] Drew A Hudson and C Lawrence Zitnick. Generative adversarial transformers. arXiv preprint arXiv:2103.01209, 2021. \n[36] Fuzhi Yang, Huan Yang, Jianlong Fu, Hongtao Lu, and Baining Guo. Learning texture transformer network for image super-resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 5791–5800, 2020. \n[37] Hanting Chen, Yunhe Wang, Tianyu Guo, Chang Xu, Yiping Deng, Zhenhua Liu, Siwei Ma, Chunjing Xu, Chao Xu, and Wen Gao. Pre-trained image processing transformer. arXiv preprint arXiv:2012.00364, 2020. \n[38] Jie Gui, Zhenan Sun, Yonggang Wen, Dacheng Tao, and Jieping Ye. A review on generative adversarial networks: Algorithms, theory, and applications. arXiv preprint arXiv:2001.06937, 2020. \n[39] Edgar Schonfeld, Bernt Schiele, and Anna Khoreva. A u-net based discriminator for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8207–8216, 2020. \n[40] Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8110–8119, 2020. \n[41] Haotao Wang, Shupeng Gui, Haichuan Yang, Ji Liu, and Zhangyang Wang. Gan slimming: All-in-one gan compression by a unified optimization framework. In European Conference on Computer Vision, pages 54–73. Springer, 2020. \n[42] Christian Ledig, Lucas Theis, Ferenc Huszár, Jose Caballero, Andrew Cunningham, Alejandro Acosta, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, et al. Photo-realistic single image superresolution using a generative adversarial network. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4681–4690, 2017. \n[43] Orest Kupyn, Tetiana Martyniuk, Junru Wu, and Zhangyang Wang. Deblurgan-v2: Deblurring (ordersof-magnitude) faster and better. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 8878–8887, 2019. \n[44] Xi Ouyang, Yu Cheng, Yifan Jiang, Chun-Liang Li, and Pan Zhou. Pedestrian-synthesis-gan: Generating pedestrian data in real scene and beyond. arXiv preprint arXiv:1804.02047, 2018. \n[45] Jiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen, Xin Lu, and Thomas S Huang. Generative image inpainting with contextual attention. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 5505–5514, 2018. \n[46] Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017. \n[47] Tianlong Chen, Yu Cheng, Zhe Gan, Jingjing Liu, and Zhangyang Wang. Ultra-data-efficient gan training: Drawing a lottery ticket first, then training it toughly. arXiv preprint arXiv:2103.00397, 2021. \n[48] Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. arXiv preprint arXiv:1802.05957, 2018. \n[49] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing systems, pages 5998–6008, 2017. \n[50] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020. \n[51] Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou. Going deeper with image transformers. arXiv preprint arXiv:2103.17239, 2021. \n[52] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021. \n[53] Chun-Fu Chen, Quanfu Fan, and Rameswar Panda. Crossvit: Cross-attention multi-scale vision transformer for image classification. arXiv preprint arXiv:2103.14899, 2021. \n[54] Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multiscale vision longformer: A new vision transformer for high-resolution image encoding. arXiv preprint arXiv:2103.15358, 2021. \n[55] Changlin Li, Tao Tang, Guangrun Wang, Jiefeng Peng, Bing Wang, Xiaodan Liang, and Xiaojun Chang. Bossnas: Exploring hybrid cnn-transformers with block-wisely self-supervised neural architecture search. arXiv preprint arXiv:2103.12424, 2021. \n[56] Yutong Xie, Jianpeng Zhang, Chunhua Shen, and Yong Xia. Cotr: Efficiently bridging cnn and transformer for 3d medical image segmentation. arXiv preprint arXiv:2103.03024, 2021. \n[57] Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip Torr, and Vladlen Koltun. Point transformer. arXiv preprint arXiv:2012.09164, 2020. \n[58] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020. \n[59] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020. \n[60] Kai Han, Yunhe Wang, Hanting Chen, Xinghao Chen, Jianyuan Guo, Zhenhua Liu, Yehui Tang, An Xiao, Chunjing Xu, Yixing Xu, et al. A survey on visual transformer. arXiv preprint arXiv:2012.12556, 2020. \n[61] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, pages 4055–4064. PMLR, 2018. \n[62] Rewon Child, Scott Gray, Alec Radford, and Ilya Sutskever. Generating long sequences with sparse transformers. arXiv preprint arXiv:1904.10509, 2019. \n[63] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. \n[64] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li, and Vikas Singh. Nystromformer: A nystrom-based algorithm for approximating self-attention. arXiv preprint arXiv:2102.03902, 2021. \n[65] Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020. \n[66] Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? arXiv preprint arXiv:2102.05095, 2021. \n[67] Manoj Kumar, Dirk Weissenborn, and Nal Kalchbrenner. Colorization transformer. arXiv preprint arXiv:2102.04432, 2021. \n[68] Chen Sun, Abhinav Shrivastava, Saurabh Singh, and Abhinav Gupta. Revisiting unreasonable effectiveness of data in deep learning era. In Proceedings of the IEEE international conference on computer vision, pages 843–852, 2017. \n[69] Shengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu, and Song Han. Differentiable augmentation for dataefficient gan training. arXiv preprint arXiv:2006.10738, 2020. \n[70] Tero Karras, Miika Aittala, Janne Hellsten, Samuli Laine, Jaakko Lehtinen, and Timo Aila. Training generative adversarial networks with limited data. arXiv preprint arXiv:2006.06676, 2020. \n[71] Peter Shaw, Jakob Uszkoreit, and Ashish Vaswani. Self-attention with relative position representations. arXiv preprint arXiv:1803.02155, 2018. \n[72] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. arXiv preprint arXiv:1910.10683, 2019. \n[73] Cheng-Zhi Anna Huang, Ashish Vaswani, Jakob Uszkoreit, Noam Shazeer, Curtis Hawthorne, AM Dai, MD Hoffman, and D Eck. Music transformer: Generating music with long-term structure (2018). arXiv preprint arXiv:1809.04281, 2018. \n[74] Chieh Hubert Lin, Chia-Che Chang, Yu-Sheng Chen, Da-Cheng Juan, Wei Wei, and Hwann-Tzong Chen. Coco-gan: Generation by parts via conditional coordinating. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4512–4521, 2019. \n[75] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097–1105, 2012. \n[76] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. \n[77] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, pages 448–456. PMLR, 2015. \n[78] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016. \n[79] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009. \n[80] Adam Coates, Andrew Ng, and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pages 215–223. JMLR Workshop and Conference Proceedings, 2011. \n[81] Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), 2015. \n[82] Fisher Yu, Ari Seff, Yinda Zhang, Shuran Song, Thomas Funkhouser, and Jianxiong Xiao. Lsun: Construction of a large-scale image dataset using deep learning with humans in the loop. arXiv preprint arXiv:1506.03365, 2015. \n[83] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. arXiv preprint arXiv:1706.08500, 2017. \n[84] Animesh Karnewar and Oliver Wang. Msg-gan: Multi-scale gradients for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7799– 7808, 2020. \n[85] Ting Chen, Mario Lucic, Neil Houlsby, and Sylvain Gelly. On self modulation for generative adversarial networks. arXiv preprint arXiv:1810.01365, 2018. \n[86] Long Zhao, Zizhao Zhang, Ting Chen, Dimitris N Metaxas, and Han Zhang. Improved transformer for high-resolution gans. arXiv preprint arXiv:2106.07631, 2021. \n[87] Tero Karras, Miika Aittala, Samuli Laine, Erik Härkönen, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Alias-free generative adversarial networks. arXiv preprint arXiv:2106.12423, 2021. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
178,
|
| 946 |
+
494,
|
| 947 |
+
826,
|
| 948 |
+
911
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 9
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "",
|
| 955 |
+
"bbox": [
|
| 956 |
+
166,
|
| 957 |
+
51,
|
| 958 |
+
828,
|
| 959 |
+
921
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 10
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "",
|
| 966 |
+
"bbox": [
|
| 967 |
+
171,
|
| 968 |
+
47,
|
| 969 |
+
828,
|
| 970 |
+
922
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 11
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "",
|
| 977 |
+
"bbox": [
|
| 978 |
+
171,
|
| 979 |
+
36,
|
| 980 |
+
828,
|
| 981 |
+
917
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 12
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "",
|
| 988 |
+
"bbox": [
|
| 989 |
+
171,
|
| 990 |
+
89,
|
| 991 |
+
828,
|
| 992 |
+
761
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 13
|
| 995 |
+
}
|
| 996 |
+
]
|
parse/train/1GTpBZvNUrk/1GTpBZvNUrk_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/1GTpBZvNUrk/1GTpBZvNUrk_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/3ZeGLibhFo0/3ZeGLibhFo0.md
ADDED
|
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ENABLING COUNTERFACTUAL SURVIVAL ANALYSIS WITH BALANCED REPRESENTATIONS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Balanced representation learning methods have been applied successfully to counterfactual inference from observational data. However, approaches that account for survival outcomes are relatively limited. Survival data are frequently encountered across diverse medical applications, i.e., drug development, risk profiling, and clinical trials, and such data are also relevant in fields like manufacturing (for equipment monitoring). When the outcome of interest is time-to-event, special precautions for handling censored events need to be taken, as ignoring censored outcomes may lead to biased estimates. We propose a theoretically grounded unified framework for counterfactual inference applicable to survival outcomes. Further, we formulate a nonparametric hazard ratio metric for evaluating average and individualized treatment effects. Experimental results on real-world and semi-synthetic datasets, the latter which we introduce, demonstrate that the proposed approach significantly outperforms competitive alternatives in both survival-outcome predictions and treatment-effect estimation.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Survival analysis or time-to-event studies focus on modeling the time of a future event, such as death or failure, and investigate its relationship with covariates or predictors of interest. Specifically, we may be interested in the causal effect of a given intervention or treatment on survival time. A typical question may be: will a given therapy increase the chances of survival of an individual or population? Such causal inquiries on survival outcomes are common in the fields of epidemiology and medicine (Robins, 1986; Hammer et al., 1996; Yusuf et al., 2016). As an important current example, the COVID-19 pandemic is creating a demand for methodological development to address such questions, specifically, when evaluating the effectiveness of a potential vaccine or therapeutic outside randomized controlled trial settings.
|
| 12 |
+
|
| 13 |
+
Traditional causal survival analysis is typically carried out in the context of a randomized controlled trial (RCT), where the treatment assignment is controlled by researchers. Though they are the gold standard for causal inference, RCTs are usually long-term engagements, expensive and limited in sample size. Alternatively, the availability of observational data with comprehensive information about patients, such as electronic health records (EHRs), constitutes a more accessible but also more challenging source for estimating causal effects (Häyrinen et al., 2008; Jha et al., 2009). Such observational data may be used to augment and verify an RCT, after a particular treatment is approved and in use (Gombar et al., 2019; Frankovich et al., 2011; Longhurst et al., 2014). Moreover, the wealth of information from observational data also allows for the estimation of the individualized treatment effect (ITE), namely, the causal effect of an intervention at the individual level. In this work, we develop a novel framework for counterfactual time-to-event prediction to estimate the ITE for survival or time-to-event outcomes from observational data.
|
| 14 |
+
|
| 15 |
+
Estimating the causal effect for survival outcomes in observational data manifests two principal challenges. First, the treatment assignment mechanism is not known a priori. Therefore, there may be variables, known as confounders, affecting both the treatment and survival time, which lead to selection bias (Bareinboim & Pearl, 2012), i.e., that the distributions across treatment groups are not the same. In this work, we focus on selection biases due to confounding, but other sources may also be considered. For instance, patients who are severely ill are likely to receive more aggressive therapy, however, their health status may also inevitably influence survival. Traditional survival analysis neglects such bias, leading to incorrect causal estimation. Second, the exact time-to-event is not always observed, i.e., sometimes we only know that an event has not occurred up to a certain point in time. This is known as the censoring problem. Moreover, censoring might be informative depending on the characteristics of the individuals and their treatment assignments, thus proper adjustment is required for accurate causal estimation (Cole & Hernán, 2004; Díaz, 2019).
|
| 16 |
+
|
| 17 |
+
Traditional causal survival-analysis approaches typically model the effect of the treatment or covariates (not time or survival) in a parametric manner. Two commonly used models are the Cox proportional hazards (CoxPH) model (Cox, 1972) and the accelerated failure time (AFT) model (Wei, 1992), which presume a linear relationship between the covariates and survival probability. Further, proper weighting for each individual has been employed to account for confounding bias from these models (Austin, 2007; 2014; Hernán et al., 2005). For instance, probability weighting schemes that account for both selection bias and covariate dependent censoring have been considered for adjusted survival curves (Cole & Hernán, 2004; Díaz, 2019). Moreover, such probability weighting schemes have been applied to causal survival-analysis under time-varying treatment and confounding (Robins, 1986; Hernán et al., 2000). See van der Laan & Robins (2003); Tsiatis (2007); Van der Laan & Rose (2011); Hernán & Robins (2020) for an overview. Such linear specification makes these models interpretable but compromises their flexibility, and makes it difficult to adapt them for high-dimensional data or to capture complex interactions among covariates. Importantly, these methods lack a counterfactual prediction mechanism, which is key for ITE estimation (see Section 2).
|
| 18 |
+
|
| 19 |
+
Fortunately, recent advances in machine learning, such as representation learning or generative modeling, have enabled causal inference methods to handle high-dimensional data and to characterize complex interactions effectively. For instance, there has been recent interest in tree-based (Chipman et al., 2010; Wager & Athey, 2018) and neural-network-based (Shalit et al., 2017; Zhang et al., 2020) approaches. For pre-specified time-horizons, the nonparametric Random Survival Forest (RSF) (Ishwaran et al., 2008) and Bayesian Additive regression trees (BART) (Chipman et al., 2010) have been extended to causal survival analysis. RSF has been applied to causal survival forests with weighted bootstrap inference (Shen et al., 2018; Cui et al., 2020) while a BART is extended to account for survival outcomes in Surv-BART (Sparapani et al., 2016), and AFT-BART (Henderson et al., 2020). See Hu et al. (2020) for an extensive investigation of the causal survival tree-based methods. Alternatively, when estimating the ITE, neural-network-based methods propose to regularize the transformed covariates or representations for an individual to have balanced distributions across treatment groups, thus accounting for the confounding bias and improving ITE prediction. However, most approaches employing representation learning techniques for counterfactual inference deal with continuous or binary outcomes, instead of time-to-event outcomes with censoring (informative or non-informative). Hence, a principled generalization to the context of counterfactual survival analysis is needed.
|
| 20 |
+
|
| 21 |
+
In this work we leverage balanced (latent) representation learning to estimate ITE via counterfactual prediction of survival outcomes in observational studies. We develop a framework to predict event times from a low-dimensional transformation of the original covariate space. To address the specific challenges associated with counterfactual survival analysis, we make the following contributions:
|
| 22 |
+
|
| 23 |
+
• We develop an optimization objective incorporating adjustments for informative censoring, as well as a balanced regularization term bounding the generalization error for ITE prediction. For the latter, we repurpose a recently proposed bound (Shalit et al., 2017) for our time-to-event scenario.
|
| 24 |
+
• We propose a generative model for event times to relax restrictive survival linear and parametric assumptions, thus allowing for more flexible modeling. Our approach can also provide nonparametric uncertainty quantification for ITE predictions.
|
| 25 |
+
• We provide survival-specific evaluation metrics, including a new nonparametric hazard ratio estimator, and discuss how to perform model selection for survival outcomes. The proposed model demonstrates superior performance relative to the commonly used baselines in real-world and semi-synthetic datasets.
|
| 26 |
+
• We introduce a survival-specific semi-synthetic dataset and demonstrate an approach for leveraging prior randomized experiments in longitudinal studies for model validation.
|
| 27 |
+
|
| 28 |
+

|
| 29 |
+
Figure 1: (a) Illustration of the proposed counterfactual survival analysis (CSA). Covariates $X =$ $x$ are mapped into latent representation $r$ via deterministic mapping $r \ = \ \Phi ( x )$ . The potential outcomes are sampled from $\bar { t } _ { a } \sim p ( T _ { A } | X = x )$ for $A = a$ via stochastic mapping $h _ { A } ( r , \tilde { \epsilon } )$ , where randomness is induced with a flow-based transformation, $\tilde { \epsilon }$ , of a simple distribution $p ( \epsilon )$ , i.e., uniform or Gaussian. (b) and (c) show the proposed causal graphs for non-informative and informative censoring, respectively.
|
| 30 |
+
|
| 31 |
+
# 2 PROBLEM FORMULATION
|
| 32 |
+
|
| 33 |
+
We first introduce the basic setup for performing causal survival analysis in observational studies. Suppose we have $N$ units, with $N _ { 1 }$ units being treated and $N _ { 0 }$ in the control group $( N = N _ { 1 } + N _ { 0 } )$ . For each unit (individual), we have covariates $X$ , which can be heterogeneous, e.g., a mixture of categorical and continuous covariates which, in the context of medicine, may include labs, vitals, procedure codes, etc. We also have a treatment indicator $A$ , where $A = 0$ for the controls and $A = 1$ for the treated, as well as the outcome (event) of interest $T$ . Under the potential-outcomes framework (Rubin, 2005), let $T _ { 0 }$ and $T _ { 1 }$ be the potential event times for a given subject under control and treatment, respectively. In practice we only observe one realization of the potential outcomes, i.e., the factual outcome $T = T _ { A }$ , while the counterfactual outcome $T _ { 1 - A }$ is unobserved.
|
| 34 |
+
|
| 35 |
+
In survival analysis, the problem becomes more difficult because we do not always observe the exact event time for each individual, but rather the time up to which we are certain that the event has not occurred; specifically, we have a (right) censoring problem, most likely due to the loss of follow-up. We denote the censoring time as $C$ and censoring indicator as $\delta \in \{ 0 , 1 \}$ . The actual observed time is $Y = \operatorname* { m i n } ( T _ { A } , C )$ , i.e., the outcome is observed (non-censored) if $T _ { A } < C$ and $\delta = 1$ .
|
| 36 |
+
|
| 37 |
+
In this work, we are interested in the expected difference between the $T _ { 1 }$ and $T _ { 0 }$ conditioned on $X$ for a given unit (individual), which is commonly known as the individualized treatment effect (ITE). Specifically, we wish to perform inference on the conditional distributions of $T _ { 1 }$ and $T _ { 0 }$ , i.e., $p ( T _ { 1 } | X )$ and $p ( T _ { 0 } | X )$ , respectively, as shown in Figure 1a. In practice, we observe $N$ realizations of $( Y , \delta , X , A )$ for observed time, censoring indicator, covariates and treatment indicator, respectively; hence, from an observational study the dataset takes the form $\mathcal { D } = \{ ( y _ { i } , \delta _ { i } , x _ { i } , a _ { i } ) \} _ { i = 1 } ^ { N }$ . Below, we discuss several common choices of estimands in survival analysis.
|
| 38 |
+
|
| 39 |
+
Estimands of Interest We begin by considering survival analysis in the absence of an intervening treatment choice, $A$ . Let $F ( t | x ) \triangleq P ( T \leq t | X = x )$ be the cumulative distribution function of the event (failure) time, $t$ , given a realization of the covariates, $x$ . Survival analysis is primarily concerned with characterization of the survival function conditioned on covariates $S ( t | x ) \triangleq 1 - F ( t | x )$ , and the hazard function or risk score, $\lambda ( t | x )$ , defined below. $S ( t | x )$ is a monotonically decreasing function indicating the probability of survival up to time $t$ . The hazard function measures the instantaneous probability of the event occurring between $\{ t , t + \Delta t \}$ given $T > t$ and $\Delta t 0$ . From standard definitions (Kleinbaum & Klein, 2010), the relationship between cumulative and hazard function is formulated as
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\lambda ( t | x ) = \operatorname* { l i m } _ { d t 0 } { \frac { P ( t < T < t + d t | X = x ) } { P ( T > t | X = x ) d t } } = - { \frac { d \log S ( t | x ) } { d t } } = { \frac { f ( t | x ) } { S ( t | x ) } } .
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
From (1) we see that $f ( t | x ) \triangleq P ( T = t | X = x ) = \lambda ( t | x ) S ( t | x )$ , is the conditional event time density function (Kleinbaum $\&$ Klein, 2010).
|
| 46 |
+
|
| 47 |
+
Given the binary treatment $A$ , we are interested in its impact on the survival time. For ITE estimation, we are also interested in the difference between the two potential outcomes $T _ { 1 } , T _ { 0 }$ . Let $S _ { A } ( t | x )$ and $\lambda _ { A } ( t | x )$ denote the survival and hazard functions for the potential outcomes $T _ { A }$ , i.e., $T _ { 1 }$ and $T _ { 0 }$ . Several common estimands of interest include (Zhao et al., 2012; Trinquart et al., 2016): difference in expected lifetime: $\begin{array} { r } { \mathrm { { I T E } } ( t , x ) = \int _ { 0 } ^ { t _ { \operatorname* { m a x } } } \{ S _ { 1 } ( t | x ) - S _ { 0 } ( t | x ) \} \mathrm { d } t = \mathbb { E } \{ T _ { 1 } - T _ { 0 } | X = x \} . } \end{array}$ , difference in survival function: $\mathrm { I T E } ( t , x ) = S _ { 1 } ( t | x ) - S _ { 0 } ( t | x )$ , and hazard ratio: $\mathrm { I T E } ( t , x ) = \lambda _ { 1 } ( t | x ) / \lambda _ { 0 } ( t | x )$ . The inference difficulties associated with the above estimands from observational data are two-fold. First, there are confounders affecting both the treatment assignment and outcomes, which stem from selection bias, i.e., the treatment and control covariate distributions are not necessarily the same. Also, we do not have direct knowledge of the conditional treatment assignment mechanism, i.e., $P ( A = a | X = x )$ , also known as the propensity score. Let ⊥⊥ denote statistical independence. For estimands to be identifiable from observational data, we make two assumptions: (i) $\{ T _ { 1 } , T _ { 0 } \} \perp \perp A | X$ , i.e., no unobserved confounders or ignorability, and $( i i )$ overlap in the covariate support $0 < P ( A =$ $1 | X = x ) < 1$ almost surely if $p ( X = x ) > 0$ . Second, the censoring mechanism is also unknown and may lead to bias without proper adjustment. We consider two censoring mechanisms in our work, $( i )$ conditionally independent or informative censoring: $T \perp \perp C | X , A$ , and $( i i )$ random or non-informative censoring: $T \perp \perp C$ . Note that for informative censoring, we also have to consider potential censoring times $C _ { 1 }$ and $C _ { 0 }$ and their conditionals $p ( C _ { 1 } | X )$ and $p ( C _ { 0 } | X )$ , respectively. Figure 1 shows causal graphs illustrating these modeling assumptions.
|
| 48 |
+
|
| 49 |
+
# 3 MODELING
|
| 50 |
+
|
| 51 |
+
To overcome the above challenges and adjust for observational biases, we propose a unified framework for counterfactual survival analysis (CSA). Specifically, we repurpose the counterfactual bound in Shalit et al. (2017) for our time-to-event scenario and introduce a nonparametric approach for stochastic survival outcome predictions. Below we formulate a theoretically grounded and unified approach for estimating $( i )$ the encoder function $r = \Phi ( x )$ , which deterministically maps covariates $x$ to their corresponding latent representation $r \in { \mathbb { R } } ^ { d }$ , and $( i i )$ two stochastic time-to-event generative functions, $h _ { A } ( \cdot )$ , to implicitly draw samples from both potential outcome conditionals $\bar { t } _ { a } \sim p _ { h , \Phi } ( T _ { A } | X = x )$ , for $A = \{ 1 , 0 \}$ , and where $t _ { a }$ indicates the sample from $p _ { h , \Phi } ( T _ { A } | X = x )$ is for $A = a$ . Further, we formulate a general extension that accounts for informative censoring by introducing two stochastic censoring generative functions, $\nu _ { A } ( \cdot )$ , to draw samples for potential censoring times $c _ { a } \sim p _ { \nu , \Phi } ( C _ { A } | X = x )$ . The model-specifying functions, $\{ h _ { A } ( \cdot ) , \nu _ { A } ( \cdot ) , \Phi ( \cdot ) \}$ , are parameterized via neural networks. See the Supplementary Material (SM) for details. Figure 1a summarizes our modeling approach.
|
| 52 |
+
|
| 53 |
+
Accounting for selection bias We wish to estimate the potential outcomes, i.e., event times, which are sampled by distributions parameterized by functions $\{ h _ { A } ( \cdot ) , \Phi ( \cdot ) \}$ , i.e.,
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\begin{array} { c } { { t \sim p _ { h , \Phi } ( T | X = x , A = a ) } } \\ { { { \it t } _ { a } \sim p _ { h , \Phi } ( T _ { a } | X = x ) } } \end{array}
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
We obtain (3) from (2) via the strong ignorability assumption, i.e., $\{ T _ { 0 } , T _ { 1 } \}$ ⊥⊥ $A | X$ (consistent with the causal graphs in Figure 1b and 1c) and $0 < P ( A = \mathsf { \bar { a } } | X \doteq x ) < 1 .$ , and the consistency assumption, i.e., $T = T _ { A } | A = a$ . A similar argument can be made for informative censoring based on Figure 1c, so we can also write $c _ { a } \sim p _ { \nu , \Phi } ( C _ { A } | X = x )$ . Given (3), model functions $\{ h _ { A } ( \cdot ) , \Phi ( \cdot ) \bar \}$ and $\nu _ { A } ( \cdot )$ for informative censoring can be learned by leveraging standard statistical optimization approaches, that minimize a loss hypothesis $\mathcal { L }$ given samples from the empirical distribution $( y , \delta , x , a ) \sim p ( Y , \delta , X , A )$ , i.e., from dataset $\mathcal { D }$ . Specifically, we write $\mathcal { L } = \mathbb { E } _ { ( y , \delta , x , a ) \sim p ( Y , \delta , X , A ) } \left[ \ell _ { h , \Phi } ( t _ { a } , y , \delta ) \right]$ , where $\ell _ { h , \Phi } ( t _ { a } , y , \delta )$ is a loss function that measures the agreement of $t _ { a } \sim p _ { h , \Phi } ( T _ { A } | X = x )$ (and $c _ { a } \sim p _ { \nu , \Phi } ( C _ { A } | X = x )$ for informative censoring) with ground truth $\{ y , \delta \}$ , the observed time and censoring indicator, respectively.
|
| 60 |
+
|
| 61 |
+
For some parametric formulations of event time distribution $p _ { h , \Phi } ( T _ { A } | X = x )$ , e.g., exponential, Weibull, log-Normal, etc., and provided the censoring mechanism is non-informative, $- \ell _ { h , \Phi } ( t _ { a } , y , \delta )$ is the closed form log likelihood. Specifically, $- \ell _ { h , \Phi } ( t _ { a } , y , \delta ) \triangleq \log p _ { h , \Phi } ( T _ { a } | X = x ) = \delta$ · $\log f _ { h , \Phi } ( t _ { a } | x ) + ( 1 - \bar { \delta } ) \cdot \log S _ { h , \Phi } ( t _ { a } | x )$ , which implies that the conditional event time density and survival functions can be calculated in closed form from transformations $\{ h _ { A } ( \cdot ) , \Phi ( \cdot ) \}$ of $x$ . See the SM for parametric examples of $\mathcal { L }$ accounting for informative censoring.
|
| 62 |
+
|
| 63 |
+
We further define the expected loss for a given realization of covariates $x$ and treatment assignment $a$ over observed times $y$ (censored and non-censored), and the censoring indicator $\delta$ as $\zeta _ { h , \Phi } ( x , a ) \triangleq$ $\mathbb { E } _ { ( y , \delta , x ) \sim p ( Y , \delta | X ) } \ell _ { h , \Phi } ( t _ { a } , y , \delta )$ as in Shalit et al. (2017). For a given subject with covariates $x$ and treatment assignment $a$ , we wish to minimize both the factual and counterfactual losses, $\mathcal { L } _ { \mathrm { F } }$ and $\mathcal { L } _ { \mathrm { C F } }$ respectively, by decomposing $\mathcal { L } = \mathcal { L } _ { \mathrm { F } } + \mathcal { L } _ { \mathrm { C F } }$ as follows
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { F } } = \mathbb { E } _ { ( x , a ) \sim p ( A , X ) } \zeta _ { h , \Phi } ( x , a ) , \quad \mathcal { L } _ { \mathrm { C F } } = \mathbb { E } _ { ( x , a ) \sim p ( 1 - A , X ) } \zeta _ { h , \Phi } ( x , a ) . } \end{array}
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
Let $u \triangleq P ( A = 1 )$ denote the marginal probability of treatment assignment. We can readily decompose the losses in (4) according to treatment assignments. The decomposed factual $\mathcal { L } _ { \mathrm { F } } =$ $u \cdot \mathcal { L } _ { \mathrm { F } } ^ { A = 1 } + \left( 1 - u \right) \cdot \mathcal { L } _ { \mathrm { F } } ^ { A = 0 }$ , and similarly, the decomposed counterfactual $\mathcal { L } _ { \mathrm { C F } } = \dot { ( } 1 - u ) \cdot \mathcal { L } _ { \mathrm { C F } } ^ { A = 1 } + u$ $\mathcal { L } _ { \mathrm { C F } } ^ { A = 0 }$ F CF . In practice, only factual outcomes are observed, hence, for a non-randomized non-controlled experiment, we cannot obtain an unbiased estimate of $\mathcal { L } _ { \mathrm { C F } }$ from data due to selection bias (or confounding). Therefore, we bound $\mathcal { L } _ { \mathrm { C F } }$ and $\mathcal { L }$ below following Shalit et al. (2017).
|
| 70 |
+
|
| 71 |
+
Corollary 1 Assume $\Phi ( \cdot )$ is an invertible map, and $\alpha ^ { - 1 } \zeta _ { h , \Phi } ( x , a ) \in G$ , where $G$ is a family of functions, $p _ { \Phi } ^ { A = a } \triangleq p _ { \Phi } ( R | A = a )$ is the latent distribution for group $A = a$ , and $\alpha > 0$ is a constant. Then, we have:
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\begin{array} { r l } & { \mathcal { L } _ { \mathrm { C F } } \leq ( 1 - u ) \cdot \mathcal { L } _ { \mathrm { F } } ^ { A = 1 } + u \cdot \mathcal { L } _ { \mathrm { F } } ^ { A = 0 } + \alpha \cdot \mathrm { I P M } _ { G } ( p _ { \Phi } ^ { A = 1 } , p _ { \Phi } ^ { A = 0 } ) } \\ & { \quad \mathcal { L } \leq \mathcal { L } _ { \mathrm { F } } ^ { A = 1 } + \mathcal { L } _ { \mathrm { F } } ^ { A = 0 } + \alpha \cdot \mathrm { I P M } _ { G } ( p _ { \Phi } ^ { A = 1 } , p _ { \Phi } ^ { A = 0 } ) . } \end{array}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
The integral probability metric (IPM) (Müller, 1997; Sriperumbudur et al., 2012) measures the distance between two probability distributions $p$ and $q$ defined over $M$ , i.e., the latent space of $R$ . Formally, $\begin{array} { r } { \mathrm { I P M } _ { G } ( p , q ) \triangleq \operatorname* { s u p } _ { g \in G } \vert \int _ { M } g ( m ) \left( p ( m ) - q ( m ) \right) d m \vert } \end{array}$ , where $g : m \mathbb { R }$ , represents a class of real-valued bounded measurable functions on $M$ (Shalit et al., 2017). Therefore, model functions $\{ h _ { a } ( \cdot ) , \Phi ( \cdot ) \}$ can be learned by minimizing the upper bound in (5) consisting of $( i )$ only factual losses under both treatment assignments and $( i i )$ an IPM regularizer enforcing latent distributional equivalence between the treatment groups. Note that if the data originates from a RCT it follows (by construction) that $\mathrm { I P M } _ { G } ( p _ { \Phi } ^ { A = 1 } , p _ { \Phi } ^ { \tilde { A = 0 } } ) \stackrel { . } { = } 0$ .
|
| 78 |
+
|
| 79 |
+
Accounting for censoring bias Below we formulate an approach for estimating functions $h _ { A } ( \cdot )$ and $\nu _ { A } ( \cdot )$ for synthesizing (sampling) non-censored $t _ { a } \sim \stackrel { \sim } { p } _ { h , \Phi } ( T _ { A } | X = x )$ and censored $c _ { a } \sim$ $p _ { \nu , \Phi } ( C _ { A } | X = x )$ times, respectively. While some parametric assumptions for $p _ { h , \Phi } ( T _ { A } | X = x )$ yield easy-to-evaluate closed forms for $S _ { h , \Phi } ( t _ { a } | x )$ that can be used as likelihood for censored observations, they are restrictive, and have been shown to generate unrealistic high variance samples (Chapfuwa et al., 2018). So motivated, we seek a nonparametric likelihood-based approach that can model a flexible family of distributions, with an easy-to-sample approach for event times $t _ { a } \sim$ $p _ { h , \Phi } ( T _ { a } | X = x )$ . We model the event time generation process with a source of randomness, $p ( \epsilon )$ , e.g. Gaussian or uniform, which is obtained from a neural-network-based nonlinear transformation. In the experiments we use a planar flow formulation parameterized by $\{ U _ { h } , W _ { h } , b _ { h } \}$ (Rezende & Mohamed, 2015), however, other specifications can also be used. Note that Miscouridou et al. (2018) has previously leveraged normalizing flows for survival analysis, however, our approach is very different in that it focuses on formulating $\romannumeral 1$ ) a counterfactual survival analysis framework that accounts for informative or non-informative censoring mechanisms and confounding, and $_ { i i }$ ) model event times as a continuous variable instead of discretizing them. Specifically, we transform the source of randomness, $\epsilon$ , using a single layer specification as follows
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
{ \widetilde { \epsilon } } _ { h } = \epsilon + U _ { h } \operatorname { t a n h } ( W _ { h } \epsilon + b _ { h } ) , \quad \epsilon \sim \operatorname { U n i f o r m } ( 0 , 1 ) , t _ { a } = h _ { A } ( r , { \widetilde { \epsilon } } _ { h } ) , \quad r = \Phi ( x )
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
where $\{ U _ { h } , W _ { h } \} \in \mathbb { R } ^ { d \times d }$ , $\{ b _ { h } , \epsilon \} \in \mathbb { R } ^ { d }$ , $d$ is the dimensionality of the normalizing flow; each component of $\epsilon$ is drawn independently from Uniform $( 0 , 1 )$ , and $\tilde { \epsilon } _ { h }$ may be viewed as a skip connection with stochasticity in $\epsilon$ . Further, $h _ { A } ( r , \tilde { \epsilon } _ { h } )$ and $\Phi ( x )$ are time-to-event generative and encoding functions, respectively, parameterized as neural networks. For simplicity, the dimensions of $r$ and $\epsilon$ are set to $d$ , however, they can be set independently if desired. In practice, we are interested in generating realistic event-time samples; therefore, we account for both censored and non-censored observations by adopting the objective from Chapfuwa et al. (2018), formulated as
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\mathcal { L } _ { \mathrm { F } } ^ { \mathrm { C S A } } \triangleq \mathbb { E } _ { ( y , \delta , x , a ) \sim p ( Y , \delta , X , A ) , \epsilon \sim p ( \epsilon ) } \left[ \delta \cdot \left( \left| y - t _ { a } \right| \right) + \left( 1 - \delta \right) \cdot \left( \operatorname* { m a x } ( 0 , y - t _ { a } ) \right) \right] ,
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
where the first term encourages sampled event times $t _ { a }$ to be close to $y$ , the ground truth for observed events, i.e., $\delta = 1$ , while penalizing $t _ { a }$ for being smaller than the censoring time when $\delta = 0$ . Further, the expectation is taken over samples (a minibatch) from empirical distribution $p ( Y , \delta , X , A )$ .
|
| 92 |
+
|
| 93 |
+
Informative censoring We model informative censoring similar to (7) but mirroring the censoring indicators to encourage accurate censoring time samples $c _ { a }$ for $\delta = 0$ , while penalizing $c _ { a }$ for being smaller than $y$ for $\delta \ : = \ : 1$ (observed events). Specifically, we set an independent source of randomness like in (6) but parameterized by $\{ U _ { \nu } , W _ { \nu } , b _ { \nu } \}$ and censoring generative functions $\nu _ { A } ( r , \tilde { \epsilon } _ { \nu } )$ , parameterized as neural networks, where $c _ { a } \sim p _ { \nu , \Phi } ( C _ { A } | X = x )$ formulated as
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\ell _ { c } ( \nu , \Phi ) = \mathbb { E } _ { ( y , \delta , x , a ) \sim p ( y , \delta , X , A ) , \epsilon \sim p ( \epsilon ) } \left[ ( 1 - \delta ) \cdot ( | y - c _ { a } | ) + \delta \cdot ( \operatorname* { m a x } ( 0 , y - c _ { a } ) ) \right] .
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Further, we introduce an additional time-order-consistency loss that enforces the correct order of the observed time relative to the censoring indicator, i.e., $c _ { a } < t _ { a }$ if $\delta = 0$ and $t \sb a < c \sb a$ if $\delta = 1$ , thus
|
| 100 |
+
|
| 101 |
+
$$
|
| 102 |
+
\ell _ { \mathrm { T C } } ( h , \nu , \Phi ) = \mathbb { E } _ { ( \delta , x , a ) \sim p ( \delta , X , A ) , \epsilon \sim p ( \epsilon ) } \left[ \delta \cdot ( \operatorname* { m a x } ( 0 , t _ { a } - c _ { a } ) ) + ( 1 - \delta ) \cdot ( \operatorname* { m a x } ( 0 , c _ { a } - t _ { a } ) ) \right] .
|
| 103 |
+
$$
|
| 104 |
+
|
| 105 |
+
Note that $\ell _ { \mathrm { T C } } ( h , \nu , \Phi )$ does not depend on the observed event times but only on the censoring indicators. Finally, we write the consolidated CSA loss for informative censoring (CSA-INFO) by aggregating (7), (8) and (9) as $\mathcal { L } _ { \mathrm { F } } ^ { \mathrm { C S A - I N F O } } \triangleq \mathcal { L } _ { \mathrm { F } } ^ { \mathrm { C S A } } + \ell _ { \mathrm { c } } + \ell _ { \mathrm { T C } }$ .
|
| 106 |
+
|
| 107 |
+
Learning Model functions $\{ h _ { A } ( \cdot ) , \Phi ( \cdot ) , \nu _ { A } ( \cdot ) \}$ are learned by minimizing the bound (5), via stochastic gradient descent on minibatches from $\mathcal { D }$ , with $\mathcal { L } _ { \mathrm { F } } ^ { \mathrm { C S A } }$ for non-informative censoring and $\mathcal { L } _ { \mathrm { F } } ^ { \mathrm { C S A - I N F O } }$ for informative censoring. Further, for the IPM regularization loss in (5), we optimize the dual formulation of the Wasserstein distance, via the regularized optimal transport (Villani, 2008; Cuturi, 2013). Consequently, we only require $\alpha ^ { - 1 } \zeta _ { h , \Phi } ( \bar { x , } a )$ to be 1-Lipschitz (Shalit et al., 2017) and $\alpha$ is selected by grid search on the validation set using only factual data (details below).
|
| 108 |
+
|
| 109 |
+
# 4 METRICS
|
| 110 |
+
|
| 111 |
+
We propose a comprehensive evaluation approach that accounts for both factual and causal metrics. Factual survival outcome predictions are evaluated according to standard survival metrics that measure diverse performance characteristics, such as concordance index (C-Index) (Harrell Jr et al., 1984), mean coefficient of variation (COV) and calibration slope (C-slope) (Chapfuwa et al., 2020). See the SM for more details on these metrics. For causal metrics, defined below, we introduce a nonparametric hazard ratio (HR) between treatment outcomes, and adopt the conventional precision in estimation of heterogeneous effect (PEHE) and average treatment effect (ATE) performance metrics (Hill, 2011). Note that PEHE and ATE require ground truth counterfactual event times, which is only possible in (semi-)synthetic data. For HR, we compare our findings with those independently reported in the literature from gold-standard RCT data.
|
| 112 |
+
|
| 113 |
+
Nonparametric Hazard Ratio In a medical setting, the population hazard ratio $\mathrm { H R } ( t )$ between treatment groups is considered informative thus has been widely used in drug development and RCT (Yusuf et al., 2016; Mihaylova et al., 2012). For example, $\mathrm { H R } ( t ) < 1 , > 1$ , or $\approx 1$ indicate population positive, negative and neutral treatment effects at time $t$ , respectively. Moreover, $\mathrm { H R } ( t )$ naturally accounts for both censored and non-censored outcomes. Standard approaches for computing $\mathrm { H R } ( { \dot { t } } )$ rely on the restrictive proportional hazard assumption from CoxPH (Cox, 1972), which is constituted as a semi-parametric linear model $\lambda ( t | a ) = \lambda _ { \mathrm { b } } \bar { ( } t ) \exp ( a \beta )$ . However, the constant covariate (time independent) effect is often violated in practice (see Figure 2b). For CoxPH, the marginal HR between treatment and control can be obtained from regression coefficient $\beta$ learned via maximum likelihood without the need for specifying the baseline hazard $\begin{array} { r } { \mathrm { ~ \cdot ~ } _ { \mathrm { b } } ( t ) \colon \mathrm { H R } _ { \mathrm { C o x P H } } ( t ) = \frac { \lambda ( t | a = 1 ) } { \lambda ( t | a = 0 ) } = \exp ( \beta ) } \end{array}$ . So motivated, we propose a nonparametric, model-free approach for computing $\mathrm { H R } ( t )$ , in which we do not assume a parametric form for the event time distribution or the proportional hazard assumption from CoxPH. This approach only relies on samples from the conditional event time density functions, $f ( t _ { 1 } | x )$ and $f ( t _ { 0 } | x )$ , via $t _ { a } = h _ { A } ( \cdot )$ from (6).
|
| 114 |
+
|
| 115 |
+
Definition 1 We define the nonparametric marginal Hazard Ratio and its approximation, $\mathrm { \hat { H R } } ( t )$ , as
|
| 116 |
+
|
| 117 |
+
$$
|
| 118 |
+
\mathrm { H R } ( t ) = \frac { \lambda _ { 1 } ( t ) } { \lambda _ { 0 } ( t ) } = \frac { S _ { 0 } ( t ) } { S _ { 1 } ( t ) } \cdot \frac { S _ { 1 } ^ { \prime } ( t ) } { S _ { 0 } ^ { \prime } ( t ) } , \quad \mathrm { H R } ( t ) = \frac { \hat { S } _ { 0 } ^ { \mathrm { P K M } } ( t ) } { \hat { S } _ { 1 } ^ { \mathrm { P K M } } ( t ) } \cdot \frac { m _ { 1 } ( t ) } { m _ { 0 } ( t ) } ,
|
| 119 |
+
$$
|
| 120 |
+
|
| 121 |
+
where for $\mathrm { H R } ( t )$ we leveraged (1) to obtain (10) and $S ^ { \prime } ( t ) \triangleq d S ( t ) / d t$ . The nonparametric assumption for $S ( t )$ makes the computation of $S ^ { \prime } ( t )$ challenging. Provided that $S ( t )$ is a monotonically decreasing function, for simplicity, we fit a linear function $S ( t ) = m \cdot t + c .$ , and set $S ^ { \prime } ( t ) \approx m$ . Note that the linear model is only used for estimating $S ^ { \prime } ( t )$ from the nonparametric estimation of $S ( t )$ .
|
| 122 |
+
|
| 123 |
+
Table 1: Performance comparisons on ACTG-SYNTHETIC data, with $9 5 \%$ $\mathrm { H R } ( t )$ confidence interval. The ground truth, test set, hazard ratio is $\mathrm { H R ( t ) } = 0 . 5 2 _ { ( 0 . 3 9 , 0 . 7 1 ) }$ .
|
| 124 |
+
|
| 125 |
+
<table><tr><td rowspan="2">Method</td><td colspan="3">Causal</td><td colspan="2">Factual</td><td rowspan="2">C-Slope (A=0,A=1)</td></tr><tr><td>EPEHE</td><td>EATE</td><td>HR(t)</td><td>C-Index (A=0,A=1)</td><td>Mean COV</td></tr><tr><td>CoxPH-Uniform</td><td>NA</td><td>NA</td><td>0.97(0.86,1.09)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-IPW</td><td>NA</td><td>NA</td><td>0.48(0.03,7.21)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-OW</td><td>NA</td><td>NA</td><td>0.60(0.53,0.68)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>Surv-BART</td><td>352.07</td><td>77.89</td><td>0.0(0.0,0.0)</td><td>(0.706,0.686)</td><td>0.001</td><td>(0.398,0)</td></tr><tr><td>AFT-Weibull</td><td>367.92</td><td>133.93</td><td>0.47(0.47,0.47)</td><td>(0.21,0.267)</td><td>6.209</td><td>(0.707,0.729)</td></tr><tr><td>AFT-log-Normal</td><td>377.76</td><td>157.64</td><td>0.47(0.47,0.47)</td><td>(0.675, 0.556)</td><td>6.971</td><td>(0.707,0.729)</td></tr><tr><td>SR</td><td>369.47</td><td>88.55</td><td>0.38(0.330.65)</td><td>(0.791,0.744)</td><td>0</td><td>(0.985,1.027)</td></tr><tr><td>CSA (proposed)</td><td>358.72</td><td>0.8</td><td>0.45(0.39,0.65)</td><td>(0.787,0.767)</td><td>0.131</td><td>(0.985,1.026)</td></tr><tr><td>CSA-INFO (proposed)</td><td>344.3</td><td>31.19</td><td>0.53(0.41,0.67)</td><td>(0.78,0.764)</td><td>0.13</td><td>(0.999,1.029)</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Bias from $S ^ { \prime } ( t )$ can be reduced by considering more complex function approximations for $S ( t )$ , e.g., polynomial or spline. For the nonparametric estimation of $S ( t )$ we leverage the model-free population point-estimate-based nonparametric Kaplan-Meier (Kaplan & Meier, 1958) estimator of the survival function $\hat { S } ^ { \mathrm { P K M } } ( t )$ in Chapfuwa et al. (2020) to marginalize both factual and counterfactual predictions given covariates $x$ . The approximated hazard ratio, $\mathrm { \hat { H R } } ( t )$ , is thus obtained by combining the approximations $\hat { S } _ { a } ^ { \mathrm { P K M } } ( t )$ and $m _ { a }$ . A similar formulation for the conditional, $\mathrm { H } \mathrm { \hat { R } } ( t | x )$ , can also be derived. See the SM for full details on the evaluation or $\mathrm { \hat { H R } } ( t )$ and $\mathrm { H } \mathrm { \hat { R } } ( t | x )$ . Note that for some AFT- or CoxPH-based parametric formulations, $\mathrm { H R } ( t | x )$ , can be readily evaluated because $f ( t _ { a } | x )$ and $S ( t _ { a } | x )$ are available in closed form.
|
| 128 |
+
|
| 129 |
+
In the experiments, we will use $\mathrm { H R } ( t )$ to compare different approaches against results reported in RCTs (see Tables 1 and 3). Further, we will use $\mathrm { H R } ( t | x )$ to illustrate stratified treatment effects (see Figure 2). Note that though a neural-based survival recommender system (Katzman et al., 2018) has been previously used to estimate $\operatorname { H R } ( t | x )$ , their approach does not account for confounding or informative censoring thus it is susceptible to bias.
|
| 130 |
+
|
| 131 |
+
Precision in Estimation of Heterogeneous Effect (PEHE) A general individualized estimation error is formulated as $\epsilon _ { \mathrm { P E H E } } = \sqrt { \mathbb { E } _ { X } [ ( \mathrm { I T E } ( x ) - \mathrm { I } \hat { \mathrm { T E } } ( x ) ) ^ { 2 } ] }$ , where $\operatorname { I T E } ( x )$ is the ground truth, $\mathrm { I } \hat { \mathrm { T E } } ( x ) = \mathbb { E } _ { T } \left[ \gamma \left( T _ { 1 } \right) - \gamma \left( T _ { 0 } \right) \vert X = x \right]$ and $\gamma ( \cdot )$ is a deterministic transformation. In our experiments, $\gamma ( \cdot )$ is the average over samples from $\dot { t _ { a } } \sim p _ { h , \Phi } ( T _ { A } | X = x )$ . Alternative estimands, e.g., thresholding survival times $\gamma ( T _ { A } ) = I \{ T _ { A } > \tau \}$ , can also be considered as described above.
|
| 132 |
+
|
| 133 |
+
Average Treatment Effect (ATE) The population treatment effect estimation error is defined as $\epsilon _ { \mathrm { A T E } } = | \mathrm { A T E } - \mathrm { A \hat { T } E } |$ , where $\mathrm { A T E } = \mathbb { E } _ { X } [ \mathrm { I T E } ( x ) ]$ (ground truth) and $\mathrm { A } \hat { \mathrm { T E } } = \mathbb { E } _ { X } [ \hat { \mathrm { I T E } } ( x ) ]$ .
|
| 134 |
+
|
| 135 |
+
# 5 EXPERIMENTS
|
| 136 |
+
|
| 137 |
+
We describe the baselines and datasets that will be used to evaluate the proposed counterfactual survival analysis methods (CSA and CSA-INFO). Pytorch code including the new semi-synthetic dataset (see below) will be made publicly available. Throughout the experiments, we use the standard $\mathrm { H R } ( t )$ for CoxPH based methods and (10) for all others. The bound in (5) is sensitive to $\alpha$ , thus we propose approximating proxy counterfactual outcomes $\{ Y _ { \mathrm { C F } } , \delta _ { \mathrm { C F } } \}$ for the validation set, according to the covariate Euclidean nearest-neighbour (NN) from the training set. We select the $\alpha$ that minimizes the validation loss $\mathcal { L } = \mathcal { L } _ { \mathrm { F } } + \mathcal { L } _ { \mathrm { C F } }$ from the set $( 0 , 0 . 1 , 1 , 1 0 , 1 0 0 )$ .
|
| 138 |
+
|
| 139 |
+
Baselines We consider the following competitive baseline approaches: $( i )$ propensity weighted CoxPH (Schemper et al., 2009; Buchanan et al., 2014; Rosenbaum & Rubin, 1983); $( i i )$ IPM (5) regularized AFT (log-Normal and Weibull) models; $( i i i )$ an IPM (5) regularized deterministic semisupervised regression (SR) model with accuracy objective from (Chapfuwa et al., 2018), as a contrast for the proposed stochastic predictors (CSA and CSA-INFO); and $( i v )$ survival Bayesian additive regression trees (Surv-BART) (Sparapani et al., 2016). For CoxPH, we consider three normalized weigh2009), $\begin{array} { r } { \mathrm { I P W } _ { i } = \frac { a _ { i } } { \hat { e } _ { i } } + \frac { 1 - a _ { i } } { 1 - \hat { e } _ { i } } ; i i ) } \end{array}$ $( i )$ weilappi ng (IPW) (Horvitz & Thompson, 1952; Cao et al.,weights (OW) (Crump et al., 2006; Li et al., 2018), $\mathrm { O W } _ { i } = a _ { i } \cdot \left( 1 - \hat { e } _ { i } \right) + \left( 1 - a _ { i } \right) \cdot \hat { e } _ { i }$ $i i i$
|
| 140 |
+
linear logistic model $\hat { e } _ { i } = \sigma ( x _ { i } ; w )$ , is used as an approximation, $\boldsymbol { \hat { e } } _ { i }$ , to the unknown propensity score $P ( A = { \bar { 1 } } | X = x )$ . See the SM for a details of the baselines.
|
| 141 |
+
|
| 142 |
+
Table 3: Performance comparisons on FRAMINGHAM data, with $9 5 \%$ $\mathrm { H R } ( t )$ confidence interval. Test set NN assignment of $y _ { \mathrm { C F } }$ and $\delta _ { \mathrm { C F } }$ yields biased $\mathrm { H R ( t ) } = 1 . 2 3 _ { ( 1 . 1 7 , 1 . 2 5 ) }$ , while previous large scale longitudinal RCT studies estimated $\mathrm { H R } ( \mathrm { t } ) = 0 . 7 5$ (0.64,0.88) (Yusuf et al., 2016).
|
| 143 |
+
|
| 144 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">Causal HR(t)</td><td rowspan="2">C-Index (A=0, A=1)</td><td rowspan="2">Factual Mean COV</td><td rowspan="2">C-Slope (A=0,A=1)</td></tr><tr><td></td></tr><tr><td>CoxPH-Uniform</td><td>1.69(1.38,2.07)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-IPW</td><td>1.09(0.76,1.57)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-OW</td><td>0.88(0.73,1.08)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>Surv-BART</td><td>14.99(14.9,14.9e8)</td><td>(0.629,0.630)</td><td>0.003</td><td>(0.232,0.084)</td></tr><tr><td>AFT-Weibull</td><td>1.09(1.09,1.09)</td><td>(0.734,0.395)</td><td>8.609</td><td>(0.857,0.89)</td></tr><tr><td>AFT-log-Normal</td><td>1.55(1.46,1.55)</td><td>(0.68,0.56)</td><td>10.415</td><td>(0.979,0.732)</td></tr><tr><td>SR</td><td>0.58(0.53,0.71)</td><td>(0.601, 0.57)</td><td>0</td><td>(0.491,0.63)</td></tr><tr><td>CSA(proposed)</td><td>1.04(1.00,1.09)</td><td>(0.763,0.728)</td><td>0.161</td><td>(0.891,0.81)</td></tr><tr><td>CSA-INFO (proposed)</td><td>0.81(0.77,0.83)</td><td>(0.752,0.651)</td><td>0.156</td><td>(0.907, 0.881)</td></tr></table>
|
| 145 |
+
|
| 146 |
+
Datasets We consider the following datasets: (i) FRAMINGHAM, is an EHR-based longitudinal cardiovascular cohort study that we use to evaluate the effect of statins on future coronary heart disease outcomes (Benjamin et al., 1994); $( i i )$ ACTG, is a longitudinal RCT study comparing monotherapy with Zidovudine or Didanosine with combination therapy in HIV patients (Hammer et al., 1996); and $( i i i )$ ACTG
|
| 147 |
+
|
| 148 |
+
Table 2: Summary statistics of the datasets.
|
| 149 |
+
|
| 150 |
+
<table><tr><td></td><td>FRAMINGHAM</td><td>ACTG</td><td>ACTG-SYNTHETIC</td></tr><tr><td>Events (%)</td><td>26.0</td><td>26.9</td><td>48.9</td></tr><tr><td>Treatment (%)</td><td>10.4</td><td>49.5</td><td>55.9</td></tr><tr><td>N</td><td>3,435</td><td>1,054</td><td>2,139</td></tr><tr><td>p</td><td>32</td><td>23</td><td>23</td></tr><tr><td>Missing (%)</td><td>0.23</td><td>1.41</td><td>1.38</td></tr><tr><td>tmax (days)</td><td>7,279</td><td>1,231</td><td>1,313</td></tr></table>
|
| 151 |
+
|
| 152 |
+
SYNTHETIC, is a semi-synthetic dataset based on ACTG covariates. We simulate potential outcomes according to a Gompertz-Cox distribution (Bender et al., 2005) with selection bias from a simple logistic model for $\bar { P ( A = 1 | X = x ) }$ and AFT-based censoring mechanism. The generative process is detailed in the SM. Table 2 summarizes the datasets according to $( i )$ covariates of size $p$ ; $( i i )$ proportion of non-censored events, treated units, and missing entries in the $N \times p$ covariate matrix; and $( i i i )$ time range $t _ { \mathrm { m a x } }$ for both censored and non-censored events. Missing entries are imputed with median or mode if continuous or categorical, respectively.
|
| 153 |
+
|
| 154 |
+
Quantitative Results Experimental results for two data-sets in Tables 1 and 3, illustrate that AFTbased methods are high variance, inferior in calibration and C-Index than accuracy-based methods (SR, CSA, CSA-INFO). Surv-BART is the least calibrated but low variance method. CSA-INFO and CSA outperform all methods across all factual metrics, whereas CSA-INFO is better calibrated, low variance but slightly lower C-Index than CSA. Note that we fit CoxPH using the entire dataset; since it does not support counterfactual inference, we do not present factual metrics. By properly adjusting for both informative censoring and selection bias, CSA-INFO significantly outperforms all methods in treatment effect estimation according to $\mathrm { H R } ( t )$ and $\epsilon _ { \mathrm { P E H E } }$ , across non-RCT datasets, while remaining comparable to AFT-Weibull on the RCT dataset (see the SM). Further, RCT-based results on ACTG data in the SM illustrate comparable $\mathrm { H R } ( t )$ across all models except for AFT-log-Normal and Surv-BART, which overestimate, and SR, which underestimates risk. For non-RCT datasets (ACTG-SYNTHENTIC and FRAMINGHAM), CoxPH-OW has a clear advantage over all CoxPH based methods, mostly credited to the well-behaved bounded propensity weights $\in [ 0 , 1 ]$ . Interestingly, the FRAMINGHAM observational data exhibits a common paradox, where without proper adjustment of selection and censoring bias, naive approaches would result in a counter-intuitive treatment effect from statins. However, there is severe confounding from covariates such as age, BMI, diabetes, CAD, PAD, MI, stroke, etc., that influence both treatment likelihood and survival time. Table 3, demonstrates that CSA-INFO is clearly the best performing approach. Specifically, its $\mathrm { H R } ( t )$ , reverses the biased observational treatment effect, to demonstrate positive treatment from statins, which is consistent with prior large RCT longitudinal findings (Yusuf et al., 2016).
|
| 155 |
+
|
| 156 |
+
Qualitative Results Figure 2a demonstrates that CSA-INFO matches the ground truth population hazard, $\mathrm { H R } ( t )$ , better than alternative methods on ACTG-SYNTHETIC data. See the SM for ACTG and FRAMINGHAM. Figure 2b shows sub-population log hazard ratios for four patient clusters obtained via hierarchical clustering on the individual log hazard ratios, $\log \mathrm { H R } ( t | x )$ , of the test set of FRAMINGHAM data. Interestingly, these clusters stratify treatment effects into: positive (2), negative (1 and 3), and neutral (4) sub-populations. Moreover, the estimated density of median $\log \mathrm { H } \bar { \mathrm { R } } ( t | x )$ values in Figure $_ { 2 \mathrm { c } }$ illustrates that nearly $7 0 \%$ of the testing set individuals have $\log \mathrm { H R } ( t | x ) < 0$ , thus may benefit from taking statins. Further, we isolated the extreme top and bottom quantiles, $\mathrm { H R } ( t | x ) < 0 . 0 2 4$ and $\mathrm { H R } ( \bar { t } | x ) > 1 . 9 1 6$ , respectively, of the median $\log \mathrm { \bar { H R } } ( t | x )$ values for the test set of FRAMINGHAM, as shown in Figure 2c. After comparing their covariates, we found that individuals with the following characteristics may benefit from taking statins: young, male, diabetic, without prior history (CAD, PAD, stroke or MI), high BMI, cholesterol, triglycerides, fasting glucose, and low high-density lipoprotein. There seem to be consensus that diabetics and high-cholesterol patients benefit from statins (Cheung et al., 2004; Wilt et al., 2004). See SM for additional results.
|
| 157 |
+
|
| 158 |
+

|
| 159 |
+
Figure 2: (a) Inferred population $\mathrm { H R } ( t )$ compared against ground truth (EMP) on ACTG-SYNTHETIC data. CSA-INFO-based (b) cluster-specific average l $\operatorname { \Pi } ^ { } \operatorname { \Pi } ^ { } \operatorname { \mathrm { ) g } } \operatorname { \mathrm { { H R } } } ( t | x )$ curves and (c) estimated density of median $\log \mathrm { H R } ( t | x )$ values on the test set of the FRAMINGHAM dataset. Clusters assignment were obtained via hierarchical clustering of individualized $\log \mathrm { H R } ( t | x )$ traces.
|
| 160 |
+
|
| 161 |
+
# 6 CONCLUSIONS
|
| 162 |
+
|
| 163 |
+
We have proposed a unified counterfactual inference framework for survival analysis. Our approach adjusts for bias from two unknown sources, namely, confounding due to covariate dependent selection bias and censoring (informative or non-informative). Relative to competitive alternatives, we demonstrate superior performance for both survival-outcome prediction and treatment-effect estimation, across three diverse datasets, including a semi-synthetic dataset which we introduce. Moreover, we formulate a model-free nonparametric hazard ratio metric for comparing treatment effects or leveraging prior randomized real-world experiments in longitudinal studies.
|
| 164 |
+
|
| 165 |
+
# REFERENCES
|
| 166 |
+
|
| 167 |
+
Peter C Austin. Propensity-score matching in the cardiovascular surgery literature from 2004 to 2006: a systematic review and suggestions for improvement. The Journal of Thoracic and Cardiovascular Surgery, 2007.
|
| 168 |
+
|
| 169 |
+
Peter C Austin. The use of propensity score methods with survival or time-to-event outcomes: reporting measures of effect similar to those used in randomized experiments. Statistics in Medicine, 2014.
|
| 170 |
+
|
| 171 |
+
Elias Bareinboim and Judea Pearl. Controlling selection bias in causal inference. In AISTATS, 2012.
|
| 172 |
+
|
| 173 |
+
Ralf Bender, Thomas Augustin, and Maria Blettner. Generating survival times to simulate cox proportional hazards models. Statistics in medicine, 2005.
|
| 174 |
+
|
| 175 |
+
Emelia J Benjamin, Daniel Levy, Sonya M Vaziri, Ralph B D’Agostino, Albert J Belanger, and Philip A Wolf. Independent risk factors for atrial fibrillation in a population-based cohort: the framingham heart study. Jama, 1994.
|
| 176 |
+
|
| 177 |
+
Ashley L Buchanan, Michael G Hudgens, Stephen R Cole, Bryan Lau, Adaora A Adimora, and Women’s Interagency HIV Study. Worth the weight: using inverse probability weighted cox models in aids research. AIDS research and human retroviruses, 2014.
|
| 178 |
+
|
| 179 |
+
Weihua Cao, Anastasios A Tsiatis, and Marie Davidian. Improving efficiency and robustness of the doubly robust estimator for a population mean with incomplete data. Biometrika, 2009.
|
| 180 |
+
|
| 181 |
+
P. Chapfuwa, C. Tao, C. Li, I. Khan, K. J. Chandross, M. J. Pencina, L. Carin, and R. Henao. Calibration and uncertainty in neural time-to-event modeling. IEEE Transactions on Neural Networks and Learning Systems, 2020.
|
| 182 |
+
|
| 183 |
+
Paidamoyo Chapfuwa, Chenyang Tao, Chunyuan Li, Courtney Page, Benjamin Goldstein, Lawrence Carin, and Ricardo Henao. Adversarial time-to-event modeling. In ICML, 2018.
|
| 184 |
+
|
| 185 |
+
Bernard MY Cheung, Ian J Lauder, Chu-Pak Lau, and Cyrus R Kumana. Meta-analysis of large randomized controlled trials to evaluate the impact of statins on cardiovascular outcomes. British journal of clinical pharmacology, 2004.
|
| 186 |
+
|
| 187 |
+
Hugh A Chipman, Edward I George, Robert E McCulloch, et al. Bart: Bayesian additive regression trees. The Annals of Applied Statistics, 2010.
|
| 188 |
+
|
| 189 |
+
Stephen R Cole and Miguel A Hernán. Adjusted survival curves with inverse probability weights. Computer methods and programs in biomedicine, 2004.
|
| 190 |
+
|
| 191 |
+
David R Cox. Regression models and life-tables. Journal of the Royal Statistical Society: Series B (Methodological), 1972.
|
| 192 |
+
|
| 193 |
+
Richard K Crump, V Joseph Hotz, Guido W Imbens, and Oscar A Mitnik. Moving the goalposts: Addressing limited overlap in the estimation of average treatment effects by changing the estimand. Technical report, National Bureau of Economic Research, 2006.
|
| 194 |
+
|
| 195 |
+
Yifan Cui, Michael R Kosorok, Stefan Wager, and Ruoqing Zhu. Estimating heterogeneous treatment effects with right-censored data via causal survival forests. arXiv, 2020.
|
| 196 |
+
|
| 197 |
+
Marco Cuturi. Sinkhorn distances: Lightspeed computation of optimal transport. In NeurIPS, 2013.
|
| 198 |
+
|
| 199 |
+
Iván Díaz. Statistical inference for data-adaptive doubly robust estimators with survival outcomes. Statistics in Medicine, 2019.
|
| 200 |
+
|
| 201 |
+
Jennifer Frankovich, Christopher A Longhurst, and Scott M Sutherland. Evidence-based medicine in the emr era. N Engl J Med, 2011.
|
| 202 |
+
|
| 203 |
+
Saurabh Gombar, Alison Callahan, Robert Califf, Robert Harrington, and Nigam H Shah. It is time to learn from patients like mine. NPJ digital medicine, 2019.
|
| 204 |
+
|
| 205 |
+
Scott M Hammer, David A Katzenstein, Michael D Hughes, Holly Gundacker, Robert T Schooley, Richard H Haubrich, W Keith Henry, Michael M Lederman, John P Phair, Manette Niu, et al. A trial comparing nucleoside monotherapy with combination therapy in hiv-infected adults with cd4 cell counts from 200 to 500 per cubic millimeter. New England Journal of Medicine, 1996.
|
| 206 |
+
|
| 207 |
+
Frank E Harrell Jr, Kerry L Lee, Robert M Califf, David B Pryor, and Robert A Rosati. Regression modelling strategies for improved prognostic prediction. Statistics in medicine, 1984.
|
| 208 |
+
|
| 209 |
+
Kristiina Häyrinen, Kaija Saranto, and Pirkko Nykänen. Definition, structure, content, use and impacts of electronic health records: a review of the research literature. International Journal of Medical Informatics, 2008.
|
| 210 |
+
|
| 211 |
+
Nicholas C Henderson, Thomas A Louis, Gary L Rosner, and Ravi Varadhan. Individualized treatment effects with censored data via fully nonparametric bayesian accelerated failure time models. Biostatistics, 2020.
|
| 212 |
+
|
| 213 |
+
Miguel A Hernán and James M Robins. Causal inference: what if. Boca Raton: Chapman & Hill/CRC, 2020.
|
| 214 |
+
|
| 215 |
+
Miguel A Hernán, Stephen R Cole, Joseph Margolick, Mardge Cohen, and James M Robins. Structural accelerated failure time models for survival analysis in studies with time-varying treatments. Pharmacoepidemiology and Drug Safety, 2005.
|
| 216 |
+
|
| 217 |
+
Miguel Ángel Hernán, Babette Brumback, and James M Robins. Marginal structural models to estimate the causal effect of zidovudine on the survival of hiv-positive men. Epidemiology, 2000.
|
| 218 |
+
|
| 219 |
+
Jennifer L Hill. Bayesian nonparametric modeling for causal inference. Journal of Computational and Graphical Statistics, 2011.
|
| 220 |
+
|
| 221 |
+
Daniel G Horvitz and Donovan J Thompson. A generalization of sampling without replacement from a finite universe. Journal of the American statistical Association, 1952.
|
| 222 |
+
|
| 223 |
+
Liangyuan Hu, Jiayi Ji, and Fan Li. Estimating heterogeneous survival treatment effect in observational data using machine learning. arXiv, 2020.
|
| 224 |
+
|
| 225 |
+
Hemant Ishwaran, Udaya B Kogalur, Eugene H Blackstone, Michael S Lauer, et al. Random survival forests. The annals of applied statistics, 2008.
|
| 226 |
+
|
| 227 |
+
Ashish K Jha, Catherine M DesRoches, Eric G Campbell, Karen Donelan, Sowmya R Rao, Timothy G Ferris, Alexandra Shields, Sara Rosenbaum, and David Blumenthal. Use of electronic health records in us hospitals. New England Journal of Medicine, 2009.
|
| 228 |
+
|
| 229 |
+
Edward L Kaplan and Paul Meier. Nonparametric estimation from incomplete observations. Journal of the American statistical association, 1958.
|
| 230 |
+
|
| 231 |
+
Jared L Katzman, Uri Shaham, Alexander Cloninger, Jonathan Bates, Tingting Jiang, and Yuval Kluger. Deepsurv: personalized treatment recommender system using a cox proportional hazards deep neural network. BMC medical research methodology, 2018.
|
| 232 |
+
|
| 233 |
+
David G Kleinbaum and Mitchel Klein. Survival analysis. Springer, 2010.
|
| 234 |
+
|
| 235 |
+
Fan Li, Kari Lock Morgan, and Alan M Zaslavsky. Balancing covariates via propensity score weighting. Journal of the American Statistical Association, 2018.
|
| 236 |
+
|
| 237 |
+
Christopher A Longhurst, Robert A Harrington, and Nigam H Shah. A ‘green button’for using aggregate patient data at the point of care. Health affairs, 2014.
|
| 238 |
+
|
| 239 |
+
B Mihaylova, J Emberson, L Blackwell, A Keech, J Simes, EH Barnes, M Voysey, 3A Gray, R Collins, and C Baigent. The effects of lowering ldl cholesterol with statin therapy in people at low risk of vascular disease: meta-analysis of individual data from 27 randomised trials., 2012.
|
| 240 |
+
|
| 241 |
+
Xenia Miscouridou, Adler Perotte, Noémie Elhadad, and Rajesh Ranganath. Deep survival analysis: Nonparametrics and missingness. In Machine Learning for Healthcare Conference, 2018.
|
| 242 |
+
|
| 243 |
+
Alfred Müller. Integral probability metrics and their generating classes of functions. Advances in Applied Probability, 1997.
|
| 244 |
+
|
| 245 |
+
Judea Pearl and Elias Bareinboim. External validity: From do-calculus to transportability across populations. Statistical Science, 2014.
|
| 246 |
+
|
| 247 |
+
Danilo Jimenez Rezende and Shakir Mohamed. Variational inference with normalizing flows. In ICML, 2015.
|
| 248 |
+
|
| 249 |
+
James Robins. A new approach to causal inference in mortality studies with a sustained exposure period—application to control of the healthy worker survivor effect. Mathematical modelling, 1986.
|
| 250 |
+
|
| 251 |
+
Paul R Rosenbaum and Donald B Rubin. The central role of the propensity score in observational studies for causal effects. Biometrika, 1983.
|
| 252 |
+
|
| 253 |
+
Donald B Rubin. Causal inference using potential outcomes. Journal of the American Statistical Association, 2005.
|
| 254 |
+
|
| 255 |
+
Michael Schemper, Samo Wakounig, and Georg Heinze. The estimation of average hazard ratios by weighted cox regression. Statistics in medicine, 2009.
|
| 256 |
+
|
| 257 |
+
Uri Shalit, Fredrik D Johansson, and David Sontag. Estimating individual treatment effect: generalization bounds and algorithms. In ICML, 2017.
|
| 258 |
+
|
| 259 |
+
Jincheng Shen, Lu Wang, Stephanie Daignault, Daniel E Spratt, Todd M Morgan, and Jeremy MG Taylor. Estimating the optimal personalized treatment strategy based on selected variables to prolong survival via random survival forest with weighted bootstrap. Journal of biopharmaceutical statistics, 2018.
|
| 260 |
+
|
| 261 |
+
Rodney A Sparapani, Brent R Logan, Robert E McCulloch, and Purushottam W Laud. Nonparametric survival analysis using bayesian additive regression trees (bart). Statistics in medicine, 2016.
|
| 262 |
+
|
| 263 |
+
Bharath K Sriperumbudur, Kenji Fukumizu, Arthur Gretton, Bernhard Schölkopf, Gert RG Lanckriet, et al. On the empirical estimation of integral probability metrics. Electronic Journal of Statistics, 2012.
|
| 264 |
+
|
| 265 |
+
Ludovic Trinquart, Justine Jacot, Sarah C Conner, and Raphaël Porcher. Comparison of treatment effects measured by the hazard ratio and by the ratio of restricted mean survival times in oncology randomized controlled trials. Journal of Clinical Oncology, 2016.
|
| 266 |
+
|
| 267 |
+
Anastasios Tsiatis. Semiparametric theory and missing data. Springer Science & Business Media, 2007.
|
| 268 |
+
|
| 269 |
+
Mark J van der Laan and James M Robins. Unified approach for causal inference and censored data. In Unified Methods for Censored Longitudinal Data and Causality. Springer, 2003.
|
| 270 |
+
|
| 271 |
+
Mark J Van der Laan and Sherri Rose. Targeted learning: causal inference for observational and experimental data. Springer Science & Business Media, 2011.
|
| 272 |
+
|
| 273 |
+
Cédric Villani. Optimal transport: old and new. Springer Science & Business Media, 2008.
|
| 274 |
+
|
| 275 |
+
Stefan Wager and Susan Athey. Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American Statistical Association, 2018.
|
| 276 |
+
|
| 277 |
+
Lee-Jen Wei. The accelerated failure time model: a useful alternative to the cox regression model in survival analysis. Statistics in medicine, 1992.
|
| 278 |
+
|
| 279 |
+
Timothy J Wilt, Hanna E Bloomfield, Roderick MacDonald, David Nelson, Indulis Rutks, Michael Ho, Gregory Larsen, Anthony McCall, Sandra Pineros, and Anne Sales. Effectiveness of statin therapy in adults with coronary heart disease. Archives of internal medicine, 2004.
|
| 280 |
+
|
| 281 |
+
Salim Yusuf, Jackie Bosch, Gilles Dagenais, Jun Zhu, Denis Xavier, Lisheng Liu, Prem Pais, Patricio López-Jaramillo, Lawrence A Leiter, Antonio Dans, et al. Cholesterol lowering in intermediate-risk persons without cardiovascular disease. New England Journal of Medicine, 2016.
|
| 282 |
+
|
| 283 |
+
Yao Zhang, Alexis Bellot, and Mihaela van der Schaar. Learning overlapping representations for the estimation of individualized treatment effects. In AISTATS, 2020.
|
| 284 |
+
|
| 285 |
+
Lihui Zhao, Lu Tian, Hajime Uno, Scott D Solomon, Marc A Pfeffer, Jerald S Schindler, and Lee Jen Wei. Utilizing the integrated difference of two survival functions to quantify the treatment contrast for designing, monitoring, and analyzing a comparative clinical study. Clinical trials, 2012.
|
parse/train/3ZeGLibhFo0/3ZeGLibhFo0_content_list.json
ADDED
|
@@ -0,0 +1,1504 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "ENABLING COUNTERFACTUAL SURVIVAL ANALYSIS WITH BALANCED REPRESENTATIONS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Balanced representation learning methods have been applied successfully to counterfactual inference from observational data. However, approaches that account for survival outcomes are relatively limited. Survival data are frequently encountered across diverse medical applications, i.e., drug development, risk profiling, and clinical trials, and such data are also relevant in fields like manufacturing (for equipment monitoring). When the outcome of interest is time-to-event, special precautions for handling censored events need to be taken, as ignoring censored outcomes may lead to biased estimates. We propose a theoretically grounded unified framework for counterfactual inference applicable to survival outcomes. Further, we formulate a nonparametric hazard ratio metric for evaluating average and individualized treatment effects. Experimental results on real-world and semi-synthetic datasets, the latter which we introduce, demonstrate that the proposed approach significantly outperforms competitive alternatives in both survival-outcome predictions and treatment-effect estimation. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
766,
|
| 44 |
+
460
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
178,
|
| 54 |
+
489,
|
| 55 |
+
336,
|
| 56 |
+
505
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Survival analysis or time-to-event studies focus on modeling the time of a future event, such as death or failure, and investigate its relationship with covariates or predictors of interest. Specifically, we may be interested in the causal effect of a given intervention or treatment on survival time. A typical question may be: will a given therapy increase the chances of survival of an individual or population? Such causal inquiries on survival outcomes are common in the fields of epidemiology and medicine (Robins, 1986; Hammer et al., 1996; Yusuf et al., 2016). As an important current example, the COVID-19 pandemic is creating a demand for methodological development to address such questions, specifically, when evaluating the effectiveness of a potential vaccine or therapeutic outside randomized controlled trial settings. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
520,
|
| 66 |
+
825,
|
| 67 |
+
646
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Traditional causal survival analysis is typically carried out in the context of a randomized controlled trial (RCT), where the treatment assignment is controlled by researchers. Though they are the gold standard for causal inference, RCTs are usually long-term engagements, expensive and limited in sample size. Alternatively, the availability of observational data with comprehensive information about patients, such as electronic health records (EHRs), constitutes a more accessible but also more challenging source for estimating causal effects (Häyrinen et al., 2008; Jha et al., 2009). Such observational data may be used to augment and verify an RCT, after a particular treatment is approved and in use (Gombar et al., 2019; Frankovich et al., 2011; Longhurst et al., 2014). Moreover, the wealth of information from observational data also allows for the estimation of the individualized treatment effect (ITE), namely, the causal effect of an intervention at the individual level. In this work, we develop a novel framework for counterfactual time-to-event prediction to estimate the ITE for survival or time-to-event outcomes from observational data. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
652,
|
| 77 |
+
825,
|
| 78 |
+
819
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Estimating the causal effect for survival outcomes in observational data manifests two principal challenges. First, the treatment assignment mechanism is not known a priori. Therefore, there may be variables, known as confounders, affecting both the treatment and survival time, which lead to selection bias (Bareinboim & Pearl, 2012), i.e., that the distributions across treatment groups are not the same. In this work, we focus on selection biases due to confounding, but other sources may also be considered. For instance, patients who are severely ill are likely to receive more aggressive therapy, however, their health status may also inevitably influence survival. Traditional survival analysis neglects such bias, leading to incorrect causal estimation. Second, the exact time-to-event is not always observed, i.e., sometimes we only know that an event has not occurred up to a certain point in time. This is known as the censoring problem. Moreover, censoring might be informative depending on the characteristics of the individuals and their treatment assignments, thus proper adjustment is required for accurate causal estimation (Cole & Hernán, 2004; Díaz, 2019). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
827,
|
| 88 |
+
823,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
172
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Traditional causal survival-analysis approaches typically model the effect of the treatment or covariates (not time or survival) in a parametric manner. Two commonly used models are the Cox proportional hazards (CoxPH) model (Cox, 1972) and the accelerated failure time (AFT) model (Wei, 1992), which presume a linear relationship between the covariates and survival probability. Further, proper weighting for each individual has been employed to account for confounding bias from these models (Austin, 2007; 2014; Hernán et al., 2005). For instance, probability weighting schemes that account for both selection bias and covariate dependent censoring have been considered for adjusted survival curves (Cole & Hernán, 2004; Díaz, 2019). Moreover, such probability weighting schemes have been applied to causal survival-analysis under time-varying treatment and confounding (Robins, 1986; Hernán et al., 2000). See van der Laan & Robins (2003); Tsiatis (2007); Van der Laan & Rose (2011); Hernán & Robins (2020) for an overview. Such linear specification makes these models interpretable but compromises their flexibility, and makes it difficult to adapt them for high-dimensional data or to capture complex interactions among covariates. Importantly, these methods lack a counterfactual prediction mechanism, which is key for ITE estimation (see Section 2). ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
181,
|
| 110 |
+
825,
|
| 111 |
+
375
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Fortunately, recent advances in machine learning, such as representation learning or generative modeling, have enabled causal inference methods to handle high-dimensional data and to characterize complex interactions effectively. For instance, there has been recent interest in tree-based (Chipman et al., 2010; Wager & Athey, 2018) and neural-network-based (Shalit et al., 2017; Zhang et al., 2020) approaches. For pre-specified time-horizons, the nonparametric Random Survival Forest (RSF) (Ishwaran et al., 2008) and Bayesian Additive regression trees (BART) (Chipman et al., 2010) have been extended to causal survival analysis. RSF has been applied to causal survival forests with weighted bootstrap inference (Shen et al., 2018; Cui et al., 2020) while a BART is extended to account for survival outcomes in Surv-BART (Sparapani et al., 2016), and AFT-BART (Henderson et al., 2020). See Hu et al. (2020) for an extensive investigation of the causal survival tree-based methods. Alternatively, when estimating the ITE, neural-network-based methods propose to regularize the transformed covariates or representations for an individual to have balanced distributions across treatment groups, thus accounting for the confounding bias and improving ITE prediction. However, most approaches employing representation learning techniques for counterfactual inference deal with continuous or binary outcomes, instead of time-to-event outcomes with censoring (informative or non-informative). Hence, a principled generalization to the context of counterfactual survival analysis is needed. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
382,
|
| 121 |
+
825,
|
| 122 |
+
617
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "In this work we leverage balanced (latent) representation learning to estimate ITE via counterfactual prediction of survival outcomes in observational studies. We develop a framework to predict event times from a low-dimensional transformation of the original covariate space. To address the specific challenges associated with counterfactual survival analysis, we make the following contributions: ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
625,
|
| 132 |
+
825,
|
| 133 |
+
680
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "• We develop an optimization objective incorporating adjustments for informative censoring, as well as a balanced regularization term bounding the generalization error for ITE prediction. For the latter, we repurpose a recently proposed bound (Shalit et al., 2017) for our time-to-event scenario. \n• We propose a generative model for event times to relax restrictive survival linear and parametric assumptions, thus allowing for more flexible modeling. Our approach can also provide nonparametric uncertainty quantification for ITE predictions. \n• We provide survival-specific evaluation metrics, including a new nonparametric hazard ratio estimator, and discuss how to perform model selection for survival outcomes. The proposed model demonstrates superior performance relative to the commonly used baselines in real-world and semi-synthetic datasets. \n• We introduce a survival-specific semi-synthetic dataset and demonstrate an approach for leveraging prior randomized experiments in longitudinal studies for model validation. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
176,
|
| 142 |
+
688,
|
| 143 |
+
826,
|
| 144 |
+
854
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "image",
|
| 150 |
+
"img_path": "images/482e9df6a7b5d031a444403a4be41d381d10c980808568d8cbf42f012f3882e6.jpg",
|
| 151 |
+
"image_caption": [
|
| 152 |
+
"Figure 1: (a) Illustration of the proposed counterfactual survival analysis (CSA). Covariates $X =$ $x$ are mapped into latent representation $r$ via deterministic mapping $r \\ = \\ \\Phi ( x )$ . The potential outcomes are sampled from $\\bar { t } _ { a } \\sim p ( T _ { A } | X = x )$ for $A = a$ via stochastic mapping $h _ { A } ( r , \\tilde { \\epsilon } )$ , where randomness is induced with a flow-based transformation, $\\tilde { \\epsilon }$ , of a simple distribution $p ( \\epsilon )$ , i.e., uniform or Gaussian. (b) and (c) show the proposed causal graphs for non-informative and informative censoring, respectively. "
|
| 153 |
+
],
|
| 154 |
+
"image_footnote": [],
|
| 155 |
+
"bbox": [
|
| 156 |
+
200,
|
| 157 |
+
92,
|
| 158 |
+
789,
|
| 159 |
+
207
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 2
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 PROBLEM FORMULATION ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
308,
|
| 170 |
+
418,
|
| 171 |
+
324
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "We first introduce the basic setup for performing causal survival analysis in observational studies. Suppose we have $N$ units, with $N _ { 1 }$ units being treated and $N _ { 0 }$ in the control group $( N = N _ { 1 } + N _ { 0 } )$ . For each unit (individual), we have covariates $X$ , which can be heterogeneous, e.g., a mixture of categorical and continuous covariates which, in the context of medicine, may include labs, vitals, procedure codes, etc. We also have a treatment indicator $A$ , where $A = 0$ for the controls and $A = 1$ for the treated, as well as the outcome (event) of interest $T$ . Under the potential-outcomes framework (Rubin, 2005), let $T _ { 0 }$ and $T _ { 1 }$ be the potential event times for a given subject under control and treatment, respectively. In practice we only observe one realization of the potential outcomes, i.e., the factual outcome $T = T _ { A }$ , while the counterfactual outcome $T _ { 1 - A }$ is unobserved. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
173,
|
| 180 |
+
338,
|
| 181 |
+
826,
|
| 182 |
+
465
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "In survival analysis, the problem becomes more difficult because we do not always observe the exact event time for each individual, but rather the time up to which we are certain that the event has not occurred; specifically, we have a (right) censoring problem, most likely due to the loss of follow-up. We denote the censoring time as $C$ and censoring indicator as $\\delta \\in \\{ 0 , 1 \\}$ . The actual observed time is $Y = \\operatorname* { m i n } ( T _ { A } , C )$ , i.e., the outcome is observed (non-censored) if $T _ { A } < C$ and $\\delta = 1$ . ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
173,
|
| 191 |
+
470,
|
| 192 |
+
825,
|
| 193 |
+
541
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "In this work, we are interested in the expected difference between the $T _ { 1 }$ and $T _ { 0 }$ conditioned on $X$ for a given unit (individual), which is commonly known as the individualized treatment effect (ITE). Specifically, we wish to perform inference on the conditional distributions of $T _ { 1 }$ and $T _ { 0 }$ , i.e., $p ( T _ { 1 } | X )$ and $p ( T _ { 0 } | X )$ , respectively, as shown in Figure 1a. In practice, we observe $N$ realizations of $( Y , \\delta , X , A )$ for observed time, censoring indicator, covariates and treatment indicator, respectively; hence, from an observational study the dataset takes the form $\\mathcal { D } = \\{ ( y _ { i } , \\delta _ { i } , x _ { i } , a _ { i } ) \\} _ { i = 1 } ^ { N }$ . Below, we discuss several common choices of estimands in survival analysis. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
173,
|
| 202 |
+
547,
|
| 203 |
+
825,
|
| 204 |
+
646
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Estimands of Interest We begin by considering survival analysis in the absence of an intervening treatment choice, $A$ . Let $F ( t | x ) \\triangleq P ( T \\leq t | X = x )$ be the cumulative distribution function of the event (failure) time, $t$ , given a realization of the covariates, $x$ . Survival analysis is primarily concerned with characterization of the survival function conditioned on covariates $S ( t | x ) \\triangleq 1 - F ( t | x )$ , and the hazard function or risk score, $\\lambda ( t | x )$ , defined below. $S ( t | x )$ is a monotonically decreasing function indicating the probability of survival up to time $t$ . The hazard function measures the instantaneous probability of the event occurring between $\\{ t , t + \\Delta t \\}$ given $T > t$ and $\\Delta t 0$ . From standard definitions (Kleinbaum & Klein, 2010), the relationship between cumulative and hazard function is formulated as ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
173,
|
| 213 |
+
654,
|
| 214 |
+
826,
|
| 215 |
+
784
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "equation",
|
| 221 |
+
"img_path": "images/89816b6b4ab5614eea0ade34840cd19c6b9c6faa995393a64ef37e851560bce4.jpg",
|
| 222 |
+
"text": "$$\n\\lambda ( t | x ) = \\operatorname* { l i m } _ { d t 0 } { \\frac { P ( t < T < t + d t | X = x ) } { P ( T > t | X = x ) d t } } = - { \\frac { d \\log S ( t | x ) } { d t } } = { \\frac { f ( t | x ) } { S ( t | x ) } } .\n$$",
|
| 223 |
+
"text_format": "latex",
|
| 224 |
+
"bbox": [
|
| 225 |
+
263,
|
| 226 |
+
787,
|
| 227 |
+
736,
|
| 228 |
+
823
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "From (1) we see that $f ( t | x ) \\triangleq P ( T = t | X = x ) = \\lambda ( t | x ) S ( t | x )$ , is the conditional event time density function (Kleinbaum $\\&$ Klein, 2010). ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
176,
|
| 237 |
+
832,
|
| 238 |
+
823,
|
| 239 |
+
861
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Given the binary treatment $A$ , we are interested in its impact on the survival time. For ITE estimation, we are also interested in the difference between the two potential outcomes $T _ { 1 } , T _ { 0 }$ . Let $S _ { A } ( t | x )$ and $\\lambda _ { A } ( t | x )$ denote the survival and hazard functions for the potential outcomes $T _ { A }$ , i.e., $T _ { 1 }$ and $T _ { 0 }$ . Several common estimands of interest include (Zhao et al., 2012; Trinquart et al., 2016): difference in expected lifetime: $\\begin{array} { r } { \\mathrm { { I T E } } ( t , x ) = \\int _ { 0 } ^ { t _ { \\operatorname* { m a x } } } \\{ S _ { 1 } ( t | x ) - S _ { 0 } ( t | x ) \\} \\mathrm { d } t = \\mathbb { E } \\{ T _ { 1 } - T _ { 0 } | X = x \\} . } \\end{array}$ , difference in survival function: $\\mathrm { I T E } ( t , x ) = S _ { 1 } ( t | x ) - S _ { 0 } ( t | x )$ , and hazard ratio: $\\mathrm { I T E } ( t , x ) = \\lambda _ { 1 } ( t | x ) / \\lambda _ { 0 } ( t | x )$ . The inference difficulties associated with the above estimands from observational data are two-fold. First, there are confounders affecting both the treatment assignment and outcomes, which stem from selection bias, i.e., the treatment and control covariate distributions are not necessarily the same. Also, we do not have direct knowledge of the conditional treatment assignment mechanism, i.e., $P ( A = a | X = x )$ , also known as the propensity score. Let ⊥⊥ denote statistical independence. For estimands to be identifiable from observational data, we make two assumptions: (i) $\\{ T _ { 1 } , T _ { 0 } \\} \\perp \\perp A | X$ , i.e., no unobserved confounders or ignorability, and $( i i )$ overlap in the covariate support $0 < P ( A =$ $1 | X = x ) < 1$ almost surely if $p ( X = x ) > 0$ . Second, the censoring mechanism is also unknown and may lead to bias without proper adjustment. We consider two censoring mechanisms in our work, $( i )$ conditionally independent or informative censoring: $T \\perp \\perp C | X , A$ , and $( i i )$ random or non-informative censoring: $T \\perp \\perp C$ . Note that for informative censoring, we also have to consider potential censoring times $C _ { 1 }$ and $C _ { 0 }$ and their conditionals $p ( C _ { 1 } | X )$ and $p ( C _ { 0 } | X )$ , respectively. Figure 1 shows causal graphs illustrating these modeling assumptions. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
174,
|
| 248 |
+
867,
|
| 249 |
+
825,
|
| 250 |
+
924
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
101,
|
| 260 |
+
826,
|
| 261 |
+
314
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 3
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "3 MODELING ",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
174,
|
| 271 |
+
330,
|
| 272 |
+
300,
|
| 273 |
+
347
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 3
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "To overcome the above challenges and adjust for observational biases, we propose a unified framework for counterfactual survival analysis (CSA). Specifically, we repurpose the counterfactual bound in Shalit et al. (2017) for our time-to-event scenario and introduce a nonparametric approach for stochastic survival outcome predictions. Below we formulate a theoretically grounded and unified approach for estimating $( i )$ the encoder function $r = \\Phi ( x )$ , which deterministically maps covariates $x$ to their corresponding latent representation $r \\in { \\mathbb { R } } ^ { d }$ , and $( i i )$ two stochastic time-to-event generative functions, $h _ { A } ( \\cdot )$ , to implicitly draw samples from both potential outcome conditionals $\\bar { t } _ { a } \\sim p _ { h , \\Phi } ( T _ { A } | X = x )$ , for $A = \\{ 1 , 0 \\}$ , and where $t _ { a }$ indicates the sample from $p _ { h , \\Phi } ( T _ { A } | X = x )$ is for $A = a$ . Further, we formulate a general extension that accounts for informative censoring by introducing two stochastic censoring generative functions, $\\nu _ { A } ( \\cdot )$ , to draw samples for potential censoring times $c _ { a } \\sim p _ { \\nu , \\Phi } ( C _ { A } | X = x )$ . The model-specifying functions, $\\{ h _ { A } ( \\cdot ) , \\nu _ { A } ( \\cdot ) , \\Phi ( \\cdot ) \\}$ , are parameterized via neural networks. See the Supplementary Material (SM) for details. Figure 1a summarizes our modeling approach. ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
174,
|
| 282 |
+
358,
|
| 283 |
+
825,
|
| 284 |
+
540
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 3
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "Accounting for selection bias We wish to estimate the potential outcomes, i.e., event times, which are sampled by distributions parameterized by functions $\\{ h _ { A } ( \\cdot ) , \\Phi ( \\cdot ) \\}$ , i.e., ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
173,
|
| 293 |
+
547,
|
| 294 |
+
821,
|
| 295 |
+
577
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 3
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "equation",
|
| 301 |
+
"img_path": "images/9e497767f6b296dac4c8cf83d111947941f15982093bbf8fbe2814a7e006faf0.jpg",
|
| 302 |
+
"text": "$$\n\\begin{array} { c } { { t \\sim p _ { h , \\Phi } ( T | X = x , A = a ) } } \\\\ { { { \\it t } _ { a } \\sim p _ { h , \\Phi } ( T _ { a } | X = x ) } } \\end{array}\n$$",
|
| 303 |
+
"text_format": "latex",
|
| 304 |
+
"bbox": [
|
| 305 |
+
401,
|
| 306 |
+
583,
|
| 307 |
+
596,
|
| 308 |
+
622
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "We obtain (3) from (2) via the strong ignorability assumption, i.e., $\\{ T _ { 0 } , T _ { 1 } \\}$ ⊥⊥ $A | X$ (consistent with the causal graphs in Figure 1b and 1c) and $0 < P ( A = \\mathsf { \\bar { a } } | X \\doteq x ) < 1 .$ , and the consistency assumption, i.e., $T = T _ { A } | A = a$ . A similar argument can be made for informative censoring based on Figure 1c, so we can also write $c _ { a } \\sim p _ { \\nu , \\Phi } ( C _ { A } | X = x )$ . Given (3), model functions $\\{ h _ { A } ( \\cdot ) , \\Phi ( \\cdot ) \\bar \\}$ and $\\nu _ { A } ( \\cdot )$ for informative censoring can be learned by leveraging standard statistical optimization approaches, that minimize a loss hypothesis $\\mathcal { L }$ given samples from the empirical distribution $( y , \\delta , x , a ) \\sim p ( Y , \\delta , X , A )$ , i.e., from dataset $\\mathcal { D }$ . Specifically, we write $\\mathcal { L } = \\mathbb { E } _ { ( y , \\delta , x , a ) \\sim p ( Y , \\delta , X , A ) } \\left[ \\ell _ { h , \\Phi } ( t _ { a } , y , \\delta ) \\right]$ , where $\\ell _ { h , \\Phi } ( t _ { a } , y , \\delta )$ is a loss function that measures the agreement of $t _ { a } \\sim p _ { h , \\Phi } ( T _ { A } | X = x )$ (and $c _ { a } \\sim p _ { \\nu , \\Phi } ( C _ { A } | X = x )$ for informative censoring) with ground truth $\\{ y , \\delta \\}$ , the observed time and censoring indicator, respectively. ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
173,
|
| 317 |
+
625,
|
| 318 |
+
825,
|
| 319 |
+
767
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "For some parametric formulations of event time distribution $p _ { h , \\Phi } ( T _ { A } | X = x )$ , e.g., exponential, Weibull, log-Normal, etc., and provided the censoring mechanism is non-informative, $- \\ell _ { h , \\Phi } ( t _ { a } , y , \\delta )$ is the closed form log likelihood. Specifically, $- \\ell _ { h , \\Phi } ( t _ { a } , y , \\delta ) \\triangleq \\log p _ { h , \\Phi } ( T _ { a } | X = x ) = \\delta$ · $\\log f _ { h , \\Phi } ( t _ { a } | x ) + ( 1 - \\bar { \\delta } ) \\cdot \\log S _ { h , \\Phi } ( t _ { a } | x )$ , which implies that the conditional event time density and survival functions can be calculated in closed form from transformations $\\{ h _ { A } ( \\cdot ) , \\Phi ( \\cdot ) \\}$ of $x$ . See the SM for parametric examples of $\\mathcal { L }$ accounting for informative censoring. ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
173,
|
| 328 |
+
772,
|
| 329 |
+
825,
|
| 330 |
+
859
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "We further define the expected loss for a given realization of covariates $x$ and treatment assignment $a$ over observed times $y$ (censored and non-censored), and the censoring indicator $\\delta$ as $\\zeta _ { h , \\Phi } ( x , a ) \\triangleq$ $\\mathbb { E } _ { ( y , \\delta , x ) \\sim p ( Y , \\delta | X ) } \\ell _ { h , \\Phi } ( t _ { a } , y , \\delta )$ as in Shalit et al. (2017). For a given subject with covariates $x$ and treatment assignment $a$ , we wish to minimize both the factual and counterfactual losses, $\\mathcal { L } _ { \\mathrm { F } }$ and $\\mathcal { L } _ { \\mathrm { C F } }$ respectively, by decomposing $\\mathcal { L } = \\mathcal { L } _ { \\mathrm { F } } + \\mathcal { L } _ { \\mathrm { C F } }$ as follows ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
174,
|
| 339 |
+
866,
|
| 340 |
+
825,
|
| 341 |
+
924
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 3
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "",
|
| 348 |
+
"bbox": [
|
| 349 |
+
173,
|
| 350 |
+
103,
|
| 351 |
+
547,
|
| 352 |
+
118
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 4
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "equation",
|
| 358 |
+
"img_path": "images/141da49929ef287744dea443052c2291ced1fb2cbc977e821917e72659db41f1.jpg",
|
| 359 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\mathrm { F } } = \\mathbb { E } _ { ( x , a ) \\sim p ( A , X ) } \\zeta _ { h , \\Phi } ( x , a ) , \\quad \\mathcal { L } _ { \\mathrm { C F } } = \\mathbb { E } _ { ( x , a ) \\sim p ( 1 - A , X ) } \\zeta _ { h , \\Phi } ( x , a ) . } \\end{array}\n$$",
|
| 360 |
+
"text_format": "latex",
|
| 361 |
+
"bbox": [
|
| 362 |
+
264,
|
| 363 |
+
128,
|
| 364 |
+
732,
|
| 365 |
+
147
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 4
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "Let $u \\triangleq P ( A = 1 )$ denote the marginal probability of treatment assignment. We can readily decompose the losses in (4) according to treatment assignments. The decomposed factual $\\mathcal { L } _ { \\mathrm { F } } =$ $u \\cdot \\mathcal { L } _ { \\mathrm { F } } ^ { A = 1 } + \\left( 1 - u \\right) \\cdot \\mathcal { L } _ { \\mathrm { F } } ^ { A = 0 }$ , and similarly, the decomposed counterfactual $\\mathcal { L } _ { \\mathrm { C F } } = \\dot { ( } 1 - u ) \\cdot \\mathcal { L } _ { \\mathrm { C F } } ^ { A = 1 } + u$ $\\mathcal { L } _ { \\mathrm { C F } } ^ { A = 0 }$ F CF . In practice, only factual outcomes are observed, hence, for a non-randomized non-controlled experiment, we cannot obtain an unbiased estimate of $\\mathcal { L } _ { \\mathrm { C F } }$ from data due to selection bias (or confounding). Therefore, we bound $\\mathcal { L } _ { \\mathrm { C F } }$ and $\\mathcal { L }$ below following Shalit et al. (2017). ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
173,
|
| 374 |
+
159,
|
| 375 |
+
825,
|
| 376 |
+
246
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 4
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "Corollary 1 Assume $\\Phi ( \\cdot )$ is an invertible map, and $\\alpha ^ { - 1 } \\zeta _ { h , \\Phi } ( x , a ) \\in G$ , where $G$ is a family of functions, $p _ { \\Phi } ^ { A = a } \\triangleq p _ { \\Phi } ( R | A = a )$ is the latent distribution for group $A = a$ , and $\\alpha > 0$ is a constant. Then, we have: ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
173,
|
| 385 |
+
257,
|
| 386 |
+
826,
|
| 387 |
+
303
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 4
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "equation",
|
| 393 |
+
"img_path": "images/370f28aa2b443822fd375b3828179499d1816978110177146821204aef6fa36a.jpg",
|
| 394 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathcal { L } _ { \\mathrm { C F } } \\leq ( 1 - u ) \\cdot \\mathcal { L } _ { \\mathrm { F } } ^ { A = 1 } + u \\cdot \\mathcal { L } _ { \\mathrm { F } } ^ { A = 0 } + \\alpha \\cdot \\mathrm { I P M } _ { G } ( p _ { \\Phi } ^ { A = 1 } , p _ { \\Phi } ^ { A = 0 } ) } \\\\ & { \\quad \\mathcal { L } \\leq \\mathcal { L } _ { \\mathrm { F } } ^ { A = 1 } + \\mathcal { L } _ { \\mathrm { F } } ^ { A = 0 } + \\alpha \\cdot \\mathrm { I P M } _ { G } ( p _ { \\Phi } ^ { A = 1 } , p _ { \\Phi } ^ { A = 0 } ) . } \\end{array}\n$$",
|
| 395 |
+
"text_format": "latex",
|
| 396 |
+
"bbox": [
|
| 397 |
+
294,
|
| 398 |
+
303,
|
| 399 |
+
702,
|
| 400 |
+
347
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 4
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "The integral probability metric (IPM) (Müller, 1997; Sriperumbudur et al., 2012) measures the distance between two probability distributions $p$ and $q$ defined over $M$ , i.e., the latent space of $R$ . Formally, $\\begin{array} { r } { \\mathrm { I P M } _ { G } ( p , q ) \\triangleq \\operatorname* { s u p } _ { g \\in G } \\vert \\int _ { M } g ( m ) \\left( p ( m ) - q ( m ) \\right) d m \\vert } \\end{array}$ , where $g : m \\mathbb { R }$ , represents a class of real-valued bounded measurable functions on $M$ (Shalit et al., 2017). Therefore, model functions $\\{ h _ { a } ( \\cdot ) , \\Phi ( \\cdot ) \\}$ can be learned by minimizing the upper bound in (5) consisting of $( i )$ only factual losses under both treatment assignments and $( i i )$ an IPM regularizer enforcing latent distributional equivalence between the treatment groups. Note that if the data originates from a RCT it follows (by construction) that $\\mathrm { I P M } _ { G } ( p _ { \\Phi } ^ { A = 1 } , p _ { \\Phi } ^ { \\tilde { A = 0 } } ) \\stackrel { . } { = } 0$ . ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
173,
|
| 409 |
+
359,
|
| 410 |
+
826,
|
| 411 |
+
477
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 4
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "text",
|
| 417 |
+
"text": "Accounting for censoring bias Below we formulate an approach for estimating functions $h _ { A } ( \\cdot )$ and $\\nu _ { A } ( \\cdot )$ for synthesizing (sampling) non-censored $t _ { a } \\sim \\stackrel { \\sim } { p } _ { h , \\Phi } ( T _ { A } | X = x )$ and censored $c _ { a } \\sim$ $p _ { \\nu , \\Phi } ( C _ { A } | X = x )$ times, respectively. While some parametric assumptions for $p _ { h , \\Phi } ( T _ { A } | X = x )$ yield easy-to-evaluate closed forms for $S _ { h , \\Phi } ( t _ { a } | x )$ that can be used as likelihood for censored observations, they are restrictive, and have been shown to generate unrealistic high variance samples (Chapfuwa et al., 2018). So motivated, we seek a nonparametric likelihood-based approach that can model a flexible family of distributions, with an easy-to-sample approach for event times $t _ { a } \\sim$ $p _ { h , \\Phi } ( T _ { a } | X = x )$ . We model the event time generation process with a source of randomness, $p ( \\epsilon )$ , e.g. Gaussian or uniform, which is obtained from a neural-network-based nonlinear transformation. In the experiments we use a planar flow formulation parameterized by $\\{ U _ { h } , W _ { h } , b _ { h } \\}$ (Rezende & Mohamed, 2015), however, other specifications can also be used. Note that Miscouridou et al. (2018) has previously leveraged normalizing flows for survival analysis, however, our approach is very different in that it focuses on formulating $\\romannumeral 1$ ) a counterfactual survival analysis framework that accounts for informative or non-informative censoring mechanisms and confounding, and $_ { i i }$ ) model event times as a continuous variable instead of discretizing them. Specifically, we transform the source of randomness, $\\epsilon$ , using a single layer specification as follows ",
|
| 418 |
+
"bbox": [
|
| 419 |
+
173,
|
| 420 |
+
486,
|
| 421 |
+
826,
|
| 422 |
+
709
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 4
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "equation",
|
| 428 |
+
"img_path": "images/5d0fe636d034b8d80f53f9ef96d49f1ce924a440335a5cca19c9ccfdb29ad614.jpg",
|
| 429 |
+
"text": "$$\n{ \\widetilde { \\epsilon } } _ { h } = \\epsilon + U _ { h } \\operatorname { t a n h } ( W _ { h } \\epsilon + b _ { h } ) , \\quad \\epsilon \\sim \\operatorname { U n i f o r m } ( 0 , 1 ) , t _ { a } = h _ { A } ( r , { \\widetilde { \\epsilon } } _ { h } ) , \\quad r = \\Phi ( x )\n$$",
|
| 430 |
+
"text_format": "latex",
|
| 431 |
+
"bbox": [
|
| 432 |
+
225,
|
| 433 |
+
719,
|
| 434 |
+
772,
|
| 435 |
+
737
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "where $\\{ U _ { h } , W _ { h } \\} \\in \\mathbb { R } ^ { d \\times d }$ , $\\{ b _ { h } , \\epsilon \\} \\in \\mathbb { R } ^ { d }$ , $d$ is the dimensionality of the normalizing flow; each component of $\\epsilon$ is drawn independently from Uniform $( 0 , 1 )$ , and $\\tilde { \\epsilon } _ { h }$ may be viewed as a skip connection with stochasticity in $\\epsilon$ . Further, $h _ { A } ( r , \\tilde { \\epsilon } _ { h } )$ and $\\Phi ( x )$ are time-to-event generative and encoding functions, respectively, parameterized as neural networks. For simplicity, the dimensions of $r$ and $\\epsilon$ are set to $d$ , however, they can be set independently if desired. In practice, we are interested in generating realistic event-time samples; therefore, we account for both censored and non-censored observations by adopting the objective from Chapfuwa et al. (2018), formulated as ",
|
| 442 |
+
"bbox": [
|
| 443 |
+
173,
|
| 444 |
+
747,
|
| 445 |
+
825,
|
| 446 |
+
847
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "equation",
|
| 452 |
+
"img_path": "images/7fde54abcbf1fd3fd611de6768c944eaf23863c85ea57f28571b691d6e808338.jpg",
|
| 453 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { F } } ^ { \\mathrm { C S A } } \\triangleq \\mathbb { E } _ { ( y , \\delta , x , a ) \\sim p ( Y , \\delta , X , A ) , \\epsilon \\sim p ( \\epsilon ) } \\left[ \\delta \\cdot \\left( \\left| y - t _ { a } \\right| \\right) + \\left( 1 - \\delta \\right) \\cdot \\left( \\operatorname* { m a x } ( 0 , y - t _ { a } ) \\right) \\right] ,\n$$",
|
| 454 |
+
"text_format": "latex",
|
| 455 |
+
"bbox": [
|
| 456 |
+
230,
|
| 457 |
+
856,
|
| 458 |
+
766,
|
| 459 |
+
877
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "where the first term encourages sampled event times $t _ { a }$ to be close to $y$ , the ground truth for observed events, i.e., $\\delta = 1$ , while penalizing $t _ { a }$ for being smaller than the censoring time when $\\delta = 0$ . Further, the expectation is taken over samples (a minibatch) from empirical distribution $p ( Y , \\delta , X , A )$ . ",
|
| 466 |
+
"bbox": [
|
| 467 |
+
173,
|
| 468 |
+
886,
|
| 469 |
+
826,
|
| 470 |
+
928
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "text",
|
| 476 |
+
"text": "Informative censoring We model informative censoring similar to (7) but mirroring the censoring indicators to encourage accurate censoring time samples $c _ { a }$ for $\\delta = 0$ , while penalizing $c _ { a }$ for being smaller than $y$ for $\\delta \\ : = \\ : 1$ (observed events). Specifically, we set an independent source of randomness like in (6) but parameterized by $\\{ U _ { \\nu } , W _ { \\nu } , b _ { \\nu } \\}$ and censoring generative functions $\\nu _ { A } ( r , \\tilde { \\epsilon } _ { \\nu } )$ , parameterized as neural networks, where $c _ { a } \\sim p _ { \\nu , \\Phi } ( C _ { A } | X = x )$ formulated as ",
|
| 477 |
+
"bbox": [
|
| 478 |
+
173,
|
| 479 |
+
102,
|
| 480 |
+
825,
|
| 481 |
+
174
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 5
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "equation",
|
| 487 |
+
"img_path": "images/30f94ae655fc0f98b5a994dfdb2c983552b9b03f08d4eae0320432c33861540e.jpg",
|
| 488 |
+
"text": "$$\n\\ell _ { c } ( \\nu , \\Phi ) = \\mathbb { E } _ { ( y , \\delta , x , a ) \\sim p ( y , \\delta , X , A ) , \\epsilon \\sim p ( \\epsilon ) } \\left[ ( 1 - \\delta ) \\cdot ( | y - c _ { a } | ) + \\delta \\cdot ( \\operatorname* { m a x } ( 0 , y - c _ { a } ) ) \\right] .\n$$",
|
| 489 |
+
"text_format": "latex",
|
| 490 |
+
"bbox": [
|
| 491 |
+
220,
|
| 492 |
+
180,
|
| 493 |
+
777,
|
| 494 |
+
199
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 5
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "Further, we introduce an additional time-order-consistency loss that enforces the correct order of the observed time relative to the censoring indicator, i.e., $c _ { a } < t _ { a }$ if $\\delta = 0$ and $t \\sb a < c \\sb a$ if $\\delta = 1$ , thus ",
|
| 501 |
+
"bbox": [
|
| 502 |
+
171,
|
| 503 |
+
204,
|
| 504 |
+
823,
|
| 505 |
+
233
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 5
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "equation",
|
| 511 |
+
"img_path": "images/5a8c95490dd905c65beac4f71a501b50581c5ec62609efa122fed7c912a3ba02.jpg",
|
| 512 |
+
"text": "$$\n\\ell _ { \\mathrm { T C } } ( h , \\nu , \\Phi ) = \\mathbb { E } _ { ( \\delta , x , a ) \\sim p ( \\delta , X , A ) , \\epsilon \\sim p ( \\epsilon ) } \\left[ \\delta \\cdot ( \\operatorname* { m a x } ( 0 , t _ { a } - c _ { a } ) ) + ( 1 - \\delta ) \\cdot ( \\operatorname* { m a x } ( 0 , c _ { a } - t _ { a } ) ) \\right] .\n$$",
|
| 513 |
+
"text_format": "latex",
|
| 514 |
+
"bbox": [
|
| 515 |
+
178,
|
| 516 |
+
238,
|
| 517 |
+
789,
|
| 518 |
+
257
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 5
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "Note that $\\ell _ { \\mathrm { T C } } ( h , \\nu , \\Phi )$ does not depend on the observed event times but only on the censoring indicators. Finally, we write the consolidated CSA loss for informative censoring (CSA-INFO) by aggregating (7), (8) and (9) as $\\mathcal { L } _ { \\mathrm { F } } ^ { \\mathrm { C S A - I N F O } } \\triangleq \\mathcal { L } _ { \\mathrm { F } } ^ { \\mathrm { C S A } } + \\ell _ { \\mathrm { c } } + \\ell _ { \\mathrm { T C } }$ . ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
174,
|
| 527 |
+
263,
|
| 528 |
+
825,
|
| 529 |
+
309
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 5
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "Learning Model functions $\\{ h _ { A } ( \\cdot ) , \\Phi ( \\cdot ) , \\nu _ { A } ( \\cdot ) \\}$ are learned by minimizing the bound (5), via stochastic gradient descent on minibatches from $\\mathcal { D }$ , with $\\mathcal { L } _ { \\mathrm { F } } ^ { \\mathrm { C S A } }$ for non-informative censoring and $\\mathcal { L } _ { \\mathrm { F } } ^ { \\mathrm { C S A - I N F O } }$ for informative censoring. Further, for the IPM regularization loss in (5), we optimize the dual formulation of the Wasserstein distance, via the regularized optimal transport (Villani, 2008; Cuturi, 2013). Consequently, we only require $\\alpha ^ { - 1 } \\zeta _ { h , \\Phi } ( \\bar { x , } a )$ to be 1-Lipschitz (Shalit et al., 2017) and $\\alpha$ is selected by grid search on the validation set using only factual data (details below). ",
|
| 536 |
+
"bbox": [
|
| 537 |
+
173,
|
| 538 |
+
315,
|
| 539 |
+
826,
|
| 540 |
+
402
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 5
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "4 METRICS ",
|
| 547 |
+
"text_level": 1,
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
422,
|
| 551 |
+
284,
|
| 552 |
+
438
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 5
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "We propose a comprehensive evaluation approach that accounts for both factual and causal metrics. Factual survival outcome predictions are evaluated according to standard survival metrics that measure diverse performance characteristics, such as concordance index (C-Index) (Harrell Jr et al., 1984), mean coefficient of variation (COV) and calibration slope (C-slope) (Chapfuwa et al., 2020). See the SM for more details on these metrics. For causal metrics, defined below, we introduce a nonparametric hazard ratio (HR) between treatment outcomes, and adopt the conventional precision in estimation of heterogeneous effect (PEHE) and average treatment effect (ATE) performance metrics (Hill, 2011). Note that PEHE and ATE require ground truth counterfactual event times, which is only possible in (semi-)synthetic data. For HR, we compare our findings with those independently reported in the literature from gold-standard RCT data. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
173,
|
| 561 |
+
443,
|
| 562 |
+
826,
|
| 563 |
+
582
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "Nonparametric Hazard Ratio In a medical setting, the population hazard ratio $\\mathrm { H R } ( t )$ between treatment groups is considered informative thus has been widely used in drug development and RCT (Yusuf et al., 2016; Mihaylova et al., 2012). For example, $\\mathrm { H R } ( t ) < 1 , > 1$ , or $\\approx 1$ indicate population positive, negative and neutral treatment effects at time $t$ , respectively. Moreover, $\\mathrm { H R } ( t )$ naturally accounts for both censored and non-censored outcomes. Standard approaches for computing $\\mathrm { H R } ( { \\dot { t } } )$ rely on the restrictive proportional hazard assumption from CoxPH (Cox, 1972), which is constituted as a semi-parametric linear model $\\lambda ( t | a ) = \\lambda _ { \\mathrm { b } } \\bar { ( } t ) \\exp ( a \\beta )$ . However, the constant covariate (time independent) effect is often violated in practice (see Figure 2b). For CoxPH, the marginal HR between treatment and control can be obtained from regression coefficient $\\beta$ learned via maximum likelihood without the need for specifying the baseline hazard $\\begin{array} { r } { \\mathrm { ~ \\cdot ~ } _ { \\mathrm { b } } ( t ) \\colon \\mathrm { H R } _ { \\mathrm { C o x P H } } ( t ) = \\frac { \\lambda ( t | a = 1 ) } { \\lambda ( t | a = 0 ) } = \\exp ( \\beta ) } \\end{array}$ . So motivated, we propose a nonparametric, model-free approach for computing $\\mathrm { H R } ( t )$ , in which we do not assume a parametric form for the event time distribution or the proportional hazard assumption from CoxPH. This approach only relies on samples from the conditional event time density functions, $f ( t _ { 1 } | x )$ and $f ( t _ { 0 } | x )$ , via $t _ { a } = h _ { A } ( \\cdot )$ from (6). ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
173,
|
| 572 |
+
587,
|
| 573 |
+
826,
|
| 574 |
+
789
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "Definition 1 We define the nonparametric marginal Hazard Ratio and its approximation, $\\mathrm { \\hat { H R } } ( t )$ , as ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
171,
|
| 583 |
+
794,
|
| 584 |
+
823,
|
| 585 |
+
810
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "equation",
|
| 591 |
+
"img_path": "images/d9ca3513b198afb6432afe6930b65739952ee5cac99ad41dbc5cf652e4ac4216.jpg",
|
| 592 |
+
"text": "$$\n\\mathrm { H R } ( t ) = \\frac { \\lambda _ { 1 } ( t ) } { \\lambda _ { 0 } ( t ) } = \\frac { S _ { 0 } ( t ) } { S _ { 1 } ( t ) } \\cdot \\frac { S _ { 1 } ^ { \\prime } ( t ) } { S _ { 0 } ^ { \\prime } ( t ) } , \\quad \\mathrm { H R } ( t ) = \\frac { \\hat { S } _ { 0 } ^ { \\mathrm { P K M } } ( t ) } { \\hat { S } _ { 1 } ^ { \\mathrm { P K M } } ( t ) } \\cdot \\frac { m _ { 1 } ( t ) } { m _ { 0 } ( t ) } ,\n$$",
|
| 593 |
+
"text_format": "latex",
|
| 594 |
+
"bbox": [
|
| 595 |
+
279,
|
| 596 |
+
816,
|
| 597 |
+
717,
|
| 598 |
+
854
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "where for $\\mathrm { H R } ( t )$ we leveraged (1) to obtain (10) and $S ^ { \\prime } ( t ) \\triangleq d S ( t ) / d t$ . The nonparametric assumption for $S ( t )$ makes the computation of $S ^ { \\prime } ( t )$ challenging. Provided that $S ( t )$ is a monotonically decreasing function, for simplicity, we fit a linear function $S ( t ) = m \\cdot t + c .$ , and set $S ^ { \\prime } ( t ) \\approx m$ . Note that the linear model is only used for estimating $S ^ { \\prime } ( t )$ from the nonparametric estimation of $S ( t )$ . ",
|
| 605 |
+
"bbox": [
|
| 606 |
+
174,
|
| 607 |
+
866,
|
| 608 |
+
825,
|
| 609 |
+
924
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "table",
|
| 615 |
+
"img_path": "images/5d3d824a74b40f44971099aa53bc084369e33021afa3cae740ca983e4448a9de.jpg",
|
| 616 |
+
"table_caption": [
|
| 617 |
+
"Table 1: Performance comparisons on ACTG-SYNTHETIC data, with $9 5 \\%$ $\\mathrm { H R } ( t )$ confidence interval. The ground truth, test set, hazard ratio is $\\mathrm { H R ( t ) } = 0 . 5 2 _ { ( 0 . 3 9 , 0 . 7 1 ) }$ . "
|
| 618 |
+
],
|
| 619 |
+
"table_footnote": [],
|
| 620 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"3\">Causal</td><td colspan=\"2\">Factual</td><td rowspan=\"2\">C-Slope (A=0,A=1)</td></tr><tr><td>EPEHE</td><td>EATE</td><td>HR(t)</td><td>C-Index (A=0,A=1)</td><td>Mean COV</td></tr><tr><td>CoxPH-Uniform</td><td>NA</td><td>NA</td><td>0.97(0.86,1.09)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-IPW</td><td>NA</td><td>NA</td><td>0.48(0.03,7.21)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-OW</td><td>NA</td><td>NA</td><td>0.60(0.53,0.68)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>Surv-BART</td><td>352.07</td><td>77.89</td><td>0.0(0.0,0.0)</td><td>(0.706,0.686)</td><td>0.001</td><td>(0.398,0)</td></tr><tr><td>AFT-Weibull</td><td>367.92</td><td>133.93</td><td>0.47(0.47,0.47)</td><td>(0.21,0.267)</td><td>6.209</td><td>(0.707,0.729)</td></tr><tr><td>AFT-log-Normal</td><td>377.76</td><td>157.64</td><td>0.47(0.47,0.47)</td><td>(0.675, 0.556)</td><td>6.971</td><td>(0.707,0.729)</td></tr><tr><td>SR</td><td>369.47</td><td>88.55</td><td>0.38(0.330.65)</td><td>(0.791,0.744)</td><td>0</td><td>(0.985,1.027)</td></tr><tr><td>CSA (proposed)</td><td>358.72</td><td>0.8</td><td>0.45(0.39,0.65)</td><td>(0.787,0.767)</td><td>0.131</td><td>(0.985,1.026)</td></tr><tr><td>CSA-INFO (proposed)</td><td>344.3</td><td>31.19</td><td>0.53(0.41,0.67)</td><td>(0.78,0.764)</td><td>0.13</td><td>(0.999,1.029)</td></tr></table>",
|
| 621 |
+
"bbox": [
|
| 622 |
+
176,
|
| 623 |
+
133,
|
| 624 |
+
821,
|
| 625 |
+
265
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 6
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Bias from $S ^ { \\prime } ( t )$ can be reduced by considering more complex function approximations for $S ( t )$ , e.g., polynomial or spline. For the nonparametric estimation of $S ( t )$ we leverage the model-free population point-estimate-based nonparametric Kaplan-Meier (Kaplan & Meier, 1958) estimator of the survival function $\\hat { S } ^ { \\mathrm { P K M } } ( t )$ in Chapfuwa et al. (2020) to marginalize both factual and counterfactual predictions given covariates $x$ . The approximated hazard ratio, $\\mathrm { \\hat { H R } } ( t )$ , is thus obtained by combining the approximations $\\hat { S } _ { a } ^ { \\mathrm { P K M } } ( t )$ and $m _ { a }$ . A similar formulation for the conditional, $\\mathrm { H } \\mathrm { \\hat { R } } ( t | x )$ , can also be derived. See the SM for full details on the evaluation or $\\mathrm { \\hat { H R } } ( t )$ and $\\mathrm { H } \\mathrm { \\hat { R } } ( t | x )$ . Note that for some AFT- or CoxPH-based parametric formulations, $\\mathrm { H R } ( t | x )$ , can be readily evaluated because $f ( t _ { a } | x )$ and $S ( t _ { a } | x )$ are available in closed form. ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
276,
|
| 635 |
+
826,
|
| 636 |
+
412
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 6
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "In the experiments, we will use $\\mathrm { H R } ( t )$ to compare different approaches against results reported in RCTs (see Tables 1 and 3). Further, we will use $\\mathrm { H R } ( t | x )$ to illustrate stratified treatment effects (see Figure 2). Note that though a neural-based survival recommender system (Katzman et al., 2018) has been previously used to estimate $\\operatorname { H R } ( t | x )$ , their approach does not account for confounding or informative censoring thus it is susceptible to bias. ",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
417,
|
| 646 |
+
825,
|
| 647 |
+
489
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 6
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "Precision in Estimation of Heterogeneous Effect (PEHE) A general individualized estimation error is formulated as $\\epsilon _ { \\mathrm { P E H E } } = \\sqrt { \\mathbb { E } _ { X } [ ( \\mathrm { I T E } ( x ) - \\mathrm { I } \\hat { \\mathrm { T E } } ( x ) ) ^ { 2 } ] }$ , where $\\operatorname { I T E } ( x )$ is the ground truth, $\\mathrm { I } \\hat { \\mathrm { T E } } ( x ) = \\mathbb { E } _ { T } \\left[ \\gamma \\left( T _ { 1 } \\right) - \\gamma \\left( T _ { 0 } \\right) \\vert X = x \\right]$ and $\\gamma ( \\cdot )$ is a deterministic transformation. In our experiments, $\\gamma ( \\cdot )$ is the average over samples from $\\dot { t _ { a } } \\sim p _ { h , \\Phi } ( T _ { A } | X = x )$ . Alternative estimands, e.g., thresholding survival times $\\gamma ( T _ { A } ) = I \\{ T _ { A } > \\tau \\}$ , can also be considered as described above. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
173,
|
| 656 |
+
497,
|
| 657 |
+
826,
|
| 658 |
+
582
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Average Treatment Effect (ATE) The population treatment effect estimation error is defined as $\\epsilon _ { \\mathrm { A T E } } = | \\mathrm { A T E } - \\mathrm { A \\hat { T } E } |$ , where $\\mathrm { A T E } = \\mathbb { E } _ { X } [ \\mathrm { I T E } ( x ) ]$ (ground truth) and $\\mathrm { A } \\hat { \\mathrm { T E } } = \\mathbb { E } _ { X } [ \\hat { \\mathrm { I T E } } ( x ) ]$ . ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
173,
|
| 667 |
+
590,
|
| 668 |
+
825,
|
| 669 |
+
622
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "5 EXPERIMENTS ",
|
| 676 |
+
"text_level": 1,
|
| 677 |
+
"bbox": [
|
| 678 |
+
176,
|
| 679 |
+
636,
|
| 680 |
+
328,
|
| 681 |
+
651
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 6
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "We describe the baselines and datasets that will be used to evaluate the proposed counterfactual survival analysis methods (CSA and CSA-INFO). Pytorch code including the new semi-synthetic dataset (see below) will be made publicly available. Throughout the experiments, we use the standard $\\mathrm { H R } ( t )$ for CoxPH based methods and (10) for all others. The bound in (5) is sensitive to $\\alpha$ , thus we propose approximating proxy counterfactual outcomes $\\{ Y _ { \\mathrm { C F } } , \\delta _ { \\mathrm { C F } } \\}$ for the validation set, according to the covariate Euclidean nearest-neighbour (NN) from the training set. We select the $\\alpha$ that minimizes the validation loss $\\mathcal { L } = \\mathcal { L } _ { \\mathrm { F } } + \\mathcal { L } _ { \\mathrm { C F } }$ from the set $( 0 , 0 . 1 , 1 , 1 0 , 1 0 0 )$ . ",
|
| 688 |
+
"bbox": [
|
| 689 |
+
173,
|
| 690 |
+
660,
|
| 691 |
+
825,
|
| 692 |
+
760
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 6
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Baselines We consider the following competitive baseline approaches: $( i )$ propensity weighted CoxPH (Schemper et al., 2009; Buchanan et al., 2014; Rosenbaum & Rubin, 1983); $( i i )$ IPM (5) regularized AFT (log-Normal and Weibull) models; $( i i i )$ an IPM (5) regularized deterministic semisupervised regression (SR) model with accuracy objective from (Chapfuwa et al., 2018), as a contrast for the proposed stochastic predictors (CSA and CSA-INFO); and $( i v )$ survival Bayesian additive regression trees (Surv-BART) (Sparapani et al., 2016). For CoxPH, we consider three normalized weigh2009), $\\begin{array} { r } { \\mathrm { I P W } _ { i } = \\frac { a _ { i } } { \\hat { e } _ { i } } + \\frac { 1 - a _ { i } } { 1 - \\hat { e } _ { i } } ; i i ) } \\end{array}$ $( i )$ weilappi ng (IPW) (Horvitz & Thompson, 1952; Cao et al.,weights (OW) (Crump et al., 2006; Li et al., 2018), $\\mathrm { O W } _ { i } = a _ { i } \\cdot \\left( 1 - \\hat { e } _ { i } \\right) + \\left( 1 - a _ { i } \\right) \\cdot \\hat { e } _ { i }$ $i i i$ \nlinear logistic model $\\hat { e } _ { i } = \\sigma ( x _ { i } ; w )$ , is used as an approximation, $\\boldsymbol { \\hat { e } } _ { i }$ , to the unknown propensity score $P ( A = { \\bar { 1 } } | X = x )$ . See the SM for a details of the baselines. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
173,
|
| 701 |
+
763,
|
| 702 |
+
826,
|
| 703 |
+
921
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 6
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "table",
|
| 709 |
+
"img_path": "images/02f7c367f232f20c3ad47f3b482bcff2a58309728cb6b371a98f07c24827d815.jpg",
|
| 710 |
+
"table_caption": [
|
| 711 |
+
"Table 3: Performance comparisons on FRAMINGHAM data, with $9 5 \\%$ $\\mathrm { H R } ( t )$ confidence interval. Test set NN assignment of $y _ { \\mathrm { C F } }$ and $\\delta _ { \\mathrm { C F } }$ yields biased $\\mathrm { H R ( t ) } = 1 . 2 3 _ { ( 1 . 1 7 , 1 . 2 5 ) }$ , while previous large scale longitudinal RCT studies estimated $\\mathrm { H R } ( \\mathrm { t } ) = 0 . 7 5$ (0.64,0.88) (Yusuf et al., 2016). "
|
| 712 |
+
],
|
| 713 |
+
"table_footnote": [],
|
| 714 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">Causal HR(t)</td><td rowspan=\"2\">C-Index (A=0, A=1)</td><td rowspan=\"2\">Factual Mean COV</td><td rowspan=\"2\">C-Slope (A=0,A=1)</td></tr><tr><td></td></tr><tr><td>CoxPH-Uniform</td><td>1.69(1.38,2.07)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-IPW</td><td>1.09(0.76,1.57)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>CoxPH-OW</td><td>0.88(0.73,1.08)</td><td>NA</td><td>NA</td><td>NA</td></tr><tr><td>Surv-BART</td><td>14.99(14.9,14.9e8)</td><td>(0.629,0.630)</td><td>0.003</td><td>(0.232,0.084)</td></tr><tr><td>AFT-Weibull</td><td>1.09(1.09,1.09)</td><td>(0.734,0.395)</td><td>8.609</td><td>(0.857,0.89)</td></tr><tr><td>AFT-log-Normal</td><td>1.55(1.46,1.55)</td><td>(0.68,0.56)</td><td>10.415</td><td>(0.979,0.732)</td></tr><tr><td>SR</td><td>0.58(0.53,0.71)</td><td>(0.601, 0.57)</td><td>0</td><td>(0.491,0.63)</td></tr><tr><td>CSA(proposed)</td><td>1.04(1.00,1.09)</td><td>(0.763,0.728)</td><td>0.161</td><td>(0.891,0.81)</td></tr><tr><td>CSA-INFO (proposed)</td><td>0.81(0.77,0.83)</td><td>(0.752,0.651)</td><td>0.156</td><td>(0.907, 0.881)</td></tr></table>",
|
| 715 |
+
"bbox": [
|
| 716 |
+
222,
|
| 717 |
+
148,
|
| 718 |
+
772,
|
| 719 |
+
276
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 7
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "Datasets We consider the following datasets: (i) FRAMINGHAM, is an EHR-based longitudinal cardiovascular cohort study that we use to evaluate the effect of statins on future coronary heart disease outcomes (Benjamin et al., 1994); $( i i )$ ACTG, is a longitudinal RCT study comparing monotherapy with Zidovudine or Didanosine with combination therapy in HIV patients (Hammer et al., 1996); and $( i i i )$ ACTG",
|
| 726 |
+
"bbox": [
|
| 727 |
+
174,
|
| 728 |
+
289,
|
| 729 |
+
517,
|
| 730 |
+
400
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 7
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "table",
|
| 736 |
+
"img_path": "images/662567b84ec6b8412fd1a2eb1f6e306f029c8bde26af3d28de506fa5a1d065e3.jpg",
|
| 737 |
+
"table_caption": [
|
| 738 |
+
"Table 2: Summary statistics of the datasets. "
|
| 739 |
+
],
|
| 740 |
+
"table_footnote": [],
|
| 741 |
+
"table_body": "<table><tr><td></td><td>FRAMINGHAM</td><td>ACTG</td><td>ACTG-SYNTHETIC</td></tr><tr><td>Events (%)</td><td>26.0</td><td>26.9</td><td>48.9</td></tr><tr><td>Treatment (%)</td><td>10.4</td><td>49.5</td><td>55.9</td></tr><tr><td>N</td><td>3,435</td><td>1,054</td><td>2,139</td></tr><tr><td>p</td><td>32</td><td>23</td><td>23</td></tr><tr><td>Missing (%)</td><td>0.23</td><td>1.41</td><td>1.38</td></tr><tr><td>tmax (days)</td><td>7,279</td><td>1,231</td><td>1,313</td></tr></table>",
|
| 742 |
+
"bbox": [
|
| 743 |
+
532,
|
| 744 |
+
303,
|
| 745 |
+
820,
|
| 746 |
+
375
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 7
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "SYNTHETIC, is a semi-synthetic dataset based on ACTG covariates. We simulate potential outcomes according to a Gompertz-Cox distribution (Bender et al., 2005) with selection bias from a simple logistic model for $\\bar { P ( A = 1 | X = x ) }$ and AFT-based censoring mechanism. The generative process is detailed in the SM. Table 2 summarizes the datasets according to $( i )$ covariates of size $p$ ; $( i i )$ proportion of non-censored events, treated units, and missing entries in the $N \\times p$ covariate matrix; and $( i i i )$ time range $t _ { \\mathrm { m a x } }$ for both censored and non-censored events. Missing entries are imputed with median or mode if continuous or categorical, respectively. ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
174,
|
| 755 |
+
400,
|
| 756 |
+
825,
|
| 757 |
+
497
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 7
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"text": "Quantitative Results Experimental results for two data-sets in Tables 1 and 3, illustrate that AFTbased methods are high variance, inferior in calibration and C-Index than accuracy-based methods (SR, CSA, CSA-INFO). Surv-BART is the least calibrated but low variance method. CSA-INFO and CSA outperform all methods across all factual metrics, whereas CSA-INFO is better calibrated, low variance but slightly lower C-Index than CSA. Note that we fit CoxPH using the entire dataset; since it does not support counterfactual inference, we do not present factual metrics. By properly adjusting for both informative censoring and selection bias, CSA-INFO significantly outperforms all methods in treatment effect estimation according to $\\mathrm { H R } ( t )$ and $\\epsilon _ { \\mathrm { P E H E } }$ , across non-RCT datasets, while remaining comparable to AFT-Weibull on the RCT dataset (see the SM). Further, RCT-based results on ACTG data in the SM illustrate comparable $\\mathrm { H R } ( t )$ across all models except for AFT-log-Normal and Surv-BART, which overestimate, and SR, which underestimates risk. For non-RCT datasets (ACTG-SYNTHENTIC and FRAMINGHAM), CoxPH-OW has a clear advantage over all CoxPH based methods, mostly credited to the well-behaved bounded propensity weights $\\in [ 0 , 1 ]$ . Interestingly, the FRAMINGHAM observational data exhibits a common paradox, where without proper adjustment of selection and censoring bias, naive approaches would result in a counter-intuitive treatment effect from statins. However, there is severe confounding from covariates such as age, BMI, diabetes, CAD, PAD, MI, stroke, etc., that influence both treatment likelihood and survival time. Table 3, demonstrates that CSA-INFO is clearly the best performing approach. Specifically, its $\\mathrm { H R } ( t )$ , reverses the biased observational treatment effect, to demonstrate positive treatment from statins, which is consistent with prior large RCT longitudinal findings (Yusuf et al., 2016). ",
|
| 764 |
+
"bbox": [
|
| 765 |
+
173,
|
| 766 |
+
503,
|
| 767 |
+
825,
|
| 768 |
+
781
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 7
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "Qualitative Results Figure 2a demonstrates that CSA-INFO matches the ground truth population hazard, $\\mathrm { H R } ( t )$ , better than alternative methods on ACTG-SYNTHETIC data. See the SM for ACTG and FRAMINGHAM. Figure 2b shows sub-population log hazard ratios for four patient clusters obtained via hierarchical clustering on the individual log hazard ratios, $\\log \\mathrm { H R } ( t | x )$ , of the test set of FRAMINGHAM data. Interestingly, these clusters stratify treatment effects into: positive (2), negative (1 and 3), and neutral (4) sub-populations. Moreover, the estimated density of median $\\log \\mathrm { H } \\bar { \\mathrm { R } } ( t | x )$ values in Figure $_ { 2 \\mathrm { c } }$ illustrates that nearly $7 0 \\%$ of the testing set individuals have $\\log \\mathrm { H R } ( t | x ) < 0$ , thus may benefit from taking statins. Further, we isolated the extreme top and bottom quantiles, $\\mathrm { H R } ( t | x ) < 0 . 0 2 4$ and $\\mathrm { H R } ( \\bar { t } | x ) > 1 . 9 1 6$ , respectively, of the median $\\log \\mathrm { \\bar { H R } } ( t | x )$ values for the test set of FRAMINGHAM, as shown in Figure 2c. After comparing their covariates, we found that individuals with the following characteristics may benefit from taking statins: young, male, diabetic, without prior history (CAD, PAD, stroke or MI), high BMI, cholesterol, triglycerides, fasting glucose, and low high-density lipoprotein. There seem to be consensus that diabetics and high-cholesterol patients benefit from statins (Cheung et al., 2004; Wilt et al., 2004). See SM for additional results. ",
|
| 775 |
+
"bbox": [
|
| 776 |
+
173,
|
| 777 |
+
797,
|
| 778 |
+
825,
|
| 779 |
+
924
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 7
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "image",
|
| 785 |
+
"img_path": "images/4c89c16905f48a1bdcc35b1ade4f0f866e4e151f0c05e3f1b2a559591a62f777.jpg",
|
| 786 |
+
"image_caption": [
|
| 787 |
+
"Figure 2: (a) Inferred population $\\mathrm { H R } ( t )$ compared against ground truth (EMP) on ACTG-SYNTHETIC data. CSA-INFO-based (b) cluster-specific average l $\\operatorname { \\Pi } ^ { } \\operatorname { \\Pi } ^ { } \\operatorname { \\mathrm { ) g } } \\operatorname { \\mathrm { { H R } } } ( t | x )$ curves and (c) estimated density of median $\\log \\mathrm { H R } ( t | x )$ values on the test set of the FRAMINGHAM dataset. Clusters assignment were obtained via hierarchical clustering of individualized $\\log \\mathrm { H R } ( t | x )$ traces. "
|
| 788 |
+
],
|
| 789 |
+
"image_footnote": [],
|
| 790 |
+
"bbox": [
|
| 791 |
+
187,
|
| 792 |
+
94,
|
| 793 |
+
799,
|
| 794 |
+
223
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 8
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "",
|
| 801 |
+
"bbox": [
|
| 802 |
+
174,
|
| 803 |
+
299,
|
| 804 |
+
826,
|
| 805 |
+
369
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 8
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "6 CONCLUSIONS ",
|
| 812 |
+
"text_level": 1,
|
| 813 |
+
"bbox": [
|
| 814 |
+
174,
|
| 815 |
+
380,
|
| 816 |
+
330,
|
| 817 |
+
395
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 8
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "We have proposed a unified counterfactual inference framework for survival analysis. Our approach adjusts for bias from two unknown sources, namely, confounding due to covariate dependent selection bias and censoring (informative or non-informative). Relative to competitive alternatives, we demonstrate superior performance for both survival-outcome prediction and treatment-effect estimation, across three diverse datasets, including a semi-synthetic dataset which we introduce. Moreover, we formulate a model-free nonparametric hazard ratio metric for comparing treatment effects or leveraging prior randomized real-world experiments in longitudinal studies. ",
|
| 824 |
+
"bbox": [
|
| 825 |
+
173,
|
| 826 |
+
400,
|
| 827 |
+
826,
|
| 828 |
+
498
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 8
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "REFERENCES ",
|
| 835 |
+
"text_level": 1,
|
| 836 |
+
"bbox": [
|
| 837 |
+
174,
|
| 838 |
+
102,
|
| 839 |
+
287,
|
| 840 |
+
117
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 9
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Peter C Austin. Propensity-score matching in the cardiovascular surgery literature from 2004 to 2006: a systematic review and suggestions for improvement. The Journal of Thoracic and Cardiovascular Surgery, 2007. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
174,
|
| 849 |
+
126,
|
| 850 |
+
826,
|
| 851 |
+
167
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 9
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Peter C Austin. The use of propensity score methods with survival or time-to-event outcomes: reporting measures of effect similar to those used in randomized experiments. Statistics in Medicine, 2014. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
173,
|
| 860 |
+
179,
|
| 861 |
+
823,
|
| 862 |
+
220
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 9
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Elias Bareinboim and Judea Pearl. Controlling selection bias in causal inference. In AISTATS, 2012. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
173,
|
| 871 |
+
231,
|
| 872 |
+
823,
|
| 873 |
+
247
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 9
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Ralf Bender, Thomas Augustin, and Maria Blettner. Generating survival times to simulate cox proportional hazards models. Statistics in medicine, 2005. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
176,
|
| 882 |
+
256,
|
| 883 |
+
821,
|
| 884 |
+
286
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 9
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "Emelia J Benjamin, Daniel Levy, Sonya M Vaziri, Ralph B D’Agostino, Albert J Belanger, and Philip A Wolf. Independent risk factors for atrial fibrillation in a population-based cohort: the framingham heart study. Jama, 1994. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
295,
|
| 894 |
+
825,
|
| 895 |
+
338
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 9
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Ashley L Buchanan, Michael G Hudgens, Stephen R Cole, Bryan Lau, Adaora A Adimora, and Women’s Interagency HIV Study. Worth the weight: using inverse probability weighted cox models in aids research. AIDS research and human retroviruses, 2014. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
174,
|
| 904 |
+
348,
|
| 905 |
+
826,
|
| 906 |
+
391
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 9
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Weihua Cao, Anastasios A Tsiatis, and Marie Davidian. Improving efficiency and robustness of the doubly robust estimator for a population mean with incomplete data. Biometrika, 2009. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
173,
|
| 915 |
+
400,
|
| 916 |
+
825,
|
| 917 |
+
430
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 9
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "P. Chapfuwa, C. Tao, C. Li, I. Khan, K. J. Chandross, M. J. Pencina, L. Carin, and R. Henao. Calibration and uncertainty in neural time-to-event modeling. IEEE Transactions on Neural Networks and Learning Systems, 2020. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
179,
|
| 926 |
+
439,
|
| 927 |
+
825,
|
| 928 |
+
482
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 9
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Paidamoyo Chapfuwa, Chenyang Tao, Chunyuan Li, Courtney Page, Benjamin Goldstein, Lawrence Carin, and Ricardo Henao. Adversarial time-to-event modeling. In ICML, 2018. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
171,
|
| 937 |
+
492,
|
| 938 |
+
823,
|
| 939 |
+
522
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 9
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Bernard MY Cheung, Ian J Lauder, Chu-Pak Lau, and Cyrus R Kumana. Meta-analysis of large randomized controlled trials to evaluate the impact of statins on cardiovascular outcomes. British journal of clinical pharmacology, 2004. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
531,
|
| 949 |
+
825,
|
| 950 |
+
574
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 9
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Hugh A Chipman, Edward I George, Robert E McCulloch, et al. Bart: Bayesian additive regression trees. The Annals of Applied Statistics, 2010. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
173,
|
| 959 |
+
583,
|
| 960 |
+
823,
|
| 961 |
+
613
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 9
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Stephen R Cole and Miguel A Hernán. Adjusted survival curves with inverse probability weights. Computer methods and programs in biomedicine, 2004. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
173,
|
| 970 |
+
622,
|
| 971 |
+
825,
|
| 972 |
+
652
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 9
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "David R Cox. Regression models and life-tables. Journal of the Royal Statistical Society: Series B (Methodological), 1972. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
173,
|
| 981 |
+
661,
|
| 982 |
+
825,
|
| 983 |
+
690
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 9
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Richard K Crump, V Joseph Hotz, Guido W Imbens, and Oscar A Mitnik. Moving the goalposts: Addressing limited overlap in the estimation of average treatment effects by changing the estimand. Technical report, National Bureau of Economic Research, 2006. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
700,
|
| 993 |
+
826,
|
| 994 |
+
743
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 9
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Yifan Cui, Michael R Kosorok, Stefan Wager, and Ruoqing Zhu. Estimating heterogeneous treatment effects with right-censored data via causal survival forests. arXiv, 2020. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
171,
|
| 1003 |
+
753,
|
| 1004 |
+
823,
|
| 1005 |
+
782
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Marco Cuturi. Sinkhorn distances: Lightspeed computation of optimal transport. In NeurIPS, 2013. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
173,
|
| 1014 |
+
792,
|
| 1015 |
+
825,
|
| 1016 |
+
808
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Iván Díaz. Statistical inference for data-adaptive doubly robust estimators with survival outcomes. Statistics in Medicine, 2019. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
171,
|
| 1025 |
+
818,
|
| 1026 |
+
825,
|
| 1027 |
+
845
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 9
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Jennifer Frankovich, Christopher A Longhurst, and Scott M Sutherland. Evidence-based medicine in the emr era. N Engl J Med, 2011. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
169,
|
| 1036 |
+
856,
|
| 1037 |
+
823,
|
| 1038 |
+
886
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Saurabh Gombar, Alison Callahan, Robert Califf, Robert Harrington, and Nigam H Shah. It is time to learn from patients like mine. NPJ digital medicine, 2019. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
174,
|
| 1047 |
+
895,
|
| 1048 |
+
821,
|
| 1049 |
+
924
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 9
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Scott M Hammer, David A Katzenstein, Michael D Hughes, Holly Gundacker, Robert T Schooley, Richard H Haubrich, W Keith Henry, Michael M Lederman, John P Phair, Manette Niu, et al. A trial comparing nucleoside monotherapy with combination therapy in hiv-infected adults with cd4 cell counts from 200 to 500 per cubic millimeter. New England Journal of Medicine, 1996. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
176,
|
| 1058 |
+
103,
|
| 1059 |
+
825,
|
| 1060 |
+
160
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 10
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Frank E Harrell Jr, Kerry L Lee, Robert M Califf, David B Pryor, and Robert A Rosati. Regression modelling strategies for improved prognostic prediction. Statistics in medicine, 1984. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
170,
|
| 1070 |
+
823,
|
| 1071 |
+
198
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 10
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Kristiina Häyrinen, Kaija Saranto, and Pirkko Nykänen. Definition, structure, content, use and impacts of electronic health records: a review of the research literature. International Journal of Medical Informatics, 2008. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
174,
|
| 1080 |
+
208,
|
| 1081 |
+
826,
|
| 1082 |
+
251
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 10
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Nicholas C Henderson, Thomas A Louis, Gary L Rosner, and Ravi Varadhan. Individualized treatment effects with censored data via fully nonparametric bayesian accelerated failure time models. Biostatistics, 2020. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
173,
|
| 1091 |
+
260,
|
| 1092 |
+
826,
|
| 1093 |
+
303
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 10
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Miguel A Hernán and James M Robins. Causal inference: what if. Boca Raton: Chapman & Hill/CRC, 2020. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
173,
|
| 1102 |
+
313,
|
| 1103 |
+
823,
|
| 1104 |
+
342
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 10
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Miguel A Hernán, Stephen R Cole, Joseph Margolick, Mardge Cohen, and James M Robins. Structural accelerated failure time models for survival analysis in studies with time-varying treatments. Pharmacoepidemiology and Drug Safety, 2005. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
174,
|
| 1113 |
+
352,
|
| 1114 |
+
823,
|
| 1115 |
+
395
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 10
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Miguel Ángel Hernán, Babette Brumback, and James M Robins. Marginal structural models to estimate the causal effect of zidovudine on the survival of hiv-positive men. Epidemiology, 2000. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
171,
|
| 1124 |
+
405,
|
| 1125 |
+
825,
|
| 1126 |
+
434
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 10
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Jennifer L Hill. Bayesian nonparametric modeling for causal inference. Journal of Computational and Graphical Statistics, 2011. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
171,
|
| 1135 |
+
443,
|
| 1136 |
+
823,
|
| 1137 |
+
472
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 10
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Daniel G Horvitz and Donovan J Thompson. A generalization of sampling without replacement from a finite universe. Journal of the American statistical Association, 1952. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
174,
|
| 1146 |
+
482,
|
| 1147 |
+
823,
|
| 1148 |
+
511
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 10
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Liangyuan Hu, Jiayi Ji, and Fan Li. Estimating heterogeneous survival treatment effect in observational data using machine learning. arXiv, 2020. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
173,
|
| 1157 |
+
520,
|
| 1158 |
+
823,
|
| 1159 |
+
550
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 10
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Hemant Ishwaran, Udaya B Kogalur, Eugene H Blackstone, Michael S Lauer, et al. Random survival forests. The annals of applied statistics, 2008. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
559,
|
| 1169 |
+
823,
|
| 1170 |
+
588
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 10
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Ashish K Jha, Catherine M DesRoches, Eric G Campbell, Karen Donelan, Sowmya R Rao, Timothy G Ferris, Alexandra Shields, Sara Rosenbaum, and David Blumenthal. Use of electronic health records in us hospitals. New England Journal of Medicine, 2009. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
174,
|
| 1179 |
+
597,
|
| 1180 |
+
825,
|
| 1181 |
+
640
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 10
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Edward L Kaplan and Paul Meier. Nonparametric estimation from incomplete observations. Journal of the American statistical association, 1958. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
173,
|
| 1190 |
+
650,
|
| 1191 |
+
825,
|
| 1192 |
+
679
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Jared L Katzman, Uri Shaham, Alexander Cloninger, Jonathan Bates, Tingting Jiang, and Yuval Kluger. Deepsurv: personalized treatment recommender system using a cox proportional hazards deep neural network. BMC medical research methodology, 2018. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
174,
|
| 1201 |
+
689,
|
| 1202 |
+
825,
|
| 1203 |
+
732
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 10
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "David G Kleinbaum and Mitchel Klein. Survival analysis. Springer, 2010. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
174,
|
| 1212 |
+
741,
|
| 1213 |
+
663,
|
| 1214 |
+
757
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 10
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Fan Li, Kari Lock Morgan, and Alan M Zaslavsky. Balancing covariates via propensity score weighting. Journal of the American Statistical Association, 2018. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
173,
|
| 1223 |
+
765,
|
| 1224 |
+
823,
|
| 1225 |
+
795
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 10
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Christopher A Longhurst, Robert A Harrington, and Nigam H Shah. A ‘green button’for using aggregate patient data at the point of care. Health affairs, 2014. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
173,
|
| 1234 |
+
804,
|
| 1235 |
+
825,
|
| 1236 |
+
833
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 10
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "B Mihaylova, J Emberson, L Blackwell, A Keech, J Simes, EH Barnes, M Voysey, 3A Gray, R Collins, and C Baigent. The effects of lowering ldl cholesterol with statin therapy in people at low risk of vascular disease: meta-analysis of individual data from 27 randomised trials., 2012. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
178,
|
| 1245 |
+
842,
|
| 1246 |
+
823,
|
| 1247 |
+
886
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 10
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Xenia Miscouridou, Adler Perotte, Noémie Elhadad, and Rajesh Ranganath. Deep survival analysis: Nonparametrics and missingness. In Machine Learning for Healthcare Conference, 2018. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
176,
|
| 1256 |
+
895,
|
| 1257 |
+
823,
|
| 1258 |
+
924
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 10
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Alfred Müller. Integral probability metrics and their generating classes of functions. Advances in Applied Probability, 1997. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
171,
|
| 1267 |
+
103,
|
| 1268 |
+
825,
|
| 1269 |
+
132
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 11
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Judea Pearl and Elias Bareinboim. External validity: From do-calculus to transportability across populations. Statistical Science, 2014. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
173,
|
| 1278 |
+
140,
|
| 1279 |
+
823,
|
| 1280 |
+
170
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 11
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Danilo Jimenez Rezende and Shakir Mohamed. Variational inference with normalizing flows. In ICML, 2015. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
173,
|
| 1289 |
+
178,
|
| 1290 |
+
823,
|
| 1291 |
+
207
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 11
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "James Robins. A new approach to causal inference in mortality studies with a sustained exposure period—application to control of the healthy worker survivor effect. Mathematical modelling, 1986. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
174,
|
| 1300 |
+
215,
|
| 1301 |
+
825,
|
| 1302 |
+
257
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 11
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Paul R Rosenbaum and Donald B Rubin. The central role of the propensity score in observational studies for causal effects. Biometrika, 1983. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
173,
|
| 1311 |
+
266,
|
| 1312 |
+
825,
|
| 1313 |
+
295
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 11
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Donald B Rubin. Causal inference using potential outcomes. Journal of the American Statistical Association, 2005. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
174,
|
| 1322 |
+
304,
|
| 1323 |
+
823,
|
| 1324 |
+
333
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 11
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Michael Schemper, Samo Wakounig, and Georg Heinze. The estimation of average hazard ratios by weighted cox regression. Statistics in medicine, 2009. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
173,
|
| 1333 |
+
340,
|
| 1334 |
+
825,
|
| 1335 |
+
369
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "Uri Shalit, Fredrik D Johansson, and David Sontag. Estimating individual treatment effect: generalization bounds and algorithms. In ICML, 2017. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
171,
|
| 1344 |
+
378,
|
| 1345 |
+
825,
|
| 1346 |
+
407
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 11
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "Jincheng Shen, Lu Wang, Stephanie Daignault, Daniel E Spratt, Todd M Morgan, and Jeremy MG Taylor. Estimating the optimal personalized treatment strategy based on selected variables to prolong survival via random survival forest with weighted bootstrap. Journal of biopharmaceutical statistics, 2018. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
173,
|
| 1355 |
+
415,
|
| 1356 |
+
826,
|
| 1357 |
+
472
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "Rodney A Sparapani, Brent R Logan, Robert E McCulloch, and Purushottam W Laud. Nonparametric survival analysis using bayesian additive regression trees (bart). Statistics in medicine, 2016. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
171,
|
| 1366 |
+
479,
|
| 1367 |
+
825,
|
| 1368 |
+
510
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "Bharath K Sriperumbudur, Kenji Fukumizu, Arthur Gretton, Bernhard Schölkopf, Gert RG Lanckriet, et al. On the empirical estimation of integral probability metrics. Electronic Journal of Statistics, 2012. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
174,
|
| 1377 |
+
517,
|
| 1378 |
+
825,
|
| 1379 |
+
560
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "Ludovic Trinquart, Justine Jacot, Sarah C Conner, and Raphaël Porcher. Comparison of treatment effects measured by the hazard ratio and by the ratio of restricted mean survival times in oncology randomized controlled trials. Journal of Clinical Oncology, 2016. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
173,
|
| 1388 |
+
569,
|
| 1389 |
+
826,
|
| 1390 |
+
612
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "Anastasios Tsiatis. Semiparametric theory and missing data. Springer Science & Business Media, 2007. ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
173,
|
| 1399 |
+
619,
|
| 1400 |
+
823,
|
| 1401 |
+
648
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 11
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"text": "Mark J van der Laan and James M Robins. Unified approach for causal inference and censored data. In Unified Methods for Censored Longitudinal Data and Causality. Springer, 2003. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
174,
|
| 1410 |
+
656,
|
| 1411 |
+
823,
|
| 1412 |
+
688
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 11
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "Mark J Van der Laan and Sherri Rose. Targeted learning: causal inference for observational and experimental data. Springer Science & Business Media, 2011. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
173,
|
| 1421 |
+
694,
|
| 1422 |
+
825,
|
| 1423 |
+
724
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 11
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "Cédric Villani. Optimal transport: old and new. Springer Science & Business Media, 2008. ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
171,
|
| 1432 |
+
731,
|
| 1433 |
+
776,
|
| 1434 |
+
747
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 11
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "Stefan Wager and Susan Athey. Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American Statistical Association, 2018. ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
171,
|
| 1443 |
+
756,
|
| 1444 |
+
823,
|
| 1445 |
+
785
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 11
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "Lee-Jen Wei. The accelerated failure time model: a useful alternative to the cox regression model in survival analysis. Statistics in medicine, 1992. ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
171,
|
| 1454 |
+
792,
|
| 1455 |
+
823,
|
| 1456 |
+
821
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 11
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"text": "Timothy J Wilt, Hanna E Bloomfield, Roderick MacDonald, David Nelson, Indulis Rutks, Michael Ho, Gregory Larsen, Anthony McCall, Sandra Pineros, and Anne Sales. Effectiveness of statin therapy in adults with coronary heart disease. Archives of internal medicine, 2004. ",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
174,
|
| 1465 |
+
829,
|
| 1466 |
+
825,
|
| 1467 |
+
873
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 11
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"type": "text",
|
| 1473 |
+
"text": "Salim Yusuf, Jackie Bosch, Gilles Dagenais, Jun Zhu, Denis Xavier, Lisheng Liu, Prem Pais, Patricio López-Jaramillo, Lawrence A Leiter, Antonio Dans, et al. Cholesterol lowering in intermediate-risk persons without cardiovascular disease. New England Journal of Medicine, 2016. ",
|
| 1474 |
+
"bbox": [
|
| 1475 |
+
176,
|
| 1476 |
+
881,
|
| 1477 |
+
823,
|
| 1478 |
+
924
|
| 1479 |
+
],
|
| 1480 |
+
"page_idx": 11
|
| 1481 |
+
},
|
| 1482 |
+
{
|
| 1483 |
+
"type": "text",
|
| 1484 |
+
"text": "Yao Zhang, Alexis Bellot, and Mihaela van der Schaar. Learning overlapping representations for the estimation of individualized treatment effects. In AISTATS, 2020. ",
|
| 1485 |
+
"bbox": [
|
| 1486 |
+
173,
|
| 1487 |
+
103,
|
| 1488 |
+
823,
|
| 1489 |
+
132
|
| 1490 |
+
],
|
| 1491 |
+
"page_idx": 12
|
| 1492 |
+
},
|
| 1493 |
+
{
|
| 1494 |
+
"type": "text",
|
| 1495 |
+
"text": "Lihui Zhao, Lu Tian, Hajime Uno, Scott D Solomon, Marc A Pfeffer, Jerald S Schindler, and Lee Jen Wei. Utilizing the integrated difference of two survival functions to quantify the treatment contrast for designing, monitoring, and analyzing a comparative clinical study. Clinical trials, 2012. ",
|
| 1496 |
+
"bbox": [
|
| 1497 |
+
178,
|
| 1498 |
+
141,
|
| 1499 |
+
823,
|
| 1500 |
+
184
|
| 1501 |
+
],
|
| 1502 |
+
"page_idx": 12
|
| 1503 |
+
}
|
| 1504 |
+
]
|
parse/train/3ZeGLibhFo0/3ZeGLibhFo0_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/3ZeGLibhFo0/3ZeGLibhFo0_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/6NFBvWlRXaG/6NFBvWlRXaG.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/6NFBvWlRXaG/6NFBvWlRXaG_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/6NFBvWlRXaG/6NFBvWlRXaG_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/6NFBvWlRXaG/6NFBvWlRXaG_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/IhiU6AJYpDs/IhiU6AJYpDs.md
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Online Robust Reinforcement Learning with Model Uncertainty
|
| 2 |
+
|
| 3 |
+
Yue Wang
|
| 4 |
+
University at Buffalo
|
| 5 |
+
Buffalo, NY 14228
|
| 6 |
+
ywang294@buffalo.edu
|
| 7 |
+
|
| 8 |
+
Shaofeng Zou University at Buffalo Buffalo, NY 14228 szou3@buffalo.edu
|
| 9 |
+
|
| 10 |
+
# Abstract
|
| 11 |
+
|
| 12 |
+
Robust reinforcement learning (RL) is to find a policy that optimizes the worstcase performance over an uncertainty set of MDPs. In this paper, we focus on model-free robust RL, where the uncertainty set is defined to be centering at a misspecified MDP that generates a single sample trajectory sequentially, and is assumed to be unknown. We develop a sample-based approach to estimate the unknown uncertainty set, and design robust Q-learning algorithm (tabular case) and robust TDC algorithm (function approximation setting), which can be implemented in an online and incremental fashion. For the robust Q-learning algorithm, we prove that it converges to the optimal robust Q function, and for the robust TDC algorithm, we prove that it converges asymptotically to some stationary points. Unlike the results in [Roy et al., 2017], our algorithms do not need any additional conditions on the discount factor to guarantee the convergence. We further characterize the finite-time error bounds of the two algorithms, and show that both the robust Qlearning and robust TDC algorithms converge as fast as their vanilla counterparts (within a constant factor). Our numerical experiments further demonstrate the robustness of our algorithms. Our approach can be readily extended to robustify many other algorithms, e.g., TD, SARSA, and other GTD algorithms.
|
| 13 |
+
|
| 14 |
+
# 1 Introduction
|
| 15 |
+
|
| 16 |
+
Existing studies on Markov decision process (MDP) and reinforcement learning (RL) [Sutton and Barto, 2018] mostly rely on the crucial assumption that the environment on which a learned policy will be deployed is the same one that was used to generate the policy, which is often violated in practice – e.g., the simulator may be different from the true environment, and the MDP may evolve over time. Due to such model deviation, the actual performance of the learned policy can significantly degrade. To address this problem, the framework of robust MDP was formulated in [Bagnell et al., 2001, Nilim and El Ghaoui, 2004, Iyengar, 2005], where the transition kernel of the MDP is not fixed and lies in an uncertainty set, and the goal is to learn a policy that performs well under the worst-case MDP in the uncertainty set. In [Bagnell et al., 2001, Nilim and El Ghaoui, 2004, Iyengar, 2005], it was assumed that the uncertainty set is known beforehand, i.e., model-based approach, and dynamic programming can be used to find the optimal robust policy.
|
| 17 |
+
|
| 18 |
+
The model-based approach, however, requires a model of the uncertainty set known beforehand, and needs a large memory to store the model when the state and action spaces are large, which make it less applicable for many practical scenarios. This motivates the study in this paper, model-free robust RL with model uncertainty, which is to learn a robust policy using a single sample trajectory from a misspecified MDP, e.g., a simulator and a similar environment in which samples are easier to collect than in the target environment where the policy is going to be deployed. The major challenge lies in that the transition kernel of the misspecified MDP is not given beforehand, and thus, the uncertainty set and the optimal robust policy need to be learned simultaneously using sequentially observed data from the misspecified MDP. Moreover, robust RL learns the value function of the worst-case MDP in the uncertainty set which is different from the misspecified MDP that generates samples. This is similar to the off-policy learning, which we refer to as the "off-transition-kernel" setting. Therefore, the learning may be unstable and could diverge especially when function approximation is used [Baird, 1995].
|
| 19 |
+
|
| 20 |
+
In this paper, we develop a model-free approach for robust RL with model uncertainty. Our major contributions in this paper are summarized as follows.
|
| 21 |
+
|
| 22 |
+
• Motivated by empirical studies of adversarial training in RL [Huang et al., 2017, Kos and Song, 2017, Lin et al., 2017, Pattanaik et al., 2018, Mandlekar et al., 2017] and the $R$ -contamination model in robust detection (called $\epsilon$ -contamination model in [Huber, 1965]), we design the uncertainty set using the $R$ -contamination model (see (4) for the details). We then develop an approach to estimate the unknown uncertainty set using only the current sample, which does not incur any additional memory cost. Unlike the approach in [Roy et al., 2017], where the uncertainty set is relaxed to one not depending on the misspecified MDP that generates samples so that an online algorithm can be constructed, our approach does not need to relax the uncertainty set.
|
| 23 |
+
|
| 24 |
+
• We develop a robust Q-learning algorithm for the tabular case, which can be implemented in an online and incremental fashion, and has the same memory cost as the vanilla Q-learning algorithm. We show that our robust Q-learning algorithm converges asymptotically, and further characterize its finite-time error bound. Unlike the results in [Roy et al., 2017] where a stringent condition on the discount factor (which is due to the relaxation of the uncertainty set, and prevents the use of a discount factor close to 1 in practice) is needed to guarantee the convergence, our algorithm converges without the need of such condition. Furthermore, our robust Q-learning algorithm converges as fast as the vanilla Q-learning algorithm [Li et al., 2020] (within a constant factor), while being robust to model uncertainty.
|
| 25 |
+
|
| 26 |
+
• We generalize our approach to the case with function approximation (for large state/action space). We investigate the robust policy evaluation problem, i.e., evaluate a given policy under the worstcase MDP in the uncertainty set. As mentioned before, the robust RL problem is essentially "off-transition-kernel", and therefore non-robust methods with function approximation may diverge [Baird, 1995] (also see our experiments). We develop a novel extension of the gradient TD (GTD) method [Maei et al., 2010, Maei, 2011, Sutton et al., 2008] to robust RL. Our approach introduces a novel smoothed robust Bellman operator to construct the smoothed mean-squared projected robust Bellman error (MSPRBE). Using our uncertainty set design and online sample-based estimation, we develop a two time-scale robust TDC algorithm. We further characterize its convergence and finite-time error bound.
|
| 27 |
+
|
| 28 |
+
• We conduct numerical experiments to validate the robustness of our approach. In our experiments, our robust Q-learning algorithm achieves a much higher reward than the vanilla Q-learning algorithm when being trained on a misspecified MDP; and our robust TDC algorithm converges much faster than the vanilla TDC algorithm, and the vanilla TDC algorithm may even diverge.
|
| 29 |
+
|
| 30 |
+
# 1.1 Related Work
|
| 31 |
+
|
| 32 |
+
Model-Based Robust MDP. The framework of robust MDP was investigated in [Iyengar, 2005, Nilim and El Ghaoui, 2004, Bagnell et al., 2001, Satia and Lave Jr, 1973, Wiesemann et al., 2013], where the transition kernel is assumed to be in some uncertainty set, and the problem can be solved by dynamic programming. This approach was further extended to the case with function approximation in [Tamar et al., 2014]. However, these studies are model-based, which assume beforehand knowledge of the uncertainty set. In this paper, we investigate the model-free setting, where the uncertainty set is a set of MDPs centered around some unknown Markov transition kernel from which a single sample trajectory can be sequentially observed.
|
| 33 |
+
|
| 34 |
+
Adversarial Robust RL. It was shown in [Iyengar, 2005] that the robust MDP problem is equivalent to a zero-sum game between the agent and the nature. Motivated by this fact, the adversarial training approach, where an adversary perturbs the state transition, was studied in [Vinitsky et al., 2020, Pinto et al., 2017, Abdullah et al., 2019, Hou et al., 2020, Rajeswaran et al., 2017, Atkeson and Morimoto, 2003, Morimoto and Doya, 2005]. This method relies on a simulator, where the state transition can be modified in an arbitrary way. Another approach is to modify the current state through adversarial samples, which is more heuristic, e.g., [Huang et al., 2017, Kos and Song, 2017, Lin et al., 2017, Pattanaik et al., 2018, Mandlekar et al., 2017]. Despite the empirical success of these approaches, theoretical performance guarantees, e.g., convergence to the optimal robust policy and convergence rate, are yet to be established. The main difference lies in that during the training, our approach does not need to manipulate the state transition of the MDP. More importantly, we develop the asymptotic convergence to the optimal robust policy and further characterize the finite-time error bound. In [Lim et al., 2013], the scenario where some unknown parts of the state space can have arbitrary transitions while other parts are purely stochastic was studied. Adaptive algorithm to adversarial behavior was designed, and its regret bound is shown to be similar to the purely stochastic case. In [Zhang et al., 2020a], the robust adversarial RL problem for the special linear quadratic case was investigated.
|
| 35 |
+
|
| 36 |
+
Model-free Robust RL. In [Roy et al., 2017, Badrinath and Kalathil, 2021] model-free RL with model uncertainty was studied, where in order to construct an algorithm that can be implemented in an online and incremental fashion, the uncertainty set was firstly relaxed by dropping the dependency on the misspecified MDP that generates the samples (centroid of the uncertainty set). Such a relaxation is pessimistic since the relaxed uncertainty set is not centered at the misspecified MDP anymore (which is usually similar to the target MDP), making the robustness to the relaxed uncertainty set not well-justified. Such a relaxation will further incur a stringent condition on the discounted factor to guarantee the convergence, which prevents the use of a discount factor close to 1 in practice. Moreover, only asymptotic convergence was established in [Roy et al., 2017]. In this paper, we do not relax the uncertainty set, and instead propose an online approach to estimate it. Our algorithms converge without the need of the condition on the discount factor. We also provides finite-time error bounds for our algorithms. The multi-agent RL robust to reward uncertainty was investigated in [Zhang et al., 2020b], where the reward uncertainty set is known, but the transition kernel is fixed.
|
| 37 |
+
|
| 38 |
+
Finite-time Error Bound for RL Algorithms. For the tubular case, Q-learning has been studied intensively, e.g., in [Even-Dar et al., 2003, Beck and Srikant, 2012, Qu and Wierman, 2020, Li et al., 2020, Wainwright, 2019, Li et al., 2021]. TD with function approximation were studied in [Dalal, Gal and Szörényi, Balázs and Thoppe, Gugan and Mannor, Shie, 2018, Bhandari et al., 2018, Srikant and Ying, 2019, Cai et al., 2019, Sun et al., 2020]. Q-learning and SARSA with linear function approximation were investigated in [Zou et al., 2019, Chen et al., 2019]. The finite-time error bounds for the gradient TD algorithms [Maei et al., 2010, Sutton et al., 2009, Maei et al., 2010] were further developed recently in [Dalal et al., 2018, Liu et al., 2015, Gupta et al., 2019, Xu et al., 2019, Dalal et al., 2020, Kaledin et al., 2020, Ma et al., 2020, Wang and Zou, 2020, Ma et al., 2021, Doan, 2021]. There are also finite-time error bounds on the policy gradient methods and actor critic methods, e.g., [Wang et al., 2020, Yang et al., 2019, Kumar et al., 2019, Qiu et al., 2019, Wu et al., 2020, Cen et al., 2020, Bhandari and Russo, 2019, Agarwal et al., 2021, Mei et al., 2020]. We note that these studies are for the non-robust RL algorithms, and in this paper, we design robust RL algorithms, and characterize their finite-time error bounds.
|
| 39 |
+
|
| 40 |
+
# 2 Preliminaries
|
| 41 |
+
|
| 42 |
+
Markov Decision Process. An MDP can be characterized by a tuple $( \mathcal { S } , \mathcal { A } , \mathsf { P } , c , \gamma )$ , where S and $\mathcal { A }$ are the state and action spaces, $\mathsf { P } = \{ p _ { s } ^ { a } \in \varDelta _ { | \mathcal { S } | } , a \in \mathcal { A } , s \in \mathcal { S } \}$ is the transition kernel1, $c$ is the cost function, and $\gamma \in [ 0 , 1 )$ is the discount factor. Specifically, $p _ { s } ^ { a }$ denotes the distribution of the next state if taking action $a$ at state $s$ . Let $p _ { s } ^ { a } = \{ p _ { s , s ^ { \prime } } ^ { a } \} _ { s ^ { \prime } \in \mathcal S }$ , where $p _ { s , s ^ { \prime } } ^ { a }$ denotes the probability that the environment transits to state $s ^ { \prime }$ if taking action $a$ at state $s$ . The cost of taking action $a$ at state $s$ is given by $c ( s , a )$ . A stationary policy $\pi$ is a mapping from S to a distribution over $\mathcal A$ . At each time $t$ , an agent takes an action $A _ { t } \in \mathcal A$ at state $S _ { t } \in \mathcal S$ . The environment then transits to the next state $S _ { t + 1 }$ with probability $p _ { S _ { t } , S _ { t + 1 } } ^ { A _ { t } }$ , and the agent receives cost given by $c ( S _ { t } , A _ { t } )$ . The value function of a policy by follo $\pi$ staing $s \in \mathcal { S }$ fined as the expected accumulatand the goal is to find the policy discounted costthat minimizes $\pi \colon \bar { \mathbb { E } } \left[ \sum _ { t = 0 } ^ { \infty } \dot { \gamma } ^ { t } c ( S _ { t } , A _ { t } ) | S _ { 0 } = s , \pi \right]$ $\pi$
|
| 43 |
+
$s \in \mathcal { S }$
|
| 44 |
+
|
| 45 |
+
Robust Markov Decision Process. In the robust case, the transition kernel is not fixed and lies in some uncertainty set. Denote the transition kernel at time $t$ by $\mathsf { P } _ { t }$ , and let $\kappa = ( \mathsf { P } _ { 0 } , \mathsf { P } _ { 1 } , \ldots )$ , where $\mathsf { P } _ { t } \in \mathbf { P } , \forall t \ge 0$ , and $\mathbf { P }$ is the uncertainty set of the transition kernel. The sequence $\kappa$ can be viewed as the policy of the nature, and is adversarially chosen by the nature [Bagnell et al., 2001, Nilim and
|
| 46 |
+
|
| 47 |
+
El Ghaoui, 2004, Iyengar, 2005]. Define the robust value function of a policy $\pi$ as the worst-case expected accumulated discounted cost following a fixed policy $\pi$ over all transition kernels in the uncertainty set:
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
V ^ { \pi } ( s ) = \operatorname* { m a x } _ { \kappa } \mathbb { E } _ { \kappa } \left[ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } c ( S _ { t } , A _ { t } ) | S _ { 0 } = s , \pi \right] ,
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
where $\mathbb { E } _ { \kappa }$ denotes the expectation when the state transits according to $\kappa$ . Similarly, define the robust action-value function for a policy $\begin{array} { r } { \pi \colon Q ^ { \pi } ( s , a ) = \operatorname* { m a x } _ { \kappa } \mathbb { E } _ { \kappa } \left[ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } c ( S _ { t } , A _ { t } ) | \dot { S _ { 0 } } = s , A _ { 0 } = a , \pi \right] } \end{array}$ . The goal of robust RL is to find the optimal robust policy $\pi ^ { * }$ that minimizes the worst-case accumulated discounted cost:
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\pi ^ { * } = \arg \operatorname* { m i n } _ { \pi } V ^ { \pi } ( s ) , \forall s \in \mathcal { S } .
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
We also denote $V ^ { \pi ^ { * } }$ and $Q ^ { \pi ^ { * } }$ by $V ^ { * }$ and $Q ^ { * }$ , respectively, and $\begin{array} { r } { V ^ { * } ( s ) = \operatorname* { m i n } _ { a \in \mathcal { A } } Q ^ { * } ( s , a ) } \end{array}$ .
|
| 60 |
+
|
| 61 |
+
Note that a transition kernel is a collection of conditional distributions. Therefore, the uncertainty set $\mathbf { P }$ of the transition kernel can be equivalently written as a collection of $\mathcal { P } _ { s } ^ { a }$ for all $s \in \mathcal { S } , a \in \mathcal { A }$ , where $\mathcal { P } _ { s } ^ { a }$ is a set of conditional distributions $p _ { s } ^ { a }$ over the state space S. Denote by $\sigma _ { \mathcal { P } } ( v ) \triangleq \operatorname* { m a x } _ { p \in \mathcal { P } } ( p ^ { \top } v )$ the support function of vector $v$ over a set of probability distributions $\mathcal { P }$ . For robust MDP, the following robust analogue of the Bellman recursion was provided in [Nilim and El Ghaoui, 2004, Iyengar, 2005].
|
| 62 |
+
|
| 63 |
+
Theorem 1. [Nilim and El Ghaoui, 2004] The following perfect duality condition holds for all $s \in \mathcal { S }$ :
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\operatorname* { m i n } _ { \pi } \operatorname* { m a x } _ { \kappa } \mathbb { E } _ { \kappa } \left[ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } c ( S _ { t } , A _ { t } ) \big | \pi , S _ { 0 } = s \right] = \operatorname* { m a x } _ { \kappa } \operatorname* { m i n } _ { \pi } \mathbb { E } _ { \kappa } \left[ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } c ( S _ { t } , A _ { t } ) \big | \pi , S _ { 0 } = s \right] .
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
The optimal robust value function $V ^ { * }$ satisfies $\begin{array} { r } { V ^ { * } ( s ) = \operatorname* { m i n } _ { a \in \mathcal { A } } \bigl ( c ( s , a ) + \gamma \sigma _ { \mathscr { P } _ { s } ^ { a } } ( V ^ { * } ) \bigr ) } \end{array}$ , and the optimal robust action-value function $Q ^ { * }$ satisfies $Q ^ { * } ( s , a ) = c ( s , a ) + \gamma \sigma _ { \mathscr P _ { s } ^ { a } } ( V ^ { * } )$ .
|
| 70 |
+
|
| 71 |
+
Define the robust Bellman operator $\mathbf { T }$ by $\begin{array} { r } { \mathbf { T } Q ( s , a ) = c ( s , a ) + \gamma \sigma _ { \mathcal { P } _ { s } ^ { a } } ( \operatorname* { m i n } _ { a \in \mathcal { A } } Q ( s , a ) ) } \end{array}$ . It was shown in [Nilim and El Ghaoui, 2004, Iyengar, 2005] that $\mathbf { T }$ is a contraction and its fixed point is the optimal robust $Q ^ { * }$ . When the uncertainty set is known, so that $\sigma _ { \mathcal P _ { s } ^ { a } }$ can be computed exactly, $V ^ { * }$ and $Q ^ { * }$ can be solved by dynamic programming [Iyengar, 2005, Nilim and El Ghaoui, 2004].
|
| 72 |
+
|
| 73 |
+
# 3 R-Contamination Model For Uncertainty Set Construction
|
| 74 |
+
|
| 75 |
+
In this section, we construct the uncertainty set using the $R$ -contamination model.
|
| 76 |
+
|
| 77 |
+
Let $\mathsf { P } = \{ p _ { s } ^ { a } , s \in \mathscr { S } , a \in \mathscr { A } \}$ be the centroid of the uncertainty set, i.e., the transition kernel that generates the sample trajectory, and $\mathsf { P }$ is unknown. For example, P can be the simulator at hand, which may not be exactly accurate; and $\mathsf { P }$ can be the transition kernel of environment 1, from which we can take samples to learn a policy that will be deployed in a similar environment 2. The goal is to learn a policy using samples from $\mathsf { P }$ that performs well when applied to a perturbed MDP from P.
|
| 78 |
+
|
| 79 |
+
Motivated by empirical studies of adversarial training in RL [Huang et al., 2017, Kos and Song, 2017, Lin et al., 2017, Pattanaik et al., 2018, Mandlekar et al., 2017] and the $R$ -contamination model in robust detection [Huber, 1965], we use the $R$ -contamination model to define the uncertainty set:
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
\begin{array} { r } { \mathfrak { P } _ { s } ^ { a } = \big \{ ( 1 - R ) p _ { s } ^ { a } + R q | q \in \mathcal { A } _ { | \mathcal { S } | } \big \} , s \in \mathcal { S } , a \in \mathcal { A } , \mathrm { f o r ~ s o m e ~ } 0 \le R \le 1 . } \end{array}
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
Here, $p _ { s } ^ { a }$ is the centroid of the uncertainty set $\mathcal { P } _ { s } ^ { a }$ at $( s , a )$ , which is unknown, and $R$ is the design parameter of the uncertainty set, which measures the size of the uncertainty set, and is assumed to be known in the algorithm. We then let $\mathbf { P } = \bigotimes _ { s \in \mathcal { S } , a \in \mathcal { A } } \mathcal { P } _ { s } ^ { a }$ .
|
| 86 |
+
|
| 87 |
+
Remark 1. $R$ -contamination model is closely related to other uncertainty set models like total variation and $K L$ -divergence. It can be shown that $R$ -contamination set certered at $p$ is a subset of total variation ball : $\{ ( 1 - R ) p + R q | q \in \varDelta _ { | \mathcal { S } | } \} \subset \{ q \in \varDelta _ { | \mathcal { S } | } | d _ { T V } ( p , q ) \leq R \}$ . Hence the total variation uncertainty set is less conservative than our $R$ -contamination uncertainty set. KL-divergence moreover can be related to total variation using Pinsker’s inequality, i.e., $\begin{array} { r } { d _ { T V } ( p , q ) \leq \sqrt { \frac 1 2 d _ { K L } ( p , q ) } } \end{array}$ .
|
| 88 |
+
|
| 89 |
+
# 4 Tabular Case: Robust Q-Learning
|
| 90 |
+
|
| 91 |
+
In this section, we focus on the tabular case with finite state and action spaces. We focus on the asynchronous setting where a single sample trajectory is available with Markovian noise. We will develop an efficient approach to estimate the unknown uncertainty set $\mathbf { P }$ , and further the support function $\sigma _ { \mathcal { P } _ { s } ^ { a } } ( \cdot )$ , and then design our robust Q-learning algorithm.
|
| 92 |
+
|
| 93 |
+
We propose an efficient and data-driven approach to estimate the unknown $p _ { s } ^ { a }$ and thus the unknown uncertainty set $\mathcal { P } _ { s } ^ { a }$ for any $s \in \mathcal { S }$ and $a \in { \mathcal { A } }$ . Specifically, denote the sample at $t$ -th time step by $O _ { t } = ( s _ { t } , a _ { t } , s _ { t + 1 } )$ . We then use $O _ { t }$ to obtain the maximum likelihood estimate (MLE) $\hat { p } _ { t } \triangleq \mathbb { 1 } _ { s _ { t + 1 } }$ of the transition kernel $p _ { s _ { t } } ^ { a _ { t } }$ , where $\mathbb { 1 } _ { s _ { t + 1 } }$ is a probability distribution taking probability 1 at $s _ { t + 1 }$ and 0 at other states. This is an unbiased estimate of the transition kernel $p _ { s _ { t } } ^ { a _ { t } }$ conditioning on $S _ { t } = s _ { t }$ and $A _ { t } = a _ { t }$ . We then design a sample-based estimate $\hat { \mathcal { P } } _ { t } \triangleq \left\{ ( 1 - R ) \hat { p } _ { t } + R q | q \in \Delta _ { | \mathcal { S } | } \right\}$ of the uncertainty set $\mathcal { P } _ { s _ { t } } ^ { a _ { t } }$ . Using the sample-based uncertainty set $\hat { \mathcal { P } } _ { t }$ , we construct the following robust Q-learning algorithm in Algorithm 1. For any $t$ , $\sigma _ { \hat { \mathcal { P } } _ { t } } ( V _ { t } )$ can be easily computed: $\sigma _ { \hat { \Phi } _ { t } } ( V _ { t } ) =$
|
| 94 |
+
|
| 95 |
+
# Algorithm 1 Robust Q-Learning
|
| 96 |
+
|
| 97 |
+
Initialization: $T$ , $Q _ { 0 } ( s , a )$ for all $( s , a ) \in \mathcal { S } \times \mathcal { A }$ , behavior policy $\pi _ { b }$ , $s _ { 0 }$ , step size $\alpha _ { t }$
|
| 98 |
+
|
| 99 |
+
1: for $t = 0 , 1 , 2 , . . . , T - 1$ do
|
| 100 |
+
2: Choose $a _ { t }$ according to $\pi _ { b } ( \cdot | s _ { t } )$
|
| 101 |
+
3: Observe $s _ { t + 1 }$ and $c _ { t }$
|
| 102 |
+
4: $\begin{array} { r } { V _ { t } ( s ) \operatorname* { m i n } _ { a \in \mathcal { A } } Q _ { t } ( s , a ) , \forall s \in \mathfrak { s } } \end{array}$
|
| 103 |
+
5: Qt+1( $s _ { t } , a _ { t } ) \gets ( 1 - \alpha _ { t } ) Q _ { t } ( s _ { t } , a _ { t } ) + \alpha _ { t } ( c _ { t } + \gamma \sigma _ { \hat { \mathcal P } _ { t } } ( V _ { t } ) )$
|
| 104 |
+
6: $Q _ { t + 1 } ( s , a ) \gets Q _ { t } ( s , a )$ for $( s , a ) \neq ( s _ { t } , a _ { t } )$
|
| 105 |
+
7: end for
|
| 106 |
+
|
| 107 |
+
Output: $Q _ { T }$
|
| 108 |
+
|
| 109 |
+
$\begin{array} { r } { R \operatorname* { m a x } _ { s \in \mathcal { S } } V _ { t } ( s ) + ( 1 - R ) V _ { t } ( s _ { t + 1 } ) } \end{array}$ . Hence the update in Algorithm 1 (line 5) can be written as
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
Q _ { t + 1 } ( s _ { t } , a _ { t } ) \gets ( 1 - \alpha _ { t } ) Q _ { t } ( s _ { t } , a _ { t } ) + \alpha _ { t } ( c _ { t } + \gamma R \operatorname* { m a x } _ { s \in \mathcal { S } } V _ { t } ( s ) + \gamma ( 1 - R ) V _ { t } ( s _ { t + 1 } ) ) .
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
Compared to the model-based approach, our approach is model-free. It does not require the prior knowledge of the uncertainty set, i.e., the knowledge of $p _ { s } ^ { a } , \forall s \in \mathcal { S } , a \in \mathcal { A }$ . Furthermore, the memory requirement of our algorithm is $| \mathcal { S } | \times | \mathcal { A } |$ (used to store the Q-table), and unlike the modelbased approach it does not need a table of size $| \dot { \mathcal { S } } | ^ { 2 } | \mathcal { A } |$ to store $p _ { s } ^ { a } , \forall s \in \mathcal { S } , a \in \mathcal { A }$ , which could be problematic if the state space is large. Moreover, our algorithm does not involve a relaxation of the uncertainty set like the one in [Roy et al., 2017], which will incur a stringent condition on the discount factor to guarantee the convergence. As will be shown below, the convergence of our Algorithm 1 does not require any condition on the discount factor.
|
| 116 |
+
|
| 117 |
+
We show in the following theorem that the robust Q-learning algorithm converges asymptotically to the optimal robust action-value function $Q ^ { * }$ .
|
| 118 |
+
|
| 119 |
+
Theorem 2. (Asymptotic Convergence) If step sizes $\alpha _ { t }$ satisfy that $\textstyle \sum _ { t = 0 } ^ { \infty } \alpha _ { t } = \infty$ and $\textstyle \sum _ { t = 0 } ^ { \infty } \alpha _ { t } ^ { 2 } < \infty$ then $Q _ { t } \to Q ^ { * }$ as with probability .
|
| 120 |
+
|
| 121 |
+
To further establish the finite-time error bound for our robust Q-learning algorithm in Algorithm 1, we make the following assumption that is commonly used in the analysis of vanilla Q-learning.
|
| 122 |
+
|
| 123 |
+
Assumption 1. The Markov chain induced by the behavior policy $\pi _ { b }$ and the transition kernel $p _ { s } ^ { a } , \forall s \in \mathcal { S } , a \in \mathcal { A }$ is uniformly ergodic.
|
| 124 |
+
|
| 125 |
+
Let $\mu _ { \pi _ { b } }$ denote the stationary distribution over $\mathcal { S } \times \mathcal { A }$ induced by $\pi _ { b }$ and $p _ { s } ^ { a } , \forall s \in \mathcal { S } , a \in \mathcal { A }$ . We then further define $\begin{array} { r } { \mu _ { \mathrm { m i n } } = \operatorname* { m i n } _ { ( s , a ) \in \mathcal { S } \times \mathcal { A } } \mu _ { \pi _ { b } } ( s , a ) } \end{array}$ . This quantity characterizes how many samples are needed to visit every state-action pair sufficiently often. Define the following mixing time of the induced Markov chain: $\begin{array} { r } { t _ { \mathrm { m i x } } = \operatorname* { m i n } \left. t : \operatorname* { m a x } _ { s \in \mathcal { S } } \mathsf { \bar { d } _ { \mathrm { T V } } } ( \mu _ { \pi } , P ( s _ { t } = \cdot | s _ { 0 } = s ) ) \breve { \leq } \frac { 1 } { 4 } \right. } \end{array}$ , where $d _ { \mathrm { T V } }$ is the total variation distance.
|
| 126 |
+
|
| 127 |
+
The following theorem establishes the finite-time error bound of our robust Q-learning algorithm.
|
| 128 |
+
|
| 129 |
+
Theorem 3. (Finite-Time Error Bound) There exist some positive constants $c _ { 0 }$ and $c _ { 1 }$ such that for any $\delta < 1$ , any $\begin{array} { r } { \epsilon < \frac { 1 } { 1 - \gamma } } \end{array}$ , any $T$ satisfying
|
| 130 |
+
|
| 131 |
+
$$
|
| 132 |
+
T \geq c _ { 0 } \left( \frac { 1 } { \mu _ { m i n } ( 1 - \gamma ) ^ { 5 } \epsilon ^ { 2 } } + \frac { t _ { m i x } } { \mu _ { m i n } ( 1 - \gamma ) } \right) \log { \left( \frac { T | \mathcal { S } | | \mathcal { A } | } { \delta } \right) } \log { \left( \frac { 1 } { \epsilon ( 1 - \gamma ) ^ { 2 } } \right) } ,
|
| 133 |
+
$$
|
| 134 |
+
|
| 135 |
+
and step size αt = $\begin{array} { r } { \alpha _ { t } = \frac { c _ { 1 } } { \log \left( \frac { T | \mathcal { S } | | \mathcal { A } | } { \delta } \right) } \operatorname* { m i n } \left( \frac { 1 } { t _ { m i x } } , \frac { \epsilon ^ { 2 } ( 1 - \gamma ) ^ { 4 } } { \gamma ^ { 2 } } \right) , \forall t \geq 0 } \end{array}$ we have with probability at least $1 - 6 \delta$ , $\| Q _ { T } - Q ^ { * } \| _ { \infty } \leq 3 \epsilon$ .
|
| 136 |
+
|
| 137 |
+
From the theorem, we can see that to guarantee an $\epsilon$ -accurate estimate, a sample size $\begin{array} { r } { \tilde { \mathcal { O } } ( \frac { 1 } { \mu _ { \mathrm { m i n } } ( 1 - \gamma ) ^ { 5 } \epsilon ^ { 2 } } + } \end{array}$ tmixµmin(1−γ) ) (up to some logarithmic terms) is needed. This complexity matches with the one for the vanilla Q-learning in [Li et al., 2020] (within a constant factor), while our algorithm also guarantees robustness to MDP model uncertainty. Our algorithm design and analysis can be readily extended to robustify TD and SARSA. The variance-reduction technique [Wainwright, 2019] can also be combined with our robust Q-learning algorithm to further improve the dependency on $( 1 - \gamma )$ .
|
| 138 |
+
|
| 139 |
+
# 5 Function Approximation: Robust TDC
|
| 140 |
+
|
| 141 |
+
In this section, we investigate the case where the state and action spaces can be large or even continuous. A popular approach is to approximate the value function using a parameterized function, e.g., linear function and neural network. In this section, we focus on the case with linear function approximation to illustrate the main idea of designing robust RL algorithms. Our approach can be extended to non-linear (smooth) function approximation using techniques in, e.g., [Cai et al., 2019, Bhatnagar et al., 2009, Wai et al., 2019, Wang et al., 2021].
|
| 142 |
+
|
| 143 |
+
We focus on the problem of robust policy evaluation, i.e., estimate the robust value function $V ^ { \pi }$ defined in (1) for a given policy $\pi$ under the worst-case MDP transition kernel in the uncertainty set. Note that for robust RL with model uncertainty, any policy evaluation problem can be viewed as "off-transition-kernel", as it is to evaluate the value function under the worst-case MDP using samples from a different MDP. Since the TD algorithm with function approximation may diverge under off-policy training [Baird, 1995] and importance sampling cannot be applied here due to unknown transition kernel, in this paper we generalize the GTD method [Maei et al., 2010, Maei, 2011] to the robust setting.
|
| 144 |
+
|
| 145 |
+
Let $\left\{ \phi ^ { ( i ) } : \mathbb { S } \to \mathbb { R } , i = 1 , \ldots , N \right\}$ be a set of $N$ fixed base functions, where $N \ll | \mathcal S | | \mathcal A |$ . In particular, we approximate the robust value function using a linear combination of $\begin{array} { r } { \sum _ { i = 1 } ^ { N } \theta ^ { i } \phi _ { s } ^ { ( i ) } = \phi _ { s } ^ { \top } \theta } \end{array}$ , where $\boldsymbol { \theta } \in \mathbb { R } ^ { N }$ is the weight vector. $\phi ^ { ( i ) }$ ’s: $V _ { \theta } ( s ) =$
|
| 146 |
+
|
| 147 |
+
Define the following robust Bellman operator for a given policy $\pi$ :
|
| 148 |
+
|
| 149 |
+
$$
|
| 150 |
+
\begin{array} { r l } & { \mathrm { \bf T } _ { \pi } V ( s ) \triangleq \mathbb E _ { A \sim \pi ( \cdot | s ) } [ c ( s , A ) + \gamma \sigma _ { \mathcal { P } _ { s } ^ { A } } ( V ) ] } \\ & { \quad \quad \quad = \mathbb E _ { A \sim \pi ( \cdot | s ) } \left[ c ( s , A ) + \gamma ( 1 - R ) \displaystyle \sum _ { s ^ { \prime } \in \mathcal { S } } p _ { s , s ^ { \prime } } ^ { A } V ( s ^ { \prime } ) + \gamma R \operatorname* { m a x } _ { s ^ { \prime } \in \mathcal { S } } V ( s ^ { \prime } ) \right] . } \end{array}
|
| 151 |
+
$$
|
| 152 |
+
|
| 153 |
+
We then define the mean squared projected robust Bellman error (MSPRBE) as
|
| 154 |
+
|
| 155 |
+
$$
|
| 156 |
+
\begin{array} { r } { \mathrm { M S P R B E } ( \theta ) = \| \mathbf { I I T } _ { \pi } V _ { \theta } - V _ { \theta } \| _ { \mu _ { \pi } } ^ { 2 } , } \end{array}
|
| 157 |
+
$$
|
| 158 |
+
|
| 159 |
+
where $\begin{array} { r } { \| v \| _ { \mu _ { \pi } } ^ { 2 } = \int v ^ { 2 } ( s ) \mu _ { \pi } ( d s ) } \end{array}$ , $\mu _ { \pi }$ is the stationary distribution induced by $\pi$ , and $\mathbf { I I }$ is a projection onto the linear function space w.r.t. $\| \cdot \| _ { \mu _ { \pi } }$ . We will develop a two time-scale gradient-based approach to minimize the MSPRBE. However, it can be seen that $\operatorname* { m a x } _ { s } V _ { \theta } ( s )$ in (7) is not smooth in $\theta$ , which is troublesome in both algorithm design and analysis. To solve this issue, we introduce the following smoothed robust Bellman operator $\hat { \mathbf { T } } _ { \pi }$ by smoothing the max with a LSE(LogSumExp):
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\hat { \mathbf { T } } _ { \pi } V ( s ) = \mathbb { E } _ { A \sim \pi ( \cdot | s ) } \left[ c ( s , A ) + \gamma ( 1 - R ) \sum _ { s ^ { \prime } \in \mathcal { S } } p _ { s , s ^ { \prime } } ^ { A } V ( s ^ { \prime } ) + \gamma R \cdot \mathrm { L S E } ( V ) \right] ,
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
where $\begin{array} { r } { \mathrm { L S E } ( V ) = \frac { \log \left( \sum _ { s } e ^ { \varrho V ( s ) } \right) } { \varrho } } \end{array}$ is the LogSumExp w.r.t. $V$ with a parameter $\varrho > 0$ . Note that when $\varrho \to \infty$ , the smoothed robust Bellman operator $\hat { \mathbf { T } } _ { \pi } \to \mathbf { T } _ { \pi }$ . The LSE operator can also be replaced by some other operator that approximates the max operator and is smooth, e.g., mellow-max [Asadi and Littman, 2017]. In the following, we first show that the fixed point of $\hat { \mathbf { T } } _ { \pi }$ exists for any $\varrho$ , and the fixed points converge to the one of $\mathbf { T } _ { \pi }$ for large $\varrho$ .
|
| 166 |
+
|
| 167 |
+
Theorem 4. (1). For any $\varrho$ , $\hat { \mathbf { T } } _ { \pi }$ has a fixed point.
|
| 168 |
+
|
| 169 |
+
(2). Let $V _ { 1 }$ and $V _ { 2 }$ be the fixed points of $\hat { \mathbf { T } } _ { \pi }$ and $\mathbf { T } _ { \pi }$ , respectively. Then
|
| 170 |
+
|
| 171 |
+
$$
|
| 172 |
+
\| V _ { 1 } - V _ { 2 } \| _ { \infty } \leq \frac { \gamma R } { 1 - \gamma } \frac { \log | \mathcal { S } | } { \varrho } 0 , a s \varrho \infty .
|
| 173 |
+
$$
|
| 174 |
+
|
| 175 |
+
We then denote by $J ( \theta )$ the smoothed MSPRBE with the LSE operator, and the goal is:
|
| 176 |
+
|
| 177 |
+
$$
|
| 178 |
+
\operatorname* { m i n } _ { \theta } J ( \theta ) = \operatorname* { m i n } _ { \theta } \Big \| \mathbf { H } \hat { \mathbf { T } } _ { \pi } V _ { \theta } - V _ { \theta } \Big \| _ { \mu _ { \pi } } ^ { 2 } .
|
| 179 |
+
$$
|
| 180 |
+
|
| 181 |
+
# 5.1 Algorithm Development
|
| 182 |
+
|
| 183 |
+
In the following, we develop the robust TDC algorithm to solve the problem in (11). We will first derive the gradient of the smoothed MSPRBE, $J ( \theta )$ , and then design a two time-scale update rule using the weight doubling trick in [Sutton et al., 2009] to solve the double sampling problem. Define $\delta _ { s , a , s ^ { \prime } } ( \theta ) \ \triangleq \ c ( s , a ) + \gamma ( 1 - R ) V _ { \theta } ( s ^ { \prime } ) + \gamma R \mathrm { L S E } ( V _ { \theta } ) - V _ { \theta } ( s )$ , where $\operatorname { L S E } ( V _ { \theta } )$ is the LogSumExp function w.r.t. $V _ { \theta } = \theta ^ { \top } \phi$ . Denote by $C \triangleq \mathbb { E } _ { \mu _ { \pi } } \left[ \phi _ { S } ^ { \intercal } \phi _ { S } \right]$ . Then, $\mathbb { E } _ { \mu } [ \delta _ { S , A , S ^ { \prime } } ( \theta ) \phi _ { S } ] \ = \ \varPhi ^ { \top } D \left( \hat { \mathbf { T } } _ { \pi } V _ { \theta } - V _ { \theta } \right)$ , where $\textit { D } = \ \mathrm { d i a g } ( \mu _ { \pi } ( s _ { 1 } ) , \mu _ { \pi } ( s _ { 2 } ) , . . . , \mu _ { \pi } ( s _ { | \mathcal { S } | } ) )$ and $\boldsymbol { \varPhi } = ( \phi _ { s _ { 1 } } , \phi _ { s _ { 2 } } , . . . , \phi _ { s _ { | \mathcal { S } | } } ) ^ { \top } \in \dot { \mathbb { R } } ^ { | \mathcal { S } | \times N }$ . We know that $\begin{array} { r } { \pmb { \Pi } ^ { \top } D \pmb { \Pi } = D ^ { \top } \pmb { \varPhi } ( \pmb { \varPhi } ^ { \top } D \pmb { \varPhi } ) ^ { - 1 } \pmb { \varPhi } ^ { \top } D } \end{array}$ from [Maei, 2011]. Hence we have
|
| 184 |
+
|
| 185 |
+
$$
|
| 186 |
+
\begin{array} { r } { \boldsymbol J ( \theta ) = \Big \| \mathbf { \hat { I } } \mathbf { \hat { T } } _ { \boldsymbol \pi } V _ { \theta } - V _ { \theta } \Big \| _ { \mu _ { \boldsymbol \pi } } ^ { 2 } = \mathbb { E } _ { \mu _ { \boldsymbol \pi } } [ \delta _ { S , A , S ^ { \prime } } ( \theta ) \phi _ { S } ] ^ { \top } \boldsymbol C ^ { - 1 } \mathbb { E } _ { \mu _ { \boldsymbol \pi } } [ \delta _ { S , A , S ^ { \prime } } ( \theta ) \phi _ { S } ] . } \end{array}
|
| 187 |
+
$$
|
| 188 |
+
|
| 189 |
+
Then, its gradient can be written as:
|
| 190 |
+
|
| 191 |
+
$$
|
| 192 |
+
\begin{array} { l } { \displaystyle - \frac { 1 } { 2 } \nabla J ( \theta ) = - \mathbb { E } _ { \mu _ { \pi } } \big [ ( \nabla \delta _ { S , A , S ^ { \prime } } ( \theta ) ) \phi _ { S } \big ] ^ { \top } C ^ { - 1 } \mathbb { E } _ { \mu _ { \pi } } \big [ \delta _ { S , A , S ^ { \prime } } ( \theta ) \phi _ { S } \big ] } \\ { = \mathbb { E } _ { \mu _ { \pi } } \big [ \delta _ { S , A , S ^ { \prime } } ( \theta ) \phi _ { S } \big ] - \gamma \mathbb { E } _ { \mu _ { \pi } } \bigg [ \bigg ( ( 1 - R ) \phi _ { S ^ { \prime } } + R \cdot \nabla \mathrm { L S E } ( V _ { \theta } ) \bigg ) \phi _ { S } ^ { \top } \bigg ] \omega ( \theta ) , } \end{array}
|
| 193 |
+
$$
|
| 194 |
+
|
| 195 |
+
where $\omega ( \theta ) = C ^ { - 1 } \mathbb { E } _ { \mu _ { \pi } } [ \delta _ { S , A , S ^ { \prime } } ( \theta ) \phi _ { S } ]$ . It can be seen that to obtain an unbiased estimate of $\nabla J ( \theta )$ , two independent samples are needed as there exists a multiplication of two expectations, which is not applicable when there is only one sample trajectory. We then utilize the weight doubling trick in [Sutton et al., 2009], and design the robust TDC algorithm in Algorithm 2. Specifically, we introduce a fast time scale to estimate $\omega ( \theta )$ , and a slow time scale to estimate $\nabla J ( \theta )$ . Denote the projection by $\Pi _ { K } ( x ) \triangleq \arg \operatorname* { m i n } _ { \| y \| \leq K } \| y - x \|$ for any $\boldsymbol { x } \in \mathbb { R } ^ { N }$ . Our robust TDC algorithm in Algorithm 2 can be implemented in an online and incremental fashion. If the uncertainty set becomes a singleton, i.e., $R = 0$ , then Algorithm 2 reduces to the vanilla TDC algorithm.
|
| 196 |
+
|
| 197 |
+
# 5.2 Finite-Time Error Bound of Robust TDC
|
| 198 |
+
|
| 199 |
+
Unlike the vanilla TDC algorithm, $J ( \theta )$ here is non-convex. Therefore, we are interested in the convergence to stationary points, i.e., the rate of $\| \nabla J ( \theta ) \| 0$ . We first make some standard assumptions which are commonly used in RL algorithm analysis, e.g., [Wang and Zou, 2020, Kaledin et al., 2020, Xu et al., 2019, Srikant and Ying, 2019, Bhandari et al., 2018].
|
| 200 |
+
|
| 201 |
+
Assumption 2 (Bounded feature). $\| \phi _ { s } \| _ { 2 } \leq 1 , \forall s \in \mathcal { S }$ .
|
| 202 |
+
|
| 203 |
+
Assumption 3 (Bounded cost function). $| c ( s , a ) | \leq c _ { \mathrm { m a x } } , \forall s \in \mathcal { S }$ and $a \in { \mathcal { A } }$ .
|
| 204 |
+
|
| 205 |
+
Assumption 4 (Problem solvability). The matrix $C = \mathbb { E } _ { \mu _ { \pi } } [ \phi _ { S } \phi _ { S } ^ { \top } ]$ is non-singular with $\lambda > 0$ being its smallest eigenvalue.
|
| 206 |
+
|
| 207 |
+
Input: $T , \alpha , \beta , \varrho , \phi _ { i }$ for $i = 1 , . . . , N$ , projection radius $K$
|
| 208 |
+
Initialization: θ0,w0, s0
|
| 209 |
+
1: Choose $W \sim \mathrm { U n i f o r m } ( 0 , 1 , . . . , T - 1 )$
|
| 210 |
+
2: for $t = 0 , 1 , 2 , . . . , W - 1$ do
|
| 211 |
+
3: Take action according to $\pi ( \cdot | s _ { t } )$ and observe $s _ { t + 1 }$ and $c _ { t }$
|
| 212 |
+
4: $\phi _ { t } \phi _ { s _ { t } }$
|
| 213 |
+
7: 5: 6: $\begin{array} { r l } & { \ddot { \delta _ { t } } ( \theta _ { t } ) \gets c _ { t } + \gamma ( 1 - R ) V _ { \theta _ { t } } ( s _ { t + 1 } ) + \gamma R \frac { \log ( \sum _ { s } e ^ { \varrho \theta ^ { \top } \phi _ { s } } ) } { \varrho } - V _ { \theta _ { t } } ( s _ { t } ) } \\ & { \theta _ { t + 1 } \gets \Pi _ { K } \left( \theta _ { t } + \alpha \left( \delta _ { t } ( \theta _ { t } ) \phi _ { t } - \gamma \bigg ( ( 1 - R ) \phi _ { t + 1 } + R \sum _ { s \in \mathcal { S } } \left( \frac { e ^ { \sigma V _ { \theta } ( s ) } \phi _ { s } } { \sum _ { j \in \mathcal { S } } e ^ { \sigma V _ { \theta } ( j ) } } \right) \bigg ) \phi _ { t } ^ { \top } \omega _ { t } \right) \right) } \\ & { \omega _ { t + 1 } \gets \Pi _ { K } ( \omega _ { t } + \beta ( \delta _ { t } ( \theta _ { t } ) - \phi _ { t } ^ { \top } \omega _ { t } ) \phi _ { t } ) } \end{array}$
|
| 214 |
+
|
| 215 |
+
8: end for
|
| 216 |
+
|
| 217 |
+
Output: $\theta _ { W }$
|
| 218 |
+
|
| 219 |
+
Assumption 5 (Geometric uniform ergodicity). There exist some constants $m > 0$ and $\rho \in ( 0 , 1 )$ such that for any $t > 0$ , $\begin{array} { r } { \operatorname* { m a x } _ { s \in \mathcal { S } } d _ { T V } ( \bar { \mathbb { P } } ( s _ { t } | s _ { 0 } = s ) , \mu _ { \pi } ) \leq m \rho ^ { t } } \end{array}$ .
|
| 220 |
+
|
| 221 |
+
In the following theorem, we characterize the finite-time error bound for the convergence of our robust TDC algorithm. Here we only provide the order of the bounds in terms of $T$ . The explicit bounds can be found in (129) in Appendix D.3.
|
| 222 |
+
|
| 223 |
+
Theorem 5. Consider the following step-sizes: $\begin{array} { r } { \beta = \mathcal { O } \left( \frac { 1 } { T ^ { b } } \right) } \end{array}$ , and $\begin{array} { r } { \alpha = \mathcal { O } \left( \frac { 1 } { T ^ { a } } \right) } \end{array}$ , where $\begin{array} { r } { \frac { 1 } { 2 } < a \leq 1 } \end{array}$ and $0 < b \leq a$ . Then we have that
|
| 224 |
+
|
| 225 |
+
$$
|
| 226 |
+
\mathbb { E } [ \| \nabla J ( \theta _ { W } ) \| ^ { 2 } ] = \odot \left( \frac { 1 } { T \alpha } + \alpha \log ( 1 / \alpha ) + \frac { 1 } { T \beta } + \beta \log ( 1 / \beta ) \right) ,
|
| 227 |
+
$$
|
| 228 |
+
|
| 229 |
+
If we further let $a = b = 0 . 5$ , then $\begin{array} { r } { \mathbb { E } [ \| \nabla J ( \theta _ { W } ) \| ^ { 2 } ] = \odot \left( \frac { \log T } { \sqrt { T } } \right) . } \end{array}$
|
| 230 |
+
|
| 231 |
+
The robust TDC has a matching complexity with the vanilla TDC with non-linear function approximation [Wang et al., 2021], but provides the additional robustness to model uncertainty. It does not need to relax the uncertainty set like in [Roy et al., 2017], and our convergence results do not need a condition on the discount factor.
|
| 232 |
+
|
| 233 |
+
# 6 Experiments
|
| 234 |
+
|
| 235 |
+
# 6.1 Robust Q-Learning
|
| 236 |
+
|
| 237 |
+
In this section, we compare our robust Q-learning with the vanilla non-robust Q-learning. We use OpenAI gym framework [Brockman et al., 2016], and consider two different problems: Frozen lake and Cart-Pole. One more example of the taxi problem is given in the appendix. To demonstrate the robustness, the policy is learned in a perturbed MDP, and is then tested on the true unperturbed MDP. Specifically, during the training, we set a probability $p$ such that after the agent takes an action, with probability $p$ , the state transition is uniformly over S, and with probability $1 - p$ the state transition is according to the true unperturbed transition kernel. The behavior policy for all the experiments below is set to be a uniform distribution over the action space given any state, i.e., $\begin{array} { r } { \pi _ { b } ( a | s ) ^ { \bullet } = \frac { 1 } { | \mathcal { A } | } } \end{array}$ for any $s \in \mathcal { S }$ and $a \in { \mathcal { A } }$ . We then evaluate the performance of the obtained policy in the unperturbed environment. At each time t, the policy we evaluate is the greedy-policy w.r.t. the current estimate of the Q-function, i.e., $\pi _ { t } ( s ) = \arg \operatorname* { m a x } _ { a } Q _ { t } ( s , a )$ . A Monte-Carlo method with horizon 100 is used to evaluate the accumulated discounted reward of the learned policy on the unperturbed MDP. We take the average over 30 trajectories. More details are provided in the appendix.
|
| 238 |
+
|
| 239 |
+
In Figure 1 and Figure 2, we plot the accumulated discounted reward of both algorithms under different $p$ and $R$ for both problems. The upper and lower envelopes of the curves correspond to the 95 and 5 percentiles of the 30 trajectories, respectively. It can be seen that overall our robust Q-learning algorithm achieves a much higher reward than the vanilla Q-learning. This demonstrates the robustness of our robust Q-learning algorithm to model uncertainty. Moreover, as $p$ and $R$ getting larger, i.e., as the MDP that we learn the policy deviates from the MDP we test the policy, the advantage of our robust Q-learning algorithm is getting more significant compared to the vanilla Q-learning algorithm.
|
| 240 |
+
|
| 241 |
+

|
| 242 |
+
Figure 1: FrozenLake-v0: robust Q-learning v.s. non-robust Q-learning.
|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
Figure 2: CartPole-v0: robust Q-learning v.s. non-robust Q-learning.
|
| 246 |
+
|
| 247 |
+
# 6.2 Robust TDC with Linear Function Approximation
|
| 248 |
+
|
| 249 |
+
In this section we compare our robust TDC with the vanilla non-robust TDC with linear function approximation on the $4 \times 4$ Frozen Lake problem. The problem setting is the same as the one in Section 6.1. More details about the experiment setup are provided in the appendix.
|
| 250 |
+
|
| 251 |
+
We implement the two algorithms using samples from the perturbed MDP both for 30 times, and obtain 30 sequences of $\{ \theta _ { t } ^ { i } \} _ { t = 1 } ^ { \infty }$ , $i = 1 , 2 , . . . , 3 0$ . We then compute the squared gradient norm $\| \nabla J ( \theta ) \| ^ { 2 }$ on the true unperturbed MDP, and see whether $\{ \theta _ { t } ^ { i } \} _ { t = 1 } ^ { \infty }$ converges to some stationary points on the true unperturbed MDP. In Fig. 3, we plot the average squared gradient norm $\| \nabla J ( \theta ) \| ^ { 2 }$ for different $p$ and $R$ . The upper and lower envelops are the 95 and 5 percentiles of the 30 curves. It can be seen that our robust TDC converges much faster than vanilla TDC, and as the model mismatch between the training and test MDPs enlarges, the vanilla TDC may diverge (Fig. 3(c)), while our robust TDC still converges to some stationary point. Also, the robust TDC has a much smaller variance, which indicates a much stable behavior under model uncertainty.
|
| 252 |
+
|
| 253 |
+

|
| 254 |
+
Figure 3: FrozenLake-v0: $\| \nabla J ( \theta ) \| ^ { 2 }$ of robust TDC and non-robust TDC.
|
| 255 |
+
|
| 256 |
+
# 6.3 Comparison with The Adversarial Training Approach
|
| 257 |
+
|
| 258 |
+
We also compare our robust Q-learning with Robust Adversarial Reinforcement Learning (RARL) in [Pinto et al., 2017]. To apply their algorithm to our problem setting, we model the nature as an adversarial player, and its goal is to minimize the reward that the agent receives. The action space $\mathcal { A } _ { a d }$ of the nature is set to be the state space $\mathcal { A } _ { a d } \triangleq \mathcal { S }$ . Then the perturbed training environment can be viewed as an adversarial model: both the agent and the adversary take actions $a _ { a } , a _ { a d }$ , then the environment will transit to state $a _ { a d }$ with probability $R$ and transit following the unperturbed MDP $p _ { s } ^ { a _ { a } }$ with probability $1 - R$ . The goal of the maximize its accumulated reward, while the goal of the natural is to minimize it.
|
| 259 |
+
|
| 260 |
+
Following the RARL algorithm [Pinto et al., 2017], in each iteration of the training, we first fix the adversarial policy and use Q-learning to optimize the agent’s policy and obtain the Q-table $Q _ { t }$ . Then we fix the agent’s policy and optimize the adversarial policy.
|
| 261 |
+
|
| 262 |
+
After each training iteration, we test the performance of the greedy policies w.r.t. Q-tables obtained from robust Q-learning and RARL. The testing environment is set to be the worst-case, i.e., after the agent takes an action, the environment transits to the state which has the minimal value function $( \mathrm { a r g m i n } _ { s \in \mathcal { S } } V _ { t } ( s ) )$ with probability $p$ . We plot the accumulated discounted rewards of both algorithms against number of training iterations under different parameters. We set $\alpha = 0 . 2$ and $\gamma = 0 . 9$ . It can be seen from Fig. 4 that our robust Q-learning achieves a higher accumulative reward, and thus is more robust that the RARL algorithm in [Pinto et al., 2017]. Also our robust Q-learning is more stable during training, i.e., the variance is smaller.
|
| 263 |
+
|
| 264 |
+

|
| 265 |
+
Figure 4: Taxi-v3: robust Q-learning v.s. RARL.
|
| 266 |
+
|
| 267 |
+
# 7 Conclusion
|
| 268 |
+
|
| 269 |
+
In this paper, we develop a novel approach for solving model-free robust RL problems with model uncertainty. Our algorithms can be implemented in an online and incremental fashion, do not require additional memory than their non-robust counterparts. We theoretically proved the convergence of our algorithms under no additional assumption on the discount factor, and further characterized their finite-time error bounds, which match with their non-robust counterparts (within a constant factor). Our approach can be readily extended to robustify TD, SARSA and other GTD algorithms.
|
| 270 |
+
|
| 271 |
+
Limitations: It is also of future interest to investigate robustness to reward uncertainty, and other types of uncertainty sets, e.g., ones defined by KL divergence, Wasserstein distance and total variation. Negative societal impact: To the best of the authors’ knowledge, this study does not have any potential negative impact on the society.
|
| 272 |
+
|
| 273 |
+
# 8 Acknowledgment
|
| 274 |
+
|
| 275 |
+
The work of Y. Wang and S. Zou was supported by the National Science Foundation under Grants CCF-2106560 and CCF- 2007783.
|
| 276 |
+
|
| 277 |
+
# References
|
| 278 |
+
|
| 279 |
+
Mohammed Amin Abdullah, Hang Ren, Haitham Bou Ammar, Vladimir Milenkovic, Rui Luo, Mingtian Zhang, and Jun Wang. Wasserstein robust reinforcement learning. arXiv preprint arXiv:1907.13196, 2019.
|
| 280 |
+
|
| 281 |
+
Alekh Agarwal, Sham M Kakade, Jason D Lee, and Gaurav Mahajan. On the theory of policy gradient methods: Optimality, approximation, and distribution shift. Journal of Machine Learning Research, 22(98):1–76, 2021.
|
| 282 |
+
|
| 283 |
+
Kavosh Asadi and Michael L Littman. An alternative softmax operator for reinforcement learning. In Proc. International Conference on Machine Learning (ICML), volume 70, pages 243–252. JMLR, 2017.
|
| 284 |
+
|
| 285 |
+
Christopher G Atkeson and Jun Morimoto. Nonparametric representation of policies and value functions: A trajectory-based approach. In Proc. Advances in Neural Information Processing Systems (NIPS), pages 1643–1650, 2003.
|
| 286 |
+
|
| 287 |
+
Kishan Panaganti Badrinath and Dileep Kalathil. Robust reinforcement learning using least squares policy iteration with provable performance guarantees. In Proc. International Conference on Machine Learning (ICML), pages 511–520. PMLR, 2021.
|
| 288 |
+
|
| 289 |
+
J Andrew Bagnell, Andrew Y Ng, and Jeff G Schneider. Solving uncertain markov decision. 09 2001.
|
| 290 |
+
|
| 291 |
+
Leemon Baird. Residual algorithms: Reinforcement learning with function approximation. In Machine Learning Proceedings, pages 30–37. Elsevier, 1995.
|
| 292 |
+
|
| 293 |
+
Carolyn L Beck and Rayadurgam Srikant. Error bounds for constant step-size Q-learning. Systems & control letters, 61(12):1203–1208, 2012.
|
| 294 |
+
|
| 295 |
+
Jalaj Bhandari and Daniel Russo. Global optimality guarantees for policy gradient methods. arXiv preprint arXiv:1906.01786, 2019.
|
| 296 |
+
|
| 297 |
+
Jalaj Bhandari, Daniel Russo, and Raghav Singal. A finite time analysis of temporal difference learning with linear function approximation. In Proc. Annual Conference on Learning Theory (CoLT), pages 1691–1692. PMLR, 2018.
|
| 298 |
+
|
| 299 |
+
Shalabh Bhatnagar, Doina Precup, David Silver, Richard S Sutton, Hamid Maei, and Csaba Szepesvári. Convergent temporal-difference learning with arbitrary smooth function approximation. In Proc. Advances in Neural Information Processing Systems (NIPS), volume 22, pages 1204–1212, 2009.
|
| 300 |
+
|
| 301 |
+
Vivek S Borkar and Sean P Meyn. The ODE method for convergence of stochastic approximation and reinforcement learning. SIAM Journal on Control and Optimization, 38(2):447–469, 2000.
|
| 302 |
+
|
| 303 |
+
Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. OpenAI Gym. arXiv preprint arXiv:1606.01540, 2016.
|
| 304 |
+
|
| 305 |
+
Qi Cai, Zhuoran Yang, Jason D Lee, and Zhaoran Wang. Neural temporal-difference learning converges to global optima. In Proc. Advances in Neural Information Processing Systems (NeurIPS), pages 11312–11322, 2019.
|
| 306 |
+
|
| 307 |
+
Shicong Cen, Chen Cheng, Yuxin Chen, Yuting Wei, and Yuejie Chi. Fast global convergence of natural policy gradient methods with entropy regularization. arXiv preprint arXiv:2007.06558, 2020.
|
| 308 |
+
|
| 309 |
+
Zaiwei Chen, Sheng Zhang, Thinh T Doan, Siva Theja Maguluri, and John-Paul Clarke. Performance of Q-learning with linear function approuimation: Stability and finite-time analysis. arXiv preprint arXiv:1905.11425, 2019.
|
| 310 |
+
|
| 311 |
+
Gal Dalal, Balázs Szörényi, Gugan Thoppe, and Shie Mannor. Finite sample analysis of two-timescale stochastic approximation with applications to reinforcement learning. Proceedings of Machine Learning Research, 75:1–35, 2018.
|
| 312 |
+
|
| 313 |
+
Gal Dalal, Balázs Szörényi, and Gugan Thoppe. A tale of two-timescale reinforcement learning with the tightest finite-time bound. In Proc. Conference on Artificial Intelligence (AAAI), pages 3701–3708, 2020.
|
| 314 |
+
|
| 315 |
+
Dalal, Gal and Szörényi, Balázs and Thoppe, Gugan and Mannor, Shie. Finite sample analyses for TD(0) with function approximation. In Proc. AAAI Conference on Artificial Intelligence (AAAI), pages 6144–6160, 2018.
|
| 316 |
+
|
| 317 |
+
Thinh T Doan. Finite-time analysis and restarting scheme for linear two-time-scale stochastic approximation. SIAM Journal on Control and Optimization, 59(4):2798–2819, 2021.
|
| 318 |
+
|
| 319 |
+
Eyal Even-Dar, Yishay Mansour, and Peter Bartlett. Learning rates for Q-learning. Journal of machine learning Research, 5(1), 2003.
|
| 320 |
+
|
| 321 |
+
Harsh Gupta, R Srikant, and Lei Ying. Finite-time performance bounds and adaptive learning rate selection for two time-scale reinforcement learning. In Proc. Advances in Neural Information Processing Systems (NeurIPS), pages 4706–4715, 2019.
|
| 322 |
+
|
| 323 |
+
Linfang Hou, Liang Pang, Xin Hong, Yanyan Lan, Zhiming Ma, and Dawei Yin. Robust reinforcement learning with Wasserstein constraint. arXiv preprint arXiv:2006.00945, 2020.
|
| 324 |
+
|
| 325 |
+
Sandy Huang, Nicolas Papernot, Ian Goodfellow, Yan Duan, and Pieter Abbeel. Adversarial attacks on neural network policies. In Proc. International Conference on Learning Representations (ICLR), 2017.
|
| 326 |
+
|
| 327 |
+
Peter J Huber. A robust version of the probability ratio test. The Annals of Mathematical Statistics, pages 1753–1758, 1965.
|
| 328 |
+
|
| 329 |
+
Garud N Iyengar. Robust dynamic programming. Mathematics of Operations Research, 30(2): 257–280, 2005.
|
| 330 |
+
|
| 331 |
+
Maxim Kaledin, Eric Moulines, Alexey Naumov, Vladislav Tadic, and Hoi-To Wai. Finite time analysis of linear two-timescale stochastic approximation with Markovian noise. In Proc. Annual Conference on Learning Theory (CoLT), pages 2144–2203. PMLR, 2020.
|
| 332 |
+
|
| 333 |
+
Jernej Kos and Dawn Song. Delving into adversarial attacks on deep policies. In Proc. International Conference on Learning Representations (ICLR), 2017.
|
| 334 |
+
|
| 335 |
+
Harshat Kumar, Alec Koppel, and Alejandro Ribeiro. On the sample complexity of actor-critic method for reinforcement learning with function approximation. arXiv preprint arXiv:1910.08412, 2019.
|
| 336 |
+
|
| 337 |
+
Gen Li, Yuting Wei, Yuejie Chi, Yuantao Gu, and Yuxin Chen. Sample complexity of asynchronous Q-learning: Sharper analysis and variance reduction. In Proc. Advances in Neural Information Processing Systems (NeurIPS), 2020.
|
| 338 |
+
|
| 339 |
+
Gen Li, Changxiao Cai, Yuxin Chen, Yuantao Gu, Yuting Wei, and Yuejie Chi. Is Q-learning minimax optimal? A tight sample complexity analysis. arXiv preprint arXiv:2102.06548, 2021.
|
| 340 |
+
|
| 341 |
+
Shiau Hong Lim, Huan Xu, and Shie Mannor. Reinforcement learning in robust Markov decision processes. In Proc. Advances in Neural Information Processing Systems (NIPS), pages 701–709, 2013.
|
| 342 |
+
|
| 343 |
+
Yen-Chen Lin, Zhang-Wei Hong, Yuan-Hong Liao, Meng-Li Shih, Ming-Yu Liu, and Min Sun. Tactics of adversarial attack on deep reinforcement learning agents. In Proc. International Joint Conferences on Artificial Intelligence (IJCAI), pages 3756–3762, 2017.
|
| 344 |
+
|
| 345 |
+
Bo Liu, Ji Liu, Mohammad Ghavamzadeh, Sridhar Mahadevan, and Marek Petrik. Finite-sample analysis of proximal gradient TD algorithms. In Proc. International Conference on Uncertainty in Artificial Intelligence (UAI), pages 504–513. Citeseer, 2015.
|
| 346 |
+
|
| 347 |
+
Shaocong Ma, Yi Zhou, and Shaofeng Zou. Variance-reduced off-policy TDC learning: Nonasymptotic convergence analysis. In Proc. Advances in Neural Information Processing Systems (NeurIPS), volume 33, pages 14796–14806, 2020.
|
| 348 |
+
|
| 349 |
+
Shaocong Ma, Yi Zhou, and Shaofeng Zou. Greedy-GQ with variance reduction: Finite-time analysis and improved complexity. In Proc. International Conference on Learning Representations (ICLR), 2021.
|
| 350 |
+
|
| 351 |
+
Hamid Reza Maei. Gradient temporal-difference learning algorithms. Thesis, University of Alberta, 2011.
|
| 352 |
+
|
| 353 |
+
Hamid Reza Maei, Csaba Szepesvári, Shalabh Bhatnagar, and Richard S Sutton. Toward off-policy learning control with function approximation. In Proc. International Conference on Machine Learning (ICML), pages 719–726, 2010.
|
| 354 |
+
|
| 355 |
+
Ajay Mandlekar, Yuke Zhu, Animesh Garg, Li Fei-Fei, and Silvio Savarese. Adversarially robust policy learning: Active construction of physically-plausible perturbations. In 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 3932–3939. IEEE, 2017.
|
| 356 |
+
|
| 357 |
+
Jincheng Mei, Chenjun Xiao, Csaba Szepesvari, and Dale Schuurmans. On the global convergence rates of softmax policy gradient methods. In Proc. International Conference on Machine Learning (ICML), pages 6820–6829. PMLR, 2020.
|
| 358 |
+
|
| 359 |
+
Jun Morimoto and Kenji Doya. Robust reinforcement learning. Neural computation, 17(2):335–359, 2005.
|
| 360 |
+
|
| 361 |
+
Arnab Nilim and Laurent El Ghaoui. Robustness in Markov decision problems with uncertain transition matrices. In Proc. Advances in Neural Information Processing Systems (NIPS), pages 839–846, 2004.
|
| 362 |
+
|
| 363 |
+
Anay Pattanaik, Zhenyi Tang, Shuijing Liu, Gautham Bommannan, and Girish Chowdhary. Robust deep reinforcement learning with adversarial attacks. In Proc. International Conference on Autonomous Agents and MultiAgent Systems, pages 2040–2042, 2018.
|
| 364 |
+
|
| 365 |
+
Lerrel Pinto, James Davidson, Rahul Sukthankar, and Abhinav Gupta. Robust adversarial reinforcement learning. In Proc. International Conference on Machine Learning (ICML), pages 2817–2826. PMLR, 2017.
|
| 366 |
+
|
| 367 |
+
Shuang Qiu, Zhuoran Yang, Jieping Ye, and Zhaoran Wang. On the finite-time convergence of actor-critic algorithm. In Proc. Optimization Foundations for Reinforcement Learning Workshop at Advances in Neural Information Processing Systems (NeurIPS), 2019.
|
| 368 |
+
|
| 369 |
+
Guannan Qu and Adam Wierman. Finite-time analysis of asynchronous stochastic approximation and Q-learning. In Proc. Annual Conference on Learning Theory (CoLT), pages 3185–3205. PMLR, 2020.
|
| 370 |
+
|
| 371 |
+
Aravind Rajeswaran, Sarvjeet Ghotra, Balaraman Ravindran, and Sergey Levine. Epopt: Learning robust neural network policies using model ensembles. In Proc. International Conference on Learning Representations (ICLR), 2017.
|
| 372 |
+
|
| 373 |
+
Aurko Roy, Huan Xu, and Sebastian Pokutta. Reinforcement learning under model mismatch. In Proc. Advances in Neural Information Processing Systems (NIPS), pages 3046–3055, 2017.
|
| 374 |
+
|
| 375 |
+
Jay K Satia and Roy E Lave Jr. Markovian decision processes with uncertain transition probabilities. Operations Research, 21(3):728–740, 1973.
|
| 376 |
+
|
| 377 |
+
R. Srikant and Lei Ying. Finite-time error bounds for linear stochastic approximation and TD learning. In Proc. Annual Conference on Learning Theory (CoLT), pages 2803–2830, 2019.
|
| 378 |
+
|
| 379 |
+
Jun Sun, Gang Wang, Georgios B Giannakis, Qinmin Yang, and Zaiyue Yang. Finite-sample analysis of decentralized temporal-difference learning with linear function approximation. In Proc. International Conference on Artifical Intelligence and Statistics (AISTATS), 2020.
|
| 380 |
+
|
| 381 |
+
Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction, Second Edition. The MIT Press, Cambridge, Massachusetts, 2018.
|
| 382 |
+
|
| 383 |
+
Richard S Sutton, Csaba Szepesvári, and Hamid Reza Maei. A convergent O(n) algorithm for off-policy temporal-difference learning with linear function approximation. In Proc. Advances in Neural Information Processing Systems (NIPS), volume 21, pages 1609–1616. MIT Press, 2008.
|
| 384 |
+
|
| 385 |
+
Richard S Sutton, Hamid Reza Maei, Doina Precup, Shalabh Bhatnagar, David Silver, Csaba Szepesvári, and Eric Wiewiora. Fast gradient-descent methods for temporal-difference learning with linear function approximation. In Proc. International Conference on Machine Learning (ICML), pages 993–1000, 2009.
|
| 386 |
+
|
| 387 |
+
Aviv Tamar, Shie Mannor, and Huan Xu. Scaling up robust MDPs using function approximation. In Proc. International Conference on Machine Learning (ICML), pages 181–189. PMLR, 2014.
|
| 388 |
+
|
| 389 |
+
Eugene Vinitsky, Yuqing Du, Kanaad Parvate, Kathy Jang, Pieter Abbeel, and Alexandre Bayen. Robust reinforcement learning using adversarial populations. arXiv preprint arXiv:2008.01825, 2020.
|
| 390 |
+
|
| 391 |
+
Hoi-To Wai, Mingyi Hong, Zhuoran Yang, Zhaoran Wang, and Kexin Tang. Variance reduced policy evaluation with smooth function approximation. In Proc. Advances in Neural Information Processing Systems (NeurIPS), volume 32, pages 5784–5795, 2019.
|
| 392 |
+
|
| 393 |
+
Martin J Wainwright. Variance-reduced Q-learning is minimax optimal. arXiv preprint arXiv:1906.04697, 2019.
|
| 394 |
+
|
| 395 |
+
Lingxiao Wang, Qi Cai, Zhuoran Yang, and Zhaoran Wang. Neural policy gradient methods: Global optimality and rates of convergence. In Proc. International Conference on Learning Representations (ICLR), 2020.
|
| 396 |
+
|
| 397 |
+
Yue Wang and Shaofeng Zou. Finite-sample analysis of Greedy-GQ with linear function approximation under Markovian noise. In Proc. International Conference on Uncertainty in Artificial Intelligence (UAI), pages 11–20. PMLR, 2020.
|
| 398 |
+
|
| 399 |
+
Yue Wang, Shaofeng Zou, and Yi Zhou. Non-asymptotic analysis for two time-scale TDC with general smooth function approximation. In Proc. Advances in Neural Information Processing Systems (NeurIPS), volume 34, 2021.
|
| 400 |
+
|
| 401 |
+
Wolfram Wiesemann, Daniel Kuhn, and Berç Rustem. Robust Markov decision processes. Mathematics of Operations Research, 38(1):153–183, 2013.
|
| 402 |
+
|
| 403 |
+
Yue Wu, Weitong Zhang, Pan Xu, and Quanquan Gu. A finite time analysis of two time-scale actor critic methods. arXiv preprint arXiv:2005.01350, 2020.
|
| 404 |
+
|
| 405 |
+
Tengyu Xu and Yingbin Liang. Sample complexity bounds for two timescale value-based reinforcement learning algorithms. In Proc. International Conference on Artifical Intelligence and Statistics (AISTATS), pages 811–819. PMLR, 2021.
|
| 406 |
+
|
| 407 |
+
Tengyu Xu, Shaofeng Zou, and Yingbin Liang. Two time-scale off-policy TD learning: Nonasymptotic analysis over Markovian samples. In Proc. Advances in Neural Information Processing Systems (NeurIPS), pages 10633–10643, 2019.
|
| 408 |
+
|
| 409 |
+
Zhuoran Yang, Yongxin Chen, Mingyi Hong, and Zhaoran Wang. Provably global convergence of actor-critic: A case for linear quadratic regulator with ergodic cost. In Proc. Advances in Neural Information Processing Systems (NeurIPS), pages 8353–8365, 2019.
|
| 410 |
+
|
| 411 |
+
Kaiqing Zhang, Bin Hu, and Tamer Basar. On the stability and convergence of robust adversarial reinforcement learning: A case study on linear quadratic systems. In Proc. Advances in Neural Information Processing Systems (NeurIPS), volume 33, 2020a.
|
| 412 |
+
|
| 413 |
+
Kaiqing Zhang, Tao Sun, Yunzhe Tao, Sahika Genc, Sunil Mallya, and Tamer Basar. Robust multiagent reinforcement learning with model uncertainty. In Proc. Advances in Neural Information Processing Systems (NeurIPS), volume 33, 2020b.
|
| 414 |
+
|
| 415 |
+
Shaofeng Zou, Tengyu Xu, and Yingbin Liang. Finite-sample analysis for SARSA with linear function approximation. In Proc. Advances in Neural Information Processing Systems (NeurIPS), pages 8665–8675, 2019.
|
parse/train/IhiU6AJYpDs/IhiU6AJYpDs_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/IhiU6AJYpDs/IhiU6AJYpDs_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/IhiU6AJYpDs/IhiU6AJYpDs_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/NiM9Q7Z95z/NiM9Q7Z95z.md
ADDED
|
@@ -0,0 +1,479 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Secure Quantized Training for Deep Learning
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 We have implemented training of neural networks in secure multi-party computa
|
| 11 |
+
2 tion (MPC) using quantization commonly used in said setting. To the best of our
|
| 12 |
+
3 knowledge, we are the first to present training of MNIST purely implemented in
|
| 13 |
+
4 MPC that comes within one percent of accuracy of training using plaintext compu
|
| 14 |
+
5 tation. We found that training with MPC is possible, but it takes more epochs and
|
| 15 |
+
6 achieves a lower accuracy than the usual CPU/GPU computation. More concretely,
|
| 16 |
+
7 we have trained a network with two convolution and two dense layers to $9 8 . 5 \%$
|
| 17 |
+
8 accuracy in 150 epochs. This took a day in our MPC implementation.
|
| 18 |
+
|
| 19 |
+
# 9 1 Introduction
|
| 20 |
+
|
| 21 |
+
10 Secure multi-party computation (MPC) is a cryptographic technique that allows a set of parties to
|
| 22 |
+
11 compute a public output on private inputs without revealing the inputs or any intermediate results.
|
| 23 |
+
12 This makes it a potential solution to federated learning where the sample data stays private and only
|
| 24 |
+
13 the model or even only inference results are revealed.
|
| 25 |
+
14 Imagine a set of healthcare providers holding sensitive patient data. MPC allows them to collabo
|
| 26 |
+
15 ratively train a model. This model could then either be released or even kept private for inference
|
| 27 |
+
16 using MPC again. See Figure for an illustration. A more conceptual example is the well-known
|
| 28 |
+
17 millionaires’ problem where two people want to find out who is richer without revealing their wealth.
|
| 29 |
+
18 There is clearly a difference between the one bit of information desired and the full figures.
|
| 30 |
+
19 There has been a sustained interest in applying secure computation to machine learning and neural
|
| 31 |
+
20 networks going back to at least Barni et al. [2006]. More recent advantages in practical MPC have
|
| 32 |
+
21 led to an increased effort in implementing both inference and training.
|
| 33 |
+
22 A number of works such as Mohassel and Zhang [2017], Mohassel and Rindal [2018], Wagh et al.
|
| 34 |
+
23 [2019], Wagh et al. [2021] implement neural network training with MPC at least in parts. However,
|
| 35 |
+
24 they either give accuracy figures below $9 5 \%$ or figures that have been obtained using plaintext training.
|
| 36 |
+
25 For the latter case, the works do not clarify how close the computation for plaintext training matches
|
| 37 |
+
26 the lower precision and other differences in the MPC setting. Agrawal et al. [2019] claim a higher
|
| 38 |
+
27 accuracy in a comparable setting for a convolutional neural network with more channels than we
|
| 39 |
+
28 use. However, they have only implemented dense layers, and we achieve comparable accuracy to
|
| 40 |
+
29 them with only dense layers. All works use quantization in the sense that a fractional number $x$ is
|
| 41 |
+
30 represented as $\lfloor x \cdot 2 ^ { - f } \rceil$ . This makes addition considerably faster in the secure computation setting
|
| 42 |
+
31 because it reduces to integer addition. Furthermore, some of the works suggest to replace the softmax
|
| 43 |
+
32 function that uses exponentiation with a ReLU-based replacement. Keller and Sun [2020] have found
|
| 44 |
+
33 that this softmax replacement deteriorates accuracy in dense neural networks to the extent that it does
|
| 45 |
+
34 not justify the performance gains.
|
| 46 |
+
35 The concurrent work of Tan et al. [2021] gives some figures on the learning curve when run using
|
| 47 |
+
36 secure computation. However, they stop at five epochs for MNIST training where they achieve $94 \%$
|
| 48 |
+
37 accuracy whereas we present the figures up to 150 epochs and $9 8 . 5 \%$ accuracy. Furthermore, their
|
| 49 |
+
38 choice of fixed-point precision 20 is considerably below 32, which we found to be optimal. We also
|
| 50 |
+
39 found that our implementation is $40 \%$ faster than theirs. Note that we use the CPU of one AWS
|
| 51 |
+
40 c5.9xlarge instance per party whereas Tan et al. use one NVIDIA Tesla V100 GPU per party. We
|
| 52 |
+
41 believe this somewhat counter-intuitive result comes from MPC heavily relying on communication,
|
| 53 |
+
42 which is an aspect where GPUs do not have an advantage over CPUs.
|
| 54 |
+
43 In this paper, we present an extensible framework for implementing deep learning training based on
|
| 55 |
+
44 MP-SPDZ by Keller [2020], a framework for multi-party computation.1 Similar to TensorFlow and
|
| 56 |
+
45 PyTorch, our approach allows representing deep learning models as succession of layers. We then
|
| 57 |
+
46 use this implementation to obtain accuracy figures for MNIST training by utilizing the MP-SPDZ
|
| 58 |
+
47 emulator, which allows to run the plaintext equivalent of secure computation, that is, the same
|
| 59 |
+
48 algorithms with the same precision. Finally, we run one of the most promising instantiation in real
|
| 60 |
+
49 secure computation in order to benchmark it confirm the result from the plaintext emulator.
|
| 61 |
+
50 There are a number of projects that integrate secure computation directly into popular machine
|
| 62 |
+
51 learning frameworks such as CrypTen by Gunning et al. [2019], PySyft by Ryffel et al. [2018], and
|
| 63 |
+
52 TF Encrypted by Dahl et al. [2018]. Our approach differs from all of them by running the protocol as
|
| 64 |
+
53 native CPU code (implemented using $\mathrm { C } { + + }$ ). This allows for much faster execution. For example,
|
| 65 |
+
54 CrypTen provides an MNIST training example (mpc_autograd_cnn) that takes over one minute
|
| 66 |
+
55 to run one epoch with 100 samples on one machine. In comparison, our implementation takes 11
|
| 67 |
+
56 minutes to run one epoch with the full dataset of 60,000 samples.
|
| 68 |
+
57 Another line of work (e.g., Quoc et al. [2021]) uses trusted execution environments that provide
|
| 69 |
+
58 computation outside the reach of the operating system. This is a different security model to multi-party
|
| 70 |
+
59 computation that works with distributing the information among several entities.
|
| 71 |
+
60 The paper is structured as follows: After introducing the basics of the protocol we use in Section 2,
|
| 72 |
+
61 we will explain the mathematical building blocks in Section 3 and their use in the context of deep
|
| 73 |
+
62 learning in Section 4. Finally, we will present our implementation in Section 5 and our experimental
|
| 74 |
+
63 results for MNIST in Section 6.
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
Figure 1: Outsourced computation: Data holders (on the left) secret-share their data to a number of computing parties (on the right), who then return the desired the result (e.g., a model or inference results on further queries). All communication except outputs are secret-shared and thus secure if no two computing parties collude.
|
| 78 |
+
|
| 79 |
+
# 64 2 An Efficient Secure Multi-Party Computation Protocol
|
| 80 |
+
|
| 81 |
+
There is a wide range of MPC protocols with a variety of security properties (see Keller [2020] for an overview). In this paper we focus on the setting of three-party computation with one semi-honest corruption. This means that out of the three parties two are expected to behave honestly, i.e., they follow the protocol and keep their view of the protocol secret, and one party is expected to follow the protocol but might try extract information from their view. The reason for choosing this setting is that it allows an efficient MPC protocol while still allowing secure outsourced computation. The concrete protocol we use goes back to Benaloh and Leichter [1990] with further aspects by Araki et al. [2016], Mohassel and Rindal [2018], and Eerikson et al. [2020]. We summarize the core protocol below. The mathematical building blocks in the next section mostly use the aspects below.
|
| 82 |
+
|
| 83 |
+
74 Secret sharing All intermediate values in our protocol are stored using replicated secret sharing. A
|
| 84 |
+
75 secret value $x$ is a represented as a random sum $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ , and party $P _ { i }$ holds $( x _ { i - 1 } , x _ { i + 1 } )$
|
| 85 |
+
76 where the indices are computed modulo three. Clearly, each party is missing one value to compute
|
| 86 |
+
77 the sum. On the other hand, each pair of parties hold all necessary to reconstruct the secret. For a
|
| 87 |
+
78 uniformly random generation of shares, the computation domain has to be finite. Most commonly,
|
| 88 |
+
79 this domain is defined by integer computation modulo a number. We use $2 ^ { k }$ for $k$ being a multiple 64
|
| 89 |
+
80 and 2 as the moduli. The first case corresponds to an extension of 64-bit arithmetic found on most
|
| 90 |
+
81 processors. We will refer to the two settings as arithmetic and binary secret sharing throughout the
|
| 91 |
+
82 paper.
|
| 92 |
+
83 Input sharing The secret sharing scheme implies a protocol to share inputs where the inputting
|
| 93 |
+
84 party samples the shares and distributes them accordingly. Eerikson et al. [2020] have proposed a
|
| 94 |
+
85 more efficient protocol where the inputting party only needs to send one value instead of two pairs of
|
| 95 |
+
86 values. If $P _ { i }$ would like to input $x$ , $x _ { i }$ is set to zero, and $x _ { i - 1 }$ is generated with a pseudo-random
|
| 96 |
+
87 generator using a key previously shared between $P _ { i }$ and $P _ { i + 1 }$ . $P _ { i }$ can compute $x _ { i + 1 } = x - x _ { i - 1 }$ and
|
| 97 |
+
88 send it to $P _ { i - 1 }$ . While the resulting secret sharing is not entirely random, the fact that $P _ { i }$ already
|
| 98 |
+
89 knows $x$ makes randomizing $x _ { i }$ obsolete.
|
| 99 |
+
90 Addition The commutative nature of addition allows to add secret sharings without communication.
|
| 100 |
+
91 More concretely, secret sharings $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ and $y = y _ { 0 } + y _ { 1 } + y _ { 2 }$ imply the secret sharing
|
| 101 |
+
92 $x + y = ( x _ { 0 } + y _ { 0 } ) + ( x _ { 1 } + y _ { 1 } ) + ( x _ { 2 } + y _ { 2 } )$ .
|
| 102 |
+
|
| 103 |
+
93 Multiplication The product of $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ and $y = y _ { 0 } + y _ { 1 } + y _ { 2 }$ is
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
{ \begin{array} { r l } & { x \cdot y = ( x _ { 0 } + x _ { 1 } + x _ { 2 } ) \cdot ( y _ { 0 } + y _ { 1 } + y _ { 2 } ) } \\ & { \qquad = ( x _ { 0 } y _ { 0 } + x _ { 0 } y _ { 1 } + x _ { 1 } y _ { 0 } ) + ( x _ { 1 } y _ { 1 } + x _ { 1 } y _ { 2 } + x _ { 1 } y _ { 1 } ) + ( x _ { 2 } y _ { 2 } + x _ { 2 } y _ { 0 } + x _ { 0 } y _ { 2 } ) . } \end{array} }
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
94 Each of the brackets only contains shares known by one of the parties. They can thus compute an
|
| 110 |
+
95 additive secret sharing (one summand per party) of the product. However, every party only holding
|
| 111 |
+
96 one share does not satisfy the replication requirement for further multiplications. It is not secure
|
| 112 |
+
97 for every party to pass their value on to another party because the summands are not distributed
|
| 113 |
+
98 randomly. This can be fixed by rerandomization: Let $x y = z _ { 0 } + z _ { 1 } + z _ { 2 }$ where $z _ { i }$ is know to $P _ { i }$ .
|
| 114 |
+
99 Every party $P _ { i }$ computes $z _ { i } ^ { \prime } = z _ { i } + r _ { i , i + 1 } - r _ { i - 1 , i }$ where $r _ { i , i + 1 }$ is generated with a pseudo-random
|
| 115 |
+
100 generator using a key pre-shared between $P _ { i }$ and $P _ { i + 1 }$ . The resulting sum $x y = \hat { z } _ { 0 } ^ { \prime } + z _ { 1 } ^ { \prime } + z _ { 2 } ^ { \prime }$ is
|
| 116 |
+
101 pseudo-random, and it is thus secure for $P _ { i }$ to send $z _ { i } ^ { \prime }$ to $P _ { i + 1 }$ in order to create a replicated secret
|
| 117 |
+
102 sharing $\left( ( x y ) _ { i - 1 } , ( x y ) _ { i + 1 } \right) = \left( z _ { i } ^ { \prime } , z _ { i - 1 } ^ { \prime } \right)$ .
|
| 118 |
+
|
| 119 |
+
# 103 3 Secure Computation Building Blocks
|
| 120 |
+
|
| 121 |
+
104 In this section, we will discuss how to implement computation with MPC with a focus on how
|
| 122 |
+
105 it differs from computation on CPUs or GPUs. Most of the techniques below are already known
|
| 123 |
+
106 individually. To the best of our knowledge however, we are the first to put them together in an efficient
|
| 124 |
+
107 and extensible framework for secure computation of deep learning training.
|
| 125 |
+
108 Domain conversion Recall we that we use computation modulo $2 ^ { k }$ for $k$ being a multiple of 64
|
| 126 |
+
109 as well as 1. Given that the main operations are just addition and multiplication in the respective
|
| 127 |
+
110 domain, it is desirable to compute integer arithmetic in the large domain but operations with a
|
| 128 |
+
111 straight-forward binary circuit modulo two. There has been a long-running interest in this going
|
| 129 |
+
112 back to least Kolesnikov et al. [2013]. We mainly rely on the approach proposed by Mohassel and
|
| 130 |
+
113 114 $\{ x _ { 0 } ^ { ( i ) } \} _ { j = 0 } ^ { k - 1 }$ 018] and Araki et al. [20the bit decomposition of $x _ { 0 }$ . Recal, that is, $x _ { 0 } ^ { ( i ) } \in \{ 0 , 1 \}$ $x \in 2 ^ { k }$ is shand $\begin{array} { r } { x _ { 0 } = \sum _ { i = 0 } ^ { k - 1 } x _ { 0 } ^ { ( i ) } 2 ^ { i } } \end{array}$ $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ . Now letlf-evident
|
| 131 |
+
115 that $x _ { 0 } ^ { ( i ) } = x _ { 0 } ^ { ( i ) } + 0 + 0$ is a valid secret sharing modulo two (albeit not a random one). Furthermore,
|
| 132 |
+
116 every party holding $x _ { 0 }$ can generate $x _ { 0 } ^ { ( i ) }$ . It is therefore possible for the parties to generate a secret
|
| 133 |
+
117 sharing modulo two of a single share modulo $2 ^ { k }$ . Repeating this for all shares and the computing
|
| 134 |
+
118 the addition as a binary circuit allows the parties to generate a secret sharing modulo two from a
|
| 135 |
+
119 secret sharing modulo $\bar { 2 } ^ { k }$ . Conversion in the other direction can be achieved using a similar technique
|
| 136 |
+
120 or using daBits as described by Rotaru and Wood [2019]. In the following we will use the term
|
| 137 |
+
121 mixed-circuit computation for any technique that works over both computation domains.
|
| 138 |
+
122 Quantization While Aliasgari et al. [2013] showed that it is possible to implement floating-point
|
| 139 |
+
123 computation, the cost is far higher than integer computation. It is therefore common to represent
|
| 140 |
+
124 fractional numbers using quantization (also called fixed-point representation) as suggested by Catrina
|
| 141 |
+
125 and Saxena [2010]. A real number $x$ is represented as $\bar { \boldsymbol { x } } = \lfloor \boldsymbol { x } \cdot \mathbf { \bar { 2 } } ^ { f } \rceil$ where $f$ is an integer specifying
|
| 142 |
+
126 the precision. The linearity of the representation allows to compute addition by simply adding the
|
| 143 |
+
127 representing integers. Multiplication however requires to adjust the result because it will have twice
|
| 144 |
+
128 the precision: $( x \cdot 2 ^ { f } ) \cdot ( y \cdot \dot { 2 } ^ { f } ) = x y \cdot 2 ^ { 2 f }$ . There are two ways to rectify this:
|
| 145 |
+
|
| 146 |
+
• An obvious correction would be to shift the result by $f$ bits after adding $2 ^ { f - 1 }$ to the integer representation. This ensures rounding to the nearest number possible in the representation, with the tie being broken by rounding up. Dalskov et al. [2021] presented an efficient implementation of the truncation using mixed-circuit computation.
|
| 147 |
+
|
| 148 |
+
• However, Catrina and Saxena have found that in the context of secure computation it is more efficient to use probabilistic truncation. This method rounds up or down probabilistically depending on the input. For example, probabilistically rounding 0.75 to an integer would see it rounded of up with probability 0.75 and down with probability 0.25. The probabilistic truncation is an effect of the fact that the operation involves the truncation of a randomized value, that is the computation of $\left\lfloor ( x + r ) / 2 ^ { m } \right\rfloor$ for a random $m$ -bit value $r$ . It is easy to see that
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\lfloor ( x + r ) / 2 ^ { m } \rfloor = \left\{ \begin{array} { l l } { \lfloor x / 2 ^ { m } \rfloor } & { ( x \bmod 2 ^ { m } + r ) < 2 ^ { m } } \\ { \lfloor x / 2 ^ { m } \rfloor + 1 } & { ( x \bmod 2 ^ { m } + r ) \ge 2 ^ { m } . } \end{array} \right.
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
Therefore, the larger $( x \bmod 2 ^ { m } )$ ) is, the more likely the latter condition is true. Dalskov et al. [2020] present an efficient protocol in our security model.
|
| 155 |
+
|
| 156 |
+
142 Our quantization scheme is related to quantized neural networks (see e.g. Hubara et al. [2016]).
|
| 157 |
+
143 However, our consideration is not to compress the model, but to improve the computational speed
|
| 158 |
+
144 and save communication cost.
|
| 159 |
+
145 Dot products Dot products are an essential building block of linear computation such as matrix
|
| 160 |
+
146 multiplication. In the light of quantization, it is possible to reduce the usage of truncation by deferring
|
| 161 |
+
147 after the summation. In other words, the dot product in the integer representations is computed before
|
| 162 |
+
148 truncating. This not only reduces the truncation error, it is also more efficient because the truncation
|
| 163 |
+
149 is the most expensive part in quantized secure multiplication. Similarly, our protocol allows to defer
|
| 164 |
+
150 the communication needed for multiplication. Let $\vec { x }$ and $\vec { y }$ be two vectors where the elements are
|
| 165 |
+
151 secret shared, that is, $\{ x ^ { ( i ) } \} = x _ { 0 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } + x _ { 2 } ^ { ( i ) }$ and similarly for $\boldsymbol y ^ { ( i ) }$ . The inner product then is
|
| 166 |
+
|
| 167 |
+
$$
|
| 168 |
+
\begin{array} { r l } & { \displaystyle \sum _ { i } x ^ { ( i ) } \cdot y ^ { ( i ) } = \sum _ { i } ( x _ { 0 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } + x _ { 2 } ^ { ( i ) } ) \cdot ( y _ { 0 } ^ { ( i ) } + y _ { 1 } ^ { ( i ) } + y _ { 2 } ^ { ( i ) } ) } \\ & { \quad \quad \quad \quad = \displaystyle \sum _ { i } ( x _ { 0 } ^ { ( i ) } y _ { 0 } ^ { ( i ) } + x _ { 0 } ^ { ( i ) } y _ { 1 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } y _ { 0 } ^ { ( i ) } ) + \sum _ { i } ( x _ { 1 } ^ { ( i ) } y _ { 1 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } y _ { 2 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } y _ { 1 } ^ { ( i ) } ) } \\ & { \quad \quad \quad \quad + \displaystyle \sum _ { i } ( x _ { 2 } ^ { ( i ) } y _ { 2 } ^ { ( i ) } + x _ { 2 } ^ { ( i ) } y _ { 0 } ^ { ( i ) } + x _ { 0 } ^ { ( i ) } y _ { 2 } ^ { ( i ) } ) . } \end{array}
|
| 169 |
+
$$
|
| 170 |
+
|
| 171 |
+
152 The three sums in the last term can be compute locally by one party each before applying the same
|
| 172 |
+
153 protocol as for a single multiplication.
|
| 173 |
+
154 Comparisons Arithmetic secret sharing does not allow to access the individual bits directly. It
|
| 174 |
+
155 is therefore not straightforward to compute comparisons such as “less than”. There is a long line
|
| 175 |
+
156 of literature on how to achieve this going back to at least Damgård et al. [2006]. More recently,
|
| 176 |
+
157 most attention has been given to combine the power of arithmetic and binary secret sharing in
|
| 177 |
+
158 order to combine the best of worlds. One possibility to do so is to plainly convert to the binary
|
| 178 |
+
159 domain and compute the comparison circuit there. In our concrete implementation we use the more
|
| 179 |
+
160 efficient approach by Mohassel and Rindal [2018]. It starts by taking the difference of the two
|
| 180 |
+
161 inputs. Computing the comparison then reduces to comparing to zero, which in turn is equivalent
|
| 181 |
+
162 to extracting the most significant bit as it indicates the sign. The latter is achieved by converting
|
| 182 |
+
163 the shares locally to bit-wise sharing of the arithmetic shares, which sum up to the secret value. It
|
| 183 |
+
164 remains to compute the sum of the binary shares in order to come up with the most significant bit.
|
| 184 |
+
165 Oblivious Selection Plain secure computation does not allow branching because the parties would
|
| 185 |
+
166 need to be aware which branch is followed. Conditional assignment can be implemented as follows
|
| 186 |
+
167 however. If $b \in \{ 0 , 1 \}$ denotes the condition, $x + b \cdot ( y - x )$ is either $x$ or $y$ depending on $b$ . If the
|
| 187 |
+
168 condition is available in binary secret sharing but $x$ and $y$ in arithmetic secret sharing, $b$ has to be
|
| 188 |
+
169 converted to the latter. This can be done using a daBit as introduced by Rotaru and Wood [2019],
|
| 189 |
+
170 which is a secret random bit shared both in arithmetic and binary. It allows to mask a bit in one world
|
| 190 |
+
171 by XORing it. The result is then revealed and the masking is undone in the other world.
|
| 191 |
+
172 Division Catrina and Saxena [2010] have shown how to implement quantized division using the
|
| 192 |
+
173 algorithm by Goldschmidt [1964]. It mainly uses arithmetic and the probabilistic truncation already
|
| 193 |
+
174 explained. In addition, the initial approximation requires a full bit decomposition as described above.
|
| 194 |
+
175 The error of the output depends on the error in the multiplications used for Goldschmidt’s iteration,
|
| 195 |
+
176 which compounds in particular when using probabilistic truncation. Due to the nature of secure
|
| 196 |
+
177 computation, the result of division by zero is undefined. One could obtain a secret failure bit by
|
| 197 |
+
178 testing the divisor to zero. However, we found that not to be necessary in our algorithm. This is
|
| 198 |
+
179 because we only use division by secret value only for the softmax function where the it is guaranteed
|
| 199 |
+
180 to strictly positive.
|
| 200 |
+
181 Logarithm Computation logarithm with any public base can be reduced to logarithm to base two
|
| 201 |
+
182 using $\log _ { x } y = \log _ { 2 } y \cdot \log _ { x } 2$ . Aly and Smart [2019] have proposed computing $y = a \cdot 2 ^ { b }$ where
|
| 202 |
+
183 $a \in [ 0 . 5 , 1 )$ and $b \in \mathbb { Z }$ . This then allows to compute $\log _ { 2 } y = \log _ { 2 } a + b$ . Given the restricted range
|
| 203 |
+
184 of $a$ , $\log _ { 2 } a$ can be approximated using a division of polynomials. Numerical stability and input range
|
| 204 |
+
185 control are less of an issue here because we only use logarithm for the loss computation, which does
|
| 205 |
+
186 not influence the training.
|
| 206 |
+
187 Exponentiation By using $x ^ { y } = 2 ^ { y \log _ { 2 } x }$ , any exponentiation can be reduced to exponentiation
|
| 207 |
+
188 with base two. Aly and Smart [2019] have shown how to compute $2 ^ { a } = 2 ^ { \lfloor a \rfloor } \cdot 2 ^ { a - \lfloor a \rfloor }$ by computing
|
| 208 |
+
189 the two exponents using bit decomposition and the second factor using a polynomial approximation.
|
| 209 |
+
190 Regarding the first factor, if $\begin{array} { r } { b = \sum _ { i \geq 0 } b _ { i } 2 ^ { i } } \end{array}$ is an integer with $b _ { i } \in \{ 0 , 1 \}$ ,
|
| 210 |
+
|
| 211 |
+
$$
|
| 212 |
+
2 ^ { b } = 2 ^ { \sum _ { i \geq 0 } b _ { i } 2 ^ { i } } = \prod _ { i \geq 0 } 2 ^ { b _ { i } 2 ^ { i } } = \prod _ { i \geq 0 } ( 1 + b _ { i } \cdot ( 2 ^ { 2 ^ { i } } - 1 ) ) .
|
| 213 |
+
$$
|
| 214 |
+
|
| 215 |
+
191 As with division the numerical stability depends on the truncation used for multiplication.
|
| 216 |
+
|
| 217 |
+
Inverse square root Aly and Smart [2019] have proposed to compute square root using Goldschmidt and Raphson-Newton iterations. We could combine this with the division above. However, Lu et al. [2020] have proposed a more direct computation that avoids running two successive iterations.
|
| 218 |
+
|
| 219 |
+
Uniformly random fractional number Limiting ourselves to intervals of the form $[ x , x + 2 ^ { e } ]$ for a potentially negative integer $e$ , we can reduce the problem to generate a random $( f + { \dot { e } } )$ -bit number where $f$ is the fixed-point precision. Recall that we represent a fractional number $x$ as $\lfloor x \cdot 2 ^ { - f } \rceil$ Generating a random $n$ -bit number is straight-forward using random bits, which in our protocol can be generated as presented by Damgård et al. [2019]. In the context of our protocol however, Dalskov et al. [2021] have a presented a more efficient approach that involves mixed-circuit computation.
|
| 220 |
+
|
| 221 |
+
Communication cost Table 1 show the total communication cost of some of the building blocks in our protocol for $f = 3 2$ . This setting mandates the modulus $2 ^ { 1 2 8 }$ because the division protocol requires bit length $4 f$ .
|
| 222 |
+
|
| 223 |
+
# 4 Machine Learning Building Blocks
|
| 224 |
+
|
| 225 |
+
In this section, we will use the building blocks in Section 3 to construct high-level computational modules for deep learning.
|
| 226 |
+
|
| 227 |
+
Fully connected layers Both forward and back-propagation of fully connected layers can be seen as matrix multiplications and thus can be implemented using dot products. A particular challenge in secure computation is to compute a number of outputs in parallel in order to save communication
|
| 228 |
+
|
| 229 |
+
Table 1: Communication cost of select computation for $f = 3 2$ and integer modulus $2 ^ { 1 2 8 }$
|
| 230 |
+
|
| 231 |
+
<table><tr><td></td><td>Bits</td></tr><tr><td>Integer multiplication</td><td>384</td></tr><tr><td>Probabilistic truncation Nearest truncation</td><td>1,536 4,462</td></tr><tr><td>Comparison</td><td>1,369</td></tr><tr><td>Division (prob. truncation)</td><td>29,866</td></tr><tr><td>Division (nearest truncation)</td><td>57,798</td></tr><tr><td>Exponentiation (prob. truncation)</td><td>77,684</td></tr><tr><td>Exponentiation (nearest truncation)</td><td></td></tr><tr><td></td><td>171,638</td></tr><tr><td>Invert square root (prob. truncation) Invert square root (nearest truncation)</td><td>20,073 27,699</td></tr></table>
|
| 232 |
+
|
| 233 |
+
10 rounds. We solve this by having a dedicated infrastructure in our implementation that computes all dot
|
| 234 |
+
11 products for a matrix multiplication in a single batch, thus combining all necessary communication.
|
| 235 |
+
|
| 236 |
+
2D convolution layers Similar to fully connected layers, 2D convolution and its corresponding gradient can be implemented using only dot products, and we again compute several output values in parallel.
|
| 237 |
+
|
| 238 |
+
215 Rectified Linear Unit (ReLU) ReLU Nair and Hinton [2010] is defined as follows:
|
| 239 |
+
|
| 240 |
+
$$
|
| 241 |
+
{ \mathsf { R e L U } } ( x ) : = { \left\{ \begin{array} { l l } { x , } & { { \mathrm { i f ~ } } x > 0 } \\ { 0 . } & { { \mathrm { o t h e r w i s e } } } \end{array} \right. }
|
| 242 |
+
$$
|
| 243 |
+
|
| 244 |
+
216 It can thus be implemented as a comparison followed by an oblivious selection. For back-propagation,
|
| 245 |
+
217 it is advantageous to reuse the comparison results from forward propagation due to the relatively high
|
| 246 |
+
218 cost in secure computation. Note that the comparison results are stored in secret-shared form and
|
| 247 |
+
219 thus there is no reduction in security.
|
| 248 |
+
220 Max pooling Similar to ReLU, max pooling can be reduced to comparison and oblivious selection.
|
| 249 |
+
221 In secure computation, it saves communication rounds if the process uses a balanced tree rather than
|
| 250 |
+
222 iterating over all input values of one maximum computation. For back-propagation it again pays off
|
| 251 |
+
223 to the store intermediate results from forward propagation, again in secret-shared form.
|
| 252 |
+
224 Softmax and cross entropy loss This combination requires computing the following gradient for
|
| 253 |
+
225 back-propagation:
|
| 254 |
+
|
| 255 |
+
$$
|
| 256 |
+
\nabla i : = \frac { \partial \ell } { \partial x _ { i } } = \frac { \partial } { \partial x _ { i } } \Big ( - \sum _ { k } y _ { k } \cdot x _ { k } + \log \sum _ { j } e ^ { x _ { j } } \Big ) = - y _ { i } + \frac { e ^ { x _ { i } } } { \sum _ { j } e ^ { x _ { j } } } ,
|
| 257 |
+
$$
|
| 258 |
+
|
| 259 |
+
226 where $y _ { i }$ denotes an element of the ground truth as a one-hot vector, and $x _ { i }$ denotes the output of the
|
| 260 |
+
227 last layer.
|
| 261 |
+
228 On the right hand side of eq. (1), the values in the denominator are potentially large due to the use
|
| 262 |
+
229 of the exponential. This is prone to numerical overflow in our quantized representation because the
|
| 263 |
+
230 latter puts relatively strict limits on the values. We therefore optimize the computation by computing
|
| 264 |
+
231 the maximum of the input values:
|
| 265 |
+
|
| 266 |
+
$$
|
| 267 |
+
m = \operatorname* { m a x } _ { j } ( \{ x _ { j } \} ) .
|
| 268 |
+
$$
|
| 269 |
+
|
| 270 |
+
232 Then we compute
|
| 271 |
+
|
| 272 |
+
$$
|
| 273 |
+
{ \frac { e ^ { x _ { i } - m } } { \sum _ { j } e ^ { x _ { j } - m } } } = { \frac { e ^ { x _ { i } } e ^ { - m } } { ( \sum _ { j } e ^ { x _ { j } } ) e ^ { - m } } } = { \frac { e ^ { x _ { i } } } { \sum _ { j } e ^ { x _ { j } } } } .
|
| 274 |
+
$$
|
| 275 |
+
|
| 276 |
+
233 All the exponents on the left-most term are at most zero, and thus the dividend is at most one and the
|
| 277 |
+
234 divisor is at most the number of labels (which is 10 in MNIST). The same technique can be used to
|
| 278 |
+
235 compute the sigmoid activation function, as sigmoid(x) = 11+exp(−x) $\begin{array} { r } { \mathrm { \begin{array} { r } { \mathrm { i d } ( x ) = \frac { 1 } { 1 + \exp ( - x ) } = \frac { \exp ( 0 ) } { \exp ( 0 ) + \exp ( x ) } } } \end{array} } \end{array}$ is a special
|
| 279 |
+
236 case of softmax.
|
| 280 |
+
237 Stochastic gradient descent The model parameter update in SGD only involves basic arithmetic:
|
| 281 |
+
238 $\begin{array} { r } { \theta _ { j } \theta _ { j } - \frac { \gamma } { B } \sum _ { i = 1 } ^ { B } \bigtriangledown _ { i j } } \end{array}$ where $\theta _ { j }$ is the parameter indexed by $j , B$ is the mini-batch size, $\gamma > 0$ is
|
| 282 |
+
239 the learning rate, and $\nabla i j$ is the gradient of the loss with respect to the ’th sample in the mini-batch
|
| 283 |
+
240 and the parameter $\theta _ { j }$ . In order to tackle the limited precision with quantization, we defer dividing by
|
| 284 |
+
241 the batch size to the model update. This means that we do not divide the gradient value by the batch
|
| 285 |
+
242 size when computing them as described in the previous paragraph. Instead, we divide the model
|
| 286 |
+
243 update by the batch size. Since we use a batch size that is a power of two (128), it is sufficient to use
|
| 287 |
+
244 probabilistic truncation instead of full-blown division. This saves both time and decreases the error.
|
| 288 |
+
|
| 289 |
+
Adam The main difference to SGD in terms of basic computational operations is the additional use of an inverse square root. We again defer the division by the batch size to just before the model update.
|
| 290 |
+
|
| 291 |
+
Parameter initialization We use the Glorot initialization by Glorot and Bengio [2010]. Besides basic operations, it mainly involves generating a uniformly random fractional value in a given interval.
|
| 292 |
+
|
| 293 |
+
# 250 5 Implementation
|
| 294 |
+
|
| 295 |
+
51 We built our implementation on MP-SPDZ by Keller [2020]. MP-SPDZ not only implements a
|
| 296 |
+
52 range of MPC protocols, it also comes with a high-level library containing the building blocks in
|
| 297 |
+
253 Section 3. MP-SPDZ already featured capabilities to train dense neural networks as well as inference
|
| 298 |
+
254 for convolutional neural networks. We have added backward propagation for a number of layer types,
|
| 299 |
+
255 including 2D convolution. Furthermore, we have corrected a bug in the backward propagation for
|
| 300 |
+
256 dense layers.
|
| 301 |
+
|
| 302 |
+
MP-SPDZ allows implementing the computation in Python code, which is then compiled a specific bytecode. This code can be execute by a virtual machine executing the actual secure computation. The process allows to optimize the computation in the context of MPC.
|
| 303 |
+
|
| 304 |
+
The framework also features an emulator that executes the exact computation that could be done securely in the clear. This allowed us to collect the accuracy figures in the next section at a lower cost.
|
| 305 |
+
|
| 306 |
+
262 It is licensed under a BSD-style license, which allows to extend the code.
|
| 307 |
+
|
| 308 |
+
# 63 6 MNIST
|
| 309 |
+
|
| 310 |
+
For a concrete measurement of accuracy and running times, we have implemented training for the well-known MNIST dataset by LeCun et al. [2010]. We work mainly with the models that have been used by Wagh et al. [2019] with secure computation, and we will reuse their numbering (A–D). The models contain up to four linear layers. Network C is a convolutional neural network going back to the seminal work by LeCun et al. [1998] whereas the others are simpler networks that have been proposed by works on secure computation such as Mohassel and Zhang [2017], Liu et al. [2017], and Riazi et al. [2018]. We present the networks as Keras code in the supplemental material.
|
| 311 |
+
|
| 312 |
+
Figure 2 shows the results for various quantization precisions and and the two rounding options. We have used SGD with learning rate 0.01, batch size 128, and the usual MNIST training/test split. $f = 6 4$ is the best option with probabilistic rounding, improving on both $f = 1 6$ and $f = 3 2$ Furthermore, nearest rounding performs worse that probabilistic for $f = 1 6$ and $f = 3 2$ . Due to the high cost, we only ran $f = 3 2$ with probabilistic rounding several times. The range is indicate by the shaded area. We focus on $f = 3 2$ because it offers the faster convergence.
|
| 313 |
+
|
| 314 |
+
Figure 3 then shows the result with a variety of optimizers. While increasing the learning rate for SGD leads to a lower stability, Adam exposes a smoother learning learning curve albeit not a faster process.
|
| 315 |
+
|
| 316 |
+
280 Finally, Figures 4 shows our results for all networks used by Wagh et al. [2019]. As one would expect,
|
| 317 |
+
281 the most sophisticated network performs best. Somewhat surprisingly, however, Network A (without
|
| 318 |
+
282 convolutional layers) performs better than the simpler networks containing convolutional layers.
|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
Figure 2: Loss and accuracy for network C and precision options when running SGD with rate 0.01.
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
Figure 3: Loss and accuracy for network C with various optimizer options, $f = 3 2$ , and probabilistic truncation.
|
| 325 |
+
|
| 326 |
+
Resources We ran the emulator on AWS c5.9xlarge instances. One epoch takes a few second to several minutes depending on the model. Overall, we estimate that we have used a few weeks worth of computing time including experiments not included here because of bugs in the code.
|
| 327 |
+
|
| 328 |
+
# 6.1 Secure computation
|
| 329 |
+
|
| 330 |
+
In order to verify our emulation results, we have run Network C with precision $f \ = \ 3 2$ and probabilistic rounding in our actual multi-party computation protocol. We could verify that it converges on $9 8 . 5 \%$ accuracy at 150 epochs, taking 20 hours. Table 2 compares our result to previous works in a LAN setting. Note that Wagh et al. [2019] and Wagh et al. [2021] give accuracy figures. From personal communication with the authors and the fact that the source repository for the latter work2 says that their “code has not run end-to-end training”, we derive our assessment that their figures do not reflect the secure computation.
|
| 331 |
+
|
| 332 |
+

|
| 333 |
+
Figure 4: Loss and accuracy for various networks, $f = 3 2$ , and probabilistic truncation.
|
| 334 |
+
|
| 335 |
+
Table 2: Comparison to previous work in the LAN setting. $( ^ { * } )$ Mohassel and Zhang [2017] and Agrawal et al. [2019] use a different security model and are thus incomparable. We include them for completeness. Two numbers refer to online and offline time. Accuracy N/A means that the accuracy figures were not given or computed in a way that does not reflect the secure computation.
|
| 336 |
+
|
| 337 |
+
<table><tr><td>Network</td><td></td><td>Epoch time (s)</td><td>Acc. (# epochs)</td><td>Precision(f)</td></tr><tr><td rowspan="7">A</td><td>Mohassel and Zhang [2017]</td><td>283/19333*</td><td>93.4% (15)</td><td>13</td></tr><tr><td>Mohassel and Rindal [2018]</td><td>180</td><td>94.0% (15)</td><td>N/A</td></tr><tr><td>Agrawal et al. [2019]</td><td>31392*</td><td>95.0% (10)</td><td>N/A</td></tr><tr><td>Wagh et al. [2019]</td><td>247</td><td>N/A</td><td>13</td></tr><tr><td>Wagh et al. [2021]</td><td>41</td><td>N/A</td><td>13</td></tr><tr><td>Ours</td><td>31</td><td>97.9% (15)</td><td>16</td></tr><tr><td>Ours</td><td>50</td><td>97.7% (15)</td><td>32</td></tr><tr><td rowspan="4">B</td><td>Wagh et al. [2019]</td><td>4176</td><td>N/A</td><td>13</td></tr><tr><td>Wagh et al. [2021]</td><td>101</td><td>N/A</td><td>13</td></tr><tr><td>Ours</td><td>144</td><td>93.6% (15)</td><td>16</td></tr><tr><td>Ours</td><td>249</td><td>94.7% (15)</td><td>32</td></tr><tr><td rowspan="5">C</td><td>Wagh et al. [2019]</td><td>7188</td><td>N/A</td><td>13</td></tr><tr><td>Wagh et al. [2021]</td><td>891</td><td>N/A</td><td>13</td></tr><tr><td>Tan et al. [2021]</td><td>1036</td><td>94.0% (5)</td><td>20</td></tr><tr><td>Ours</td><td>344</td><td>94.9% (5)</td><td>16</td></tr><tr><td>Ours</td><td>643</td><td>93.8% (5)</td><td>32</td></tr><tr><td rowspan="3">D</td><td>Mohassel and Rindal [2018]</td><td>234</td><td>N/A</td><td>N/A</td></tr><tr><td>Ours</td><td>41</td><td>96.8% (15)</td><td>16</td></tr><tr><td>Ours</td><td>68</td><td>96.8% (15)</td><td>32</td></tr></table>
|
| 338 |
+
|
| 339 |
+
# 294 7 Conclusions
|
| 340 |
+
|
| 341 |
+
295 We have presented an implementation of deep learning training purely in multi-party computation
|
| 342 |
+
296 with extensive results on the accuracy. We have found that the lower precision of MPC computation
|
| 343 |
+
297 increases the error considerably. We only have considered one particular implementation of more
|
| 344 |
+
298 complex computation such as division and exponentiation, which are crucial to the learning process
|
| 345 |
+
299 as part of softmax. Future work might consider different approximations of these building blocks.
|
| 346 |
+
|
| 347 |
+
#
|
| 348 |
+
|
| 349 |
+
00 References
|
| 350 |
+
301 N. Agrawal, A. S. Shamsabadi, M. J. Kusner, and A. Gascón. QUOTIENT: Two-party secure neural
|
| 351 |
+
302 network training and prediction. In L. Cavallaro, J. Kinder, X. Wang, and J. Katz, editors, ACM
|
| 352 |
+
303 CCS 2019, pages 1231–1247. ACM Press, Nov. 2019. doi: 10.1145/3319535.3339819.
|
| 353 |
+
304 M. Aliasgari, M. Blanton, Y. Zhang, and A. Steele. Secure computation on floating point numbers.
|
| 354 |
+
305 In NDSS 2013. The Internet Society, Feb. 2013.
|
| 355 |
+
306 A. Aly and N. P. Smart. Benchmarking privacy preserving scientific operations. In R. H. Deng,
|
| 356 |
+
307 V. Gauthier-Umaña, M. Ochoa, and M. Yung, editors, ACNS 19, volume 11464 of LNCS, pages
|
| 357 |
+
308 509–529. Springer, Heidelberg, June 2019. doi: 10.1007/978-3-030-21568-2_25.
|
| 358 |
+
309 T. Araki, J. Furukawa, Y. Lindell, A. Nof, and K. Ohara. High-throughput semi-honest secure
|
| 359 |
+
310 three-party computation with an honest majority. In E. R. Weippl, S. Katzenbeisser, C. Kruegel,
|
| 360 |
+
311 A. C. Myers, and S. Halevi, editors, ACM CCS 2016, pages 805–817. ACM Press, Oct. 2016. doi:
|
| 361 |
+
312 10.1145/2976749.2978331.
|
| 362 |
+
313 T. Araki, A. Barak, J. Furukawa, M. Keller, Y. Lindell, K. Ohara, and H. Tsuchida. Generalizing
|
| 363 |
+
314 the SPDZ compiler for other protocols. In D. Lie, M. Mannan, M. Backes, and X. Wang, editors,
|
| 364 |
+
315 ACM CCS 2018, pages 880–895. ACM Press, Oct. 2018. doi: 10.1145/3243734.3243854.
|
| 365 |
+
316 M. Barni, C. Orlandi, and A. Piva. A privacy-preserving protocol for neural-network-based computa
|
| 366 |
+
317 tion. In Proceedings of the 8th workshop on Multimedia and security, pages 146–151, 2006.
|
| 367 |
+
318 J. C. Benaloh and J. Leichter. Generalized secret sharing and monotone functions. In S. Goldwasser,
|
| 368 |
+
319 editor, CRYPTO’88, volume 403 of LNCS, pages 27–35. Springer, Heidelberg, Aug. 1990. doi:
|
| 369 |
+
320 10.1007/0-387-34799-2_3.
|
| 370 |
+
321 O. Catrina and A. Saxena. Secure computation with fixed-point numbers. In R. Sion, editor, FC
|
| 371 |
+
322 2010, volume 6052 of LNCS, pages 35–50. Springer, Heidelberg, Jan. 2010.
|
| 372 |
+
323 M. Dahl, J. Mancuso, Y. Dupis, B. Decoste, M. Giraud, I. Livingstone, J. Patriquin, and G. Uhma.
|
| 373 |
+
324 Private machine learning in tensorflow using secure computation. CoRR, abs/1810.08130, 2018.
|
| 374 |
+
325 URL http://arxiv.org/abs/1810.08130.
|
| 375 |
+
326 A. Dalskov, D. Escudero, and M. Keller. Fantastic four: Honest-majority four-party secure com
|
| 376 |
+
327 putation with malicious security. In 30th USENIX Security Symposium (USENIX Security 21),
|
| 377 |
+
328 2021.
|
| 378 |
+
329 A. P. K. Dalskov, D. Escudero, and M. Keller. Secure evaluation of quantized neural networks.
|
| 379 |
+
330 PoPETs, 2020(4):355–375, Oct. 2020. doi: 10.2478/popets-2020-0077.
|
| 380 |
+
331 I. Damgård, M. Fitzi, E. Kiltz, J. B. Nielsen, and T. Toft. Unconditionally secure constant-rounds
|
| 381 |
+
332 multi-party computation for equality, comparison, bits and exponentiation. In S. Halevi and
|
| 382 |
+
333 T. Rabin, editors, TCC 2006, volume 3876 of LNCS, pages 285–304. Springer, Heidelberg, Mar.
|
| 383 |
+
334 2006. doi: 10.1007/11681878_15.
|
| 384 |
+
335 I. Damgård, D. Escudero, T. K. Frederiksen, M. Keller, P. Scholl, and N. Volgushev. New primitives
|
| 385 |
+
336 for actively-secure MPC over rings with applications to private machine learning. In 2019 IEEE
|
| 386 |
+
337 Symposium on Security and Privacy, pages 1102–1120. IEEE Computer Society Press, May 2019.
|
| 387 |
+
338 doi: 10.1109/SP.2019.00078.
|
| 388 |
+
339 H. Eerikson, M. Keller, C. Orlandi, P. Pullonen, J. Puura, and M. Simkin. Use your brain! Arithmetic
|
| 389 |
+
340 3PC for any modulus with active security. In Y. T. Kalai, A. D. Smith, and D. Wichs, editors, ITC
|
| 390 |
+
341 2020, pages 5:1–5:24. Schloss Dagstuhl, June 2020. doi: 10.4230/LIPIcs.ITC.2020.5.
|
| 391 |
+
342 X. Glorot and Y. Bengio. Understanding the difficulty of training deep feedforward neural networks.
|
| 392 |
+
343 In Proceedings of the thirteenth international conference on artificial intelligence and statistics,
|
| 393 |
+
344 pages 249–256. JMLR Workshop and Conference Proceedings, 2010.
|
| 394 |
+
345 R. E. Goldschmidt. Applications of division by convergence. Master’s thesis, MIT, 1964.
|
| 395 |
+
346 D. Gunning, A. Hannun, M. Ibrahim, B. Knott, L. van der Maaten, V. Reis, S. Sengupta, S. Venkatara
|
| 396 |
+
347 man, and X. Zhou. Crypten: A new research tool for secure machine learning with pytorch,
|
| 397 |
+
348 2019.
|
| 398 |
+
349 I. Hubara, M. Courbariaux, D. Soudry, R. El-Yaniv, and Y. Bengio. Binarized neural networks. In
|
| 399 |
+
350 Advances in Neural Information Processing Systems, volume 29. Curran Associates, Inc., 2016.
|
| 400 |
+
351 M. Keller. MP-SPDZ: A versatile framework for multi-party computation. In J. Ligatti, X. Ou,
|
| 401 |
+
352 J. Katz, and G. Vigna, editors, ACM CCS 20, pages 1575–1590. ACM Press, Nov. 2020. doi:
|
| 402 |
+
353 10.1145/3372297.3417872.
|
| 403 |
+
354 M. Keller and K. Sun. Effectiveness of MPC-friendly softmax replacement, 2020.
|
| 404 |
+
355 V. Kolesnikov, A.-R. Sadeghi, and T. Schneider. A systematic approach to practically efficient general
|
| 405 |
+
356 two-party secure function evaluation protocols and their modular design. Journal of Computer
|
| 406 |
+
357 Security, 21(2):283–315, 2013.
|
| 407 |
+
358 Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document
|
| 408 |
+
359 recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
|
| 409 |
+
360 Y. LeCun, C. Cortes, and C. Burges. Mnist handwritten digit database. ATT Labs [Online]. Avail
|
| 410 |
+
361 able: http: // yann. lecun. com/ exdb/ mnist , 2, 2010. Creative Commons Attribution-Share
|
| 411 |
+
362 Alike 3.0 license, https://creativecommons.org/licenses/by-sa/3.0/.
|
| 412 |
+
363 J. Liu, M. Juuti, Y. Lu, and N. Asokan. Oblivious neural network predictions via MiniONN
|
| 413 |
+
364 transformations. In B. M. Thuraisingham, D. Evans, T. Malkin, and D. Xu, editors, ACM CCS
|
| 414 |
+
365 2017, pages 619–631. ACM Press, Oct. / Nov. 2017. doi: 10.1145/3133956.3134056.
|
| 415 |
+
366 W.-j. Lu, Y. Fang, Z. Huang, C. Hong, C. Chen, H. Qu, Y. Zhou, and K. Ren. Faster secure multiparty
|
| 416 |
+
367 computation of adaptive gradient descent. In Proceedings of the 2020 Workshop on Privacy
|
| 417 |
+
368 Preserving Machine Learning in Practice, PPMLP’20, page 47–49, New York, NY, USA, 2020.
|
| 418 |
+
369 Association for Computing Machinery. ISBN 9781450380881. doi: 10.1145/3411501.3419427.
|
| 419 |
+
370 URL https://doi.org/10.1145/3411501.3419427.
|
| 420 |
+
371 P. Mohassel and P. Rindal. ABY3: A mixed protocol framework for machine learning. In D. Lie,
|
| 421 |
+
372 M. Mannan, M. Backes, and X. Wang, editors, ACM CCS 2018, pages 35–52. ACM Press, Oct.
|
| 422 |
+
373 2018. doi: 10.1145/3243734.3243760.
|
| 423 |
+
374 P. Mohassel and Y. Zhang. SecureML: A system for scalable privacy-preserving machine learning.
|
| 424 |
+
375 In 2017 IEEE Symposium on Security and Privacy, pages 19–38. IEEE Computer Society Press,
|
| 425 |
+
376 May 2017. doi: 10.1109/SP.2017.12.
|
| 426 |
+
377 V. Nair and G. E. Hinton. Rectified linear units improve Restricted Boltzmann machines. In Pro
|
| 427 |
+
378 ceedings of the 27th International Conference on International Conference on Machine Learning,
|
| 428 |
+
379 ICML’10, pages 807–814, 2010.
|
| 429 |
+
380 D. L. Quoc, F. Gregor, S. Arnautov, R. Kunkel, P. Bhatotia, and C. Fetzer. securetf: A secure
|
| 430 |
+
381 tensorflow framework. CoRR, abs/2101.08204, 2021. URL https://arxiv.org/abs/2101.
|
| 431 |
+
382 08204.
|
| 432 |
+
383 M. S. Riazi, C. Weinert, O. Tkachenko, E. M. Songhori, T. Schneider, and F. Koushanfar. Chameleon:
|
| 433 |
+
384 A hybrid secure computation framework for machine learning applications. In J. Kim, G.-J. Ahn,
|
| 434 |
+
385 S. Kim, Y. Kim, J. López, and T. Kim, editors, ASIACCS 18, pages 707–721. ACM Press, Apr.
|
| 435 |
+
386 2018.
|
| 436 |
+
387 D. Rotaru and T. Wood. MArBled circuits: Mixing arithmetic and Boolean circuits with active
|
| 437 |
+
388 security. In F. Hao, S. Ruj, and S. Sen Gupta, editors, INDOCRYPT 2019, volume 11898 of LNCS,
|
| 438 |
+
389 pages 227–249. Springer, Heidelberg, Dec. 2019. doi: 10.1007/978-3-030-35423-7_12.
|
| 439 |
+
390 T. Ryffel, A. Trask, M. Dahl, B. Wagner, J. Mancuso, D. Rueckert, and J. Passerat-Palmbach. A
|
| 440 |
+
391 generic framework for privacy preserving deep learning. CoRR, abs/1811.04017, 2018. URL
|
| 441 |
+
392 http://arxiv.org/abs/1811.04017.
|
| 442 |
+
|
| 443 |
+
3 S. Tan, B. Knott, Y. Tian, and D. J. Wu. CryptGPU: Fast privacy-preserving machine learning on the GPU, 2021.
|
| 444 |
+
S. Wagh, D. Gupta, and N. Chandran. SecureNN: 3-party secure computation for neural network training. PoPETs, 2019(3):26–49, July 2019. doi: 10.2478/popets-2019-0035.
|
| 445 |
+
S. Wagh, S. Tople, F. Benhamouda, E. Kushilevitz, P. Mittal, and T. Rabin. Falcon: Honest-majority maliciously secure framework for private deep learning. PoPETs, 2021(1):188–208, Jan. 2021. doi: 10.2478/popets-2021-0011.
|
| 446 |
+
|
| 447 |
+
# Checklist
|
| 448 |
+
|
| 449 |
+
1. For all authors...
|
| 450 |
+
|
| 451 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 452 |
+
(b) Did you describe the limitations of your work? [Yes] See Section 7.
|
| 453 |
+
(c) Did you discuss any potential negative societal impacts of your work? [No] We only work with MNIST, and we believe that the potential negative impacts associated to it are very low.
|
| 454 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 455 |
+
|
| 456 |
+
2. If you are including theoretical results...
|
| 457 |
+
|
| 458 |
+
(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A]
|
| 459 |
+
|
| 460 |
+
3. If you ran experiments...
|
| 461 |
+
|
| 462 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] We include all code in the supplemental material, and the references include the URL for MNIST.
|
| 463 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 6.
|
| 464 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Only in Figure 2.
|
| 465 |
+
(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Section 6.
|
| 466 |
+
|
| 467 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 468 |
+
|
| 469 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] See Section 6.
|
| 470 |
+
(b) Did you mention the license of the assets? [Yes] See the references and and Section 5.
|
| 471 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Our code is included the supplemental material.
|
| 472 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 473 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 474 |
+
|
| 475 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 476 |
+
|
| 477 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 478 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 479 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/NiM9Q7Z95z/NiM9Q7Z95z_content_list.json
ADDED
|
@@ -0,0 +1,1167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Secure Quantized Training for Deep Learning ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
218,
|
| 8 |
+
122,
|
| 9 |
+
779,
|
| 10 |
+
148
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
200,
|
| 20 |
+
580,
|
| 21 |
+
256
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
292,
|
| 32 |
+
535,
|
| 33 |
+
309
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 We have implemented training of neural networks in secure multi-party computa \n2 tion (MPC) using quantization commonly used in said setting. To the best of our \n3 knowledge, we are the first to present training of MNIST purely implemented in \n4 MPC that comes within one percent of accuracy of training using plaintext compu \n5 tation. We found that training with MPC is possible, but it takes more epochs and \n6 achieves a lower accuracy than the usual CPU/GPU computation. More concretely, \n7 we have trained a network with two convolution and two dense layers to $9 8 . 5 \\%$ \n8 accuracy in 150 epochs. This took a day in our MPC implementation. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
150,
|
| 42 |
+
321,
|
| 43 |
+
767,
|
| 44 |
+
434
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "9 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
151,
|
| 54 |
+
458,
|
| 55 |
+
312,
|
| 56 |
+
474
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "10 Secure multi-party computation (MPC) is a cryptographic technique that allows a set of parties to \n11 compute a public output on private inputs without revealing the inputs or any intermediate results. \n12 This makes it a potential solution to federated learning where the sample data stays private and only \n13 the model or even only inference results are revealed. \n14 Imagine a set of healthcare providers holding sensitive patient data. MPC allows them to collabo \n15 ratively train a model. This model could then either be released or even kept private for inference \n16 using MPC again. See Figure for an illustration. A more conceptual example is the well-known \n17 millionaires’ problem where two people want to find out who is richer without revealing their wealth. \n18 There is clearly a difference between the one bit of information desired and the full figures. \n19 There has been a sustained interest in applying secure computation to machine learning and neural \n20 networks going back to at least Barni et al. [2006]. More recent advantages in practical MPC have \n21 led to an increased effort in implementing both inference and training. \n22 A number of works such as Mohassel and Zhang [2017], Mohassel and Rindal [2018], Wagh et al. \n23 [2019], Wagh et al. [2021] implement neural network training with MPC at least in parts. However, \n24 they either give accuracy figures below $9 5 \\%$ or figures that have been obtained using plaintext training. \n25 For the latter case, the works do not clarify how close the computation for plaintext training matches \n26 the lower precision and other differences in the MPC setting. Agrawal et al. [2019] claim a higher \n27 accuracy in a comparable setting for a convolutional neural network with more channels than we \n28 use. However, they have only implemented dense layers, and we achieve comparable accuracy to \n29 them with only dense layers. All works use quantization in the sense that a fractional number $x$ is \n30 represented as $\\lfloor x \\cdot 2 ^ { - f } \\rceil$ . This makes addition considerably faster in the secure computation setting \n31 because it reduces to integer addition. Furthermore, some of the works suggest to replace the softmax \n32 function that uses exponentiation with a ReLU-based replacement. Keller and Sun [2020] have found \n33 that this softmax replacement deteriorates accuracy in dense neural networks to the extent that it does \n34 not justify the performance gains. \n35 The concurrent work of Tan et al. [2021] gives some figures on the learning curve when run using \n36 secure computation. However, they stop at five epochs for MNIST training where they achieve $94 \\%$ \n37 accuracy whereas we present the figures up to 150 epochs and $9 8 . 5 \\%$ accuracy. Furthermore, their \n38 choice of fixed-point precision 20 is considerably below 32, which we found to be optimal. We also \n39 found that our implementation is $40 \\%$ faster than theirs. Note that we use the CPU of one AWS \n40 c5.9xlarge instance per party whereas Tan et al. use one NVIDIA Tesla V100 GPU per party. We \n41 believe this somewhat counter-intuitive result comes from MPC heavily relying on communication, \n42 which is an aspect where GPUs do not have an advantage over CPUs. \n43 In this paper, we present an extensible framework for implementing deep learning training based on \n44 MP-SPDZ by Keller [2020], a framework for multi-party computation.1 Similar to TensorFlow and \n45 PyTorch, our approach allows representing deep learning models as succession of layers. We then \n46 use this implementation to obtain accuracy figures for MNIST training by utilizing the MP-SPDZ \n47 emulator, which allows to run the plaintext equivalent of secure computation, that is, the same \n48 algorithms with the same precision. Finally, we run one of the most promising instantiation in real \n49 secure computation in order to benchmark it confirm the result from the plaintext emulator. \n50 There are a number of projects that integrate secure computation directly into popular machine \n51 learning frameworks such as CrypTen by Gunning et al. [2019], PySyft by Ryffel et al. [2018], and \n52 TF Encrypted by Dahl et al. [2018]. Our approach differs from all of them by running the protocol as \n53 native CPU code (implemented using $\\mathrm { C } { + + }$ ). This allows for much faster execution. For example, \n54 CrypTen provides an MNIST training example (mpc_autograd_cnn) that takes over one minute \n55 to run one epoch with 100 samples on one machine. In comparison, our implementation takes 11 \n56 minutes to run one epoch with the full dataset of 60,000 samples. \n57 Another line of work (e.g., Quoc et al. [2021]) uses trusted execution environments that provide \n58 computation outside the reach of the operating system. This is a different security model to multi-party \n59 computation that works with distributing the information among several entities. \n60 The paper is structured as follows: After introducing the basics of the protocol we use in Section 2, \n61 we will explain the mathematical building blocks in Section 3 and their use in the context of deep \n62 learning in Section 4. Finally, we will present our implementation in Section 5 and our experimental \n63 results for MNIST in Section 6. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
148,
|
| 65 |
+
488,
|
| 66 |
+
825,
|
| 67 |
+
544
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
148,
|
| 76 |
+
550,
|
| 77 |
+
825,
|
| 78 |
+
619
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
148,
|
| 87 |
+
626,
|
| 88 |
+
823,
|
| 89 |
+
669
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
147,
|
| 98 |
+
674,
|
| 99 |
+
826,
|
| 100 |
+
854
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
148,
|
| 109 |
+
859,
|
| 110 |
+
823,
|
| 111 |
+
902
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/bb0f136189595323f73d65ddc0b25170a7b7ffb1f9107b9e37395cb5ee7bab1c.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Outsourced computation: Data holders (on the left) secret-share their data to a number of computing parties (on the right), who then return the desired the result (e.g., a model or inference results on further queries). All communication except outputs are secret-shared and thus secure if no two computing parties collude. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
254,
|
| 124 |
+
93,
|
| 125 |
+
741,
|
| 126 |
+
226
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
147,
|
| 135 |
+
323,
|
| 136 |
+
825,
|
| 137 |
+
392
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "",
|
| 144 |
+
"bbox": [
|
| 145 |
+
147,
|
| 146 |
+
400,
|
| 147 |
+
825,
|
| 148 |
+
497
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "",
|
| 155 |
+
"bbox": [
|
| 156 |
+
147,
|
| 157 |
+
502,
|
| 158 |
+
825,
|
| 159 |
+
599
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "",
|
| 166 |
+
"bbox": [
|
| 167 |
+
147,
|
| 168 |
+
606,
|
| 169 |
+
825,
|
| 170 |
+
648
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "",
|
| 177 |
+
"bbox": [
|
| 178 |
+
147,
|
| 179 |
+
655,
|
| 180 |
+
825,
|
| 181 |
+
710
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "64 2 An Efficient Secure Multi-Party Computation Protocol ",
|
| 188 |
+
"text_level": 1,
|
| 189 |
+
"bbox": [
|
| 190 |
+
148,
|
| 191 |
+
729,
|
| 192 |
+
661,
|
| 193 |
+
747
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "There is a wide range of MPC protocols with a variety of security properties (see Keller [2020] for an overview). In this paper we focus on the setting of three-party computation with one semi-honest corruption. This means that out of the three parties two are expected to behave honestly, i.e., they follow the protocol and keep their view of the protocol secret, and one party is expected to follow the protocol but might try extract information from their view. The reason for choosing this setting is that it allows an efficient MPC protocol while still allowing secure outsourced computation. The concrete protocol we use goes back to Benaloh and Leichter [1990] with further aspects by Araki et al. [2016], Mohassel and Rindal [2018], and Eerikson et al. [2020]. We summarize the core protocol below. The mathematical building blocks in the next section mostly use the aspects below. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
173,
|
| 202 |
+
761,
|
| 203 |
+
825,
|
| 204 |
+
887
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "74 Secret sharing All intermediate values in our protocol are stored using replicated secret sharing. A \n75 secret value $x$ is a represented as a random sum $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ , and party $P _ { i }$ holds $( x _ { i - 1 } , x _ { i + 1 } )$ \n76 where the indices are computed modulo three. Clearly, each party is missing one value to compute \n77 the sum. On the other hand, each pair of parties hold all necessary to reconstruct the secret. For a \n78 uniformly random generation of shares, the computation domain has to be finite. Most commonly, \n79 this domain is defined by integer computation modulo a number. We use $2 ^ { k }$ for $k$ being a multiple 64 \n80 and 2 as the moduli. The first case corresponds to an extension of 64-bit arithmetic found on most \n81 processors. We will refer to the two settings as arithmetic and binary secret sharing throughout the \n82 paper. \n83 Input sharing The secret sharing scheme implies a protocol to share inputs where the inputting \n84 party samples the shares and distributes them accordingly. Eerikson et al. [2020] have proposed a \n85 more efficient protocol where the inputting party only needs to send one value instead of two pairs of \n86 values. If $P _ { i }$ would like to input $x$ , $x _ { i }$ is set to zero, and $x _ { i - 1 }$ is generated with a pseudo-random \n87 generator using a key previously shared between $P _ { i }$ and $P _ { i + 1 }$ . $P _ { i }$ can compute $x _ { i + 1 } = x - x _ { i - 1 }$ and \n88 send it to $P _ { i - 1 }$ . While the resulting secret sharing is not entirely random, the fact that $P _ { i }$ already \n89 knows $x$ makes randomizing $x _ { i }$ obsolete. \n90 Addition The commutative nature of addition allows to add secret sharings without communication. \n91 More concretely, secret sharings $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ and $y = y _ { 0 } + y _ { 1 } + y _ { 2 }$ imply the secret sharing \n92 $x + y = ( x _ { 0 } + y _ { 0 } ) + ( x _ { 1 } + y _ { 1 } ) + ( x _ { 2 } + y _ { 2 } )$ . ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
147,
|
| 213 |
+
90,
|
| 214 |
+
825,
|
| 215 |
+
217
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 2
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "",
|
| 222 |
+
"bbox": [
|
| 223 |
+
145,
|
| 224 |
+
229,
|
| 225 |
+
825,
|
| 226 |
+
328
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 2
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "text",
|
| 232 |
+
"text": "",
|
| 233 |
+
"bbox": [
|
| 234 |
+
147,
|
| 235 |
+
342,
|
| 236 |
+
825,
|
| 237 |
+
386
|
| 238 |
+
],
|
| 239 |
+
"page_idx": 2
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"type": "text",
|
| 243 |
+
"text": "93 Multiplication The product of $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ and $y = y _ { 0 } + y _ { 1 } + y _ { 2 }$ is ",
|
| 244 |
+
"bbox": [
|
| 245 |
+
147,
|
| 246 |
+
398,
|
| 247 |
+
678,
|
| 248 |
+
414
|
| 249 |
+
],
|
| 250 |
+
"page_idx": 2
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"type": "equation",
|
| 254 |
+
"img_path": "images/0e562fbeff8dbe326579bda5ca198bdb7384ec8bfd3048b083e4bf0b03a38815.jpg",
|
| 255 |
+
"text": "$$\n{ \\begin{array} { r l } & { x \\cdot y = ( x _ { 0 } + x _ { 1 } + x _ { 2 } ) \\cdot ( y _ { 0 } + y _ { 1 } + y _ { 2 } ) } \\\\ & { \\qquad = ( x _ { 0 } y _ { 0 } + x _ { 0 } y _ { 1 } + x _ { 1 } y _ { 0 } ) + ( x _ { 1 } y _ { 1 } + x _ { 1 } y _ { 2 } + x _ { 1 } y _ { 1 } ) + ( x _ { 2 } y _ { 2 } + x _ { 2 } y _ { 0 } + x _ { 0 } y _ { 2 } ) . } \\end{array} }\n$$",
|
| 256 |
+
"text_format": "latex",
|
| 257 |
+
"bbox": [
|
| 258 |
+
225,
|
| 259 |
+
417,
|
| 260 |
+
771,
|
| 261 |
+
455
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "94 Each of the brackets only contains shares known by one of the parties. They can thus compute an \n95 additive secret sharing (one summand per party) of the product. However, every party only holding \n96 one share does not satisfy the replication requirement for further multiplications. It is not secure \n97 for every party to pass their value on to another party because the summands are not distributed \n98 randomly. This can be fixed by rerandomization: Let $x y = z _ { 0 } + z _ { 1 } + z _ { 2 }$ where $z _ { i }$ is know to $P _ { i }$ . \n99 Every party $P _ { i }$ computes $z _ { i } ^ { \\prime } = z _ { i } + r _ { i , i + 1 } - r _ { i - 1 , i }$ where $r _ { i , i + 1 }$ is generated with a pseudo-random \n100 generator using a key pre-shared between $P _ { i }$ and $P _ { i + 1 }$ . The resulting sum $x y = \\hat { z } _ { 0 } ^ { \\prime } + z _ { 1 } ^ { \\prime } + z _ { 2 } ^ { \\prime }$ is \n101 pseudo-random, and it is thus secure for $P _ { i }$ to send $z _ { i } ^ { \\prime }$ to $P _ { i + 1 }$ in order to create a replicated secret \n102 sharing $\\left( ( x y ) _ { i - 1 } , ( x y ) _ { i + 1 } \\right) = \\left( z _ { i } ^ { \\prime } , z _ { i - 1 } ^ { \\prime } \\right)$ . ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
143,
|
| 270 |
+
458,
|
| 271 |
+
825,
|
| 272 |
+
585
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "103 3 Secure Computation Building Blocks ",
|
| 279 |
+
"text_level": 1,
|
| 280 |
+
"bbox": [
|
| 281 |
+
142,
|
| 282 |
+
602,
|
| 283 |
+
514,
|
| 284 |
+
619
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "104 In this section, we will discuss how to implement computation with MPC with a focus on how \n105 it differs from computation on CPUs or GPUs. Most of the techniques below are already known \n106 individually. To the best of our knowledge however, we are the first to put them together in an efficient \n107 and extensible framework for secure computation of deep learning training. \n108 Domain conversion Recall we that we use computation modulo $2 ^ { k }$ for $k$ being a multiple of 64 \n109 as well as 1. Given that the main operations are just addition and multiplication in the respective \n110 domain, it is desirable to compute integer arithmetic in the large domain but operations with a \n111 straight-forward binary circuit modulo two. There has been a long-running interest in this going \n112 back to least Kolesnikov et al. [2013]. We mainly rely on the approach proposed by Mohassel and \n113 114 $\\{ x _ { 0 } ^ { ( i ) } \\} _ { j = 0 } ^ { k - 1 }$ 018] and Araki et al. [20the bit decomposition of $x _ { 0 }$ . Recal, that is, $x _ { 0 } ^ { ( i ) } \\in \\{ 0 , 1 \\}$ $x \\in 2 ^ { k }$ is shand $\\begin{array} { r } { x _ { 0 } = \\sum _ { i = 0 } ^ { k - 1 } x _ { 0 } ^ { ( i ) } 2 ^ { i } } \\end{array}$ $x = x _ { 0 } + x _ { 1 } + x _ { 2 }$ . Now letlf-evident \n115 that $x _ { 0 } ^ { ( i ) } = x _ { 0 } ^ { ( i ) } + 0 + 0$ is a valid secret sharing modulo two (albeit not a random one). Furthermore, \n116 every party holding $x _ { 0 }$ can generate $x _ { 0 } ^ { ( i ) }$ . It is therefore possible for the parties to generate a secret \n117 sharing modulo two of a single share modulo $2 ^ { k }$ . Repeating this for all shares and the computing \n118 the addition as a binary circuit allows the parties to generate a secret sharing modulo two from a \n119 secret sharing modulo $\\bar { 2 } ^ { k }$ . Conversion in the other direction can be achieved using a similar technique \n120 or using daBits as described by Rotaru and Wood [2019]. In the following we will use the term \n121 mixed-circuit computation for any technique that works over both computation domains. \n122 Quantization While Aliasgari et al. [2013] showed that it is possible to implement floating-point \n123 computation, the cost is far higher than integer computation. It is therefore common to represent \n124 fractional numbers using quantization (also called fixed-point representation) as suggested by Catrina \n125 and Saxena [2010]. A real number $x$ is represented as $\\bar { \\boldsymbol { x } } = \\lfloor \\boldsymbol { x } \\cdot \\mathbf { \\bar { 2 } } ^ { f } \\rceil$ where $f$ is an integer specifying \n126 the precision. The linearity of the representation allows to compute addition by simply adding the \n127 representing integers. Multiplication however requires to adjust the result because it will have twice \n128 the precision: $( x \\cdot 2 ^ { f } ) \\cdot ( y \\cdot \\dot { 2 } ^ { f } ) = x y \\cdot 2 ^ { 2 f }$ . There are two ways to rectify this: ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
142,
|
| 293 |
+
633,
|
| 294 |
+
825,
|
| 295 |
+
689
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "",
|
| 302 |
+
"bbox": [
|
| 303 |
+
140,
|
| 304 |
+
703,
|
| 305 |
+
825,
|
| 306 |
+
911
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "",
|
| 313 |
+
"bbox": [
|
| 314 |
+
142,
|
| 315 |
+
90,
|
| 316 |
+
825,
|
| 317 |
+
189
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 3
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "• An obvious correction would be to shift the result by $f$ bits after adding $2 ^ { f - 1 }$ to the integer representation. This ensures rounding to the nearest number possible in the representation, with the tie being broken by rounding up. Dalskov et al. [2021] presented an efficient implementation of the truncation using mixed-circuit computation. ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
218,
|
| 326 |
+
200,
|
| 327 |
+
825,
|
| 328 |
+
257
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 3
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "• However, Catrina and Saxena have found that in the context of secure computation it is more efficient to use probabilistic truncation. This method rounds up or down probabilistically depending on the input. For example, probabilistically rounding 0.75 to an integer would see it rounded of up with probability 0.75 and down with probability 0.25. The probabilistic truncation is an effect of the fact that the operation involves the truncation of a randomized value, that is the computation of $\\left\\lfloor ( x + r ) / 2 ^ { m } \\right\\rfloor$ for a random $m$ -bit value $r$ . It is easy to see that ",
|
| 335 |
+
"bbox": [
|
| 336 |
+
217,
|
| 337 |
+
262,
|
| 338 |
+
825,
|
| 339 |
+
359
|
| 340 |
+
],
|
| 341 |
+
"page_idx": 3
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"type": "equation",
|
| 345 |
+
"img_path": "images/8c5c9712adea6b5b528c5e11a746ad687533c04d65eda8941ed882721c5e70cc.jpg",
|
| 346 |
+
"text": "$$\n\\lfloor ( x + r ) / 2 ^ { m } \\rfloor = \\left\\{ \\begin{array} { l l } { \\lfloor x / 2 ^ { m } \\rfloor } & { ( x \\bmod 2 ^ { m } + r ) < 2 ^ { m } } \\\\ { \\lfloor x / 2 ^ { m } \\rfloor + 1 } & { ( x \\bmod 2 ^ { m } + r ) \\ge 2 ^ { m } . } \\end{array} \\right.\n$$",
|
| 347 |
+
"text_format": "latex",
|
| 348 |
+
"bbox": [
|
| 349 |
+
334,
|
| 350 |
+
358,
|
| 351 |
+
720,
|
| 352 |
+
393
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 3
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "text",
|
| 358 |
+
"text": "Therefore, the larger $( x \\bmod 2 ^ { m } )$ ) is, the more likely the latter condition is true. Dalskov et al. [2020] present an efficient protocol in our security model. ",
|
| 359 |
+
"bbox": [
|
| 360 |
+
230,
|
| 361 |
+
398,
|
| 362 |
+
823,
|
| 363 |
+
428
|
| 364 |
+
],
|
| 365 |
+
"page_idx": 3
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"type": "text",
|
| 369 |
+
"text": "142 Our quantization scheme is related to quantized neural networks (see e.g. Hubara et al. [2016]). \n143 However, our consideration is not to compress the model, but to improve the computational speed \n144 and save communication cost. \n145 Dot products Dot products are an essential building block of linear computation such as matrix \n146 multiplication. In the light of quantization, it is possible to reduce the usage of truncation by deferring \n147 after the summation. In other words, the dot product in the integer representations is computed before \n148 truncating. This not only reduces the truncation error, it is also more efficient because the truncation \n149 is the most expensive part in quantized secure multiplication. Similarly, our protocol allows to defer \n150 the communication needed for multiplication. Let $\\vec { x }$ and $\\vec { y }$ be two vectors where the elements are \n151 secret shared, that is, $\\{ x ^ { ( i ) } \\} = x _ { 0 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } + x _ { 2 } ^ { ( i ) }$ and similarly for $\\boldsymbol y ^ { ( i ) }$ . The inner product then is ",
|
| 370 |
+
"bbox": [
|
| 371 |
+
142,
|
| 372 |
+
438,
|
| 373 |
+
826,
|
| 374 |
+
481
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 3
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "",
|
| 381 |
+
"bbox": [
|
| 382 |
+
140,
|
| 383 |
+
496,
|
| 384 |
+
825,
|
| 385 |
+
599
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "equation",
|
| 391 |
+
"img_path": "images/36540aeb1a5d2f89955c3e16fde0f520a4fd1af5a546d08dd4d4fe06ee6c50ec.jpg",
|
| 392 |
+
"text": "$$\n\\begin{array} { r l } & { \\displaystyle \\sum _ { i } x ^ { ( i ) } \\cdot y ^ { ( i ) } = \\sum _ { i } ( x _ { 0 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } + x _ { 2 } ^ { ( i ) } ) \\cdot ( y _ { 0 } ^ { ( i ) } + y _ { 1 } ^ { ( i ) } + y _ { 2 } ^ { ( i ) } ) } \\\\ & { \\quad \\quad \\quad \\quad = \\displaystyle \\sum _ { i } ( x _ { 0 } ^ { ( i ) } y _ { 0 } ^ { ( i ) } + x _ { 0 } ^ { ( i ) } y _ { 1 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } y _ { 0 } ^ { ( i ) } ) + \\sum _ { i } ( x _ { 1 } ^ { ( i ) } y _ { 1 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } y _ { 2 } ^ { ( i ) } + x _ { 1 } ^ { ( i ) } y _ { 1 } ^ { ( i ) } ) } \\\\ & { \\quad \\quad \\quad \\quad + \\displaystyle \\sum _ { i } ( x _ { 2 } ^ { ( i ) } y _ { 2 } ^ { ( i ) } + x _ { 2 } ^ { ( i ) } y _ { 0 } ^ { ( i ) } + x _ { 0 } ^ { ( i ) } y _ { 2 } ^ { ( i ) } ) . } \\end{array}\n$$",
|
| 393 |
+
"text_format": "latex",
|
| 394 |
+
"bbox": [
|
| 395 |
+
207,
|
| 396 |
+
604,
|
| 397 |
+
789,
|
| 398 |
+
708
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 3
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "152 The three sums in the last term can be compute locally by one party each before applying the same \n153 protocol as for a single multiplication. \n154 Comparisons Arithmetic secret sharing does not allow to access the individual bits directly. It \n155 is therefore not straightforward to compute comparisons such as “less than”. There is a long line \n156 of literature on how to achieve this going back to at least Damgård et al. [2006]. More recently, \n157 most attention has been given to combine the power of arithmetic and binary secret sharing in \n158 order to combine the best of worlds. One possibility to do so is to plainly convert to the binary \n159 domain and compute the comparison circuit there. In our concrete implementation we use the more \n160 efficient approach by Mohassel and Rindal [2018]. It starts by taking the difference of the two \n161 inputs. Computing the comparison then reduces to comparing to zero, which in turn is equivalent \n162 to extracting the most significant bit as it indicates the sign. The latter is achieved by converting \n163 the shares locally to bit-wise sharing of the arithmetic shares, which sum up to the secret value. It \n164 remains to compute the sum of the binary shares in order to come up with the most significant bit. \n165 Oblivious Selection Plain secure computation does not allow branching because the parties would \n166 need to be aware which branch is followed. Conditional assignment can be implemented as follows \n167 however. If $b \\in \\{ 0 , 1 \\}$ denotes the condition, $x + b \\cdot ( y - x )$ is either $x$ or $y$ depending on $b$ . If the \n168 condition is available in binary secret sharing but $x$ and $y$ in arithmetic secret sharing, $b$ has to be \n169 converted to the latter. This can be done using a daBit as introduced by Rotaru and Wood [2019], \n170 which is a secret random bit shared both in arithmetic and binary. It allows to mask a bit in one world \n171 by XORing it. The result is then revealed and the masking is undone in the other world. \n172 Division Catrina and Saxena [2010] have shown how to implement quantized division using the \n173 algorithm by Goldschmidt [1964]. It mainly uses arithmetic and the probabilistic truncation already \n174 explained. In addition, the initial approximation requires a full bit decomposition as described above. \n175 The error of the output depends on the error in the multiplications used for Goldschmidt’s iteration, \n176 which compounds in particular when using probabilistic truncation. Due to the nature of secure \n177 computation, the result of division by zero is undefined. One could obtain a secret failure bit by \n178 testing the divisor to zero. However, we found that not to be necessary in our algorithm. This is \n179 because we only use division by secret value only for the softmax function where the it is guaranteed \n180 to strictly positive. \n181 Logarithm Computation logarithm with any public base can be reduced to logarithm to base two \n182 using $\\log _ { x } y = \\log _ { 2 } y \\cdot \\log _ { x } 2$ . Aly and Smart [2019] have proposed computing $y = a \\cdot 2 ^ { b }$ where \n183 $a \\in [ 0 . 5 , 1 )$ and $b \\in \\mathbb { Z }$ . This then allows to compute $\\log _ { 2 } y = \\log _ { 2 } a + b$ . Given the restricted range \n184 of $a$ , $\\log _ { 2 } a$ can be approximated using a division of polynomials. Numerical stability and input range \n185 control are less of an issue here because we only use logarithm for the loss computation, which does \n186 not influence the training. \n187 Exponentiation By using $x ^ { y } = 2 ^ { y \\log _ { 2 } x }$ , any exponentiation can be reduced to exponentiation \n188 with base two. Aly and Smart [2019] have shown how to compute $2 ^ { a } = 2 ^ { \\lfloor a \\rfloor } \\cdot 2 ^ { a - \\lfloor a \\rfloor }$ by computing \n189 the two exponents using bit decomposition and the second factor using a polynomial approximation. \n190 Regarding the first factor, if $\\begin{array} { r } { b = \\sum _ { i \\geq 0 } b _ { i } 2 ^ { i } } \\end{array}$ is an integer with $b _ { i } \\in \\{ 0 , 1 \\}$ , ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
148,
|
| 407 |
+
714,
|
| 408 |
+
823,
|
| 409 |
+
743
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 3
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "",
|
| 416 |
+
"bbox": [
|
| 417 |
+
140,
|
| 418 |
+
758,
|
| 419 |
+
825,
|
| 420 |
+
911
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 3
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "",
|
| 427 |
+
"bbox": [
|
| 428 |
+
142,
|
| 429 |
+
90,
|
| 430 |
+
825,
|
| 431 |
+
189
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 4
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "",
|
| 438 |
+
"bbox": [
|
| 439 |
+
140,
|
| 440 |
+
203,
|
| 441 |
+
825,
|
| 442 |
+
328
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 4
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "",
|
| 449 |
+
"bbox": [
|
| 450 |
+
140,
|
| 451 |
+
342,
|
| 452 |
+
825,
|
| 453 |
+
426
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 4
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "",
|
| 460 |
+
"bbox": [
|
| 461 |
+
142,
|
| 462 |
+
439,
|
| 463 |
+
826,
|
| 464 |
+
500
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "equation",
|
| 470 |
+
"img_path": "images/8c23276368b1b8c7d81c896fefea584c2c7d3d49e6ccd58490eca1b2a9f47135.jpg",
|
| 471 |
+
"text": "$$\n2 ^ { b } = 2 ^ { \\sum _ { i \\geq 0 } b _ { i } 2 ^ { i } } = \\prod _ { i \\geq 0 } 2 ^ { b _ { i } 2 ^ { i } } = \\prod _ { i \\geq 0 } ( 1 + b _ { i } \\cdot ( 2 ^ { 2 ^ { i } } - 1 ) ) .\n$$",
|
| 472 |
+
"text_format": "latex",
|
| 473 |
+
"bbox": [
|
| 474 |
+
320,
|
| 475 |
+
506,
|
| 476 |
+
678,
|
| 477 |
+
542
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 4
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "191 As with division the numerical stability depends on the truncation used for multiplication. ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
150,
|
| 486 |
+
547,
|
| 487 |
+
759,
|
| 488 |
+
564
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Inverse square root Aly and Smart [2019] have proposed to compute square root using Goldschmidt and Raphson-Newton iterations. We could combine this with the division above. However, Lu et al. [2020] have proposed a more direct computation that avoids running two successive iterations. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
163,
|
| 497 |
+
577,
|
| 498 |
+
825,
|
| 499 |
+
621
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "Uniformly random fractional number Limiting ourselves to intervals of the form $[ x , x + 2 ^ { e } ]$ for a potentially negative integer $e$ , we can reduce the problem to generate a random $( f + { \\dot { e } } )$ -bit number where $f$ is the fixed-point precision. Recall that we represent a fractional number $x$ as $\\lfloor x \\cdot 2 ^ { - f } \\rceil$ Generating a random $n$ -bit number is straight-forward using random bits, which in our protocol can be generated as presented by Damgård et al. [2019]. In the context of our protocol however, Dalskov et al. [2021] have a presented a more efficient approach that involves mixed-circuit computation. ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
171,
|
| 508 |
+
633,
|
| 509 |
+
825,
|
| 510 |
+
719
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 4
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "Communication cost Table 1 show the total communication cost of some of the building blocks in our protocol for $f = 3 2$ . This setting mandates the modulus $2 ^ { 1 2 8 }$ because the division protocol requires bit length $4 f$ . ",
|
| 517 |
+
"bbox": [
|
| 518 |
+
171,
|
| 519 |
+
733,
|
| 520 |
+
825,
|
| 521 |
+
776
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 4
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "text",
|
| 527 |
+
"text": "4 Machine Learning Building Blocks ",
|
| 528 |
+
"text_level": 1,
|
| 529 |
+
"bbox": [
|
| 530 |
+
165,
|
| 531 |
+
795,
|
| 532 |
+
496,
|
| 533 |
+
813
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "In this section, we will use the building blocks in Section 3 to construct high-level computational modules for deep learning. ",
|
| 540 |
+
"bbox": [
|
| 541 |
+
174,
|
| 542 |
+
825,
|
| 543 |
+
823,
|
| 544 |
+
854
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 4
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "Fully connected layers Both forward and back-propagation of fully connected layers can be seen as matrix multiplications and thus can be implemented using dot products. A particular challenge in secure computation is to compute a number of outputs in parallel in order to save communication ",
|
| 551 |
+
"bbox": [
|
| 552 |
+
173,
|
| 553 |
+
869,
|
| 554 |
+
823,
|
| 555 |
+
911
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "table",
|
| 561 |
+
"img_path": "images/9fd53d77e94058a5729b0569126beb6fc6cee5af420d0afe5b03e2771b4647cb.jpg",
|
| 562 |
+
"table_caption": [
|
| 563 |
+
"Table 1: Communication cost of select computation for $f = 3 2$ and integer modulus $2 ^ { 1 2 8 }$ "
|
| 564 |
+
],
|
| 565 |
+
"table_footnote": [],
|
| 566 |
+
"table_body": "<table><tr><td></td><td>Bits</td></tr><tr><td>Integer multiplication</td><td>384</td></tr><tr><td>Probabilistic truncation Nearest truncation</td><td>1,536 4,462</td></tr><tr><td>Comparison</td><td>1,369</td></tr><tr><td>Division (prob. truncation)</td><td>29,866</td></tr><tr><td>Division (nearest truncation)</td><td>57,798</td></tr><tr><td>Exponentiation (prob. truncation)</td><td>77,684</td></tr><tr><td>Exponentiation (nearest truncation)</td><td></td></tr><tr><td></td><td>171,638</td></tr><tr><td>Invert square root (prob. truncation) Invert square root (nearest truncation)</td><td>20,073 27,699</td></tr></table>",
|
| 567 |
+
"bbox": [
|
| 568 |
+
328,
|
| 569 |
+
111,
|
| 570 |
+
671,
|
| 571 |
+
280
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 5
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "10 rounds. We solve this by having a dedicated infrastructure in our implementation that computes all dot \n11 products for a matrix multiplication in a single batch, thus combining all necessary communication. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
148,
|
| 580 |
+
304,
|
| 581 |
+
825,
|
| 582 |
+
333
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "2D convolution layers Similar to fully connected layers, 2D convolution and its corresponding gradient can be implemented using only dot products, and we again compute several output values in parallel. ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
169,
|
| 591 |
+
347,
|
| 592 |
+
826,
|
| 593 |
+
390
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 5
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "215 Rectified Linear Unit (ReLU) ReLU Nair and Hinton [2010] is defined as follows: ",
|
| 600 |
+
"bbox": [
|
| 601 |
+
140,
|
| 602 |
+
402,
|
| 603 |
+
736,
|
| 604 |
+
420
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 5
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "equation",
|
| 610 |
+
"img_path": "images/6552a81b7732498e72666ed8446d188466cdfbd1913c006a8ad902a1062afcf8.jpg",
|
| 611 |
+
"text": "$$\n{ \\mathsf { R e L U } } ( x ) : = { \\left\\{ \\begin{array} { l l } { x , } & { { \\mathrm { i f ~ } } x > 0 } \\\\ { 0 . } & { { \\mathrm { o t h e r w i s e } } } \\end{array} \\right. }\n$$",
|
| 612 |
+
"text_format": "latex",
|
| 613 |
+
"bbox": [
|
| 614 |
+
398,
|
| 615 |
+
424,
|
| 616 |
+
594,
|
| 617 |
+
460
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 5
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "216 It can thus be implemented as a comparison followed by an oblivious selection. For back-propagation, \n217 it is advantageous to reuse the comparison results from forward propagation due to the relatively high \n218 cost in secure computation. Note that the comparison results are stored in secret-shared form and \n219 thus there is no reduction in security. \n220 Max pooling Similar to ReLU, max pooling can be reduced to comparison and oblivious selection. \n221 In secure computation, it saves communication rounds if the process uses a balanced tree rather than \n222 iterating over all input values of one maximum computation. For back-propagation it again pays off \n223 to the store intermediate results from forward propagation, again in secret-shared form. \n224 Softmax and cross entropy loss This combination requires computing the following gradient for \n225 back-propagation: ",
|
| 624 |
+
"bbox": [
|
| 625 |
+
140,
|
| 626 |
+
465,
|
| 627 |
+
825,
|
| 628 |
+
522
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 5
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "",
|
| 635 |
+
"bbox": [
|
| 636 |
+
140,
|
| 637 |
+
535,
|
| 638 |
+
826,
|
| 639 |
+
593
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "text",
|
| 645 |
+
"text": "",
|
| 646 |
+
"bbox": [
|
| 647 |
+
148,
|
| 648 |
+
606,
|
| 649 |
+
825,
|
| 650 |
+
635
|
| 651 |
+
],
|
| 652 |
+
"page_idx": 5
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"type": "equation",
|
| 656 |
+
"img_path": "images/eae777e4bc355b0a5c52d65a7001eadc3f0665c189d84dfb531be701ff493e40.jpg",
|
| 657 |
+
"text": "$$\n\\nabla i : = \\frac { \\partial \\ell } { \\partial x _ { i } } = \\frac { \\partial } { \\partial x _ { i } } \\Big ( - \\sum _ { k } y _ { k } \\cdot x _ { k } + \\log \\sum _ { j } e ^ { x _ { j } } \\Big ) = - y _ { i } + \\frac { e ^ { x _ { i } } } { \\sum _ { j } e ^ { x _ { j } } } ,\n$$",
|
| 658 |
+
"text_format": "latex",
|
| 659 |
+
"bbox": [
|
| 660 |
+
271,
|
| 661 |
+
638,
|
| 662 |
+
725,
|
| 663 |
+
679
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 5
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "226 where $y _ { i }$ denotes an element of the ground truth as a one-hot vector, and $x _ { i }$ denotes the output of the \n227 last layer. \n228 On the right hand side of eq. (1), the values in the denominator are potentially large due to the use \n229 of the exponential. This is prone to numerical overflow in our quantized representation because the \n230 latter puts relatively strict limits on the values. We therefore optimize the computation by computing \n231 the maximum of the input values: ",
|
| 670 |
+
"bbox": [
|
| 671 |
+
143,
|
| 672 |
+
684,
|
| 673 |
+
828,
|
| 674 |
+
713
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 5
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "",
|
| 681 |
+
"bbox": [
|
| 682 |
+
140,
|
| 683 |
+
718,
|
| 684 |
+
825,
|
| 685 |
+
775
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 5
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "equation",
|
| 691 |
+
"img_path": "images/6c2446d51ceae645baff7cf2c22ccb1d25b3d2e64c166c57a212c0dae2a3f332.jpg",
|
| 692 |
+
"text": "$$\nm = \\operatorname* { m a x } _ { j } ( \\{ x _ { j } \\} ) .\n$$",
|
| 693 |
+
"text_format": "latex",
|
| 694 |
+
"bbox": [
|
| 695 |
+
437,
|
| 696 |
+
772,
|
| 697 |
+
558,
|
| 698 |
+
796
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 5
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "232 Then we compute ",
|
| 705 |
+
"bbox": [
|
| 706 |
+
142,
|
| 707 |
+
799,
|
| 708 |
+
294,
|
| 709 |
+
814
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 5
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "equation",
|
| 715 |
+
"img_path": "images/e97d4b3c6d76abf1abd9d00e5c9538cb1f5ba3ae1df09857309d21f1c004e343.jpg",
|
| 716 |
+
"text": "$$\n{ \\frac { e ^ { x _ { i } - m } } { \\sum _ { j } e ^ { x _ { j } - m } } } = { \\frac { e ^ { x _ { i } } e ^ { - m } } { ( \\sum _ { j } e ^ { x _ { j } } ) e ^ { - m } } } = { \\frac { e ^ { x _ { i } } } { \\sum _ { j } e ^ { x _ { j } } } } .\n$$",
|
| 717 |
+
"text_format": "latex",
|
| 718 |
+
"bbox": [
|
| 719 |
+
362,
|
| 720 |
+
811,
|
| 721 |
+
635,
|
| 722 |
+
849
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 5
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "233 All the exponents on the left-most term are at most zero, and thus the dividend is at most one and the \n234 divisor is at most the number of labels (which is 10 in MNIST). The same technique can be used to \n235 compute the sigmoid activation function, as sigmoid(x) = 11+exp(−x) $\\begin{array} { r } { \\mathrm { \\begin{array} { r } { \\mathrm { i d } ( x ) = \\frac { 1 } { 1 + \\exp ( - x ) } = \\frac { \\exp ( 0 ) } { \\exp ( 0 ) + \\exp ( x ) } } } \\end{array} } \\end{array}$ is a special \n236 case of softmax. \n237 Stochastic gradient descent The model parameter update in SGD only involves basic arithmetic: \n238 $\\begin{array} { r } { \\theta _ { j } \\theta _ { j } - \\frac { \\gamma } { B } \\sum _ { i = 1 } ^ { B } \\bigtriangledown _ { i j } } \\end{array}$ where $\\theta _ { j }$ is the parameter indexed by $j , B$ is the mini-batch size, $\\gamma > 0$ is \n239 the learning rate, and $\\nabla i j$ is the gradient of the loss with respect to the ’th sample in the mini-batch \n240 and the parameter $\\theta _ { j }$ . In order to tackle the limited precision with quantization, we defer dividing by \n241 the batch size to the model update. This means that we do not divide the gradient value by the batch \n242 size when computing them as described in the previous paragraph. Instead, we divide the model \n243 update by the batch size. Since we use a batch size that is a power of two (128), it is sufficient to use \n244 probabilistic truncation instead of full-blown division. This saves both time and decreases the error. ",
|
| 729 |
+
"bbox": [
|
| 730 |
+
140,
|
| 731 |
+
851,
|
| 732 |
+
826,
|
| 733 |
+
912
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 5
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "",
|
| 740 |
+
"bbox": [
|
| 741 |
+
140,
|
| 742 |
+
90,
|
| 743 |
+
825,
|
| 744 |
+
205
|
| 745 |
+
],
|
| 746 |
+
"page_idx": 6
|
| 747 |
+
},
|
| 748 |
+
{
|
| 749 |
+
"type": "text",
|
| 750 |
+
"text": "Adam The main difference to SGD in terms of basic computational operations is the additional use of an inverse square root. We again defer the division by the batch size to just before the model update. ",
|
| 751 |
+
"bbox": [
|
| 752 |
+
161,
|
| 753 |
+
226,
|
| 754 |
+
825,
|
| 755 |
+
268
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 6
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "Parameter initialization We use the Glorot initialization by Glorot and Bengio [2010]. Besides basic operations, it mainly involves generating a uniformly random fractional value in a given interval. ",
|
| 762 |
+
"bbox": [
|
| 763 |
+
161,
|
| 764 |
+
290,
|
| 765 |
+
825,
|
| 766 |
+
319
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 6
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "250 5 Implementation ",
|
| 773 |
+
"text_level": 1,
|
| 774 |
+
"bbox": [
|
| 775 |
+
151,
|
| 776 |
+
344,
|
| 777 |
+
338,
|
| 778 |
+
361
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 6
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "51 We built our implementation on MP-SPDZ by Keller [2020]. MP-SPDZ not only implements a \n52 range of MPC protocols, it also comes with a high-level library containing the building blocks in \n253 Section 3. MP-SPDZ already featured capabilities to train dense neural networks as well as inference \n254 for convolutional neural networks. We have added backward propagation for a number of layer types, \n255 including 2D convolution. Furthermore, we have corrected a bug in the backward propagation for \n256 dense layers. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
150,
|
| 787 |
+
378,
|
| 788 |
+
825,
|
| 789 |
+
463
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 6
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "MP-SPDZ allows implementing the computation in Python code, which is then compiled a specific bytecode. This code can be execute by a virtual machine executing the actual secure computation. The process allows to optimize the computation in the context of MPC. ",
|
| 796 |
+
"bbox": [
|
| 797 |
+
173,
|
| 798 |
+
469,
|
| 799 |
+
826,
|
| 800 |
+
511
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 6
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "The framework also features an emulator that executes the exact computation that could be done securely in the clear. This allowed us to collect the accuracy figures in the next section at a lower cost. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
161,
|
| 809 |
+
517,
|
| 810 |
+
825,
|
| 811 |
+
546
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "262 It is licensed under a BSD-style license, which allows to extend the code. ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
147,
|
| 820 |
+
551,
|
| 821 |
+
655,
|
| 822 |
+
566
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 6
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "63 6 MNIST ",
|
| 829 |
+
"text_level": 1,
|
| 830 |
+
"bbox": [
|
| 831 |
+
155,
|
| 832 |
+
593,
|
| 833 |
+
267,
|
| 834 |
+
609
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 6
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "For a concrete measurement of accuracy and running times, we have implemented training for the well-known MNIST dataset by LeCun et al. [2010]. We work mainly with the models that have been used by Wagh et al. [2019] with secure computation, and we will reuse their numbering (A–D). The models contain up to four linear layers. Network C is a convolutional neural network going back to the seminal work by LeCun et al. [1998] whereas the others are simpler networks that have been proposed by works on secure computation such as Mohassel and Zhang [2017], Liu et al. [2017], and Riazi et al. [2018]. We present the networks as Keras code in the supplemental material. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
166,
|
| 843 |
+
628,
|
| 844 |
+
825,
|
| 845 |
+
726
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 6
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "Figure 2 shows the results for various quantization precisions and and the two rounding options. We have used SGD with learning rate 0.01, batch size 128, and the usual MNIST training/test split. $f = 6 4$ is the best option with probabilistic rounding, improving on both $f = 1 6$ and $f = 3 2$ Furthermore, nearest rounding performs worse that probabilistic for $f = 1 6$ and $f = 3 2$ . Due to the high cost, we only ran $f = 3 2$ with probabilistic rounding several times. The range is indicate by the shaded area. We focus on $f = 3 2$ because it offers the faster convergence. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
171,
|
| 854 |
+
731,
|
| 855 |
+
825,
|
| 856 |
+
815
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 6
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "Figure 3 then shows the result with a variety of optimizers. While increasing the learning rate for SGD leads to a lower stability, Adam exposes a smoother learning learning curve albeit not a faster process. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
168,
|
| 865 |
+
820,
|
| 866 |
+
825,
|
| 867 |
+
863
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 6
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "280 Finally, Figures 4 shows our results for all networks used by Wagh et al. [2019]. As one would expect, \n281 the most sophisticated network performs best. Somewhat surprisingly, however, Network A (without \n282 convolutional layers) performs better than the simpler networks containing convolutional layers. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
145,
|
| 876 |
+
869,
|
| 877 |
+
825,
|
| 878 |
+
911
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 6
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "image",
|
| 884 |
+
"img_path": "images/3a38cf90fbe641b15f4921c674ee686f614e2a42472767f16d74facf9f248ace.jpg",
|
| 885 |
+
"image_caption": [
|
| 886 |
+
"Figure 2: Loss and accuracy for network C and precision options when running SGD with rate 0.01. "
|
| 887 |
+
],
|
| 888 |
+
"image_footnote": [],
|
| 889 |
+
"bbox": [
|
| 890 |
+
202,
|
| 891 |
+
87,
|
| 892 |
+
797,
|
| 893 |
+
329
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 7
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "image",
|
| 899 |
+
"img_path": "images/ca865aaa95abbc18690e028b3ca52b226046ffa5e278339ad08eb557c5491c91.jpg",
|
| 900 |
+
"image_caption": [
|
| 901 |
+
"Figure 3: Loss and accuracy for network C with various optimizer options, $f = 3 2$ , and probabilistic truncation. "
|
| 902 |
+
],
|
| 903 |
+
"image_footnote": [],
|
| 904 |
+
"bbox": [
|
| 905 |
+
197,
|
| 906 |
+
375,
|
| 907 |
+
772,
|
| 908 |
+
617
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 7
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Resources We ran the emulator on AWS c5.9xlarge instances. One epoch takes a few second to several minutes depending on the model. Overall, we estimate that we have used a few weeks worth of computing time including experiments not included here because of bugs in the code. ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
166,
|
| 917 |
+
689,
|
| 918 |
+
825,
|
| 919 |
+
731
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "6.1 Secure computation ",
|
| 926 |
+
"text_level": 1,
|
| 927 |
+
"bbox": [
|
| 928 |
+
174,
|
| 929 |
+
752,
|
| 930 |
+
351,
|
| 931 |
+
767
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 7
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "text",
|
| 937 |
+
"text": "In order to verify our emulation results, we have run Network C with precision $f \\ = \\ 3 2$ and probabilistic rounding in our actual multi-party computation protocol. We could verify that it converges on $9 8 . 5 \\%$ accuracy at 150 epochs, taking 20 hours. Table 2 compares our result to previous works in a LAN setting. Note that Wagh et al. [2019] and Wagh et al. [2021] give accuracy figures. From personal communication with the authors and the fact that the source repository for the latter work2 says that their “code has not run end-to-end training”, we derive our assessment that their figures do not reflect the secure computation. ",
|
| 938 |
+
"bbox": [
|
| 939 |
+
173,
|
| 940 |
+
780,
|
| 941 |
+
825,
|
| 942 |
+
877
|
| 943 |
+
],
|
| 944 |
+
"page_idx": 7
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"type": "image",
|
| 948 |
+
"img_path": "images/700a37281e56f21023ee263453c7785f933f7176bea7c10046675acc845cf598.jpg",
|
| 949 |
+
"image_caption": [
|
| 950 |
+
"Figure 4: Loss and accuracy for various networks, $f = 3 2$ , and probabilistic truncation. "
|
| 951 |
+
],
|
| 952 |
+
"image_footnote": [],
|
| 953 |
+
"bbox": [
|
| 954 |
+
217,
|
| 955 |
+
87,
|
| 956 |
+
784,
|
| 957 |
+
329
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 8
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "table",
|
| 963 |
+
"img_path": "images/97abf13640224b2e7ab8627c268f2fab07076453ba8f2fc10f4cc1bc2f920aae.jpg",
|
| 964 |
+
"table_caption": [
|
| 965 |
+
"Table 2: Comparison to previous work in the LAN setting. $( ^ { * } )$ Mohassel and Zhang [2017] and Agrawal et al. [2019] use a different security model and are thus incomparable. We include them for completeness. Two numbers refer to online and offline time. Accuracy N/A means that the accuracy figures were not given or computed in a way that does not reflect the secure computation. "
|
| 966 |
+
],
|
| 967 |
+
"table_footnote": [],
|
| 968 |
+
"table_body": "<table><tr><td>Network</td><td></td><td>Epoch time (s)</td><td>Acc. (# epochs)</td><td>Precision(f)</td></tr><tr><td rowspan=\"7\">A</td><td>Mohassel and Zhang [2017]</td><td>283/19333*</td><td>93.4% (15)</td><td>13</td></tr><tr><td>Mohassel and Rindal [2018]</td><td>180</td><td>94.0% (15)</td><td>N/A</td></tr><tr><td>Agrawal et al. [2019]</td><td>31392*</td><td>95.0% (10)</td><td>N/A</td></tr><tr><td>Wagh et al. [2019]</td><td>247</td><td>N/A</td><td>13</td></tr><tr><td>Wagh et al. [2021]</td><td>41</td><td>N/A</td><td>13</td></tr><tr><td>Ours</td><td>31</td><td>97.9% (15)</td><td>16</td></tr><tr><td>Ours</td><td>50</td><td>97.7% (15)</td><td>32</td></tr><tr><td rowspan=\"4\">B</td><td>Wagh et al. [2019]</td><td>4176</td><td>N/A</td><td>13</td></tr><tr><td>Wagh et al. [2021]</td><td>101</td><td>N/A</td><td>13</td></tr><tr><td>Ours</td><td>144</td><td>93.6% (15)</td><td>16</td></tr><tr><td>Ours</td><td>249</td><td>94.7% (15)</td><td>32</td></tr><tr><td rowspan=\"5\">C</td><td>Wagh et al. [2019]</td><td>7188</td><td>N/A</td><td>13</td></tr><tr><td>Wagh et al. [2021]</td><td>891</td><td>N/A</td><td>13</td></tr><tr><td>Tan et al. [2021]</td><td>1036</td><td>94.0% (5)</td><td>20</td></tr><tr><td>Ours</td><td>344</td><td>94.9% (5)</td><td>16</td></tr><tr><td>Ours</td><td>643</td><td>93.8% (5)</td><td>32</td></tr><tr><td rowspan=\"3\">D</td><td>Mohassel and Rindal [2018]</td><td>234</td><td>N/A</td><td>N/A</td></tr><tr><td>Ours</td><td>41</td><td>96.8% (15)</td><td>16</td></tr><tr><td>Ours</td><td>68</td><td>96.8% (15)</td><td>32</td></tr></table>",
|
| 969 |
+
"bbox": [
|
| 970 |
+
183,
|
| 971 |
+
449,
|
| 972 |
+
815,
|
| 973 |
+
762
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 8
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "294 7 Conclusions ",
|
| 980 |
+
"text_level": 1,
|
| 981 |
+
"bbox": [
|
| 982 |
+
140,
|
| 983 |
+
800,
|
| 984 |
+
307,
|
| 985 |
+
818
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 8
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "295 We have presented an implementation of deep learning training purely in multi-party computation \n296 with extensive results on the accuracy. We have found that the lower precision of MPC computation \n297 increases the error considerably. We only have considered one particular implementation of more \n298 complex computation such as division and exponentiation, which are crucial to the learning process \n299 as part of softmax. Future work might consider different approximations of these building blocks. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
140,
|
| 994 |
+
842,
|
| 995 |
+
825,
|
| 996 |
+
911
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 8
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "",
|
| 1003 |
+
"text_level": 1,
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
150,
|
| 1006 |
+
90,
|
| 1007 |
+
267,
|
| 1008 |
+
106
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 9
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "00 References \n301 N. Agrawal, A. S. Shamsabadi, M. J. Kusner, and A. Gascón. QUOTIENT: Two-party secure neural \n302 network training and prediction. In L. Cavallaro, J. Kinder, X. Wang, and J. Katz, editors, ACM \n303 CCS 2019, pages 1231–1247. ACM Press, Nov. 2019. doi: 10.1145/3319535.3339819. \n304 M. Aliasgari, M. Blanton, Y. Zhang, and A. Steele. Secure computation on floating point numbers. \n305 In NDSS 2013. The Internet Society, Feb. 2013. \n306 A. Aly and N. P. Smart. Benchmarking privacy preserving scientific operations. In R. H. Deng, \n307 V. Gauthier-Umaña, M. Ochoa, and M. Yung, editors, ACNS 19, volume 11464 of LNCS, pages \n308 509–529. Springer, Heidelberg, June 2019. doi: 10.1007/978-3-030-21568-2_25. \n309 T. Araki, J. Furukawa, Y. Lindell, A. Nof, and K. Ohara. High-throughput semi-honest secure \n310 three-party computation with an honest majority. In E. R. Weippl, S. Katzenbeisser, C. Kruegel, \n311 A. C. Myers, and S. Halevi, editors, ACM CCS 2016, pages 805–817. ACM Press, Oct. 2016. doi: \n312 10.1145/2976749.2978331. \n313 T. Araki, A. Barak, J. Furukawa, M. Keller, Y. Lindell, K. Ohara, and H. Tsuchida. Generalizing \n314 the SPDZ compiler for other protocols. In D. Lie, M. Mannan, M. Backes, and X. Wang, editors, \n315 ACM CCS 2018, pages 880–895. ACM Press, Oct. 2018. doi: 10.1145/3243734.3243854. \n316 M. Barni, C. Orlandi, and A. Piva. A privacy-preserving protocol for neural-network-based computa \n317 tion. In Proceedings of the 8th workshop on Multimedia and security, pages 146–151, 2006. \n318 J. C. Benaloh and J. Leichter. Generalized secret sharing and monotone functions. In S. Goldwasser, \n319 editor, CRYPTO’88, volume 403 of LNCS, pages 27–35. Springer, Heidelberg, Aug. 1990. doi: \n320 10.1007/0-387-34799-2_3. \n321 O. Catrina and A. Saxena. Secure computation with fixed-point numbers. In R. Sion, editor, FC \n322 2010, volume 6052 of LNCS, pages 35–50. Springer, Heidelberg, Jan. 2010. \n323 M. Dahl, J. Mancuso, Y. Dupis, B. Decoste, M. Giraud, I. Livingstone, J. Patriquin, and G. Uhma. \n324 Private machine learning in tensorflow using secure computation. CoRR, abs/1810.08130, 2018. \n325 URL http://arxiv.org/abs/1810.08130. \n326 A. Dalskov, D. Escudero, and M. Keller. Fantastic four: Honest-majority four-party secure com \n327 putation with malicious security. In 30th USENIX Security Symposium (USENIX Security 21), \n328 2021. \n329 A. P. K. Dalskov, D. Escudero, and M. Keller. Secure evaluation of quantized neural networks. \n330 PoPETs, 2020(4):355–375, Oct. 2020. doi: 10.2478/popets-2020-0077. \n331 I. Damgård, M. Fitzi, E. Kiltz, J. B. Nielsen, and T. Toft. Unconditionally secure constant-rounds \n332 multi-party computation for equality, comparison, bits and exponentiation. In S. Halevi and \n333 T. Rabin, editors, TCC 2006, volume 3876 of LNCS, pages 285–304. Springer, Heidelberg, Mar. \n334 2006. doi: 10.1007/11681878_15. \n335 I. Damgård, D. Escudero, T. K. Frederiksen, M. Keller, P. Scholl, and N. Volgushev. New primitives \n336 for actively-secure MPC over rings with applications to private machine learning. In 2019 IEEE \n337 Symposium on Security and Privacy, pages 1102–1120. IEEE Computer Society Press, May 2019. \n338 doi: 10.1109/SP.2019.00078. \n339 H. Eerikson, M. Keller, C. Orlandi, P. Pullonen, J. Puura, and M. Simkin. Use your brain! Arithmetic \n340 3PC for any modulus with active security. In Y. T. Kalai, A. D. Smith, and D. Wichs, editors, ITC \n341 2020, pages 5:1–5:24. Schloss Dagstuhl, June 2020. doi: 10.4230/LIPIcs.ITC.2020.5. \n342 X. Glorot and Y. Bengio. Understanding the difficulty of training deep feedforward neural networks. \n343 In Proceedings of the thirteenth international conference on artificial intelligence and statistics, \n344 pages 249–256. JMLR Workshop and Conference Proceedings, 2010. \n345 R. E. Goldschmidt. Applications of division by convergence. Master’s thesis, MIT, 1964. \n346 D. Gunning, A. Hannun, M. Ibrahim, B. Knott, L. van der Maaten, V. Reis, S. Sengupta, S. Venkatara \n347 man, and X. Zhou. Crypten: A new research tool for secure machine learning with pytorch, \n348 2019. \n349 I. Hubara, M. Courbariaux, D. Soudry, R. El-Yaniv, and Y. Bengio. Binarized neural networks. In \n350 Advances in Neural Information Processing Systems, volume 29. Curran Associates, Inc., 2016. \n351 M. Keller. MP-SPDZ: A versatile framework for multi-party computation. In J. Ligatti, X. Ou, \n352 J. Katz, and G. Vigna, editors, ACM CCS 20, pages 1575–1590. ACM Press, Nov. 2020. doi: \n353 10.1145/3372297.3417872. \n354 M. Keller and K. Sun. Effectiveness of MPC-friendly softmax replacement, 2020. \n355 V. Kolesnikov, A.-R. Sadeghi, and T. Schneider. A systematic approach to practically efficient general \n356 two-party secure function evaluation protocols and their modular design. Journal of Computer \n357 Security, 21(2):283–315, 2013. \n358 Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document \n359 recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. \n360 Y. LeCun, C. Cortes, and C. Burges. Mnist handwritten digit database. ATT Labs [Online]. Avail \n361 able: http: // yann. lecun. com/ exdb/ mnist , 2, 2010. Creative Commons Attribution-Share \n362 Alike 3.0 license, https://creativecommons.org/licenses/by-sa/3.0/. \n363 J. Liu, M. Juuti, Y. Lu, and N. Asokan. Oblivious neural network predictions via MiniONN \n364 transformations. In B. M. Thuraisingham, D. Evans, T. Malkin, and D. Xu, editors, ACM CCS \n365 2017, pages 619–631. ACM Press, Oct. / Nov. 2017. doi: 10.1145/3133956.3134056. \n366 W.-j. Lu, Y. Fang, Z. Huang, C. Hong, C. Chen, H. Qu, Y. Zhou, and K. Ren. Faster secure multiparty \n367 computation of adaptive gradient descent. In Proceedings of the 2020 Workshop on Privacy \n368 Preserving Machine Learning in Practice, PPMLP’20, page 47–49, New York, NY, USA, 2020. \n369 Association for Computing Machinery. ISBN 9781450380881. doi: 10.1145/3411501.3419427. \n370 URL https://doi.org/10.1145/3411501.3419427. \n371 P. Mohassel and P. Rindal. ABY3: A mixed protocol framework for machine learning. In D. Lie, \n372 M. Mannan, M. Backes, and X. Wang, editors, ACM CCS 2018, pages 35–52. ACM Press, Oct. \n373 2018. doi: 10.1145/3243734.3243760. \n374 P. Mohassel and Y. Zhang. SecureML: A system for scalable privacy-preserving machine learning. \n375 In 2017 IEEE Symposium on Security and Privacy, pages 19–38. IEEE Computer Society Press, \n376 May 2017. doi: 10.1109/SP.2017.12. \n377 V. Nair and G. E. Hinton. Rectified linear units improve Restricted Boltzmann machines. In Pro \n378 ceedings of the 27th International Conference on International Conference on Machine Learning, \n379 ICML’10, pages 807–814, 2010. \n380 D. L. Quoc, F. Gregor, S. Arnautov, R. Kunkel, P. Bhatotia, and C. Fetzer. securetf: A secure \n381 tensorflow framework. CoRR, abs/2101.08204, 2021. URL https://arxiv.org/abs/2101. \n382 08204. \n383 M. S. Riazi, C. Weinert, O. Tkachenko, E. M. Songhori, T. Schneider, and F. Koushanfar. Chameleon: \n384 A hybrid secure computation framework for machine learning applications. In J. Kim, G.-J. Ahn, \n385 S. Kim, Y. Kim, J. López, and T. Kim, editors, ASIACCS 18, pages 707–721. ACM Press, Apr. \n386 2018. \n387 D. Rotaru and T. Wood. MArBled circuits: Mixing arithmetic and Boolean circuits with active \n388 security. In F. Hao, S. Ruj, and S. Sen Gupta, editors, INDOCRYPT 2019, volume 11898 of LNCS, \n389 pages 227–249. Springer, Heidelberg, Dec. 2019. doi: 10.1007/978-3-030-35423-7_12. \n390 T. Ryffel, A. Trask, M. Dahl, B. Wagner, J. Mancuso, D. Rueckert, and J. Passerat-Palmbach. A \n391 generic framework for privacy preserving deep learning. CoRR, abs/1811.04017, 2018. URL \n392 http://arxiv.org/abs/1811.04017. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
140,
|
| 1017 |
+
94,
|
| 1018 |
+
830,
|
| 1019 |
+
919
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 9
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
137,
|
| 1028 |
+
59,
|
| 1029 |
+
830,
|
| 1030 |
+
917
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 10
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "3 S. Tan, B. Knott, Y. Tian, and D. J. Wu. CryptGPU: Fast privacy-preserving machine learning on the GPU, 2021. \nS. Wagh, D. Gupta, and N. Chandran. SecureNN: 3-party secure computation for neural network training. PoPETs, 2019(3):26–49, July 2019. doi: 10.2478/popets-2019-0035. \nS. Wagh, S. Tople, F. Benhamouda, E. Kushilevitz, P. Mittal, and T. Rabin. Falcon: Honest-majority maliciously secure framework for private deep learning. PoPETs, 2021(1):188–208, Jan. 2021. doi: 10.2478/popets-2021-0011. ",
|
| 1037 |
+
"bbox": [
|
| 1038 |
+
155,
|
| 1039 |
+
90,
|
| 1040 |
+
826,
|
| 1041 |
+
209
|
| 1042 |
+
],
|
| 1043 |
+
"page_idx": 11
|
| 1044 |
+
},
|
| 1045 |
+
{
|
| 1046 |
+
"type": "text",
|
| 1047 |
+
"text": "Checklist ",
|
| 1048 |
+
"text_level": 1,
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
143,
|
| 1051 |
+
234,
|
| 1052 |
+
254,
|
| 1053 |
+
251
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 11
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "1. For all authors... ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
214,
|
| 1062 |
+
261,
|
| 1063 |
+
339,
|
| 1064 |
+
275
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 11
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See Section 7. \n(c) Did you discuss any potential negative societal impacts of your work? [No] We only work with MNIST, and we believe that the potential negative impacts associated to it are very low. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
238,
|
| 1073 |
+
280,
|
| 1074 |
+
825,
|
| 1075 |
+
398
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 11
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "2. If you are including theoretical results... ",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
214,
|
| 1084 |
+
402,
|
| 1085 |
+
493,
|
| 1086 |
+
417
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 11
|
| 1089 |
+
},
|
| 1090 |
+
{
|
| 1091 |
+
"type": "text",
|
| 1092 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] (b) Did you include complete proofs of all theoretical results? [N/A] ",
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
238,
|
| 1095 |
+
421,
|
| 1096 |
+
738,
|
| 1097 |
+
453
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 11
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "3. If you ran experiments... ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
212,
|
| 1106 |
+
457,
|
| 1107 |
+
393,
|
| 1108 |
+
472
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 11
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] We include all code in the supplemental material, and the references include the URL for MNIST. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 6. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] Only in Figure 2. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See Section 6. ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
238,
|
| 1117 |
+
476,
|
| 1118 |
+
825,
|
| 1119 |
+
608
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 11
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
215,
|
| 1128 |
+
612,
|
| 1129 |
+
823,
|
| 1130 |
+
627
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 11
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See Section 6. \n(b) Did you mention the license of the assets? [Yes] See the references and and Section 5. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Our code is included the supplemental material. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
238,
|
| 1139 |
+
631,
|
| 1140 |
+
825,
|
| 1141 |
+
752
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 11
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
214,
|
| 1150 |
+
756,
|
| 1151 |
+
705,
|
| 1152 |
+
771
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 11
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
238,
|
| 1161 |
+
775,
|
| 1162 |
+
825,
|
| 1163 |
+
864
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 11
|
| 1166 |
+
}
|
| 1167 |
+
]
|
parse/train/NiM9Q7Z95z/NiM9Q7Z95z_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/NiM9Q7Z95z/NiM9Q7Z95z_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vlm/train/0-EYBhgw80y/0.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/1.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/10.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/11.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/12.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/13.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/14.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/2.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/3.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/4.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/5.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/6.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/7.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/8.png
ADDED
|
Git LFS Details
|
vlm/train/0-EYBhgw80y/9.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/0.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/1.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/10.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/11.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/12.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/13.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/14.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/15.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/2.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/3.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/4.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/5.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/6.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/7.png
ADDED
|
Git LFS Details
|
vlm/train/3SV-ZePhnZM/8.png
ADDED
|
Git LFS Details
|