ZHANGYUXUAN-zR commited on
Commit
b8d4b09
·
verified ·
1 Parent(s): c069fbf

Add files using upload-large-folder tool

Browse files
parse/dev/3Pbra-_u76D/3Pbra-_u76D.md ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RETHINKING NETWORK DESIGN AND LOCAL GEOMETRY IN POINT CLOUD: A SIMPLE RESIDUAL MLP FRAMEWORK
2
+
3
+ Xu $\mathbf { M a } ^ { 1 }$ , Can ${ \bf { Q } i n } ^ { 1 }$ , Haoxuan $\mathbf { Y o u } ^ { 2 }$ , Haoxi Ran1, Yun Fu1 1Northeastern University, Boston, MA, USA 2Columbia University, New York, NY, USA {ma.xu1,qin.ca,ran.h}@northeastern.edu {haoxuanyou,ranhaoxi}@gmail.com yunfu@ece.neu.edu
4
+
5
+ # ABSTRACT
6
+
7
+ Point cloud analysis is challenging due to irregularity and unordered data structure. To capture the 3D geometries, prior works mainly rely on exploring sophisticated local geometric extractors using convolution, graph, or attention mechanisms. These methods, however, incur unfavorable latency during inference, and the performance saturates over the past few years. In this paper, we present a novel perspective on this task. We notice that detailed local geometrical information probably is not the key to point cloud analysis – we introduce a pure residual MLP network, called PointMLP, which integrates no “sophisticated” local geometrical extractors but still performs very competitively. Equipped with a proposed lightweight geometric affine module, PointMLP delivers the new stateof-the-art on multiple datasets. On the real-world ScanObjectNN dataset, our method even surpasses the prior best method by $3 . 3 \%$ accuracy. We emphasize that PointMLP achieves this strong performance without any sophisticated operations, hence leading to a superior inference speed. Compared to most recent CurveNet, PointMLP trains $2 \times$ faster, tests $7 \times$ faster, and is more accurate on ModelNet40 benchmark. We hope our PointMLP may help the community towards a better understanding of point cloud analysis. The code is available at https://github.com/ma-xu/pointMLP-pytorch.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Lately, point cloud analysis has emerged as a popular topic in 3D understanding, attracting attention from academia and industry (Qi et al., 2017a; Shi et al., 2019; Xu et al., 2020). Different from 2D images represented by regular dense pixels, point clouds are composed of unordered and irregular sets of points $\mathcal { P } \in \bar { \mathbb { R } ^ { N \times \tilde { 3 } } }$ , making it infeasible to apply image processing methods to point cloud analysis directly. Meanwhile, the nature of sparseness and the presence of noises further restrict the performance. In the past few years, endowing with neural networks, point cloud analysis has seen a great improvement in various applications, including 3D shape classification (Qi et al., 2017a), semantic segmentation (Hu et al., 2020) and object detection (Shi & Rajkumar, 2020), etc.
12
+
13
+ Recent efforts have shown promising results for point cloud analysis by exploring local geometric information, using convolution (Li et al., 2021a), graph (Li et al., 2021a), or attention mechanism (Guo et al., 2021) (see Section 2 for details). These methods, despite their gratifying results, have mainly relied on the premise that an elaborate local extractor is essential for point cloud analysis, leading to the competition for careful designs that explore fine local geometric properties. Nevertheless, sophisticated extractors are not without drawbacks. On the one hand, due to prohibitive computations and the overhead of memory access, these sophisticated extractors hamper the efficiency of applications in natural scenes. As an example, until now, most 3D point cloud applications are still based on the simple PointNet ( and PointNet++) or the voxel-based methods (Liu et al., 2021; Li et al., 2021b; Zhang et al., 2021). However, applications that employ the aforementioned advanced methods are rare in literature. On the other hand, the booming sophisticated extractors saturate the performance since they already describe the local geometric properties well. A more complicated design is no longer to improve the performance further. These phenomena suggest that we may need to stop the race of local feature extraction designing, rethinking the necessity of elaborate local feature extractors and further revisiting the succinct design philosophy in point cloud analysis.
14
+
15
+ In this paper, we aim at the ambitious goal of building a deep network for point cloud analysis using only residual feed-forward MLPs, without any delicate local feature explorations. By doing so, we eschew the prohibitive computations and continued memory access caused by the sophisticated local geometric extractors and enjoy the advantage of efficiency from the highly-optimized MLPs. To further improve the performance and generalization ability, We introduce a lightweight local geometric affine module that adaptively transforms the point feature in a local region. We term our new network architecture as PointMLP. In the sense of MLPbased design philosophy, our PointMLP is similar to PointNet and PointNet+ $^ +$ (Qi et al., 2017a;b). However, our model is more generic and exhibits promising performance. Different from the models with sophisticated local geometric extractors (e.g., DeepGCNs (Li et al., 2019), RSCNN (Liu et al.,
16
+
17
+ ![](images/635ed58352f670fed8bd190e81fdebc6d88479acd157fa0f7e28451bbf4cf84e.jpg)
18
+ Figure 1: Accuracy-speed tradeoff on ModelNet40. Our PointMLP performs best. Please refer to Section 4 for details.
19
+
20
+ 2019b), RPNet (Ran et al., 2021).), our PointMLP is conceptually simpler and achieves results on par or even better than these state-of-the-art methods (see Figure 1). Keep in mind that we did not challenge the advantages of these local geometric extractors and we acknowledge their contributions; however, a more succinct framework should be studied considering both the efficiency and accuracy. In Table 1, we systemically compare our PointMLP with some representative methods.
21
+
22
+ Even though the design philosophy is simple, PointMLP (as well as the elite version) exhibits superior performance on 3D point cloud analysis. Specifically, we achieve the state-of-the-art classification performance, $9 4 . 5 \%$ , on the ModelNet40 benchmark, and we outperform related works by $3 . 3 \%$ accuracy on the real-world ScanObjectNN dataset, with a significantly higher inference speed.
23
+
24
+ # 2 RELATED WORK
25
+
26
+ Point cloud analysis. There are mainly two streams to process point cloud. Since the point cloud data structure is irregular and unordered, some works consider projecting the original point clouds to intermediate voxels (Maturana & Scherer, 2015; Shi et al., 2020) or images (You et al., 2018; Li et al., 2020), translating the challenging 3D task into a well-explored 2D image problem. In this regime, point clouds understanding is largely boosted and enjoys the fast processing speed from 2D images or voxels. Albeit efficient, information loss caused by projection degrades the representational quality of details for point clouds (Yang et al., 2019). To this end, some methods are proposed to process the original point cloud sets directly. PointNet (Qi et al., 2017a) is a pioneering work that directly consumes unordered point sets as inputs using shared MLPs. Based on PointNet, PointNet+ $^ { - + }$ (Qi et al., 2017b) further introduced a hierarchical feature learning paradigm to capture the local geometric structures recursively. Owing to the local point representation (and multi-scale information), PointNet $^ { + + }$ exhibits promising results and has been the cornerstone of modern point cloud methods (Wang et al., 2019; Fan et al., 2021; Xu et al., 2021a). Our PointMLP also follows the design philosophy of PointNet++ but explores a simpler yet much deeper network architecture.
27
+
28
+ Local geometry exploration. As PointNet+ $^ +$ built the generic point cloud analysis network framework, the recent research focus is shifted to how to generate better regional points representation. Predominantly, the explorations of local points representation can be divided into three categories: convolution-, graph-, and attention-based methods. One of the most distinguished convolution-based methods is PointConv (Wu et al., 2019). By approximating continuous weight and density functions in convolutional filters using an MLP, PointConv is able to extend the dynamic filter to a new convolution operation. Also, PAConv (Xu et al., 2021a) constructs the convolution kernel by dynamically assembling basic weight matrices stored in a weight bank. Without modifying network configurations, PAConv can be seamlessly integrated into classical MLP-based pipelines. Unlike convolution-based methods, Graph-based methods investigate mutually correlated relationships among points with a graph. In Wang et al. (2019), an EdgeConv is proposed to generate edge features that describe the relationships between a point and its neighbors. By doing so, a local graph is built, and the point relationships are well preserved. In 3D-GCN (Lin et al., 2021), authors aim at deriving deformable 3D kernels using a 3D Graph Convolution Network. Closely related to graphbased methods, the attention-based methods exhibit excellent ability on relationship exploration as well, like PCT (Guo et al., 2021) and Point Transformer (Zhao et al., 2021; Engel et al., 2020). With the development of local geometry exploration, the performances on various tasks appear to be saturated. Continuing on this track would bring minimal improvements. In this paper, we showcase that even without the carefully designed operations for local geometry exploration, a pure deep hierarchical MLP architecture is able to exhibit gratifying performances and even better results.
29
+
30
+ Deep network architecture for point cloud. Interestingly, the development of point cloud analysis is closely related to the evolution of the image processing network. In the early era, works in the image processing field simply stack several learning layers to probe the performance limitations (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015; Dong et al., 2014). Then, the great success of deep learning was significantly promoted by deep neural architectures like ResNet (He et al., 2016), which brings a profound impact to various research fields. Recently, attention-based models, including atten
31
+
32
+ Table 1: Systematic comparison among some representative methods. “Deep” indicates that a model is expandable along depth. “Opt.” stands for the principal operator.
33
+
34
+ <table><tr><td>Method</td><td>hierarchy</td><td>locality</td><td>deep</td><td>opt.</td></tr><tr><td>PointNet</td><td>x/</td><td>X</td><td></td><td>MLP</td></tr><tr><td>PointNet++</td><td></td><td></td><td></td><td>MLP</td></tr><tr><td>DGCNN</td><td>X</td><td></td><td></td><td>GCN</td></tr><tr><td>DeepGCNs</td><td></td><td></td><td>xxx/</td><td>GCN</td></tr><tr><td>PointConv</td><td></td><td></td><td>X</td><td>Conv.</td></tr><tr><td>Point Trans.</td><td></td><td></td><td></td><td>Atten.</td></tr><tr><td>PointMLP</td><td></td><td></td><td></td><td>MLP</td></tr></table>
35
+
36
+ tion blocks (Wang et al., 2018) and Transformer architectures (Dosovitskiy et al., 2021), further flesh out the community. Most recently, the succinct deep MLP architectures have attracted a lot of attention due to their efficiency and generality. Point cloud analysis follows the same develop history as well, from MLP-based PointNet (Qi et al., 2017a), deep hierarchical PointNet+ $^ +$ (Qi et al., 2017b), convolution-/graph-/relation- based methods (Wu et al., 2019; Wang et al., 2019; Ran et al., 2021), to state-of-the-art Transformer-based models (Guo et al., 2021; Zhao et al., 2021). In this paper, we abandon sophisticated details and present a simple yet effective deep residual MLP network for point cloud analysis. Instead of following the tendency in the vision community deliberately, we are in pursuit of an inherently simple and empirically powerful architecture for point cloud analysis.
37
+
38
+ # 3 DEEP RESIDUAL MLP FOR POINT CLOUD
39
+
40
+ We propose to learn the point cloud representation by a simple feed-forward residual MLP network (named PointMLP), which hierarchically aggregates the local features extracted by MLPs, and abandons the use of delicate local geometric extractors. To further improve the robustness and improve the performance, we also introduce a lightweight geometric affine module to transform the local points to a normal distribution. The detailed framework of our method is illustrated in Figure 2.
41
+
42
+ # 3.1 REVISITING POINT-BASED METHODS
43
+
44
+ The design of point-based methods for point cloud analysis dates back to the PointNet and Point$\mathrm { N e t } { + + }$ papers (Qi et al., 2017a;b), if not earlier. The motivation behind this direction is to directly consume point clouds from the beginning and avoid unnecessary rendering processes.
45
+
46
+ Given a set of points $\mathcal P = \{ p _ { i } | i = 1 , \cdots , N \} \in \mathbb { R } ^ { N \times 3 }$ , where $N$ indicates the number of points in a $( x , y , z )$ Cartesian space, point-based methods aims to directly learn the underlying representation $f$ of $\mathcal { P }$ using neural networks. One of the most pioneering works is PointNet $^ { + + }$ , which learns hierarchical features by stacking multiple learning stages. In each stage, $N _ { s }$ points are re-sampled by the farthest point sampling (FPS) algorithm where $s$ indexes the stage and $K$ neighbors are employed for each sampled point and aggregated by max-pooling to capture local structures. Conceptually, the kernel operation of PointNet++ can be formulated as:
47
+
48
+ ![](images/295efa483234887acc5f296fe8f2504323ab06afe3fc5017c4d57094223bdd15.jpg)
49
+ Figure 2: Overview of one stage in PointMLP. Given an input point cloud, PointMLP progressively extracts local features using residual point MLP blocks. In each stage, we first transform the local points using a geometric affine module, then they are extracted before and after the aggregation operation, respectively. PointMLP progressively enlarges the receptive field and models complete point cloud geometric information by repeating multiple stages.
50
+
51
+ $$
52
+ g _ { i } = \mathcal { A } \left( \Phi \left( f _ { i , j } \right) \middle | j = 1 , \cdot \cdot \ , K \right) ,
53
+ $$
54
+
55
+ where $\boldsymbol { \mathcal { A } } \left( \cdot \right)$ means aggregation function (max-pooling in PointNet++), $\Phi \left( \cdot \right)$ denotes the local feature extraction function (MLP in PointNet $^ { + + }$ ), and $f _ { i , j }$ is the $j$ -th neighbor point feature of $i$ -th sampled point. By doing so, PointNet+ $^ +$ is able to effectively capture local geometric information and progressively enlarge the receptive fields by repeating the operation.
56
+
57
+ In the sense of network architecture design, PointNet $^ { + + }$ exhibits a universal pipeline for point cloud analysis. Following this pipeline, some plug-and-play methods have been proposed, mainly focusing on the local feature extractor $\Phi \left( \cdot \right)$ (Xu et al., 2021a; Liu et al., 2019b; Thomas et al., 2019; Zhao et al., 2021). Generally, these local feature extractors thoroughly explore the local geometric information using convolution, graph, or self-attention mechanisms. In RSCNN (Liu et al., 2019b), the extractor is mainly achieved by exploring point relations as follow:
58
+
59
+ $$
60
+ \begin{array} { r } { \Phi \left( f _ { i , j } \right) = \mathrm { M L P } \left( \left[ \left. x _ { i , j } - x _ { i } \right. _ { 2 } , x _ { i , j } - x _ { i } , x _ { i , j } , x _ { i } \right] \right) * f _ { i , j } , \forall j \in \left\{ 1 , \cdots , K \right\} , } \end{array}
61
+ $$
62
+
63
+ where $[ \cdot ]$ is the concatenation operation and MLP is a small network composed of a Fully-connected (FC) layer, Batch Normalization layer, and activation function. Unlike RSCNN, Point Transformer introduces the self-attention mechanism into point cloud analysis and considers the similarities between pair-wise points in a local region. To this end, it re-formulates the extractor as:
64
+
65
+ $$
66
+ \Phi \left( f _ { i } \right) = \sum _ { j = 1 } ^ { k } { { \rho \left( { \gamma \left( { \varphi \left( { { f _ { i } } } \right) - \psi \left( { { f _ { i , j } } } \right) + \delta } \right) } \right) } \odot \left( { \alpha \left( { { f _ { i , j } } + \delta } \right) } \right) } ,
67
+ $$
68
+
69
+ where $\gamma , \varphi , \psi$ and $\alpha$ are linear mapping function, “ $\odot$ ” is a Hadamard product, and $\rho$ is a softmax normalization. In particular, Point Transformer introduces a relative position encoding, $\delta \ = \ \theta \left( x _ { i } - x _ { i , j } \right)$ , where the relative position is encoded by two FC layers with a ReLU nonlinearity layer, into both attention weights and features. The lightweight positional encoder largely improves the performance of Point Transformer.
70
+
71
+ While these methods can easily take the advantage of detailed local geometric information and usually exhibit promising results, two issues limit their development. First, with the introduction of delicate extractors, the computational complexity is largely increased, leading to prohibitive inference latency 1. For example, the FLOPs of Equation 3 in Point Transformer would be $1 4 K d ^ { 2 }$ , ignoring the summation and subtraction operations. Compared with the conventional FC layer that enjoys $2 K d ^ { 2 }$ FLOPs, it increases the computations by times. Notice that the memory access cost is not considered yet. Second, with the development of local feature extractors, the performance gain has started to saturate on popular benchmarks. Moreover, empirical analysis in Liu et al. (2020) reveals that most sophisticated local extractors make surprisingly similar contributions to the network performance under the same network input. Both limitations encourage us to develop a new method that circumvents the employment of sophisticated local extractors, and provides gratifying results.
72
+
73
+ # 3.2 FRAMEWORK OF POINTMLP
74
+
75
+ In order to get rid of the restrictions mentioned above, we present a simple yet effective MLP-based network for point cloud analysis that no sophisticated or heavy operations are introduced. The key operation of our PointMLP can be formulated as:
76
+
77
+ $$
78
+ g _ { i } = \Phi _ { p o s } ( A ( \Phi _ { p r e } ( f _ { i , j } ) , | j = 1 , \cdot \cdot \cdot , K ) ) ,
79
+ $$
80
+
81
+ where $\Phi _ { p r e }$ (·) and $\Phi _ { p o s } \left( \cdot \right)$ are residual point MLP blocks: the shared $\Phi _ { p r e } \left( \cdot \right)$ is designed to learn shared weights from a local region while the $\Phi _ { p o s } \left( \cdot \right)$ is leveraged to extract deep aggregated features. In detail, the mapping function can be written as a series of homogeneous residual MLP blocks, MLP $( x ) + x$ , in which MLP is combined by FC, normalization and activation layers (repeated two times). Following Qi et al. (2017a), we consider the aggregation function $\boldsymbol { \mathcal { A } } \left( \cdot \right)$ as max-pooling operation. Equation 4 describes one stage of of PointMLP. For a hierarchical and deep network, we recursively repeat the operation by $s$ stages. Albeit the framework of PointMLP is succinct, it exhibits some prominent merits. 1) Since PointMLP only leverages MLPs, it is naturally invariant to permutation, which perfectly fits the characteristic of point cloud. 2) By incorporating residual connections, PointMLP can be easily extended to dozens layers, resulting deep feature representations. 3) In addition, since there is no sophisticated extractors included and the main operation is only highly optimized feed-forward MLPs, even we introduce more layers, our PointMLP still performs efficiently. Unless explicitly stated, the networks in our experiments use four stages, and two residual blocks in both $\Phi _ { p r e }$ (·) and $\Phi _ { p o s }$ (·). We employ $\mathbf { k }$ -nearest neighbors algorithm (kNN) to select the neighbors and set the number $K$ to 24.
82
+
83
+ # 3.3 GEOMETRIC AFFINE MODULE
84
+
85
+ While it may be easy to simply increase the depth by considering more stages or stacking more blocks in $\Phi _ { p r e }$ and $\Phi _ { p o s }$ , we notice that a simple deep MLP structure will decrease the accuracy and stability, making the model less robust. This is perhaps caused by the sparse and irregular geometric structures in local regions. Diverse geometric structures among different local regions may require different extractors but shared residual MLPs struggle at achieving this. We flesh out this intuition and develop a lightweight geometric affine module to tackle this problem. Let $\{ f _ { i , j } \} _ { j = 1 , \cdots , k } \in$ $\mathbb { R } ^ { k \times d }$ be the grouped local neighbors of $f _ { i } \in \mathbb { R } ^ { d }$ containing $k$ points, and each neighbor point $f _ { i , j }$ is a $d$ -dimensional vector. We transform the local neighbor points by the following formulation:
86
+
87
+ $$
88
+ \{ f _ { i , j } \} = \alpha \odot \frac { \{ f _ { i , j } \} - f _ { i } } { \sigma + \epsilon } + \beta , ~ \sigma = \sqrt { \frac { 1 } { k \times n \times d } \sum _ { i = 1 } ^ { n } \sum _ { j = 1 } ^ { k } { ( f _ { i , j } - f _ { i } ) ^ { 2 } } } ,
89
+ $$
90
+
91
+ where $\alpha \in \mathbb { R } ^ { d }$ and $\beta \in \mathbb { R } ^ { d }$ are learnable parameters, $\odot$ indicates Hadamard production, and $\epsilon =$ $1 e ^ { - 5 }$ is a small number for numerical stability (Ioffe & Szegedy, 2015; Wu & He, 2018; Dixon & Massey Jr, 1951). Note that $\sigma$ is a scalar describes the feature deviation across all local groups and channels. By doing so, we transform the local points to a normal distribution while maintaining original geometric properties.
92
+
93
+ # 3.4 COMPUTATIONAL COMPLEXITY AND ELITE VERSION
94
+
95
+ Although the FC layer is highly optimized by mainstream deep learning framework, the theoretical number of parameters and computational complexity are still high. To further improve the efficiency, we introduce a lightweight version of PointMLP named as pointMLP-elite, with less than 0.7M parameters and prominent inference speed (176 samples/second on ModelNet40 benchmark).
96
+
97
+ Table 2: Classification results on ModelNet40 dataset. With only 1k points, our method achieves state-of-the-art results on both class mean accuracy (mAcc) and overall accuracy (OA) metrics. We also report the speed of some open-sourced methods by samples/second tested on one Tesla V100- pcie GPU and four cores AMD EPYC $7 3 5 1 @ 2 . 6 0 \mathrm { G H z }$ CPU. \* For KPConv, we take the results from the original paper. The best is marked in bold and second best is in blue.
98
+
99
+ <table><tr><td rowspan=1 colspan=3>Method</td><td rowspan=1 colspan=1>Inputs mAcc(%) OA(%)</td><td rowspan=1 colspan=1>Train TestParam.speed speed</td></tr><tr><td rowspan=1 colspan=3>PointNet (Qi et al., 2017a)PointNet++ (Qi et al., 2017b)PointNet++ (Qi et al., 2017b)</td><td rowspan=1 colspan=1>1k P 86.0 89.21kP - 90.75k P+N - 91.9</td><td rowspan=1 colspan=1>1.41M 223.8 308.51.41M</td></tr><tr><td rowspan=10 colspan=3>PointCNN (Li et al., 2018b)PointConv (Wu et al., 2019)KPConv (Thomas et al., 2019)DGCNN (Wang et al., 2019)RS-CNN (Liu et al., 2019b)DensePoint (Liu et al., 2019a)PointASNL (Yan et al., 2020)PosPool (Liu et al., 2020)Point Trans. (Engel et al., 2020)</td><td rowspan=2 colspan=1>1k P 88.1 92.5</td><td rowspan=4 colspan=1>18.6M 17.9 10.215.2M 31.0* 80.0*</td></tr><tr><td rowspan=2 colspan=1>18.6M 17.915.2M 31.0*</td></tr><tr><td rowspan=1 colspan=1>1k P+N - 92.5</td></tr><tr><td rowspan=1 colspan=1>7kP - 92.9</td><td rowspan=1 colspan=1>15.2M 31.0*</td></tr><tr><td rowspan=1 colspan=1>1k P 90.2 92.9</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>1k P - 92.9</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>1k P 1 93.2</td><td rowspan=5 colspan=1>8.39M 16.3 112</td></tr><tr><td rowspan=1 colspan=1>1k P = 92.9</td></tr><tr><td rowspan=1 colspan=1>5k P = 93.2</td></tr><tr><td rowspan=1 colspan=2>020)</td><td rowspan=1 colspan=1>1k P = 92.8</td></tr><tr><td rowspan=7 colspan=3>GBNet (Qiu et al., 2021b)GDANet (Xu et al., 2021b)PA-DGC (Xu et al., 2021a)MLMSPT (Han et al., 2021)PCT (Guo et al., 2021)Point Trans. (Zhao et al.,2021)CurveNet (Xiang et al., 2021)</td><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>1k P 91.0 93.8</td></tr><tr><td rowspan=1 colspan=1>1k P = 93.8</td><td rowspan=6 colspan=1>0.93M 26.3 14.02.04M 20.8 15.0</td></tr><tr><td rowspan=1 colspan=1>1k P 93.9</td></tr><tr><td rowspan=1 colspan=1>1k P 92.9</td></tr><tr><td rowspan=1 colspan=1>1k P = 93.2</td></tr><tr><td rowspan=1 colspan=1>1k P 90.6 93.7</td></tr><tr><td rowspan=1 colspan=1>1k P - 94.2</td></tr><tr><td rowspan=4 colspan=3>PointMLP w/o vot.PointMLP w/ vot.PointMLP-elite w/o vot.PointMLP-elite w/ vot.</td><td rowspan=1 colspan=1>1k P 91.3 94.1</td><td rowspan=1 colspan=1>12.6M 47.1 112</td></tr><tr><td rowspan=1 colspan=1>1k P 91.4 94.5</td><td rowspan=1 colspan=1>12.6M 47.1 112</td></tr><tr><td rowspan=1 colspan=1>1k P 90.9 93.6</td><td rowspan=1 colspan=1>0.68M 116 176</td></tr><tr><td rowspan=1 colspan=1>1k P 90.7 94.0</td><td rowspan=1 colspan=1>0.68M 116 176</td></tr></table>
100
+
101
+ Inspired by He et al. (2016); Hu et al. (2018), we present a bottleneck structure for the mapping function $\Phi _ { p r e }$ and $\Phi _ { p o s }$ . We opt to reduce the channel number of the intermediate FC layer by a factor of $r$ and increase the channel number as the original feature map. This strategy is opposite to the design in Vaswani et al. (2017); Touvron et al. (2021) which increases the intermediate feature dimensions. Empirically, we do not observe a significant performance drop. This method reduce the parameters of residual MLP blocks from $2 d ^ { 2 }$ to $\scriptstyle { \frac { 2 } { r } } d ^ { 2 }$ . By default, we set $r$ to 4 in PointMLPelite. Besides, we also slightly adjust the network architecture, reducing both the MLP blocks and embedding dimension number (see appendix for details). Inspired by Xie et al. (2017), we also investigated a grouped FC operation in the network that divides one FC layer into $g$ groups of subFC layers, like group convolution layer. However, we empirically found that this strategy would largely hamper the performance. As a result, we did not consider it in our implementation.
102
+
103
+ # 4 EXPERIMENTS
104
+
105
+ In this section, we comprehensively evaluate PointMLP on several benchmarks. Detailed ablation studies demonstrate the effectiveness of PointMLP with both quantitative and qualitative analysis.
106
+
107
+ # 4.1 SHAPE CLASSIFICATION ON MODELNET40
108
+
109
+ We first evaluate PointMLP on the ModelNet40 (Wu et al., 2015) benchmark, which contains 9,843 training and 2,468 testing meshed CAD models belonging to 40 categories. Following the standard practice in the community, we report the class-average accuracy (mAcc) and overall accuracy (OA) on the testing set. We train all models for 300 epochs using SGD optimizer.
110
+
111
+ ![](images/071941c75a0797a644a63c156f0143a299fb274fe0ca60d40c36dc15a5458c0d.jpg)
112
+ Figure 3: Four run results (mean $\pm$ std) of PointMLP with/without our geometric affine module on ScanObjectNN test set. We zoom in on the details of PointMLP40 to show the stability difference.
113
+
114
+ Experimental results are presented in Table 2. Among these methods, our PointMLP clearly outperforms state-of-the-art method CurveNet by $0 . 3 \%$ $9 4 . 5 \%$ vs. $9 4 . 2 \%$ ) overall accuracy with only 1k points. Note that this improvement could be considered as a promising achievement since the results on ModelNet40 recent methods have been saturated around $94 \%$ for a long time. Even without the voting strategy (Liu et al., 2019b), our PointMLP still performs on par or even better than other methods that are tested with voting strategy.
115
+
116
+ Despite having better accuracy, our method is much faster than the methods with sophisticated local geometric extractors. We compare PointMLP to several open-sourced methods and report the parameters, classification accuracy, training, and testing speed. As we stated previously, a key intuition behind this experiment is that model complexity can not directly reflect efficiency. For example, CurveNet is lightweight and delivers a strong result, whereas the inference cost is prohibitive (15 samples/second). On the contrary, our PointMLP presents a high inference speed $( \mathbf { 1 1 2 \ s a m } .$ - ples/second). To further reduce the model size and speed up the inference, we present a lightweight PointMLP-elite, which significantly reduces the number of parameters to 0.68M, while maintaining high-performance $9 0 . 9 \%$ mAcc and $9 4 . 0 \%$ OA on ModelNet40. With PointMLP-elite, we further speed up the inference to 176 samples/second.
117
+
118
+ # 4.2 SHAPE CLASSIFICATION ON SCANOBJECTNN
119
+
120
+ While ModelNet40 is the de-facto canonical benchmark for point cloud analysis, it may not meet the requirement of modern methods due to its synthetic nature and the fast development of point cloud analysis. To this end, we also conduct experiments on the ScanObjectNN benchmark (Uy et al., 2019).
121
+
122
+ ScanObjectNN is a recently released point cloud benchmark that contains 15,000 objects that are categorized into 15 classes with 2,902 unique object instances in the real world. Due to the existence of background, noise, and occlusions, this benchmark poses significant challenges to existing point cloud analysis methods. We consider the hard
123
+
124
+ Table 3: Classification results on ScanObjectNN dataset. We examine all methods on the most challenging variant $( \mathrm { P B } _ { - } \mathrm { T } 5 0 \mathrm { \_ R S } )$ . For our pointMLP and PointMLP-elite, we train and test for four runs and report mean $\pm$ std results.
125
+
126
+ <table><tr><td>Method</td><td>mAcc(%)</td><td>OA(%)</td></tr><tr><td>3DmFV PointNet (Qi et al., 2017a) SpiderCNN (Xu et al., 2018) PointNet++ (Qi et al., 2017b)</td><td>58.1 63.4 69.8</td><td>63 68.2 73.7</td></tr><tr><td>DGCNN (Wang et al., 2019) PointCNN (Li et al., 2018b) BGA-DGCNN (Uy et al., 2019) BGA-PN++ (Uy et al., 2019)</td><td>75.4 73.6 75.1 75.7 77.5</td><td>77.9 78.1 78.5 79.7</td></tr><tr><td>DRNet (Qiu et al.,2021a) GBNet (Qiu et al., 2021b) SimpleView (Goyal et al., 2021) PRANet (Cheng et al., 2021)</td><td>78.0 77.8 =</td><td>80.2 80.3 80.5 80.5±0.3</td></tr><tr><td>MVTN (Hamdi et al., 2021) PointMLP (ours) PointMLP-elite (ours)</td><td>79.1 - 83.9±0.5</td><td>82.1 82.8 85.4±0.3</td></tr></table>
127
+
128
+ est perturbed variant (PB T50 RS) in our experiments. We train our model using an SGD optimizer for 200 epochs with a batch size of 32. For a better illustration, we train and test our method for four runs and report the mean $\pm$ standard deviation in Table 3.
129
+
130
+ Table 4: Classification accuracy of pointMLP on ScanObjectNN test set using 24, 40, and 56 layers, respectively.
131
+
132
+ <table><tr><td>Depth</td><td>mAcc(%)</td><td>0A(%)</td></tr><tr><td>24 layers</td><td>83.4±0.4</td><td>84.8±0.5</td></tr><tr><td>40 layers</td><td>83.9±0.5</td><td>85.4±0.3</td></tr><tr><td>56 layers</td><td>83.2±0.2</td><td>85.0±0.1</td></tr></table>
133
+
134
+ Table 5: Component ablation studies on ScanObjectNN test set.
135
+
136
+ <table><tr><td>Tpre</td><td>Tpos</td><td>Affine</td><td>mAcc(%)</td><td>0A(%)</td></tr><tr><td></td><td></td><td></td><td>80.8±0.4</td><td>82.8±0.0</td></tr><tr><td>x/</td><td>×</td><td>√</td><td>83.3±0.3</td><td>84.7±0.2</td></tr><tr><td></td><td>√</td><td>×</td><td>79.1±1.7</td><td>81.5±1.4</td></tr><tr><td></td><td></td><td>「</td><td>83.9±0.5</td><td>85.4±0.3</td></tr></table>
137
+
138
+ Empirically, our PointMLP surpasses all methods by a significant improvement on both class mean accuracy (mAcc) and the overall accuracy (OA). For example, we outperform PRANet by $4 . 8 \%$ mAcc and $3 . 3 \%$ OA. Even compared with the heavy multi-view projection method MVTN (12 views), our PointMLP still performs much better $( 8 5 . 3 9 \% 8 2 . 8 \% )$ . Notice that we achieve this by fewer training epochs and did not consider the voting strategy. Moreover, we notice that our method achieves the smallest gap between class mean accuracy and overall accuracy. This phenomenon indicates that PointMLP did not bias to a particular category, showing decent robustness.
139
+
140
+ # 4.3 ABLATION STUDIES
141
+
142
+ Network Depth. Network depth has been exploited in many tasks but is rare in point cloud analysis. We first investigate the performance of PointMLP with different depths in Table 4. We vary the network depth by setting the number of homogeneous residual MLP blocks to 1, 2, and 3, respectively, resulting in 24, 40, and 56-layers PointMLP variants. Detailed depth formulation can be found in Appendix D. At first glance, we notice that simply increasing the depth would not always bring better performance; an appropriate depth would be a good solution. Additionally, the model gets stable with more layers introduced, as demonstrated by the decreasing standard deviation. When the depth is set to 40, we achieve the best tradeoff between accuracy and stability $( 8 5 . 4 \%$ mean accuracy and 0.3 standard deviations). Remarkably, PointMLP consistently achieves gratifying results that outperform recent methods, regardless of the depth.
143
+
144
+ Geometric Affine Module. Other work provides sophisticated local geometric extractors to explore geometric structures. Instead, our PointMLP discards these burdensome modules and introduces a lightweight geometric affine module. Figure 3 presents the results of PointMLP with/without the geometric affine module. By integrating the module, we systematically improve the performance of PointMLP by about $3 \%$ for all variants. The reasons for this large improvement are two-fold. First, the geometric affine module maps local input features to a normal distribution, which eases the training of PointMLP. Second, the geometric affine module implicitly encodes the local geometrical information by the channel-wise distance to local centroid and variance, remedying the deficiency of geometric information. Besides the gratifying improvements, the geometric affine module also largely boosts the stability of PointMLP, suggesting better robustness.
145
+
146
+ Component ablation study. Table 5 reports the results on ScanObjectNN of removing each individual component in PointMLP. Consistent with Figure 3, geometric affine module plays an important role in PointMLP, improving the base architecture by $3 . 9 \%$ . Remarkably, even without this module, which is an unfair setting for PointMLP, our base network stills achieves
147
+
148
+ ![](images/64f9834890660778d301ec0a08af23475a0ca068c31e381a3a3c9289448af64f.jpg)
149
+ Figure 4: Loss landscape along two rand directions. By introducing residual connection, we ease the optimization of PointMLP and achieve a flat landscape like a simple shallow network intuitively.
150
+
151
+ Table 6: Part segmentation results on the ShapeNetPart dataset. Empirically, our method is much faster than the best method KPConv, and presents a competitive performance.
152
+
153
+ <table><tr><td rowspan="2">Method</td><td rowspan="2">Cls. mIoU</td><td rowspan="2">Inst. mIoU</td><td rowspan="2">aero</td><td rowspan="2">bag</td><td rowspan="2">cap</td><td rowspan="2">car</td><td rowspan="2">chair</td><td rowspan="2">aerp- hone</td><td rowspan="2">guitar</td><td rowspan="2">knife</td><td rowspan="2">lamp</td><td rowspan="2">laptop</td><td rowspan="2">motor- bike</td><td rowspan="2">mug pistol</td><td rowspan="2"></td><td rowspan="2">rocket skate- board</td><td rowspan="2"></td><td rowspan="2">table</td></tr><tr><td></td></tr><tr><td>PointNet</td><td>80.4</td><td>83.7</td><td>83.4</td><td>78.7</td><td>82.5</td><td>74.9</td><td>89.6</td><td>73.0</td><td>91.5</td><td>85.9</td><td>80.8</td><td>95.3</td><td>65.2</td><td>93.0</td><td>81.2</td><td>57.9</td><td>72.8</td><td>80.6</td></tr><tr><td>PointNet++</td><td>81.9</td><td>85.1</td><td>82.4</td><td>79.0</td><td>87.7</td><td>77.3</td><td>90.8</td><td>71.8</td><td>91.0</td><td>85.9</td><td>83.7</td><td>95.3</td><td>71.6</td><td>94.1</td><td>81.3</td><td>58.7</td><td>76.4</td><td>82.6</td></tr><tr><td>Kd-Net</td><td>-</td><td>82.3</td><td>80.1</td><td>74.6</td><td>74.3</td><td>70.3</td><td>88.6</td><td>73.5</td><td>90.2</td><td>87.2</td><td>81.0</td><td>94.9</td><td>57.4</td><td>86.7</td><td>78.1</td><td>51.8</td><td>69.9</td><td>80.3</td></tr><tr><td>SO-Net</td><td>-</td><td>84.9</td><td>82.8</td><td>77.8</td><td>88.0</td><td>77.3</td><td>90.6</td><td>73.5</td><td>90.7</td><td>83.9</td><td>82.8</td><td>94.8</td><td>69.1</td><td>94.2</td><td>80.9</td><td>53.1</td><td>72.9</td><td>83.0</td></tr><tr><td>PCNN</td><td>81.8</td><td>85.1</td><td>82.4</td><td>80.1</td><td>85.5</td><td>79.5</td><td>90.8</td><td>73.2</td><td>91.3</td><td>86.0</td><td>85.0</td><td>95.7</td><td>73.2</td><td>94.8</td><td>83.3</td><td>51.0</td><td>75.0</td><td>81.8</td></tr><tr><td>DGCNN</td><td>82.3</td><td>85.2</td><td>84.0</td><td>83.4</td><td>86.7</td><td>77.8</td><td>90.6</td><td>74.7</td><td>91.2</td><td>87.5</td><td>82.8</td><td>95.7</td><td>66.3</td><td>94.9</td><td>81.1</td><td>63.5</td><td>74.5</td><td>82.6</td></tr><tr><td>P2Sequence</td><td>-</td><td>85.2</td><td>82.6</td><td>81.8</td><td>87.5</td><td>77.3</td><td>90.8</td><td>77.1</td><td>91.1</td><td>86.9</td><td>83.9</td><td>95.7</td><td>70.8</td><td>94.6</td><td>79.3</td><td>58.1</td><td>75.2</td><td>82.8</td></tr><tr><td>PointCNN</td><td>84.6</td><td>86.1</td><td>84.1</td><td>86.5</td><td>86.0</td><td>80.8</td><td>90.6</td><td>79.7</td><td>92.3</td><td>88.4</td><td>85.3</td><td>96.1</td><td>77.2</td><td>95.2</td><td>84.2</td><td>64.2</td><td>80.0</td><td>83.0</td></tr><tr><td>PointASNL</td><td>-</td><td>86.1</td><td>84.1</td><td>84.7</td><td>87.9</td><td>79.7</td><td>92.2</td><td>73.7</td><td>91.0</td><td>87.2</td><td>84.2</td><td>95.8</td><td>74.4</td><td>95.2</td><td>81.0</td><td>63.0</td><td>76.3</td><td>83.2</td></tr><tr><td>RS-CNN</td><td>84.0</td><td>86.2</td><td>83.5</td><td>84.8</td><td>88.8</td><td>79.6</td><td>91.2</td><td>81.1</td><td>91.6</td><td>88.4</td><td>86.0</td><td>96.0</td><td>73.7</td><td>94.1</td><td>83.4</td><td>60.5</td><td>77.7</td><td>83.6</td></tr><tr><td>SynSpec</td><td>82.0</td><td>84.7</td><td>81.6</td><td>81.7</td><td>81.9</td><td>75.2</td><td>90.2</td><td>74.9</td><td>93.0</td><td>86.1</td><td>84.7</td><td>95.6</td><td>66.7</td><td>92.7</td><td>81.6</td><td>60.6</td><td>82.9</td><td>82.1</td></tr><tr><td>SPLATNet</td><td>83.7</td><td>85.4</td><td>83.2</td><td>84.3</td><td>89.1</td><td>80.3</td><td>90.7</td><td>75.5</td><td>92.1</td><td>87.1</td><td>83.9</td><td>96.3</td><td>75.6</td><td>95.8</td><td>83.8</td><td>64.0</td><td>75.5</td><td>81.8</td></tr><tr><td>SpiderCNN</td><td>82.4 85.1</td><td>85.3 86.4</td><td>83.5</td><td>81.0</td><td>87.2</td><td>77.5</td><td>90.7</td><td>76.8</td><td>91.1 92.6</td><td>87.3 88.4</td><td>83.3</td><td>95.8</td><td>70.2</td><td>93.5</td><td>82.7</td><td>59.7</td><td>75.8</td><td>82.8</td></tr><tr><td>KPConv PA-DGC</td><td>84.6</td><td>86.1</td><td>84.6</td><td>86.3</td><td>87.2</td><td>81.1</td><td>91.1 90.6</td><td>77.8 80.8</td><td>92.0</td><td>88.7</td><td>82.7</td><td>96.2</td><td>78.1 73.9</td><td>95.8 94.7</td><td>85.4 84.7</td><td>69.0</td><td>82.0</td><td>83.6 84.0</td></tr><tr><td></td><td></td><td></td><td>84.3</td><td>85.0</td><td>90.4</td><td>79.7</td><td></td><td></td><td></td><td></td><td>82.2</td><td>95.9</td><td></td><td></td><td></td><td>65.9</td><td>81.4</td><td></td></tr><tr><td>PointMLP</td><td>84.6</td><td>86.1</td><td>83.5</td><td>83.4</td><td>87.5</td><td>80.54</td><td>90.3</td><td>78.2</td><td>92.2</td><td>88.1</td><td>82.6</td><td>96.2</td><td>77.5</td><td>95.8</td><td>85.4</td><td>64.6</td><td>83.3</td><td>84.3</td></tr></table>
154
+
155
+ $8 1 . 5 \pm 1 . 4 \%$ OA, outperforming most related methods (see Table 3). Removing $\Phi _ { p r e }$ function (MLPs before aggregator $\mathcal { A }$ ), the performance drops $2 . 6 \%$ overall accuracy. Combining all these components together, we achieve the best result $8 5 . 4 \%$ OA. See Appendix C for more ablations.
156
+
157
+ Loss landscape. We depict the 3D loss landscape (Li et al., 2018a) in Figure 4. Simply increasing the network depth may not achieve a better representation and even hamper the results. When removing the residual connection in PointMLP, the loss landscape turns sharp, and the performance plummets to $8 8 . 1 \%$ $6 \%$ drop) on ModelNet40. With residual connection, we greatly ease the optimization course of PointMLP and make it possible to train a deep network.
158
+
159
+ # 4.4 PART SEGMENTATION
160
+
161
+ Our PointMLP can also be generalized to other 3D point cloud tasks. We next test PointMLP for 3D shape part segmentation task on the ShapeNetPart benchmark (Yi et al., 2016). The shapeNetPart dataset consists of 16,881 shapes with 16 classes belonging to 50 parts labels in total. In each class, the number of parts is between 2 and 6. We follow the settings from Qi et al. (2017b) that randomly select 2048 points as input for a fair comparison. We compare our methods with several recent works,
162
+
163
+ ![](images/937de1c2245f3fbccbf26ca1813370b71e9c2b3909037a38cd4c4f9c3749559f.jpg)
164
+ Figure 5: Part segmentation results on ShapeNetPart. Top line is ground truth and bottom line is our prediction.
165
+
166
+ including SyncSpecCNN (Yi et al., 2017), SPLATNet (Su et al., 2018), etc. We also visualize the segmentation ground truths and predictions in Figure 5. Intuitively, the predictions of our PointMLP are close to the ground truth. Best viewed in color.
167
+
168
+ # 5 CONCLUSION
169
+
170
+ In this paper, we propose a simple yet powerful architecture named PointMLP for point cloud analysis. The key insight behind PointMLP is that a sophisticated local geometric extractor may not be crucial for performance. We begin with representing local points with simple residual MLPs as they are permutation-invariant and straightforward. Then we introduce a lightweight geometric affine module to boost the performance. To improve efficiency further, we also introduce a lightweight counterpart, dubbed as PointMLP-elite. Experimental results have shown that PointMLP outperforms related work on different benchmarks beyond simplicity and efficiency. We hope this novel idea will inspire the community to rethink the network design and local geometry in point cloud.
171
+
172
+ # REFERENCES
173
+
174
+ Silin Cheng, Xiwu Chen, Xinwei He, Zhe Liu, and Xiang Bai. Pra-net: Point relation-aware network for 3d point cloud analysis. IEEE Transactions on Image Processing, 30:4436–4448, 2021.
175
+
176
+ Wilfrid J Dixon and Frank J Massey Jr. Introduction to statistical analysis. 1951.
177
+
178
+ Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In ECCV, pp. 184–199. Springer, 2014.
179
+
180
+ 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. ICLR, 2021.
181
+
182
+ Nico Engel, Vasileios Belagiannis, and Klaus Dietmayer. Point transformer. arXiv preprint arXiv:2011.00931, 2020.
183
+
184
+ Siqi Fan, Qiulei Dong, Fenghua Zhu, Yisheng Lv, Peijun Ye, and Fei-Yue Wang. Scf-net: Learning spatial contextual features for large-scale point cloud segmentation. In CVPR, pp. 14504–14513, 2021.
185
+
186
+ Ankit Goyal, Hei Law, Bowei Liu, Alejandro Newell, and Jia Deng. Revisiting point cloud shape classification with a simple and effective baseline. ICML, 2021.
187
+
188
+ Meng-Hao Guo, Jun-Xiong Cai, Zheng-Ning Liu, Tai-Jiang Mu, Ralph R Martin, and Shi-Min Hu. Pct: Point cloud transformer. Computational Visual Media, 7(2):187–199, 2021.
189
+
190
+ Abdullah Hamdi, Silvio Giancola, and Bernard Ghanem. Mvtn: Multi-view transformation network for 3d shape recognition. ICCV, 2021.
191
+
192
+ Xian-Feng Han, Yu-Jia Kuang, and Guo-Qiang Xiao. Point cloud learning with transformer. arXiv preprint arXiv:2104.13636, 2021.
193
+
194
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pp. 770–778, 2016.
195
+
196
+ Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In CVPR, pp. 7132–7141, 2018.
197
+
198
+ Qingyong Hu, Bo Yang, Linhai Xie, Stefano Rosa, Yulan Guo, Zhihua Wang, Niki Trigoni, and Andrew Markham. Randla-net: Efficient semantic segmentation of large-scale point clouds. In CVPR, pp. 11108–11117, 2020.
199
+
200
+ Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, pp. 448–456. PMLR, 2015.
201
+
202
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), NeurIPS, volume 25. Curran Associates, Inc., 2012.
203
+
204
+ Guohao Li, Matthias Muller, Ali Thabet, and Bernard Ghanem. Deepgcns: Can gcns go as deep as cnns? In ICCV, pp. 9267–9276, 2019.
205
+
206
+ Guohao Li, Matthias Muller, Guocheng Qian, Itzel Carolina Delgadillo Perez, Abdulellah Abual- ¨ shour, Ali Kassem Thabet, and Bernard Ghanem. Deepgcns: Making gcns go as deep as cnns. TPAMI, 2021a.
207
+
208
+ Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. In NeurIPS, pp. 6391–6401, 2018a.
209
+
210
+ Lei Li, Siyu Zhu, Hongbo Fu, Ping Tan, and Chiew-Lan Tai. End-to-end learning local multi-view descriptors for 3d point clouds. In CVPR, pp. 1919–1928, 2020.
211
+
212
+ Yangyan Li, Rui Bu, Mingchao Sun, Wei Wu, Xinhan Di, and Baoquan Chen. Pointcnn: Convolution on x-transformed points. NeurIPS, 31:820–830, 2018b.
213
+
214
+ Zhichao Li, Feng Wang, and Naiyan Wang. Lidar r-cnn: An efficient and universal 3d object detector. In CVPR, pp. 7546–7555, 2021b.
215
+
216
+ Zhi-Hao Lin, Sheng Yu Huang, and Yu-Chiang Frank Wang. Learning of 3d graph convolution networks for point cloud analysis. TPAMI, 2021.
217
+
218
+ Yongcheng Liu, Bin Fan, Gaofeng Meng, Jiwen Lu, Shiming Xiang, and Chunhong Pan. Densepoint: Learning densely contextual representation for efficient point cloud processing. In ICCV, pp. 5239–5248, 2019a.
219
+
220
+ Yongcheng Liu, Bin Fan, Shiming Xiang, and Chunhong Pan. Relation-shape convolutional neural network for point cloud analysis. In CVPR, pp. 8895–8904, 2019b.
221
+
222
+ Ze Liu, Han Hu, Yue Cao, Zheng Zhang, and Xin Tong. A closer look at local aggregation operators in point cloud analysis. In ECCV, pp. 326–342. Springer, 2020.
223
+
224
+ Ze Liu, Zheng Zhang, Yue Cao, Han Hu, and Xin Tong. Group-free 3d object detection via transformers. arXiv preprint arXiv:2104.00678, 2021.
225
+
226
+ Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. ICLR, 2017.
227
+
228
+ Ningning Ma, Xiangyu Zhang, Hai-Tao Zheng, and Jian Sun. Shufflenet v2: Practical guidelines for efficient cnn architecture design. In ECCV, pp. 116–131, 2018.
229
+
230
+ Daniel Maturana and Sebastian Scherer. Voxnet: A 3d convolutional neural network for real-time object recognition. In IROS, pp. 922–928. IEEE, 2015.
231
+
232
+ Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In CVPR, pp. 652–660, 2017a.
233
+
234
+ Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. NeurIPS, 30, 2017b.
235
+
236
+ Shi Qiu, Saeed Anwar, and Nick Barnes. Dense-resolution network for point cloud classification and segmentation. In WACV, pp. 3813–3822, 2021a.
237
+
238
+ Shi Qiu, Saeed Anwar, and Nick Barnes. Geometric back-projection network for point cloud classification. IEEE Transactions on Multimedia, 2021b.
239
+
240
+ Haoxi Ran, Wei Zhuo, Jun Liu, and Li Lu. Learning inner-group relations on point clouds. In ICCV, pp. 15477–15487, 2021.
241
+
242
+ Shaoshuai Shi, Xiaogang Wang, and Hongsheng Li. Pointrcnn: 3d object proposal generation and detection from point cloud. In CVPR, pp. 770–779, 2019.
243
+
244
+ Shaoshuai Shi, Chaoxu Guo, Li Jiang, Zhe Wang, Jianping Shi, Xiaogang Wang, and Hongsheng Li. Pv-rcnn: Point-voxel feature set abstraction for 3d object detection. In CVPR, pp. 10529–10538, 2020.
245
+
246
+ Weijing Shi and Raj Rajkumar. Point-gnn: Graph neural network for 3d object detection in a point cloud. In CVPR, pp. 1711–1719, 2020.
247
+
248
+ Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In Yoshua Bengio and Yann LeCun (eds.), ICLR, 2015. URL http://arxiv. org/abs/1409.1556.
249
+
250
+ Hang Su, Varun Jampani, Deqing Sun, Subhransu Maji, Evangelos Kalogerakis, Ming-Hsuan Yang, and Jan Kautz. Splatnet: Sparse lattice networks for point cloud processing. In CVPR, pp. 2530– 2539, 2018.
251
+
252
+ Hugues Thomas, Charles R Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui, Franc¸ois Goulette, and Leonidas J Guibas. Kpconv: Flexible and deformable convolution for point clouds. In ICCV, pp. 6411–6420, 2019.
253
+
254
+ Hugo Touvron, Piotr Bojanowski, Mathilde Caron, Matthieu Cord, Alaaeldin El-Nouby, Edouard Grave, Armand Joulin, Gabriel Synnaeve, Jakob Verbeek, and Herve J´ egou. Resmlp: Feedforward ´ networks for image classification with data-efficient training. arXiv preprint arXiv:2105.03404, 2021.
255
+
256
+ Mikaela Angelina Uy, Quang-Hieu Pham, Binh-Son Hua, Thanh Nguyen, and Sai-Kit Yeung. Revisiting point cloud classification: A new benchmark dataset and classification model on real-world data. In ICCV, pp. 1588–1597, 2019.
257
+
258
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, pp. 5998–6008, 2017.
259
+
260
+ Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In CVPR, pp. 7794–7803, 2018.
261
+
262
+ Yue Wang, Yongbin Sun, Ziwei Liu, Sanjay E Sarma, Michael M Bronstein, and Justin M Solomon. Dynamic graph cnn for learning on point clouds. Acm Transactions On Graphics (tog), 38(5): 1–12, 2019.
263
+
264
+ Wenxuan Wu, Zhongang Qi, and Li Fuxin. Pointconv: Deep convolutional networks on 3d point clouds. In CVPR, pp. 9621–9630, 2019.
265
+
266
+ Yuxin Wu and Kaiming He. Group normalization. In Proceedings of the European conference on computer vision (ECCV), pp. 3–19, 2018.
267
+
268
+ Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3d shapenets: A deep representation for volumetric shapes. In CVPR, pp. 1912–1920, 2015.
269
+
270
+ Tiange Xiang, Chaoyi Zhang, Yang Song, Jianhui Yu, and Weidong Cai. Walk in the cloud: Learning curves for point clouds shape analysis. In ICCV, October 2021.
271
+
272
+ Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual trans- ´ formations for deep neural networks. In CVPR, pp. 1492–1500, 2017.
273
+
274
+ Chenfeng Xu, Bichen Wu, Zining Wang, Wei Zhan, Peter Vajda, Kurt Keutzer, and Masayoshi Tomizuka. Squeezesegv3: Spatially-adaptive convolution for efficient point-cloud segmentation. In ECCV, pp. 1–19. Springer, 2020.
275
+
276
+ Mutian Xu, Runyu Ding, Hengshuang Zhao, and Xiaojuan Qi. Paconv: Position adaptive convolution with dynamic kernel assembling on point clouds. In CVPR, pp. 3173–3182, 2021a.
277
+
278
+ Mutian Xu, Junhao Zhang, Zhipeng Zhou, Mingye Xu, Xiaojuan Qi, and Yu Qiao. Learning geometry-disentangled representation for complementary understanding of 3d object point cloud. In AAAI, volume 35, pp. 3056–3064, 2021b.
279
+
280
+ Yifan Xu, Tianqi Fan, Mingye Xu, Long Zeng, and Yu Qiao. Spidercnn: Deep learning on point sets with parameterized convolutional filters. In ECCV, pp. 87–102, 2018.
281
+
282
+ Xu Yan, Chaoda Zheng, Zhen Li, Sheng Wang, and Shuguang Cui. Pointasnl: Robust point clouds processing using nonlocal neural networks with adaptive sampling. In CVPR, pp. 5589–5598, 2020.
283
+
284
+ Zetong Yang, Yanan Sun, Shu Liu, Xiaoyong Shen, and Jiaya Jia. Std: Sparse-to-dense 3d object detector for point cloud. In ICCV, pp. 1951–1960, 2019.
285
+
286
+ Li Yi, Vladimir G Kim, Duygu Ceylan, I-Chao Shen, Mengyan Yan, Hao Su, Cewu Lu, Qixing Huang, Alla Sheffer, and Leonidas Guibas. A scalable active framework for region annotation in 3d shape collections. ACM Transactions on Graphics (ToG), 35(6):1–12, 2016.
287
+
288
+ Li Yi, Hao Su, Xingwen Guo, and Leonidas J Guibas. Syncspeccnn: Synchronized spectral cnn for 3d shape segmentation. In CVPR, pp. 2282–2290, 2017.
289
+
290
+ Haoxuan You, Yifan Feng, Rongrong Ji, and Yue Gao. Pvnet: A joint convolutional network of point cloud and multi-view for 3d shape recognition. In ACM MM, pp. 1310–1318, 2018.
291
+
292
+ Hang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Haibin Lin, Zhi Zhang, Yue Sun, Tong He, Jonas Mueller, R Manmatha, et al. Resnest: Split-attention networks. arXiv preprint arXiv:2004.08955, 2020.
293
+
294
+ Zaiwei Zhang, Rohit Girdhar, Armand Joulin, and Ishan Misra. Self-supervised pretraining of 3d features on any point-cloud. arXiv preprint arXiv:2101.02691, 2021.
295
+
296
+ Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip Torr, and Vladlen Koltun. Point transformer. In ICCV, 2021.
297
+
298
+ # A POINTMLP DETAIL
299
+
300
+ We detail the architecture of PointMLP in Figure 6 (as well as PointMLP-elite in Figure 7) for a better understanding. Compared with PointMLP, the elite version mainly adjusts three configurations: 1) it reduces the number of residual point (Resp) MLP blocks; 2) it reduces the embedding dimension from 64 to 32, hence the overall model overhead is significantly alleviated; 3) by introducing a bottleneck structure, PointMLP further reduces the parameters by four times.
301
+
302
+ For part segmentation task, we use the framework presented in PointNet (Qi et al., 2017a) and replace the backbone to our PointMLP. With the only modification, we improve the performance from 85.1 to 86.1 Instance mIoU.
303
+
304
+ ![](images/61378541d7d7ab1bfa651ab48ae34b0ce8784c4821b4f81db8424ae8c2f88c60.jpg)
305
+ Figure 6: Detail architecture of PointMLP for classification.
306
+
307
+ ![](images/29e776509eac6ea6a31083e3cafa6b828bf28a0aa1fe7f9f5e9a64cef2650dab.jpg)
308
+ Figure 7: Detail architecture of PointMLP-elite for classification.
309
+
310
+ # B DETAIL EXPERIMENTAL SETTING
311
+
312
+ # B.1 MODELNET40 AND SCANOBJECTNN
313
+
314
+ Our implementations are based on PyTorch. For ModelNet40, we train models for 300 epochs on one Tesla V100 GPU with a batch size of 32. All our models are trained using synchronous SGD with a Nesterov momentum of 0.9 and a weight decay of 0.0002. The learning rate is set to 0.1 initially. We use the cosine annealing scheduler (Loshchilov & Hutter, 2017) to adjust the learning rate. For each sample, we randomly select 1024 points and consider the same augmentation strategy as Qi et al. (2017b). The setting for ScanObjectNN is similar to ModelNet40, except we train all models for only 200 epochs.
315
+
316
+ For the reported speed in Table 2, we test the open-source code on a Tesla V100-pcie GPU. All the source codes we used are listed2 in the footnote.
317
+
318
+ # B.2 SHAPENETPART
319
+
320
+ Our setting for part segmentation task is following PointNet (Qi et al., 2017a). We randomly sample 2048 points for each sample and re-scale the input in a range of [0.67, 1.5]. Note that we did not test the result using a multi-scale testing strategy, which could further improve the performance, but is not realizable in real-world applications. Hence, we only report the single-scale results. Even the comparison is unfair, we still achieve competitive performance.
321
+
322
+ # C MORE DETAILED ABLATION STUDIES
323
+
324
+ Skip connection. Figure 4 shows the loss landscapes of our PointMLP with and without skip connections. We also consider adding skip connections to PointNet+ $^ +$ to validate the effectiveness of skip connections. Due to the structure of PointNe $^ { + + }$ , only two skip connections could be added without modifying the original architecture of PointNet++. By adding the skip connections, we achieve a classification accuracy of $9 2 . 7 \%$ on ModelNet40 in our re-implementation.
325
+
326
+ Pre-MLP block vs. Pos-MLP block. we also modified the configuration of our PointMLP and retrained the model to investigate the importance of Pre-MLP and Pos-MLP blocks. In our original implementation, we set the pre-MLP block list to [2, 2, 2, 2] and the pos-MLP blocks list to [2, 2, 2, 2]. Here, we remove the pos-MLP blocks and change the pre-MLP blocks to [4, 4, 4, 4] to match the block number. The 3-layer classifier can be considered as the MLP at the end of the last stage. We trained the models two times and got an average OA of $8 4 . 1 3 \%$ $8 3 . 8 7 \%$ and $8 4 . 3 9 \%$ ), which is lower than vanilla PointMLP $8 5 . 4 \%$ , and even the result in Table 5 second-row $8 4 . 7 \%$ . This result indicates that pos-MLP does benefit our PointMLP, and simply adding more pre-MLP blocks does not help. We acknowledge that the effect of pos-MLP is not as strong as other components and believe that a detailed fine-tuning of the configurations would deliver an even better performance-efficiency balance.
327
+
328
+ Geometric Affine Module Applications. Geometric affine module plays an essential role in our PointMLP, exhibiting promising performance improvements. While this module can be considered as a plug-and-play method, the overlap with some local geometric extractors in other methods may limit its application. Here we integrate the module to two popular methods, PointNet $^ { - + }$ and DGCNN, for illustration and experiment on the ModelNet40 benchmark. By integrating the geometric affine module, we improve the performance of PointNet $^ { + + }$ to $9 3 . 3 \%$ , achieving an improvement of $1 . 4 \%$ . However, when integrating the module to DGCNN, we get a performance of $9 2 . 8 \%$ , which is slightly lower than the original results $( 9 2 . 9 \% )$ . Note that both results are tested without voting.
329
+
330
+ # D POINTMLP DEPTH
331
+
332
+ Here we format the detailed formulation of layer number in our PointMLP. For the sake of clarity, we ignore Batch Normalization layers and activation functions. Let $\mathrm { P r e } _ { i }$ and $\mathrm { P o s } _ { i }$ indicate the repeating number of the $\Phi _ { p r e }$ block (which includes 3 layers) and $\Phi _ { p o s }$ block (which includes 2 layers) in $i$ -th stage, respectively. Note that we have one layer in feature embedding in the beginning, one layer for channel number matching in each stage, and three layers in the classifier. Hence, the total number of learnable layers $L$ would be
333
+
334
+ $$
335
+ L = 1 + \sum _ { i = 1 } ^ { 4 } \left( 1 + 2 \times \mathrm { P r e } _ { i } + 2 \times \mathrm { P o s } _ { i } \right) + 3 .
336
+ $$
337
+
338
+ As a result, the depth configuration of our network (24, 40, and 56) can be summarized as:
339
+
340
+ <table><tr><td></td><td></td><td>Depth|[Pre1,Pre2,Pre3,Pre4]|[Pos1,Pos2,Pos3,Pos4]</td></tr><tr><td>24</td><td>[1,1,1,1]</td><td>[1,1,1,1]</td></tr><tr><td>40</td><td>[2,2,2,2]</td><td>[2,2,2,2]</td></tr><tr><td>56</td><td>[3,3,3,3]</td><td>[3,3,3,3]</td></tr></table>
parse/dev/3Pbra-_u76D/3Pbra-_u76D_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/9jsZiUgkCZP/9jsZiUgkCZP_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/9jsZiUgkCZP/9jsZiUgkCZP_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/9jsZiUgkCZP/9jsZiUgkCZP_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/J4iSIR9fhY0/J4iSIR9fhY0_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/J4iSIR9fhY0/J4iSIR9fhY0_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/J4iSIR9fhY0/J4iSIR9fhY0_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/OtxyysUdBE/OtxyysUdBE.md ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FedRolex: Model-Heterogeneous Federated Learning with Rolling Sub-Model Extraction
2
+
3
+ Samiul Alam1,2, Luyang $\mathbf { L i u ^ { 3 } }$ , Ming Yan4,1, Mi Zhang2,1 1Michigan State University, 2The Ohio State University, 3Google Research, 4The Chinese University of Hong Kong, Shenzhen alamsami@msu.edu, luyangliu@google.com, yanming@cuhk.edu.cn, mizhang.1@osu.edu
4
+
5
+ # Abstract
6
+
7
+ Most cross-device federated learning (FL) studies focus on the model-homogeneous setting where the global server model and local client models are identical. However, such constraint not only excludes low-end clients who would otherwise make unique contributions to model training but also restrains clients from training large models due to on-device resource bottlenecks. In this work, we propose FedRolex, a partial training (PT)-based approach that enables model-heterogeneous FL and can train a global server model larger than the largest client model. At its core, FedRolex employs a rolling sub-model extraction scheme that allows different parts of the global server model to be evenly trained, which mitigates the client drift induced by the inconsistency between individual client models and server model architectures. We show that FedRolex outperforms state-of-the-art PTbased model-heterogeneous FL methods (e.g. Federated Dropout) and reduces the gap between model-heterogeneous and model-homogeneous FL, especially under the large-model large-dataset regime. In addition, we provide theoretical statistical analysis on its advantage over Federated Dropout and evaluate FedRolex on an emulated real-world device distribution to show that FedRolex can enhance the inclusiveness of FL and boost the performance of low-end devices that would otherwise not benefit from FL. Our code is available at: https://github.com/AIoTMLSys-Lab/FedRolex.
8
+
9
+ # 1 Introduction
10
+
11
+ Federated learning (FL) is a machine learning paradigm that trains models from distributed clients with private data under the coordination of a central server [1, 2]. In this work, we focus on crossdevice FL where clients are usually resource-constrained edge devices. The majority of existing cross-device FL studies focus on the model-homogeneous setting [3–6], in which the server model and the client models across all the participating client devices are identical. However, modelhomogeneous FL are confronted with two fundamental constraints: (1) device heterogeneity is a more realistic consideration when deploying FL systems in real-world applications: different client devices could have very diverse on-device resources and are only capable of training models with capacities that match their on-device resources. Having the same model on all the devices would, unfortunately, exclude clients with low-end devices who would otherwise make unique contributions to model training from their own local data; (2) state-of-the-art machine learning has moved towards large models [7] such as Transformer [8]. Restricting server and client models to be the same inevitably causes model-homogeneous FL to fail to train such large models due to the resource constraint of client devices.
12
+
13
+ To relax the fundamental constraints of model-homogeneous FL, model-heterogeneous FL was proposed where heterogeneous models with different capacities across the server and the clients are trained during the federated training process. One primary challenge in model-heterogeneous $\mathrm { F L }$ is the aggregation of heterogeneous client models. To address this challenge, knowledge distillation (KD)-based approaches have been proposed [9–12], in which the client models serve as teachers and the server ensembles the knowledge distilled from the individual client models. However, KD-based approaches in general require public data on the server to achieve competitive model accuracy, whereas the desired public data may not be always available in practice. Moreover, since KD-based approaches need the individual client models (whole models or prediction layers) or their outputs to be sent to the server, they are incompatible with secure aggregation protocols [16], which limits their privacy guarantee. To remove the dependency on public data and ensure compatibility with secure aggregation, partial training (PT)-based approaches such as random sub-model extraction (Federated Dropout [13]) and static sub-model extraction (HeteroFL [14], FjORD [15]) were proposed. In these approaches, each client trains a smaller sub-model extracted from the larger global server model, and the server model is updated by aggregating those trained sub-models. However, the fundamental issue of existing PT-based methods is that the sub-models are extracted in ways (either random or static) such that the parameters of the global server model are not evenly trained. This makes the server model vulnerable to client drift1 induced by the inconsistency between individual client model and server model architectures – a unique challenge of model-heterogeneous FL.
14
+
15
+ Table 1: Comparison of FedRolex with model-homogeneous and model-heterogeneous FL methods.
16
+
17
+ <table><tr><td></td><td>Model Heterogeneity</td><td>Aggregation Scheme</td><td>Sub-model Extraction Scheme</td><td>Need of Public Data</td><td>Server Model Size</td><td>Compatibility with Secure Aggregation</td></tr><tr><td>FedAvg[3]</td><td rowspan="4">No</td><td rowspan="4"></td><td rowspan="4"></td><td>No</td><td>= Client Model</td><td>Yes</td></tr><tr><td>FedProx [4]</td><td>No</td><td>= Client Model</td><td>Yes</td></tr><tr><td>SCAFFOLD [5]</td><td>No</td><td>= Client Model</td><td>Yes</td></tr><tr><td>FedBE[6]</td><td>Unlabeled</td><td>= Client Model</td><td>No</td></tr><tr><td>FedGKT[9]</td><td rowspan="4">Yes</td><td rowspan="4">Knowledge Distillation</td><td rowspan="4"></td><td>No</td><td>≥ Largest Client Model</td><td>No</td></tr><tr><td>FedDF[10]</td><td>Unlabeled</td><td>= Largest Client Model</td><td>No</td></tr><tr><td>DS-FL [11] Fed-ET [12]</td><td>Unlabeled</td><td>= Largest Client Model</td><td>No</td></tr><tr><td></td><td>Unlabeled</td><td>≥ Largest Client Model</td><td>No</td></tr><tr><td>Federated Dropout [13]</td><td rowspan="4">Yes</td><td rowspan="4">Partial Training</td><td>Random Static</td><td>No</td><td>≥ Largest Client Model</td><td>Yes</td></tr><tr><td>HeteroFL [14]</td><td>Static</td><td>No No</td><td>=Largest Client Model</td><td>Yes</td></tr><tr><td>FjORD [15]</td><td></td><td></td><td>=Largest Client Model</td><td>Yes</td></tr><tr><td>FedRolex (Our Approach)</td><td>Rolling</td><td>No</td><td>≥Largest Client Model</td><td>Yes</td></tr></table>
18
+
19
+ In this work, we propose a PT-based model-heterogeneous FL approach named FedRolex to tackle the fundamental issue of existing methods. The key difference between FedRolex and existing PT-based methods is how the sub-models are extracted for each client over communication rounds in the federated training process. Specifically, instead of extracting sub-models in either random or static manner, FedRolex proposes a rolling sub-model extraction scheme, where the sub-model is extracted from the global server model using a rolling window that advances in each communication round. Since the window is rolling, sub-models from different parts of the global model are extracted in sequence in different rounds. As a result, all the parameters of the global server model are evenly trained over the local data of client devices.
20
+
21
+ The proposed rolling sub-model extraction scheme, though simple, has equipped FedRolex with multifold merits compared to prior arts (Table 1): (1) FedRolex enables different parts of the global server model to be evenly trained, which mitigates the client drift induced by model heterogeneity. (2) Contrary to static sub-model extraction approaches (HeteroFL, FjORD), FedRolex is able to train a global server model that is larger than the largest client model, enabling FL to benefit from the superior performance brought by large models. It echoes some concurrent efforts in developing FL primitives to support training large server models in cross-device settings, e.g. Federated Select [17]. (3) Compared to random sub-model extraction (Federated Dropout), as we show in our theoretical statistical analysis in Section 3 and Appendix A.1, the global server model is trained more evenly by FedRolex as the expected number of rounds for FedRolex going through all the parameters of the global model for at least certain times is smaller than that of Federated Dropout. (4) FedRolex only needs to transmit the sub-model that is needed by a given client instead of the full server model to the client. This allows clients to contribute to federated training under resource constraints and reduces communication overheads (Appendix A.6). (5) Lastly, FedRolex is fully compatible with existing secure aggregation protocols that enhance the privacy properties of FL systems.
22
+
23
+ We evaluate the performance of FedRolex under two regimes: i) small-model small-dataset regime (most existing cross-device FL studies use this combination), and ii) large-model large-dataset regime (this combination echos recent efforts on pushing the frontier of cross-device FL towards training large server models on large-scale datasets [18–21]). We highlight five of our findings: (1) FedRolex consistently outperforms state-of-the-art PT-based model-heterogeneous FL methods under both small-model small-dataset and large-model large-dataset regimes $( \ S 4 . 1 )$ . (2) FedRolex reduces the gap between model-heterogeneous and model-homogeneous FL, especially under large-model large-dataset regime (§4.2). (3) With FedRolex, under both regimes, having a small fraction of large-capacity models could significantly boost the global model accuracy (§4.3). (4) FedRolex is able to train a global server model that is larger than the largest client model and outperforms Federated Dropout in terms of global model accuracy $( \ S 4 . 4 )$ . (5) Using an emulated real-world device distribution, we show that FedRolex enhances the inclusiveness of FL and boosts the performance of low-end devices that would otherwise not benefit from FL (§4.5).
24
+
25
+ # 2 Related Work
26
+
27
+ Knowledge Distillation (KD)-based Model-Heterogeneous FL. One primary approach for modelheterogeneous FL in cross-device settings is based on knowledge distillation (KD) [22]. In particular, FedDF [10] distills knowledge from a set of classifiers trained with private data from a federation of client devices. The logit outputs of each classifier against an unlabeled public dataset are then used to train a student model at the server with KD. Similarly, DS-FL [11] utilized an unlabeled public dataset at the server and proposed a distillation-based semi-supervised FL approach to enhance performance by pseudo-labeling the public data. FedGKT [9] proposed group knowledge transfer in which knowledge is transferred to a large model in the server from clients without public data. Fed-ET [12] proposed a weighted consensus distillation scheme with diversity regularization that enables the training of a large server model with smaller client models. KD-based approaches, however, have several limitations: they often require public data to achieve competitive model accuracy. This is because model accuracy is dependent on the size of public data as well as the domain similarity of public data with client data [10, 12, 23]. Furthermore, as KD-based methods use client model weights partially or entirely as teachers to transfer knowledge to the server, they are incompatible with secure aggregation protocols, making them vulnerable to backdoor attacks [20].
28
+
29
+ Partial Training (PT)-based Model-Heterogeneous FL. To address the limitations of KD-based approaches, partial training (PT) has emerged as another solution for model-heterogeneous FL. Depending on how the sub-models are extracted from the global server model, existing PT-based methods can be in general categorized into two groups: random sub-model extraction and static sub-model extraction. Specifically, inspired by the dropout technique commonly used in centralized training [24], Federated Dropout [13] proposed to randomly extract sub-models from the global model. Though easy to be integrated into existing FL frameworks, as reported in [25], Federated Dropout becomes less effective when the data heterogeneity is high and the client cohort is small due to its randomness in selecting sub-models. In contrast, HeteroFL [14] and FjORD [15] proposed static extraction schemes where sub-models are always extracted from a designated part of the global server model. However, such a static extraction strategy has two primary drawbacks. First, the global server model is restricted to the same size as the largest client model. As such, the size and capability of the global model are implicitly restricted by the resources of client devices, making it not able to train large models due to resource bottlenecks at client devices. Second and more importantly, under static extraction, depending on their resource demands, different sub-models can only be trained on clients whose on-device resources are matched. As a consequence, part of the global server model cannot be trained on data at low-end client devices, causing different parts of the global model to be trained on data with different distributions. This would degrade the performance of the global model, especially under high data heterogeneity. In this work, we propose a rolling sub-model extraction scheme that tackles the issues of both random and static sub-model extraction methods.
30
+
31
+ # 3 Methodology
32
+
33
+ # 3.1 Formulation of Model-Heterogeneous FL
34
+
35
+ Let $\mathcal { N }$ denote $N$ client devices with non-IID (non-identically and independently distributed) local data $\boldsymbol { D } = \{ D _ { 1 } , D _ { 2 } , . . . , D _ { N } \}$ . Model-homogeneous $\mathrm { F L }$ trains a global model of parameter $\theta$ by solving the following optimization problem:
36
+
37
+ $$
38
+ \operatorname* { m i n } _ { \theta } F \left( \theta \right) \triangleq \sum _ { n = 1 } ^ { N } p _ { n } F _ { n } ( \theta )
39
+ $$
40
+
41
+ with
42
+
43
+ $$
44
+ F _ { n } ( \theta ) \triangleq { \frac { 1 } { m _ { n } } } \sum _ { k = 1 } ^ { m _ { n } } l ( \theta ; d _ { n , k } ) ,
45
+ $$
46
+
47
+ where $D _ { n } \triangleq \{ d _ { n , 1 } , d _ { n , 2 } , d _ { n , 3 } . . . d _ { n , m _ { n } } \}$ is the set of local data samples of client $n$ and $p _ { n }$ is its corresponding weight such that $p _ { n } \geq 0$ and $\textstyle \sum _ { n = 1 } ^ { N } p _ { n } = 1$ .
48
+
49
+ In comparison, in model-heterogeneous $\mathrm { F L }$ , clients train local models with heterogeneous capacities $\beta = \{ \bar { \beta } _ { 1 } , \beta _ { 2 } , . . . , \beta _ { N } \}$ , and the local objective function of the $n ^ { t h }$ client becomes
50
+
51
+ $$
52
+ F _ { n } ^ { \prime } ( \theta _ { n } ) \triangleq { \frac { 1 } { m _ { n } } } \sum _ { k = 1 } ^ { m _ { n } } l ( \theta _ { n } ; d _ { n , k } ) .
53
+ $$
54
+
55
+ Here, $\beta _ { n }$ denote the model capacity of client $n$ , and we define it as the proportion of nodes extracted from each layer in $\theta$ for client $n$ . The size of $\theta _ { n }$ depends on $\beta _ { n }$ , and the parameter $\theta _ { n }$ is obtained by selecting a sub-model from the global model $\theta$ , which can change from one round to another. If $\theta _ { n }$ changes, the objective function also changes. For simplicity, we use the same notation $l$ for the loss function for all clients and rounds, though they differ between clients and rounds. The key to model-heterogeneous $\mathrm { F L }$ is selecting $\theta _ { n }$ from the global model $\theta$ given model capacity $\beta _ { n }$ .
56
+
57
+ # 3.2 FedRolex: Model-Heterogeneous FL with Rolling Sub-Model Extraction
58
+
59
+ As a partial training (PT)-based approach, at each client, FedRolex trains only a sub-model extracted from the global server model and sends the corresponding submodel updates back to the server for update aggregation. To help understand how FedRolex works, for simplicity, Figure 1 illustrates three rounds of federated training of FedRolex on two participating heterogeneous clients, where one trains a large-capacity sub-model (left) and the other trains a small-capacity one (right). At the high level, at each round, the server extracts sub-models of different capacities from the global model and separately broadcasts them to the clients that have the corresponding capabilities. The clients train the received sub-models on their local data and transmit their heterogeneous sub-model updates to the server. Lastly, the server aggregates those updates, and the result of the aggregation is used to update the global model for the next round. The pseudocode of FedRolex is in Algorithm 1.
60
+
61
+ The key to the design of FedRolex involves two design choices. In the following, we describe them in detail.
62
+
63
+ (1) What sub-models to be extracted for each client across different rounds? At the server, FedRolex utilizes a rolling window to extract the sub-model from the global model. The rolling window advances in each round, and loops over all parts of the global model in sequence across different rounds. This process iterates such that the global model is evenly trained until convergence.
64
+
65
+ ![](images/279cece0e5a7046b19d662526f8fb00c8c1e4993e9851453b67c2a2f55b155a2.jpg)
66
+ Figure 1: Overview of the rolling submodel extraction scheme in FedRolex.
67
+
68
+ Taking Figure 1 as an example: in round $j$ , the large-capacity and small-capacity client model extracted from the global model is $\{ a , b , c , d \}$ and $\{ c , \bar { d } , e \}$ , respectively. In round $j + 1$ , the rolling window advances one step2, the large-capacity and small-capacity client model becomes $\{ b , c , d , e \}$ and $\{ d , e , a \}$ , respectively. Similarly, in round $j + 2$ , the rolling window advances one step further, and the large-capacity and small-capacity client model becomes $\{ c , d , e , a \}$ and $\{ e , a , b \}$ , respectively.
69
+
70
+ Such a rolling sub-model extraction scheme can be formalized as follows. Let $\theta _ { n } ^ { ( j ) }$ denote the parameters of the sub-model extracted from the global model for client $n$ in round $j$ , $K _ { i }$ denote the total number of nodes in layer $i$ of the global model, and $S _ { n , i } ^ { ( j ) }$ denote the node indices of layer $i$ of the global model that belongs to the extracted sub-model for client $n$ in round $j$ . Then the layer $i$ of the sub-model extracted by the rolling sub-model extraction scheme for client $n$ in round $j$ is given by:
71
+
72
+ $$
73
+ S _ { n , i } ^ { ( j ) } = \left\{ \begin{array} { l l } { \{ \hat { j } , \hat { j } + 1 , \dots , \hat { j } + \lfloor \beta _ { n } K _ { i } \rfloor - 1 \} } & { \mathrm { ~ i f ~ } \hat { j } + \lfloor \beta _ { n } K _ { i } \rfloor \le K _ { i } , } \\ { \{ \hat { j } , \hat { j } + 1 , \dots , K _ { i } - 1 \} \cup \{ 0 , 1 , \dots , \hat { j } + \lfloor \beta _ { n } K _ { i } \rfloor - 1 - K _ { i } \} } & { \mathrm { ~ e l s e . ~ } } \end{array} \right.
74
+ $$
75
+
76
+ where ${ \hat { j } } = j$ mod $K _ { i }$
77
+
78
+ (2) How to aggregate heterogeneous sub-model updates to update the global model? FedRolex employs a straightforward selective averaging scheme with no client weighting to aggregate heterogeneous sub-model updates sent from the clients to update the global model3. Specifically, it computes the average of the updates for each parameter of the global model separately based on how many clients in a round updated that parameter. The parameter remains unchanged if no clients updated it.
79
+
80
+ Taking Figure 1 again as an example: in round $j$ , the updates for $a$ and $b$ are obtained from the large-capacity model and the update for $e$ is from the small-capacity model only. In contrast, since $c$ and $d$ are part of both models, the update is computed by taking the average from both models.
81
+
82
+ # Algorithm 1: FedRolex
83
+
84
+ 1 Initialization ; $\theta ^ { ( 0 ) }$ , N 12 Subroutine clientStep(θ(j)n , Dn)
85
+ Input : $: D _ { n } \beta _ { n } \forall n \in \mathcal N ,$ 13 mn ←− len(Dn)
86
+ Output : 14 for k ← 0 to mn do
87
+ 2 Server Executes 15 $\begin{array} { r l } { \boxed { } } & { { } \theta _ { n } \longleftarrow \theta _ { n } - \eta \nabla l ( \theta _ { n } ; d _ { n , k } ) } \end{array}$
88
+ 3 for $j 0$ to $J - 1$ do 16 end
89
+ 4 Sample subset $\mathcal { M }$ from $\mathcal { N }$ 17 return $\theta _ { n }$
90
+ 5 Broadcast θ(j) $\theta _ { m , S _ { m , i } ^ { ( j ) } } ^ { ( j ) }$ to client $m \in \mathcal { M }$
91
+ 6 $\forall i , \boldsymbol { S } _ { m , i } ^ { ( j ) }$ from Equation (4)
92
+ 7 for each client $m \in \mathcal { M }$ do
93
+ 8 clientStep(θ(j)m , Dm)
94
+ 9 end
95
+ 10 Aggregate θ(j+1)[i,k] according to Equation (10)
96
+ 11 end
97
+
98
+ # 3.3 Comparison with Random and Static Sub-model Extraction Schemes
99
+
100
+ Existing sub-model extraction schemes can be grouped as random-based (Federated Dropout) and static-based (HeteroFL, FjORD) methods. In this section, we describe the differences between them and the proposed rolling-based scheme employed in FedRolex. For comparison purpose, the pseudocodes of both Federated Dropout and HeteroFL are included in Appendix A.8.
101
+
102
+ # 3.3.1 Comparison with Random Sub-Model Extraction Scheme
103
+
104
+ In random sub-model extraction scheme, in each round, the sub-models are extracted from the global model in a random manner. As such, the layer $i$ of the sub-model extracted by the random sub-model extraction scheme for client $n$ in round $j$ is given by:
105
+
106
+ $$
107
+ \begin{array} { r } { S _ { n , i } ^ { ( j ) } = \{ k _ { c } ~ | ~ \mathrm { i n t e g e r } ~ k _ { c } \in [ 0 , K _ { i } - 1 ] \mathrm { ~ f o r } ~ 1 \leq c \leq \lfloor \beta _ { n } K _ { i } \rfloor \} , } \end{array}
108
+ $$
109
+
110
+ where a total number of $\lfloor \beta _ { n } K _ { i } \rfloor$ nodes are randomly chosen from the global model.
111
+
112
+ Discussion: As shown in Figure 2(left), similar to the proposed rolling-based scheme, the sub-models extracted across different rounds by the random-based scheme have different architectures. However, due to its randomness in selecting sub-models in each round, the global model is trained less evenly, making it more vulnerable to client drift. In short, although the expected value of the frequency for updating each index is the same for all the indices, their exact frequencies are not the same due to randomness. Consequently, the random-based scheme cannot balance the update frequencies of different parts of the global model, and it inevitably takes more rounds to update the whole global model. Moreover, as we show in Appendix A.1, the expected number of rounds for Federated Dropout selecting all $I$ sub-models at least $m$ times is in the order of $I \log ( I ) + I ( m - 1 ) \log \log I$ , which is larger than that of FedRolex, $m I$ .
113
+
114
+ ![](images/e165594baec07c04a727b4d8fe9fbf59ae3c69c99c899f262efc0e7c6ec1f5ba.jpg)
115
+ Figure 2: Illustration of how sub-models are extracted by random sub-model extraction scheme (Left) and static sub-model extraction scheme (Right) over two rounds.
116
+
117
+ # 3.3.2 Comparison with Static Sub-Model Extraction Scheme
118
+
119
+ In static sub-model extraction scheme, in each round, the sub-models are always extracted from a designated part of the global model. As such, the layer $i$ of the sub-model extracted by the static sub-model extraction scheme for client $n$ in round $j$ is given by:
120
+
121
+ $$
122
+ \mathcal { S } _ { n , i } ^ { ( j ) } = \{ 0 , 1 , 2 , \ldots , \lfloor \beta _ { n } K _ { i } \rfloor - 1 \} .
123
+ $$
124
+
125
+ Note that $S _ { n , i } ^ { ( j ) }$ does not depend on $j$ . In other words, as shown in Figure $2 ( \mathrm { r i g h t } )$ , the same sub-model is extracted for each client in every round. Moreover, the client model with smaller capacity and client model with larger capacity are not independent. As shown in Figure 2(right), the small-capacity model $\{ a , b , c \}$ is a part of the large-capacity model $\{ a , b , c , d \}$ , which again, is a part of the globalcapacity model $\{ a , b , c , d , e \}$ . These are the two key differences between both the random-based and the proposed rolling-based scheme.
126
+
127
+ Discussion: Given that, the static-based scheme, however, has two primary drawbacks. First, to cover the whole global model, there must be clients to train the full-size global model $\{ a , b , c , d , e \}$ . As such, the global model is restricted to the same size as the largest client model. Second, as shown in Figure 2(right), while $a , b$ and $c$ will be trained on data on all three types of clients, $d$ will not be trained on data on small-capacity clients, and $e$ will only be trained on data on global-model-capacity clients. As a consequence, different parts of the global model are trained on data with different distributions, which inevitably degrades the global model training quality.
128
+
129
+ # 4 Experiments
130
+
131
+ Datasets and Models. We evaluate the performance of FedRolex under two regimes. Under small-model small-dataset regime, we train pre-activated ResNet18 (PreResNet18) models [26] on CIFAR-10 and CIFAR-100 [27]. We replace the batch Normalization in PreResNet18 with static batch normalization [14, 28] and add a scalar module after each convolution layer [14]. Under largemodel large-dataset regime, we use Stack Overflow [29] and followed [2] to train a modified 3-layer Transformer [8] with a vocabulary of 10, 000 words, where the dimension of token embeddings is
132
+
133
+ 128, and the hidden dimension of the feed-forward network (FFN) block is 2048. We use ReLU activation and use 8 heads for the multi-head attention where each head is based on 12-dimensional (query, key, value) vectors. The statistics of the datasets are listed in Table 2.
134
+
135
+ Table 2: Dataset statistics.
136
+
137
+ <table><tr><td>Dataset CIFAR-10</td><td>Train Clients</td><td>Train Examples 50.000</td><td>Validation Clients</td><td>Validation Examples</td><td>Test Clients</td><td>Test Examples 10,000</td></tr><tr><td>CIFAR-100</td><td>100 100</td><td>50.000</td><td>N/A N/A</td><td>N/A N/A</td><td>N/A N/A</td><td>10.000</td></tr><tr><td>Stack Overflow</td><td>342,477</td><td>135,818,730</td><td>38,758</td><td>16,491,230</td><td>204,088</td><td>16,586,035</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
138
+
139
+ Data Heterogeneity. For CIFAR-10 and CIFAR-100, we followed HeteroFL [14] to model non-IID distributions by restricting each client to have $L$ labels. In our evaluation, we consider two levels of data heterogeneity. For CIFAR-10, we define $L = 2$ as high data heterogeneity and $L = 5$ as low data heterogeneity. For CIFAR-100, we use $L = 2 0$ as high data heterogeneity and $L = 5 0$ as low data heterogeneity. These two levels roughly correspond to Dirichlet distribution $D i r _ { K } ( \alpha )$ with $\alpha$ equal to 0.1 and 0.5, respectively. For Stack Overflow, the dataset is partitioned over user IDs, making the dataset naturally non-IID distributed.
140
+
141
+ Model Heterogeneity. Without loss of generality, in our evaluation, we consider five different client model capacities $\beta = \{ 1 , ^ { 1 / 2 } , ^ 1 / 4 , 1 / 8 , 1 / \bar { 1 } 6 \}$ where for instance, $^ 1 / 2$ means the client model capacity is half of the largest client model capacity (full model). To generate these client models, for ResNet18, we vary the number of kernels in convolution layers and keep the nodes in the output layers the same. For Transformer, we vary the number of nodes in the hidden layer of the attention heads.
142
+
143
+ Baselines. We compare FedRolex against both state-of-the-art PT-based model-heterogeneous FL methods including Federated Dropout [13] and HeteroFL $[ 1 4 ] ^ { 4 }$ as well as state-of-the-art KD-based model-heterogeneous $\mathrm { F L }$ methods including FedDF [10], DS-FL [11] and Fed-ET [12] 5. To ensure a fair comparison, all the PT-based baselines are trained using the same learning rate, number of communication rounds, and multi-step learning rate decay schedule. The details of the schedule for each dataset and experiment are described in Appendix A.7.
144
+
145
+ Configurations and Platform. For CIFAR-10 and CIFAR-100, we apply bounding box crop [30] to augment the images. In each communication round, $1 0 \%$ of the clients are randomly selected from a pool of 100 clients. For Stack Overflow, we followed [2] to use a $1 0 \%$ dropout rate to prevent overfitting, and 200 clients are randomly selected from a pool of 342, 477 clients in each communication round. The details of the hyper-parameters for model training are included in Appendix A.7. We implemented FedRolex and PT-based baselines using PyTorch [31] and Ray [32], and conducted our experiments on 8 NVIDIA A6000 GPUs.
146
+
147
+ Evaluation Metrics. We use global and local model accuracy as our evaluation metrics. Specifically, global model accuracy is defined as the server model accuracy on the test set; and local model accuracy is defined as the accuracy of the server model on each of the client’s local datasets. For CIFAR-10 and CIFAR-100, we report the classification accuracy. For Stack Overflow, we report the next word prediction accuracy which includes both out-of-vocabulary (OOV) and end-of-sentence (EOS) tokens. We run our experiments using five different seeds for CIFAR-10 and CIFAR-100 and using three different seeds for Stack Overflow.
148
+
149
+ # 4.1 Performance Comparison with State-of-the-Art Model-Heterogeneous FL Methods
150
+
151
+ First, we compare the performance of FedRolex with state-of-the-art PT and KD-based modelheterogeneous FL methods. For a fair comparison, we followed the experimental settings used in prior arts where the distributions of client model capacities are uniform and the global server model is the same as the largest client model.
152
+
153
+ Evaluation Results: Table 3 summarizes our results. We have two observations. (1) In comparison with state-of-the-art PT-based methods, under the small-model small-dataset regime, FedRolex consistently outperforms HeteroFL and Federated Dropout under both low and more challenging high data heterogeneity scenarios. In particular, under high data heterogeneity, Federated Dropout which extracts sub-model randomly has worse performance than FedRolex and HeteroFL which both extract sub-models in a deterministic manner. Under large-model large-dataset regime, FedRolex also outperforms both HeteroFL and Federated Dropout. These results together demonstrate the superiority of FedRolex under both regimes. (2) In comparison with state-of-the-art KD-based methods, FedRolex only performs worse than Fed-ET and FedDF on CIFAR-10 under high data heterogeneity, but outperforms all the KD-based methods on the more challenging CIFAR-100 which has a larger number classes than CIFAR-10 under both low and high data heterogeneity scenarios. It is important to note that KD-based methods leverage public data to boost their model accuracy while FedRolex does not.
154
+
155
+ Table 3: Global model accuracy comparison between FedRolex, PT and KD-based modelheterogeneous FL methods, and model-homogeneous FL methods. Note that the results of KD-based methods were obtained from [12]. For Stack Overflow, since KD-based methods cannot be directly used for language modeling tasks, their results are marked as N/A.
156
+
157
+ <table><tr><td rowspan="2"></td><td rowspan="2">Method</td><td colspan="2">High Data Heterogeneity</td><td colspan="2">Low Data Heterogeneity</td><td rowspan="2">Stack Overflow</td></tr><tr><td>CIFAR-10</td><td>CIFAR-100</td><td>CIFAR-10</td><td>CIFAR-100</td></tr><tr><td rowspan="3">KD-based</td><td>FedDF</td><td>73.81 (± 0.42)</td><td>31.87 (± 0.46)</td><td>76.55 (± 0.32)</td><td>37.87 (± 0.31)</td><td>N/A</td></tr><tr><td>DS-FL</td><td>65.27 (±0.53)</td><td>29.12 (± 0.51)</td><td>68.44 (± 0.47)</td><td>33.56 (± 0.55)</td><td>N/A</td></tr><tr><td>Fed-ET</td><td>78.66 (± 0.31)</td><td>35.78 (± 0.45)</td><td>81.13 (± 0.28)</td><td>41.58 (± 0.36)</td><td>N/A</td></tr><tr><td rowspan="3">PT-based</td><td>HeteroFL</td><td>63.90 (± 2.74)</td><td>52.38 (± 0.80)</td><td>73.19 (± 1.71)</td><td>57.44 (± 0.42)</td><td>27.21 (± 0.22)</td></tr><tr><td>Federated Dropout</td><td>46.64 (± 3.05)</td><td>45.07 (± 0.07)</td><td>76.20 (± 2.53)</td><td>46.40 (± 0.21)</td><td>23.46 (± 0.12)</td></tr><tr><td>FedRolex</td><td>69.44 (± 1.50)</td><td>56.57 (± 0.15)</td><td>84.45 (± 0.36)</td><td>58.73 (± 0.33)</td><td>29.22 (± 0.24)</td></tr><tr><td rowspan="2"></td><td>Homogeneous (smallest)</td><td>38.82(± 0.88)</td><td>12.69 (± 0.50)</td><td>46.86 (± 0.54)</td><td>19.70 (± 0.34)</td><td>27.32 (± 0.12)</td></tr><tr><td>Homogeneous (largest)</td><td>75.74 (± 0.42)</td><td>60.89 (± 0.60)</td><td>84.48 (± 0.58)</td><td>62.51 (± 0.20)</td><td>29.79 (± 0.32)</td></tr></table>
158
+
159
+ # 4.2 Performance Comparison with Model-Homogeneous FL Methods
160
+
161
+ We also compare the global model accuracy of FedRolex with two model-homogeneous cases where all the clients have the largest capacity model $\beta = \{ 1 \}$ ) and the smallest capacity model $\begin{array} { r } { \left( \beta = \sqrt { 1 / 1 6 } \right) } \end{array}$ ), representing the upper and lower-bound performance, respectively.
162
+
163
+ Evaluation Results: As listed in Table 3, compared with other PT-based methods, FedRolex reduces the gap in global model accuracy between model-heterogeneous and upper-bound modelhomogeneous settings. In particular, FedRolex is on par with the upper-bound model-homogeneous case for Stack Overflow, whereas both HeteroFL and Federated Dropout perform even worse than the model homogeneous case using the smallest model. This result indicates that with FedRolex, we will not be constrained to only using high-end devices to achieve competitive global model accuracy. Note that Fed-ET achieves a higher global model accuracy than the model-homogeneous upper bound on CIFAR-10 under high data heterogeneity, which showcases the advantage of using public data.
164
+
165
+ # 4.3 Impact of Client Model Heterogeneity Distribution
166
+
167
+ In our previous experiments, the distributions of model capacities across client devices are set to be uniform. In this experiment, we aim to understand the impact of the client model heterogeneity distribution. To do so, without loss of generality, we use two client model capacities $\beta = \{ \bar { 1 } , { ^ { 1 } / _ { 1 6 } } \}$ and vary the distribution ratio between the two (denoted as $\rho \mathrm { \hbar }$ ) where $\rho = 1$ represents the case in which all the clients have the largest capacity model $\begin{array} { r } { \beta = \{ 1 \} } \end{array}$ ) and $\rho = 0$ represents the case in which all the clients have the smallest capacity model $( \beta = \left\{ { 1 } / { 1 6 } \right\}$ ).
168
+
169
+ Evaluation Results: Figure 3 shows how global model accuracy changes when $\rho$ varies from 0 to 1 for CIFAR-10, CIFAR-100 and Stack Overflow. We have three observations. (1) For CIFAR-10 (Figure 3(i)), there is a large gap in global model accuracy between high and low data heterogeneity for a wide range of $\rho$ (from 0.1 to 1). This is because CIFAR-10 is a relatively simple task and hence the global model accuracy is bottlenecked by the level of data heterogeneity instead of model capacity. This result indicates that having more high-capacity models in the cohort has only limited contribution to global model accuracy. (2) For the more challenging CIFAR-100 (Figure 3(ii)), the gap in global model accuracy is much lower between high and low data heterogeneity. In contrast to CIFAR-10, the global model accuracy is bottlenecked by the highest capacity of the models rather than the level of data heterogeneity. (3) For both regimes (Figure 3(i)(ii) vs. Figure 3(iii)), we observe that having a small fraction of large-capacity models significantly boosts the global model accuracy, but keeping increasing the ratio of large-capacity models has limited contribution to the accuracy.
170
+
171
+ ![](images/54a8526c0ffbaff84447015f2bec64690c39e542670cf9bce67091bc7c1df68c.jpg)
172
+ Figure 3: Impact of client model heterogeneity distribution on global model accuracy for (i) CIFAR10, (ii) CIFAR-100, and (iii) Stack Overflow.
173
+
174
+ # 4.4 Performance on Training Larger Server Model
175
+
176
+ Similar to Federated Dropout, one advantage of FedRolex over static sub-model extraction methods (HeteroFL and FjORD) is that FedRolex is able to train a global server model that is larger than the largest client model. In this experiment, we aim to evaluate the performance of FedRolex on training larger server models. To do so, we consider the case where the size of the global server model is $\gamma \overset { \cdot } { = } \{ 2 , 4 , 8 , 1 6 \}$ times the size of client models. For simplicity, all client models have the same size.
177
+
178
+ Evaluation Results: Figure 4(i) and Figure 4(ii) compare FedRolex with Federated Dropout in terms of global model accuracy when $\gamma$ for CIFAR-10 and CIFAR-100, respectively. As shown, although the global model accuracy drops for both FedRolex and Federated Dropout when $\gamma$ increases, especially from 1 to 4, FedRolex consistently achieves higher global model accuracy than Federated Dropout across $\gamma = \{ 2 , 4 , 8 , 1 6 \}$ under both low and high data heterogeneity. For Stack Overflow (Figure 4(iii)), the global model accuracy has a much smaller drop when $\gamma$ increases. This demonstrates the superiority of using large models on large-scale datasets for training larger server models.
179
+
180
+ ![](images/dc26fa907235d516ac65f0e07501364b48fc28547d09a1bd772a601c68306ae5.jpg)
181
+ Figure 4: Performance on training larger server model when the server model is $\gamma$ times the size of the client model for (i) CIFAR-10, (ii) CIFAR-100, and (iii) Stack Overflow.
182
+
183
+ # 4.5 Enhance Inclusiveness of FL in Real-world Distribution
184
+
185
+ A primary vision of FedRolex is to enhance the inclusiveness of FL. To demonstrate this, in this experiment, we use real-world household income distribution to emulate real-world device distribution. Specifically, we retrieve household income distribution information from Bureau [33]. We map $\beta _ { n } = { ^ { 1 } } / { _ { 1 6 } }$ with the income group with earning less than $\$ 75,000$ and assign proportions of remaining groups in $\$ 25$ , 000 increments with increasing values of $\beta _ { n }$ . Detailed mapping of this distribution to the corresponding income distribution is provided in Figure 7 in Appendix A.7.
186
+
187
+ ![](images/3a5cc1ceb24d9af6e3ccb5412cfe9ff89a92852da8096a9afd3da5980d14c226.jpg)
188
+ Figure 5: Local model accuracy distribution of FedRolex (orange color) vs. the smallest modelhomogeneous case (blue color) for CIFAR-10 and CIFAR-100 under low and high data heterogeneity.
189
+
190
+ Evaluation Results: Table 4 shows both the global and local model accuracies of FedRolex for CIFAR-10 and CIFAR-100 as well as the global model accuracy on Stack Overflow under the emulated real-world device distribution. Again, we compare with two model-homogeneous cases where all clients have the smallest and largest model capacities, representing lower and upper-bound accuracy, respectively. We make two observations. (1) Looking at the global model accuracy, FedRolex consistently outperforms the lower-bound model-homogeneous case across CIFAR-10, CIFAR-100, and Stack Overflow. This result indicates that FedRolex enhances the inclusiveness of FL and improves the accuracy of the global model, which would otherwise not be able to achieve. (2) Looking at the local model accuracy, FedRolex significantly outperforms the lower-bound modelhomogeneous case on CIFAR-10 and CIFAR-100 under both low and high data heterogeneity. This result indicates that FedRolex effectively boosts the performance of low-end devices, which would otherwise not benefit from FL. A detailed illustration of how local model accuracy distribution of individual clients shifts when FedRolex is used compared to the smallest model-homogeneous case with the same client outreach is shown in Figure 5.
191
+
192
+ # 5 Conclusion
193
+
194
+ We presented FedRolex, a partial training (PT)-based model-heterogeneous FL approach that is able to train a global server model larger than the largest client model. FedRolex proposed a rolling sub-model extraction scheme that enables parameters of the global server model to be evenly trained to mitigate client drift induced by model heterogeneity. We provided a theoretical statistical analysis of its advantage over Federated Dropout. Our experimental results show that FedRolex consistently outperforms state-of-the-art PT-based methods across models and datasets at both small and large scales. Moreover, we demonstrated its performance on an emulated real-world device distribution and show FedRolex contributes to making FL more inclusive.
195
+
196
+ Limitations and Future works. In this work, we provided a statistical analysis of FedRolex. Full convergence analysis of FedRolex is not trivial and is left for future work. In addition, the goal of this work is to train a global server model using a federation of heterogeneous client models. Determining what models to deploy onto each client after the global server model is trained is a separate task, especially when the global server model is large. We will pursue it as our future work.
197
+
198
+ # 6 Acknowledgement
199
+
200
+ We thank the reviewers for their helpful comments. This work was partially supported by NSF PFI:BIC-1632051, CNS-1814551, DMS-2012439, and a Google Computing Platform (GCP) grant.
201
+
202
+ References
203
+ [1] Peter Kairouz, H Brendan McMahan, Brendan Avent, Aurélien Bellet, Mehdi Bennis, Arjun Nitin Bhagoji, Kallista Bonawitz, Zachary Charles, Graham Cormode, Rachel Cummings, et al. Advances and open problems in federated learning. Foundations and Trends® in Machine Learning, 14(1–2):1–210, 2021.
204
+ [2] Jianyu Wang, Zachary Charles, Zheng Xu, Gauri Joshi, H. Brendan McMahan, Blaise Aguera y Arcas, Maruan Al-Shedivat, Galen Andrew, Salman Avestimehr, Katharine Daly, Deepesh Data, Suhas Diggavi, Hubert Eichner, Advait Gadhikar, Zachary Garrett, Antonious M. Girgis, Filip Hanzely, Andrew Hard, Chaoyang He, Samuel Horvath, Zhouyuan Huo, Alex Ingerman, Martin Jaggi, Tara Javidi, Peter Kairouz, Satyen Kale, Sai Praneeth Karimireddy, Jakub Konecny, Sanmi Koyejo, Tian Li, Luyang Liu, Mehryar Mohri, Hang Qi, Sashank J. Reddi, Peter Richtarik, Karan Singhal, Virginia Smith, Mahdi Soltanolkotabi, Weikang Song, Ananda Theertha Suresh, Sebastian U. Stich, Ameet Talwalkar, Hongyi Wang, Blake Woodworth, Shanshan Wu, Felix X. Yu, Honglin Yuan, Manzil Zaheer, Mi Zhang, Tong Zhang, Chunxiang Zheng, Chen Zhu, and Wennan Zhu. A field guide to federated optimization, 2021.
205
+ [3] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pages 1273–1282. PMLR, 2017.
206
+ [4] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. Proceedings of Machine Learning and Systems, 2:429–450, 2020.
207
+ [5] Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank Reddi, Sebastian Stich, and Ananda Theertha Suresh. Scaffold: Stochastic controlled averaging for federated learning. In International Conference on Machine Learning, pages 5132–5143. PMLR, 2020.
208
+ [6] Hong-You Chen and Wei-Lun Chao. Fedbe: Making bayesian model ensemble applicable to federated learning. arXiv preprint arXiv:2009.01974, 2020.
209
+ [7] Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021.
210
+ [8] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
211
+ [9] Chaoyang He, Murali Annavaram, and Salman Avestimehr. Group knowledge transfer: Federated learning of large cnns at the edge. Advances in Neural Information Processing Systems, 33: 14068–14080, 2020.
212
+ [10] Tao Lin, Lingjing Kong, Sebastian U Stich, and Martin Jaggi. Ensemble distillation for robust model fusion in federated learning. Advances in Neural Information Processing Systems, 33: 2351–2363, 2020.
213
+ [11] Sohei Itahara, Takayuki Nishio, Yusuke Koda, Masahiro Morikura, and Koji Yamamoto. Distillation-based semi-supervised federated learning for communication-efficient collaborative training with non-iid private data. arXiv preprint arXiv:2008.06180, 2020.
214
+ [12] Yae Jee Cho, Andre Manoel, Gauri Joshi, Robert Sim, and Dimitrios Dimitriadis. Heterogeneous ensemble knowledge transfer for training large models in federated learning. International Joint Conference on Artificial Intelligence (IJCAI), 2022.
215
+ [13] Sebastian Caldas, Jakub Konecny, H Brendan McMahan, and Ameet Talwalkar. Expanding ˇ the reach of federated learning by reducing client resource requirements. arXiv preprint arXiv:1812.07210, 2018.
216
+ [14] Enmao Diao, Jie Ding, and Vahid Tarokh. Heterofl: Computation and communication efficient federated learning for heterogeneous clients. arXiv preprint arXiv:2010.01264, 2020.
217
+
218
+ [15] Samuel Horvath, Stefanos Laskaridis, Mario Almeida, Ilias Leontiadis, Stylianos Venieris, and Nicholas Lane. Fjord: Fair and accurate federated learning under heterogeneous targets with ordered dropout. Advances in Neural Information Processing Systems, 34, 2021.
219
+
220
+ [16] Keith Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H Brendan McMahan, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. Practical secure aggregation for federated learning on user-held data. arXiv preprint arXiv:1611.04482, 2016.
221
+
222
+ [17] Zachary Charles, Kallista Bonawitz, Stanislav Chiknavaryan, Brendan McMahan, et al. Federated select: A primitive for communication-and memory-efficient federated learning. arXiv preprint arXiv:2208.09432, 2022.
223
+
224
+ [18] Jae Hun Ro, Theresa Breiner, Lara McConnaughey, Mingqing Chen, Ananda Theertha Suresh, Shankar Kumar, and Rajiv Mathews. Scaling language model size in cross-device federated learning. arXiv preprint arXiv:2204.09715, 2022.
225
+
226
+ [19] Zachary Charles, Kallista Bonawitz, Stanislav Chiknavaryan, Brendan McMahan, and Blaise Agüera y Arcas. Federated select: A primitive for communication- and memory-efficient federated learning, 2022. URL https://arxiv.org/abs/2208.09432.
227
+
228
+ [20] Hongyi Wang, Kartik Sreenivasan, Shashank Rajput, Harit Vishwakarma, Saurabh Agarwal, Jy-yong Sohn, Kangwook Lee, and Dimitris Papailiopoulos. Attack of the tails: Yes, you really can backdoor federated learning. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 16070–16084. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/ paper/2020/file/b8ffa41d4e492f0fad2f13e29e1762eb-Paper.pdf.
229
+
230
+ [21] Tien-Ju Yang, Dhruv Guliani, Françoise Beaufays, and Giovanni Motta. Partial variable training for efficient on-device federated learning. In ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 4348–4352. IEEE, 2022.
231
+
232
+ [22] Geoffrey Hinton, Oriol Vinyals, Jeff Dean, et al. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2(7), 2015.
233
+
234
+ [23] Samuel Don Stanton, Pavel Izmailov, Polina Kirichenko, Alexander A Alemi, and Andrew Gordon Wilson. Does knowledge distillation really work? In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, 2021. URL https://openreview.net/forum?id $\cdot ^ { = }$ 7J-fKoXiReA.
235
+
236
+ [24] Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research, 15(1):1929–1958, 2014.
237
+
238
+ [25] Gary Cheng, Zachary Charles, Zachary Garrett, and Keith Rush. Does federated dropout actually work? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3387–3395, 2022.
239
+
240
+ [26] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
241
+
242
+ [27] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
243
+
244
+ [28] Mathieu Andreux, Jean Ogier du Terrail, Constance Beguier, and Eric W Tramel. Siloed federated learning for multi-centric histopathology datasets. In Domain Adaptation and Representation Transfer, and Distributed and Collaborative Learning, pages 129–139. Springer, 2020.
245
+
246
+ [29] TFF. Tensorflow federated stack overflow dataset. Online: https://www. tensorflow. org/federated/api_docs/python/tff/simulation/datasets/stackoverflow, 2019.
247
+
248
+ [30] Barret Zoph, Ekin D Cubuk, Golnaz Ghiasi, Tsung-Yi Lin, Jonathon Shlens, and Quoc V Le. Learning data augmentation strategies for object detection. In European conference on computer vision, pages 566–583. Springer, 2020.
249
+
250
+ [31] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, highperformance deep learning library. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché- Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019. URL http://papers.neurips.cc/paper/ 9015-pytorch-an-imperative-style-high-performance-deep-learning-library. pdf.
251
+
252
+ [32] Philipp Moritz, Robert Nishihara, Stephanie Wang, Alexey Tumanov, Richard Liaw, Eric Liang, Melih Elibol, Zongheng Yang, William Paul, Michael I Jordan, et al. Ray: A distributed framework for emerging $\{ \mathrm { A I } \}$ applications. In 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), pages 561–577, 2018.
253
+
254
+ [33] U.S. Census Bureau. Percentage distribution of household income in the u.s. in 2020. In Statista, September 2021. Retrieved May 18, 2022, from https://www.statista.com/statistics/ 203183/percentage-distribution-of-household-income-in-the-us.
255
+
256
+ [34] Sheldon M. Ross. Introduction to Probability Models. Academic Press, San Diego, CA, USA, 11th edition, 2014.
257
+
258
+ [35] Donald J Newman. The double dixie cup problem. The American Mathematical Monthly, 67 (1):58–61, 1960.
259
+
260
+ [36] Manoj Ghuhan Arivazhagan, Vinay Aggarwal, Aaditya Kumar Singh, and Sunav Choudhary. Federated learning with personalization layers. arXiv preprint arXiv:1912.00818, 2019.
261
+
262
+ # Checklist
263
+
264
+ 1. For all authors...
265
+
266
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
267
+ (b) Did you describe the limitations of your work? [Yes]
268
+ (c) Did you discuss any potential negative societal impacts of your work? [No]
269
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
270
+
271
+ 2. If you are including theoretical results...
272
+
273
+ (a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes]
274
+
275
+ 3. If you ran experiments...
276
+
277
+ (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]
278
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
279
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes]
280
+ (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]
281
+
282
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
283
+
284
+ (a) If your work uses existing assets, did you cite the creators? [Yes]
285
+ (b) Did you mention the license of the assets? [N/A]
286
+ (c) Did you include any new assets either in the supplemental material or as a URL? [N/A]
287
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
288
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
289
+
290
+ 5. If you used crowdsourcing or conducted research with human subjects...
291
+
292
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
293
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
294
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/dev/OtxyysUdBE/OtxyysUdBE_content_list.json ADDED
@@ -0,0 +1,1433 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "FedRolex: Model-Heterogeneous Federated Learning with Rolling Sub-Model Extraction ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 178,
8
+ 122,
9
+ 821,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Samiul Alam1,2, Luyang $\\mathbf { L i u ^ { 3 } }$ , Ming Yan4,1, Mi Zhang2,1 1Michigan State University, 2The Ohio State University, 3Google Research, 4The Chinese University of Hong Kong, Shenzhen alamsami@msu.edu, luyangliu@google.com, yanming@cuhk.edu.cn, mizhang.1@osu.edu ",
17
+ "bbox": [
18
+ 199,
19
+ 224,
20
+ 800,
21
+ 284
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 318,
32
+ 535,
33
+ 335
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Most cross-device federated learning (FL) studies focus on the model-homogeneous setting where the global server model and local client models are identical. However, such constraint not only excludes low-end clients who would otherwise make unique contributions to model training but also restrains clients from training large models due to on-device resource bottlenecks. In this work, we propose FedRolex, a partial training (PT)-based approach that enables model-heterogeneous FL and can train a global server model larger than the largest client model. At its core, FedRolex employs a rolling sub-model extraction scheme that allows different parts of the global server model to be evenly trained, which mitigates the client drift induced by the inconsistency between individual client models and server model architectures. We show that FedRolex outperforms state-of-the-art PTbased model-heterogeneous FL methods (e.g. Federated Dropout) and reduces the gap between model-heterogeneous and model-homogeneous FL, especially under the large-model large-dataset regime. In addition, we provide theoretical statistical analysis on its advantage over Federated Dropout and evaluate FedRolex on an emulated real-world device distribution to show that FedRolex can enhance the inclusiveness of FL and boost the performance of low-end devices that would otherwise not benefit from FL. Our code is available at: https://github.com/AIoTMLSys-Lab/FedRolex. ",
40
+ "bbox": [
41
+ 233,
42
+ 349,
43
+ 766,
44
+ 611
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 635,
55
+ 310,
56
+ 651
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Federated learning (FL) is a machine learning paradigm that trains models from distributed clients with private data under the coordination of a central server [1, 2]. In this work, we focus on crossdevice FL where clients are usually resource-constrained edge devices. The majority of existing cross-device FL studies focus on the model-homogeneous setting [3–6], in which the server model and the client models across all the participating client devices are identical. However, modelhomogeneous FL are confronted with two fundamental constraints: (1) device heterogeneity is a more realistic consideration when deploying FL systems in real-world applications: different client devices could have very diverse on-device resources and are only capable of training models with capacities that match their on-device resources. Having the same model on all the devices would, unfortunately, exclude clients with low-end devices who would otherwise make unique contributions to model training from their own local data; (2) state-of-the-art machine learning has moved towards large models [7] such as Transformer [8]. Restricting server and client models to be the same inevitably causes model-homogeneous FL to fail to train such large models due to the resource constraint of client devices. ",
63
+ "bbox": [
64
+ 174,
65
+ 662,
66
+ 825,
67
+ 854
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "To relax the fundamental constraints of model-homogeneous FL, model-heterogeneous FL was proposed where heterogeneous models with different capacities across the server and the clients are trained during the federated training process. One primary challenge in model-heterogeneous $\\mathrm { F L }$ is the aggregation of heterogeneous client models. To address this challenge, knowledge distillation (KD)-based approaches have been proposed [9–12], in which the client models serve as teachers and the server ensembles the knowledge distilled from the individual client models. However, KD-based approaches in general require public data on the server to achieve competitive model accuracy, whereas the desired public data may not be always available in practice. Moreover, since KD-based approaches need the individual client models (whole models or prediction layers) or their outputs to be sent to the server, they are incompatible with secure aggregation protocols [16], which limits their privacy guarantee. To remove the dependency on public data and ensure compatibility with secure aggregation, partial training (PT)-based approaches such as random sub-model extraction (Federated Dropout [13]) and static sub-model extraction (HeteroFL [14], FjORD [15]) were proposed. In these approaches, each client trains a smaller sub-model extracted from the larger global server model, and the server model is updated by aggregating those trained sub-models. However, the fundamental issue of existing PT-based methods is that the sub-models are extracted in ways (either random or static) such that the parameters of the global server model are not evenly trained. This makes the server model vulnerable to client drift1 induced by the inconsistency between individual client model and server model architectures – a unique challenge of model-heterogeneous FL. ",
74
+ "bbox": [
75
+ 176,
76
+ 861,
77
+ 823,
78
+ 904
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "table",
84
+ "img_path": "images/a31005b611b97633a2e26199175d66c6e288638f43a05594141f3a9b10b90885.jpg",
85
+ "table_caption": [
86
+ "Table 1: Comparison of FedRolex with model-homogeneous and model-heterogeneous FL methods. "
87
+ ],
88
+ "table_footnote": [],
89
+ "table_body": "<table><tr><td></td><td>Model Heterogeneity</td><td>Aggregation Scheme</td><td>Sub-model Extraction Scheme</td><td>Need of Public Data</td><td>Server Model Size</td><td>Compatibility with Secure Aggregation</td></tr><tr><td>FedAvg[3]</td><td rowspan=\"4\">No</td><td rowspan=\"4\"></td><td rowspan=\"4\"></td><td>No</td><td>= Client Model</td><td>Yes</td></tr><tr><td>FedProx [4]</td><td>No</td><td>= Client Model</td><td>Yes</td></tr><tr><td>SCAFFOLD [5]</td><td>No</td><td>= Client Model</td><td>Yes</td></tr><tr><td>FedBE[6]</td><td>Unlabeled</td><td>= Client Model</td><td>No</td></tr><tr><td>FedGKT[9]</td><td rowspan=\"4\">Yes</td><td rowspan=\"4\">Knowledge Distillation</td><td rowspan=\"4\"></td><td>No</td><td>≥ Largest Client Model</td><td>No</td></tr><tr><td>FedDF[10]</td><td>Unlabeled</td><td>= Largest Client Model</td><td>No</td></tr><tr><td>DS-FL [11] Fed-ET [12]</td><td>Unlabeled</td><td>= Largest Client Model</td><td>No</td></tr><tr><td></td><td>Unlabeled</td><td>≥ Largest Client Model</td><td>No</td></tr><tr><td>Federated Dropout [13]</td><td rowspan=\"4\">Yes</td><td rowspan=\"4\">Partial Training</td><td>Random Static</td><td>No</td><td>≥ Largest Client Model</td><td>Yes</td></tr><tr><td>HeteroFL [14]</td><td>Static</td><td>No No</td><td>=Largest Client Model</td><td>Yes</td></tr><tr><td>FjORD [15]</td><td></td><td></td><td>=Largest Client Model</td><td>Yes</td></tr><tr><td>FedRolex (Our Approach)</td><td>Rolling</td><td>No</td><td>≥Largest Client Model</td><td>Yes</td></tr></table>",
90
+ "bbox": [
91
+ 173,
92
+ 109,
93
+ 821,
94
+ 250
95
+ ],
96
+ "page_idx": 1
97
+ },
98
+ {
99
+ "type": "text",
100
+ "text": "",
101
+ "bbox": [
102
+ 174,
103
+ 267,
104
+ 825,
105
+ 488
106
+ ],
107
+ "page_idx": 1
108
+ },
109
+ {
110
+ "type": "text",
111
+ "text": "In this work, we propose a PT-based model-heterogeneous FL approach named FedRolex to tackle the fundamental issue of existing methods. The key difference between FedRolex and existing PT-based methods is how the sub-models are extracted for each client over communication rounds in the federated training process. Specifically, instead of extracting sub-models in either random or static manner, FedRolex proposes a rolling sub-model extraction scheme, where the sub-model is extracted from the global server model using a rolling window that advances in each communication round. Since the window is rolling, sub-models from different parts of the global model are extracted in sequence in different rounds. As a result, all the parameters of the global server model are evenly trained over the local data of client devices. ",
112
+ "bbox": [
113
+ 174,
114
+ 494,
115
+ 825,
116
+ 618
117
+ ],
118
+ "page_idx": 1
119
+ },
120
+ {
121
+ "type": "text",
122
+ "text": "The proposed rolling sub-model extraction scheme, though simple, has equipped FedRolex with multifold merits compared to prior arts (Table 1): (1) FedRolex enables different parts of the global server model to be evenly trained, which mitigates the client drift induced by model heterogeneity. (2) Contrary to static sub-model extraction approaches (HeteroFL, FjORD), FedRolex is able to train a global server model that is larger than the largest client model, enabling FL to benefit from the superior performance brought by large models. It echoes some concurrent efforts in developing FL primitives to support training large server models in cross-device settings, e.g. Federated Select [17]. (3) Compared to random sub-model extraction (Federated Dropout), as we show in our theoretical statistical analysis in Section 3 and Appendix A.1, the global server model is trained more evenly by FedRolex as the expected number of rounds for FedRolex going through all the parameters of the global model for at least certain times is smaller than that of Federated Dropout. (4) FedRolex only needs to transmit the sub-model that is needed by a given client instead of the full server model to the client. This allows clients to contribute to federated training under resource constraints and reduces communication overheads (Appendix A.6). (5) Lastly, FedRolex is fully compatible with existing secure aggregation protocols that enhance the privacy properties of FL systems. ",
123
+ "bbox": [
124
+ 173,
125
+ 625,
126
+ 825,
127
+ 833
128
+ ],
129
+ "page_idx": 1
130
+ },
131
+ {
132
+ "type": "text",
133
+ "text": "We evaluate the performance of FedRolex under two regimes: i) small-model small-dataset regime (most existing cross-device FL studies use this combination), and ii) large-model large-dataset regime (this combination echos recent efforts on pushing the frontier of cross-device FL towards training large server models on large-scale datasets [18–21]). We highlight five of our findings: (1) FedRolex consistently outperforms state-of-the-art PT-based model-heterogeneous FL methods under both small-model small-dataset and large-model large-dataset regimes $( \\ S 4 . 1 )$ . (2) FedRolex reduces the gap between model-heterogeneous and model-homogeneous FL, especially under large-model large-dataset regime (§4.2). (3) With FedRolex, under both regimes, having a small fraction of large-capacity models could significantly boost the global model accuracy (§4.3). (4) FedRolex is able to train a global server model that is larger than the largest client model and outperforms Federated Dropout in terms of global model accuracy $( \\ S 4 . 4 )$ . (5) Using an emulated real-world device distribution, we show that FedRolex enhances the inclusiveness of FL and boosts the performance of low-end devices that would otherwise not benefit from FL (§4.5). ",
134
+ "bbox": [
135
+ 176,
136
+ 838,
137
+ 823,
138
+ 866
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "",
145
+ "bbox": [
146
+ 174,
147
+ 90,
148
+ 825,
149
+ 243
150
+ ],
151
+ "page_idx": 2
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "2 Related Work ",
156
+ "text_level": 1,
157
+ "bbox": [
158
+ 174,
159
+ 255,
160
+ 323,
161
+ 271
162
+ ],
163
+ "page_idx": 2
164
+ },
165
+ {
166
+ "type": "text",
167
+ "text": "Knowledge Distillation (KD)-based Model-Heterogeneous FL. One primary approach for modelheterogeneous FL in cross-device settings is based on knowledge distillation (KD) [22]. In particular, FedDF [10] distills knowledge from a set of classifiers trained with private data from a federation of client devices. The logit outputs of each classifier against an unlabeled public dataset are then used to train a student model at the server with KD. Similarly, DS-FL [11] utilized an unlabeled public dataset at the server and proposed a distillation-based semi-supervised FL approach to enhance performance by pseudo-labeling the public data. FedGKT [9] proposed group knowledge transfer in which knowledge is transferred to a large model in the server from clients without public data. Fed-ET [12] proposed a weighted consensus distillation scheme with diversity regularization that enables the training of a large server model with smaller client models. KD-based approaches, however, have several limitations: they often require public data to achieve competitive model accuracy. This is because model accuracy is dependent on the size of public data as well as the domain similarity of public data with client data [10, 12, 23]. Furthermore, as KD-based methods use client model weights partially or entirely as teachers to transfer knowledge to the server, they are incompatible with secure aggregation protocols, making them vulnerable to backdoor attacks [20]. ",
168
+ "bbox": [
169
+ 173,
170
+ 279,
171
+ 825,
172
+ 486
173
+ ],
174
+ "page_idx": 2
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "Partial Training (PT)-based Model-Heterogeneous FL. To address the limitations of KD-based approaches, partial training (PT) has emerged as another solution for model-heterogeneous FL. Depending on how the sub-models are extracted from the global server model, existing PT-based methods can be in general categorized into two groups: random sub-model extraction and static sub-model extraction. Specifically, inspired by the dropout technique commonly used in centralized training [24], Federated Dropout [13] proposed to randomly extract sub-models from the global model. Though easy to be integrated into existing FL frameworks, as reported in [25], Federated Dropout becomes less effective when the data heterogeneity is high and the client cohort is small due to its randomness in selecting sub-models. In contrast, HeteroFL [14] and FjORD [15] proposed static extraction schemes where sub-models are always extracted from a designated part of the global server model. However, such a static extraction strategy has two primary drawbacks. First, the global server model is restricted to the same size as the largest client model. As such, the size and capability of the global model are implicitly restricted by the resources of client devices, making it not able to train large models due to resource bottlenecks at client devices. Second and more importantly, under static extraction, depending on their resource demands, different sub-models can only be trained on clients whose on-device resources are matched. As a consequence, part of the global server model cannot be trained on data at low-end client devices, causing different parts of the global model to be trained on data with different distributions. This would degrade the performance of the global model, especially under high data heterogeneity. In this work, we propose a rolling sub-model extraction scheme that tackles the issues of both random and static sub-model extraction methods. ",
179
+ "bbox": [
180
+ 174,
181
+ 491,
182
+ 825,
183
+ 768
184
+ ],
185
+ "page_idx": 2
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "3 Methodology ",
190
+ "text_level": 1,
191
+ "bbox": [
192
+ 173,
193
+ 780,
194
+ 315,
195
+ 796
196
+ ],
197
+ "page_idx": 2
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "3.1 Formulation of Model-Heterogeneous FL ",
202
+ "text_level": 1,
203
+ "bbox": [
204
+ 173,
205
+ 803,
206
+ 498,
207
+ 818
208
+ ],
209
+ "page_idx": 2
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "Let $\\mathcal { N }$ denote $N$ client devices with non-IID (non-identically and independently distributed) local data $\\boldsymbol { D } = \\{ D _ { 1 } , D _ { 2 } , . . . , D _ { N } \\}$ . Model-homogeneous $\\mathrm { F L }$ trains a global model of parameter $\\theta$ by solving the following optimization problem: ",
214
+ "bbox": [
215
+ 174,
216
+ 821,
217
+ 825,
218
+ 863
219
+ ],
220
+ "page_idx": 2
221
+ },
222
+ {
223
+ "type": "equation",
224
+ "img_path": "images/c760ff9c5878308a635eab7dba1f201e4b34b028c520da22fb0a38b196438a04.jpg",
225
+ "text": "$$\n\\operatorname* { m i n } _ { \\theta } F \\left( \\theta \\right) \\triangleq \\sum _ { n = 1 } ^ { N } p _ { n } F _ { n } ( \\theta )\n$$",
226
+ "text_format": "latex",
227
+ "bbox": [
228
+ 410,
229
+ 866,
230
+ 588,
231
+ 910
232
+ ],
233
+ "page_idx": 2
234
+ },
235
+ {
236
+ "type": "text",
237
+ "text": "with ",
238
+ "bbox": [
239
+ 173,
240
+ 92,
241
+ 205,
242
+ 106
243
+ ],
244
+ "page_idx": 3
245
+ },
246
+ {
247
+ "type": "equation",
248
+ "img_path": "images/e9b195b4ac313e9254b5a5378bdfb92c523315005e0ad56f670136d95e8380f7.jpg",
249
+ "text": "$$\nF _ { n } ( \\theta ) \\triangleq { \\frac { 1 } { m _ { n } } } \\sum _ { k = 1 } ^ { m _ { n } } l ( \\theta ; d _ { n , k } ) ,\n$$",
250
+ "text_format": "latex",
251
+ "bbox": [
252
+ 403,
253
+ 108,
254
+ 593,
255
+ 150
256
+ ],
257
+ "page_idx": 3
258
+ },
259
+ {
260
+ "type": "text",
261
+ "text": "where $D _ { n } \\triangleq \\{ d _ { n , 1 } , d _ { n , 2 } , d _ { n , 3 } . . . d _ { n , m _ { n } } \\}$ is the set of local data samples of client $n$ and $p _ { n }$ is its corresponding weight such that $p _ { n } \\geq 0$ and $\\textstyle \\sum _ { n = 1 } ^ { N } p _ { n } = 1$ . ",
262
+ "bbox": [
263
+ 173,
264
+ 156,
265
+ 823,
266
+ 191
267
+ ],
268
+ "page_idx": 3
269
+ },
270
+ {
271
+ "type": "text",
272
+ "text": "In comparison, in model-heterogeneous $\\mathrm { F L }$ , clients train local models with heterogeneous capacities $\\beta = \\{ \\bar { \\beta } _ { 1 } , \\beta _ { 2 } , . . . , \\beta _ { N } \\}$ , and the local objective function of the $n ^ { t h }$ client becomes ",
273
+ "bbox": [
274
+ 173,
275
+ 195,
276
+ 823,
277
+ 224
278
+ ],
279
+ "page_idx": 3
280
+ },
281
+ {
282
+ "type": "equation",
283
+ "img_path": "images/9f5a2357a12965746cef3397a0263f31d647e736ac8770900a5695e8b3d9d37b.jpg",
284
+ "text": "$$\nF _ { n } ^ { \\prime } ( \\theta _ { n } ) \\triangleq { \\frac { 1 } { m _ { n } } } \\sum _ { k = 1 } ^ { m _ { n } } l ( \\theta _ { n } ; d _ { n , k } ) .\n$$",
285
+ "text_format": "latex",
286
+ "bbox": [
287
+ 397,
288
+ 229,
289
+ 601,
290
+ 272
291
+ ],
292
+ "page_idx": 3
293
+ },
294
+ {
295
+ "type": "text",
296
+ "text": "Here, $\\beta _ { n }$ denote the model capacity of client $n$ , and we define it as the proportion of nodes extracted from each layer in $\\theta$ for client $n$ . The size of $\\theta _ { n }$ depends on $\\beta _ { n }$ , and the parameter $\\theta _ { n }$ is obtained by selecting a sub-model from the global model $\\theta$ , which can change from one round to another. If $\\theta _ { n }$ changes, the objective function also changes. For simplicity, we use the same notation $l$ for the loss function for all clients and rounds, though they differ between clients and rounds. The key to model-heterogeneous $\\mathrm { F L }$ is selecting $\\theta _ { n }$ from the global model $\\theta$ given model capacity $\\beta _ { n }$ . ",
297
+ "bbox": [
298
+ 173,
299
+ 276,
300
+ 825,
301
+ 361
302
+ ],
303
+ "page_idx": 3
304
+ },
305
+ {
306
+ "type": "text",
307
+ "text": "3.2 FedRolex: Model-Heterogeneous FL with Rolling Sub-Model Extraction ",
308
+ "text_level": 1,
309
+ "bbox": [
310
+ 173,
311
+ 376,
312
+ 715,
313
+ 390
314
+ ],
315
+ "page_idx": 3
316
+ },
317
+ {
318
+ "type": "text",
319
+ "text": "As a partial training (PT)-based approach, at each client, FedRolex trains only a sub-model extracted from the global server model and sends the corresponding submodel updates back to the server for update aggregation. To help understand how FedRolex works, for simplicity, Figure 1 illustrates three rounds of federated training of FedRolex on two participating heterogeneous clients, where one trains a large-capacity sub-model (left) and the other trains a small-capacity one (right). At the high level, at each round, the server extracts sub-models of different capacities from the global model and separately broadcasts them to the clients that have the corresponding capabilities. The clients train the received sub-models on their local data and transmit their heterogeneous sub-model updates to the server. Lastly, the server aggregates those updates, and the result of the aggregation is used to update the global model for the next round. The pseudocode of FedRolex is in Algorithm 1. ",
320
+ "bbox": [
321
+ 174,
322
+ 401,
323
+ 537,
324
+ 650
325
+ ],
326
+ "page_idx": 3
327
+ },
328
+ {
329
+ "type": "text",
330
+ "text": "The key to the design of FedRolex involves two design choices. In the following, we describe them in detail. ",
331
+ "bbox": [
332
+ 173,
333
+ 656,
334
+ 535,
335
+ 684
336
+ ],
337
+ "page_idx": 3
338
+ },
339
+ {
340
+ "type": "text",
341
+ "text": "(1) What sub-models to be extracted for each client across different rounds? At the server, FedRolex utilizes a rolling window to extract the sub-model from the global model. The rolling window advances in each round, and loops over all parts of the global model in sequence across different rounds. This process iterates such that the global model is evenly trained until convergence. ",
342
+ "bbox": [
343
+ 173,
344
+ 690,
345
+ 537,
346
+ 746
347
+ ],
348
+ "page_idx": 3
349
+ },
350
+ {
351
+ "type": "image",
352
+ "img_path": "images/279cece0e5a7046b19d662526f8fb00c8c1e4993e9851453b67c2a2f55b155a2.jpg",
353
+ "image_caption": [
354
+ "Figure 1: Overview of the rolling submodel extraction scheme in FedRolex. "
355
+ ],
356
+ "image_footnote": [],
357
+ "bbox": [
358
+ 550,
359
+ 402,
360
+ 825,
361
+ 684
362
+ ],
363
+ "page_idx": 3
364
+ },
365
+ {
366
+ "type": "text",
367
+ "text": "",
368
+ "bbox": [
369
+ 176,
370
+ 746,
371
+ 821,
372
+ 773
373
+ ],
374
+ "page_idx": 3
375
+ },
376
+ {
377
+ "type": "text",
378
+ "text": "Taking Figure 1 as an example: in round $j$ , the large-capacity and small-capacity client model extracted from the global model is $\\{ a , b , c , d \\}$ and $\\{ c , \\bar { d } , e \\}$ , respectively. In round $j + 1$ , the rolling window advances one step2, the large-capacity and small-capacity client model becomes $\\{ b , c , d , e \\}$ and $\\{ d , e , a \\}$ , respectively. Similarly, in round $j + 2$ , the rolling window advances one step further, and the large-capacity and small-capacity client model becomes $\\{ c , d , e , a \\}$ and $\\{ e , a , b \\}$ , respectively. ",
379
+ "bbox": [
380
+ 174,
381
+ 780,
382
+ 825,
383
+ 851
384
+ ],
385
+ "page_idx": 3
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "Such a rolling sub-model extraction scheme can be formalized as follows. Let $\\theta _ { n } ^ { ( j ) }$ denote the parameters of the sub-model extracted from the global model for client $n$ in round $j$ , $K _ { i }$ denote the total number of nodes in layer $i$ of the global model, and $S _ { n , i } ^ { ( j ) }$ denote the node indices of layer $i$ of the global model that belongs to the extracted sub-model for client $n$ in round $j$ . Then the layer $i$ of the sub-model extracted by the rolling sub-model extraction scheme for client $n$ in round $j$ is given by: ",
390
+ "bbox": [
391
+ 176,
392
+ 859,
393
+ 823,
394
+ 887
395
+ ],
396
+ "page_idx": 3
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "",
401
+ "bbox": [
402
+ 174,
403
+ 89,
404
+ 825,
405
+ 135
406
+ ],
407
+ "page_idx": 4
408
+ },
409
+ {
410
+ "type": "equation",
411
+ "img_path": "images/9049f6d5815d235fc61830a577a88b845e4fd5f6a3655151b3c93db2c880402e.jpg",
412
+ "text": "$$\nS _ { n , i } ^ { ( j ) } = \\left\\{ \\begin{array} { l l } { \\{ \\hat { j } , \\hat { j } + 1 , \\dots , \\hat { j } + \\lfloor \\beta _ { n } K _ { i } \\rfloor - 1 \\} } & { \\mathrm { ~ i f ~ } \\hat { j } + \\lfloor \\beta _ { n } K _ { i } \\rfloor \\le K _ { i } , } \\\\ { \\{ \\hat { j } , \\hat { j } + 1 , \\dots , K _ { i } - 1 \\} \\cup \\{ 0 , 1 , \\dots , \\hat { j } + \\lfloor \\beta _ { n } K _ { i } \\rfloor - 1 - K _ { i } \\} } & { \\mathrm { ~ e l s e . ~ } } \\end{array} \\right.\n$$",
413
+ "text_format": "latex",
414
+ "bbox": [
415
+ 179,
416
+ 146,
417
+ 805,
418
+ 183
419
+ ],
420
+ "page_idx": 4
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "where ${ \\hat { j } } = j$ mod $K _ { i }$ ",
425
+ "bbox": [
426
+ 173,
427
+ 204,
428
+ 320,
429
+ 220
430
+ ],
431
+ "page_idx": 4
432
+ },
433
+ {
434
+ "type": "text",
435
+ "text": "(2) How to aggregate heterogeneous sub-model updates to update the global model? FedRolex employs a straightforward selective averaging scheme with no client weighting to aggregate heterogeneous sub-model updates sent from the clients to update the global model3. Specifically, it computes the average of the updates for each parameter of the global model separately based on how many clients in a round updated that parameter. The parameter remains unchanged if no clients updated it. ",
436
+ "bbox": [
437
+ 173,
438
+ 227,
439
+ 825,
440
+ 296
441
+ ],
442
+ "page_idx": 4
443
+ },
444
+ {
445
+ "type": "text",
446
+ "text": "Taking Figure 1 again as an example: in round $j$ , the updates for $a$ and $b$ are obtained from the large-capacity model and the update for $e$ is from the small-capacity model only. In contrast, since $c$ and $d$ are part of both models, the update is computed by taking the average from both models. ",
447
+ "bbox": [
448
+ 173,
449
+ 303,
450
+ 823,
451
+ 345
452
+ ],
453
+ "page_idx": 4
454
+ },
455
+ {
456
+ "type": "text",
457
+ "text": "Algorithm 1: FedRolex ",
458
+ "text_level": 1,
459
+ "bbox": [
460
+ 174,
461
+ 366,
462
+ 334,
463
+ 381
464
+ ],
465
+ "page_idx": 4
466
+ },
467
+ {
468
+ "type": "text",
469
+ "text": "1 Initialization ; $\\theta ^ { ( 0 ) }$ , N 12 Subroutine clientStep(θ(j)n , Dn) \nInput : $: D _ { n } \\beta _ { n } \\forall n \\in \\mathcal N ,$ 13 mn ←− len(Dn) \nOutput : 14 for k ← 0 to mn do \n2 Server Executes 15 $\\begin{array} { r l } { \\boxed { } } & { { } \\theta _ { n } \\longleftarrow \\theta _ { n } - \\eta \\nabla l ( \\theta _ { n } ; d _ { n , k } ) } \\end{array}$ \n3 for $j 0$ to $J - 1$ do 16 end \n4 Sample subset $\\mathcal { M }$ from $\\mathcal { N }$ 17 return $\\theta _ { n }$ \n5 Broadcast θ(j) $\\theta _ { m , S _ { m , i } ^ { ( j ) } } ^ { ( j ) }$ to client $m \\in \\mathcal { M }$ \n6 $\\forall i , \\boldsymbol { S } _ { m , i } ^ { ( j ) }$ from Equation (4) \n7 for each client $m \\in \\mathcal { M }$ do \n8 clientStep(θ(j)m , Dm) \n9 end \n10 Aggregate θ(j+1)[i,k] according to Equation (10) \n11 end ",
470
+ "bbox": [
471
+ 158,
472
+ 385,
473
+ 745,
474
+ 598
475
+ ],
476
+ "page_idx": 4
477
+ },
478
+ {
479
+ "type": "text",
480
+ "text": "3.3 Comparison with Random and Static Sub-model Extraction Schemes ",
481
+ "text_level": 1,
482
+ "bbox": [
483
+ 174,
484
+ 617,
485
+ 694,
486
+ 632
487
+ ],
488
+ "page_idx": 4
489
+ },
490
+ {
491
+ "type": "text",
492
+ "text": "Existing sub-model extraction schemes can be grouped as random-based (Federated Dropout) and static-based (HeteroFL, FjORD) methods. In this section, we describe the differences between them and the proposed rolling-based scheme employed in FedRolex. For comparison purpose, the pseudocodes of both Federated Dropout and HeteroFL are included in Appendix A.8. ",
493
+ "bbox": [
494
+ 173,
495
+ 643,
496
+ 825,
497
+ 699
498
+ ],
499
+ "page_idx": 4
500
+ },
501
+ {
502
+ "type": "text",
503
+ "text": "3.3.1 Comparison with Random Sub-Model Extraction Scheme ",
504
+ "text_level": 1,
505
+ "bbox": [
506
+ 173,
507
+ 713,
508
+ 627,
509
+ 728
510
+ ],
511
+ "page_idx": 4
512
+ },
513
+ {
514
+ "type": "text",
515
+ "text": "In random sub-model extraction scheme, in each round, the sub-models are extracted from the global model in a random manner. As such, the layer $i$ of the sub-model extracted by the random sub-model extraction scheme for client $n$ in round $j$ is given by: ",
516
+ "bbox": [
517
+ 174,
518
+ 737,
519
+ 825,
520
+ 780
521
+ ],
522
+ "page_idx": 4
523
+ },
524
+ {
525
+ "type": "equation",
526
+ "img_path": "images/18348aaf6912f49ff4fe835364ccd70bc5f406ef7a838d27b93f342b7b717051.jpg",
527
+ "text": "$$\n\\begin{array} { r } { S _ { n , i } ^ { ( j ) } = \\{ k _ { c } ~ | ~ \\mathrm { i n t e g e r } ~ k _ { c } \\in [ 0 , K _ { i } - 1 ] \\mathrm { ~ f o r } ~ 1 \\leq c \\leq \\lfloor \\beta _ { n } K _ { i } \\rfloor \\} , } \\end{array}\n$$",
528
+ "text_format": "latex",
529
+ "bbox": [
530
+ 300,
531
+ 785,
532
+ 694,
533
+ 808
534
+ ],
535
+ "page_idx": 4
536
+ },
537
+ {
538
+ "type": "text",
539
+ "text": "where a total number of $\\lfloor \\beta _ { n } K _ { i } \\rfloor$ nodes are randomly chosen from the global model. ",
540
+ "bbox": [
541
+ 171,
542
+ 813,
543
+ 722,
544
+ 829
545
+ ],
546
+ "page_idx": 4
547
+ },
548
+ {
549
+ "type": "text",
550
+ "text": "Discussion: As shown in Figure 2(left), similar to the proposed rolling-based scheme, the sub-models extracted across different rounds by the random-based scheme have different architectures. However, due to its randomness in selecting sub-models in each round, the global model is trained less evenly, making it more vulnerable to client drift. In short, although the expected value of the frequency for updating each index is the same for all the indices, their exact frequencies are not the same due to randomness. Consequently, the random-based scheme cannot balance the update frequencies of different parts of the global model, and it inevitably takes more rounds to update the whole global model. Moreover, as we show in Appendix A.1, the expected number of rounds for Federated Dropout selecting all $I$ sub-models at least $m$ times is in the order of $I \\log ( I ) + I ( m - 1 ) \\log \\log I$ , which is larger than that of FedRolex, $m I$ . ",
551
+ "bbox": [
552
+ 173,
553
+ 833,
554
+ 825,
555
+ 863
556
+ ],
557
+ "page_idx": 4
558
+ },
559
+ {
560
+ "type": "image",
561
+ "img_path": "images/e165594baec07c04a727b4d8fe9fbf59ae3c69c99c899f262efc0e7c6ec1f5ba.jpg",
562
+ "image_caption": [
563
+ "Figure 2: Illustration of how sub-models are extracted by random sub-model extraction scheme (Left) and static sub-model extraction scheme (Right) over two rounds. "
564
+ ],
565
+ "image_footnote": [],
566
+ "bbox": [
567
+ 200,
568
+ 90,
569
+ 779,
570
+ 311
571
+ ],
572
+ "page_idx": 5
573
+ },
574
+ {
575
+ "type": "text",
576
+ "text": "",
577
+ "bbox": [
578
+ 174,
579
+ 372,
580
+ 825,
581
+ 484
582
+ ],
583
+ "page_idx": 5
584
+ },
585
+ {
586
+ "type": "text",
587
+ "text": "3.3.2 Comparison with Static Sub-Model Extraction Scheme ",
588
+ "text_level": 1,
589
+ "bbox": [
590
+ 173,
591
+ 497,
592
+ 606,
593
+ 513
594
+ ],
595
+ "page_idx": 5
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "In static sub-model extraction scheme, in each round, the sub-models are always extracted from a designated part of the global model. As such, the layer $i$ of the sub-model extracted by the static sub-model extraction scheme for client $n$ in round $j$ is given by: ",
600
+ "bbox": [
601
+ 174,
602
+ 522,
603
+ 825,
604
+ 564
605
+ ],
606
+ "page_idx": 5
607
+ },
608
+ {
609
+ "type": "equation",
610
+ "img_path": "images/2551e6d94a49e86014fb39ae395be6630c088af8059780710d6194bd003b7a7c.jpg",
611
+ "text": "$$\n\\mathcal { S } _ { n , i } ^ { ( j ) } = \\{ 0 , 1 , 2 , \\ldots , \\lfloor \\beta _ { n } K _ { i } \\rfloor - 1 \\} .\n$$",
612
+ "text_format": "latex",
613
+ "bbox": [
614
+ 383,
615
+ 570,
616
+ 614,
617
+ 593
618
+ ],
619
+ "page_idx": 5
620
+ },
621
+ {
622
+ "type": "text",
623
+ "text": "Note that $S _ { n , i } ^ { ( j ) }$ does not depend on $j$ . In other words, as shown in Figure $2 ( \\mathrm { r i g h t } )$ , the same sub-model is extracted for each client in every round. Moreover, the client model with smaller capacity and client model with larger capacity are not independent. As shown in Figure 2(right), the small-capacity model $\\{ a , b , c \\}$ is a part of the large-capacity model $\\{ a , b , c , d \\}$ , which again, is a part of the globalcapacity model $\\{ a , b , c , d , e \\}$ . These are the two key differences between both the random-based and the proposed rolling-based scheme. ",
624
+ "bbox": [
625
+ 173,
626
+ 598,
627
+ 825,
628
+ 685
629
+ ],
630
+ "page_idx": 5
631
+ },
632
+ {
633
+ "type": "text",
634
+ "text": "Discussion: Given that, the static-based scheme, however, has two primary drawbacks. First, to cover the whole global model, there must be clients to train the full-size global model $\\{ a , b , c , d , e \\}$ . As such, the global model is restricted to the same size as the largest client model. Second, as shown in Figure 2(right), while $a , b$ and $c$ will be trained on data on all three types of clients, $d$ will not be trained on data on small-capacity clients, and $e$ will only be trained on data on global-model-capacity clients. As a consequence, different parts of the global model are trained on data with different distributions, which inevitably degrades the global model training quality. ",
635
+ "bbox": [
636
+ 173,
637
+ 690,
638
+ 825,
639
+ 789
640
+ ],
641
+ "page_idx": 5
642
+ },
643
+ {
644
+ "type": "text",
645
+ "text": "4 Experiments ",
646
+ "text_level": 1,
647
+ "bbox": [
648
+ 174,
649
+ 800,
650
+ 312,
651
+ 818
652
+ ],
653
+ "page_idx": 5
654
+ },
655
+ {
656
+ "type": "text",
657
+ "text": "Datasets and Models. We evaluate the performance of FedRolex under two regimes. Under small-model small-dataset regime, we train pre-activated ResNet18 (PreResNet18) models [26] on CIFAR-10 and CIFAR-100 [27]. We replace the batch Normalization in PreResNet18 with static batch normalization [14, 28] and add a scalar module after each convolution layer [14]. Under largemodel large-dataset regime, we use Stack Overflow [29] and followed [2] to train a modified 3-layer Transformer [8] with a vocabulary of 10, 000 words, where the dimension of token embeddings is ",
658
+ "bbox": [
659
+ 174,
660
+ 827,
661
+ 825,
662
+ 911
663
+ ],
664
+ "page_idx": 5
665
+ },
666
+ {
667
+ "type": "text",
668
+ "text": "128, and the hidden dimension of the feed-forward network (FFN) block is 2048. We use ReLU activation and use 8 heads for the multi-head attention where each head is based on 12-dimensional (query, key, value) vectors. The statistics of the datasets are listed in Table 2. ",
669
+ "bbox": [
670
+ 171,
671
+ 90,
672
+ 823,
673
+ 133
674
+ ],
675
+ "page_idx": 6
676
+ },
677
+ {
678
+ "type": "table",
679
+ "img_path": "images/aa7c72531a93bb351ff83184ed6df8ead096711f1c3930ba3621d6ef590f22e2.jpg",
680
+ "table_caption": [
681
+ "Table 2: Dataset statistics. "
682
+ ],
683
+ "table_footnote": [],
684
+ "table_body": "<table><tr><td>Dataset CIFAR-10</td><td>Train Clients</td><td>Train Examples 50.000</td><td>Validation Clients</td><td>Validation Examples</td><td>Test Clients</td><td>Test Examples 10,000</td></tr><tr><td>CIFAR-100</td><td>100 100</td><td>50.000</td><td>N/A N/A</td><td>N/A N/A</td><td>N/A N/A</td><td>10.000</td></tr><tr><td>Stack Overflow</td><td>342,477</td><td>135,818,730</td><td>38,758</td><td>16,491,230</td><td>204,088</td><td>16,586,035</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
685
+ "bbox": [
686
+ 174,
687
+ 165,
688
+ 821,
689
+ 214
690
+ ],
691
+ "page_idx": 6
692
+ },
693
+ {
694
+ "type": "text",
695
+ "text": "Data Heterogeneity. For CIFAR-10 and CIFAR-100, we followed HeteroFL [14] to model non-IID distributions by restricting each client to have $L$ labels. In our evaluation, we consider two levels of data heterogeneity. For CIFAR-10, we define $L = 2$ as high data heterogeneity and $L = 5$ as low data heterogeneity. For CIFAR-100, we use $L = 2 0$ as high data heterogeneity and $L = 5 0$ as low data heterogeneity. These two levels roughly correspond to Dirichlet distribution $D i r _ { K } ( \\alpha )$ with $\\alpha$ equal to 0.1 and 0.5, respectively. For Stack Overflow, the dataset is partitioned over user IDs, making the dataset naturally non-IID distributed. ",
696
+ "bbox": [
697
+ 173,
698
+ 229,
699
+ 825,
700
+ 327
701
+ ],
702
+ "page_idx": 6
703
+ },
704
+ {
705
+ "type": "text",
706
+ "text": "Model Heterogeneity. Without loss of generality, in our evaluation, we consider five different client model capacities $\\beta = \\{ 1 , ^ { 1 / 2 } , ^ 1 / 4 , 1 / 8 , 1 / \\bar { 1 } 6 \\}$ where for instance, $^ 1 / 2$ means the client model capacity is half of the largest client model capacity (full model). To generate these client models, for ResNet18, we vary the number of kernels in convolution layers and keep the nodes in the output layers the same. For Transformer, we vary the number of nodes in the hidden layer of the attention heads. ",
707
+ "bbox": [
708
+ 174,
709
+ 333,
710
+ 825,
711
+ 402
712
+ ],
713
+ "page_idx": 6
714
+ },
715
+ {
716
+ "type": "text",
717
+ "text": "Baselines. We compare FedRolex against both state-of-the-art PT-based model-heterogeneous FL methods including Federated Dropout [13] and HeteroFL $[ 1 4 ] ^ { 4 }$ as well as state-of-the-art KD-based model-heterogeneous $\\mathrm { F L }$ methods including FedDF [10], DS-FL [11] and Fed-ET [12] 5. To ensure a fair comparison, all the PT-based baselines are trained using the same learning rate, number of communication rounds, and multi-step learning rate decay schedule. The details of the schedule for each dataset and experiment are described in Appendix A.7. ",
718
+ "bbox": [
719
+ 174,
720
+ 409,
721
+ 825,
722
+ 492
723
+ ],
724
+ "page_idx": 6
725
+ },
726
+ {
727
+ "type": "text",
728
+ "text": "Configurations and Platform. For CIFAR-10 and CIFAR-100, we apply bounding box crop [30] to augment the images. In each communication round, $1 0 \\%$ of the clients are randomly selected from a pool of 100 clients. For Stack Overflow, we followed [2] to use a $1 0 \\%$ dropout rate to prevent overfitting, and 200 clients are randomly selected from a pool of 342, 477 clients in each communication round. The details of the hyper-parameters for model training are included in Appendix A.7. We implemented FedRolex and PT-based baselines using PyTorch [31] and Ray [32], and conducted our experiments on 8 NVIDIA A6000 GPUs. ",
729
+ "bbox": [
730
+ 174,
731
+ 498,
732
+ 825,
733
+ 595
734
+ ],
735
+ "page_idx": 6
736
+ },
737
+ {
738
+ "type": "text",
739
+ "text": "Evaluation Metrics. We use global and local model accuracy as our evaluation metrics. Specifically, global model accuracy is defined as the server model accuracy on the test set; and local model accuracy is defined as the accuracy of the server model on each of the client’s local datasets. For CIFAR-10 and CIFAR-100, we report the classification accuracy. For Stack Overflow, we report the next word prediction accuracy which includes both out-of-vocabulary (OOV) and end-of-sentence (EOS) tokens. We run our experiments using five different seeds for CIFAR-10 and CIFAR-100 and using three different seeds for Stack Overflow. ",
740
+ "bbox": [
741
+ 173,
742
+ 602,
743
+ 825,
744
+ 699
745
+ ],
746
+ "page_idx": 6
747
+ },
748
+ {
749
+ "type": "text",
750
+ "text": "4.1 Performance Comparison with State-of-the-Art Model-Heterogeneous FL Methods ",
751
+ "text_level": 1,
752
+ "bbox": [
753
+ 171,
754
+ 715,
755
+ 789,
756
+ 731
757
+ ],
758
+ "page_idx": 6
759
+ },
760
+ {
761
+ "type": "text",
762
+ "text": "First, we compare the performance of FedRolex with state-of-the-art PT and KD-based modelheterogeneous FL methods. For a fair comparison, we followed the experimental settings used in prior arts where the distributions of client model capacities are uniform and the global server model is the same as the largest client model. ",
763
+ "bbox": [
764
+ 174,
765
+ 742,
766
+ 825,
767
+ 797
768
+ ],
769
+ "page_idx": 6
770
+ },
771
+ {
772
+ "type": "text",
773
+ "text": "Evaluation Results: Table 3 summarizes our results. We have two observations. (1) In comparison with state-of-the-art PT-based methods, under the small-model small-dataset regime, FedRolex consistently outperforms HeteroFL and Federated Dropout under both low and more challenging high data heterogeneity scenarios. In particular, under high data heterogeneity, Federated Dropout which extracts sub-model randomly has worse performance than FedRolex and HeteroFL which both extract sub-models in a deterministic manner. Under large-model large-dataset regime, FedRolex also outperforms both HeteroFL and Federated Dropout. These results together demonstrate the superiority of FedRolex under both regimes. (2) In comparison with state-of-the-art KD-based methods, FedRolex only performs worse than Fed-ET and FedDF on CIFAR-10 under high data heterogeneity, but outperforms all the KD-based methods on the more challenging CIFAR-100 which has a larger number classes than CIFAR-10 under both low and high data heterogeneity scenarios. It is important to note that KD-based methods leverage public data to boost their model accuracy while FedRolex does not. ",
774
+ "bbox": [
775
+ 174,
776
+ 803,
777
+ 825,
778
+ 859
779
+ ],
780
+ "page_idx": 6
781
+ },
782
+ {
783
+ "type": "table",
784
+ "img_path": "images/c1297d2829b7612f0753dec4c5e5a96eb8553bd65ecccc8c127878563b9d609b.jpg",
785
+ "table_caption": [
786
+ "Table 3: Global model accuracy comparison between FedRolex, PT and KD-based modelheterogeneous FL methods, and model-homogeneous FL methods. Note that the results of KD-based methods were obtained from [12]. For Stack Overflow, since KD-based methods cannot be directly used for language modeling tasks, their results are marked as N/A. "
787
+ ],
788
+ "table_footnote": [],
789
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td rowspan=\"2\">Method</td><td colspan=\"2\">High Data Heterogeneity</td><td colspan=\"2\">Low Data Heterogeneity</td><td rowspan=\"2\">Stack Overflow</td></tr><tr><td>CIFAR-10</td><td>CIFAR-100</td><td>CIFAR-10</td><td>CIFAR-100</td></tr><tr><td rowspan=\"3\">KD-based</td><td>FedDF</td><td>73.81 (± 0.42)</td><td>31.87 (± 0.46)</td><td>76.55 (± 0.32)</td><td>37.87 (± 0.31)</td><td>N/A</td></tr><tr><td>DS-FL</td><td>65.27 (±0.53)</td><td>29.12 (± 0.51)</td><td>68.44 (± 0.47)</td><td>33.56 (± 0.55)</td><td>N/A</td></tr><tr><td>Fed-ET</td><td>78.66 (± 0.31)</td><td>35.78 (± 0.45)</td><td>81.13 (± 0.28)</td><td>41.58 (± 0.36)</td><td>N/A</td></tr><tr><td rowspan=\"3\">PT-based</td><td>HeteroFL</td><td>63.90 (± 2.74)</td><td>52.38 (± 0.80)</td><td>73.19 (± 1.71)</td><td>57.44 (± 0.42)</td><td>27.21 (± 0.22)</td></tr><tr><td>Federated Dropout</td><td>46.64 (± 3.05)</td><td>45.07 (± 0.07)</td><td>76.20 (± 2.53)</td><td>46.40 (± 0.21)</td><td>23.46 (± 0.12)</td></tr><tr><td>FedRolex</td><td>69.44 (± 1.50)</td><td>56.57 (± 0.15)</td><td>84.45 (± 0.36)</td><td>58.73 (± 0.33)</td><td>29.22 (± 0.24)</td></tr><tr><td rowspan=\"2\"></td><td>Homogeneous (smallest)</td><td>38.82(± 0.88)</td><td>12.69 (± 0.50)</td><td>46.86 (± 0.54)</td><td>19.70 (± 0.34)</td><td>27.32 (± 0.12)</td></tr><tr><td>Homogeneous (largest)</td><td>75.74 (± 0.42)</td><td>60.89 (± 0.60)</td><td>84.48 (± 0.58)</td><td>62.51 (± 0.20)</td><td>29.79 (± 0.32)</td></tr></table>",
790
+ "bbox": [
791
+ 173,
792
+ 150,
793
+ 825,
794
+ 282
795
+ ],
796
+ "page_idx": 7
797
+ },
798
+ {
799
+ "type": "text",
800
+ "text": "",
801
+ "bbox": [
802
+ 173,
803
+ 309,
804
+ 825,
805
+ 434
806
+ ],
807
+ "page_idx": 7
808
+ },
809
+ {
810
+ "type": "text",
811
+ "text": "4.2 Performance Comparison with Model-Homogeneous FL Methods ",
812
+ "text_level": 1,
813
+ "bbox": [
814
+ 174,
815
+ 452,
816
+ 668,
817
+ 468
818
+ ],
819
+ "page_idx": 7
820
+ },
821
+ {
822
+ "type": "text",
823
+ "text": "We also compare the global model accuracy of FedRolex with two model-homogeneous cases where all the clients have the largest capacity model $\\beta = \\{ 1 \\}$ ) and the smallest capacity model $\\begin{array} { r } { \\left( \\beta = \\sqrt { 1 / 1 6 } \\right) } \\end{array}$ ), representing the upper and lower-bound performance, respectively. ",
824
+ "bbox": [
825
+ 176,
826
+ 479,
827
+ 821,
828
+ 522
829
+ ],
830
+ "page_idx": 7
831
+ },
832
+ {
833
+ "type": "text",
834
+ "text": "Evaluation Results: As listed in Table 3, compared with other PT-based methods, FedRolex reduces the gap in global model accuracy between model-heterogeneous and upper-bound modelhomogeneous settings. In particular, FedRolex is on par with the upper-bound model-homogeneous case for Stack Overflow, whereas both HeteroFL and Federated Dropout perform even worse than the model homogeneous case using the smallest model. This result indicates that with FedRolex, we will not be constrained to only using high-end devices to achieve competitive global model accuracy. Note that Fed-ET achieves a higher global model accuracy than the model-homogeneous upper bound on CIFAR-10 under high data heterogeneity, which showcases the advantage of using public data. ",
835
+ "bbox": [
836
+ 174,
837
+ 526,
838
+ 826,
839
+ 638
840
+ ],
841
+ "page_idx": 7
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "4.3 Impact of Client Model Heterogeneity Distribution ",
846
+ "text_level": 1,
847
+ "bbox": [
848
+ 173,
849
+ 656,
850
+ 565,
851
+ 671
852
+ ],
853
+ "page_idx": 7
854
+ },
855
+ {
856
+ "type": "text",
857
+ "text": "In our previous experiments, the distributions of model capacities across client devices are set to be uniform. In this experiment, we aim to understand the impact of the client model heterogeneity distribution. To do so, without loss of generality, we use two client model capacities $\\beta = \\{ \\bar { 1 } , { ^ { 1 } / _ { 1 6 } } \\}$ and vary the distribution ratio between the two (denoted as $\\rho \\mathrm { \\hbar }$ ) where $\\rho = 1$ represents the case in which all the clients have the largest capacity model $\\begin{array} { r } { \\beta = \\{ 1 \\} } \\end{array}$ ) and $\\rho = 0$ represents the case in which all the clients have the smallest capacity model $( \\beta = \\left\\{ { 1 } / { 1 6 } \\right\\}$ ). ",
858
+ "bbox": [
859
+ 174,
860
+ 683,
861
+ 823,
862
+ 767
863
+ ],
864
+ "page_idx": 7
865
+ },
866
+ {
867
+ "type": "text",
868
+ "text": "Evaluation Results: Figure 3 shows how global model accuracy changes when $\\rho$ varies from 0 to 1 for CIFAR-10, CIFAR-100 and Stack Overflow. We have three observations. (1) For CIFAR-10 (Figure 3(i)), there is a large gap in global model accuracy between high and low data heterogeneity for a wide range of $\\rho$ (from 0.1 to 1). This is because CIFAR-10 is a relatively simple task and hence the global model accuracy is bottlenecked by the level of data heterogeneity instead of model capacity. This result indicates that having more high-capacity models in the cohort has only limited contribution to global model accuracy. (2) For the more challenging CIFAR-100 (Figure 3(ii)), the gap in global model accuracy is much lower between high and low data heterogeneity. In contrast to CIFAR-10, the global model accuracy is bottlenecked by the highest capacity of the models rather than the level of data heterogeneity. (3) For both regimes (Figure 3(i)(ii) vs. Figure 3(iii)), we observe that having a small fraction of large-capacity models significantly boosts the global model accuracy, but keeping increasing the ratio of large-capacity models has limited contribution to the accuracy. ",
869
+ "bbox": [
870
+ 173,
871
+ 772,
872
+ 825,
873
+ 911
874
+ ],
875
+ "page_idx": 7
876
+ },
877
+ {
878
+ "type": "image",
879
+ "img_path": "images/54a8526c0ffbaff84447015f2bec64690c39e542670cf9bce67091bc7c1df68c.jpg",
880
+ "image_caption": [
881
+ "Figure 3: Impact of client model heterogeneity distribution on global model accuracy for (i) CIFAR10, (ii) CIFAR-100, and (iii) Stack Overflow. "
882
+ ],
883
+ "image_footnote": [],
884
+ "bbox": [
885
+ 183,
886
+ 88,
887
+ 812,
888
+ 238
889
+ ],
890
+ "page_idx": 8
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "",
895
+ "bbox": [
896
+ 173,
897
+ 303,
898
+ 825,
899
+ 333
900
+ ],
901
+ "page_idx": 8
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "4.4 Performance on Training Larger Server Model ",
906
+ "text_level": 1,
907
+ "bbox": [
908
+ 174,
909
+ 352,
910
+ 539,
911
+ 367
912
+ ],
913
+ "page_idx": 8
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "Similar to Federated Dropout, one advantage of FedRolex over static sub-model extraction methods (HeteroFL and FjORD) is that FedRolex is able to train a global server model that is larger than the largest client model. In this experiment, we aim to evaluate the performance of FedRolex on training larger server models. To do so, we consider the case where the size of the global server model is $\\gamma \\overset { \\cdot } { = } \\{ 2 , 4 , 8 , 1 6 \\}$ times the size of client models. For simplicity, all client models have the same size. ",
918
+ "bbox": [
919
+ 173,
920
+ 380,
921
+ 825,
922
+ 449
923
+ ],
924
+ "page_idx": 8
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "Evaluation Results: Figure 4(i) and Figure 4(ii) compare FedRolex with Federated Dropout in terms of global model accuracy when $\\gamma$ for CIFAR-10 and CIFAR-100, respectively. As shown, although the global model accuracy drops for both FedRolex and Federated Dropout when $\\gamma$ increases, especially from 1 to 4, FedRolex consistently achieves higher global model accuracy than Federated Dropout across $\\gamma = \\{ 2 , 4 , 8 , 1 6 \\}$ under both low and high data heterogeneity. For Stack Overflow (Figure 4(iii)), the global model accuracy has a much smaller drop when $\\gamma$ increases. This demonstrates the superiority of using large models on large-scale datasets for training larger server models. ",
929
+ "bbox": [
930
+ 173,
931
+ 455,
932
+ 825,
933
+ 553
934
+ ],
935
+ "page_idx": 8
936
+ },
937
+ {
938
+ "type": "image",
939
+ "img_path": "images/dc26fa907235d516ac65f0e07501364b48fc28547d09a1bd772a601c68306ae5.jpg",
940
+ "image_caption": [
941
+ "Figure 4: Performance on training larger server model when the server model is $\\gamma$ times the size of the client model for (i) CIFAR-10, (ii) CIFAR-100, and (iii) Stack Overflow. "
942
+ ],
943
+ "image_footnote": [],
944
+ "bbox": [
945
+ 181,
946
+ 569,
947
+ 810,
948
+ 732
949
+ ],
950
+ "page_idx": 8
951
+ },
952
+ {
953
+ "type": "text",
954
+ "text": "4.5 Enhance Inclusiveness of FL in Real-world Distribution ",
955
+ "text_level": 1,
956
+ "bbox": [
957
+ 173,
958
+ 800,
959
+ 599,
960
+ 815
961
+ ],
962
+ "page_idx": 8
963
+ },
964
+ {
965
+ "type": "text",
966
+ "text": "A primary vision of FedRolex is to enhance the inclusiveness of FL. To demonstrate this, in this experiment, we use real-world household income distribution to emulate real-world device distribution. Specifically, we retrieve household income distribution information from Bureau [33]. We map $\\beta _ { n } = { ^ { 1 } } / { _ { 1 6 } }$ with the income group with earning less than $\\$ 75,000$ and assign proportions of remaining groups in $\\$ 25$ , 000 increments with increasing values of $\\beta _ { n }$ . Detailed mapping of this distribution to the corresponding income distribution is provided in Figure 7 in Appendix A.7. ",
967
+ "bbox": [
968
+ 174,
969
+ 827,
970
+ 825,
971
+ 911
972
+ ],
973
+ "page_idx": 8
974
+ },
975
+ {
976
+ "type": "image",
977
+ "img_path": "images/3a5cc1ceb24d9af6e3ccb5412cfe9ff89a92852da8096a9afd3da5980d14c226.jpg",
978
+ "image_caption": [
979
+ "Figure 5: Local model accuracy distribution of FedRolex (orange color) vs. the smallest modelhomogeneous case (blue color) for CIFAR-10 and CIFAR-100 under low and high data heterogeneity. "
980
+ ],
981
+ "image_footnote": [],
982
+ "bbox": [
983
+ 173,
984
+ 104,
985
+ 825,
986
+ 377
987
+ ],
988
+ "page_idx": 9
989
+ },
990
+ {
991
+ "type": "text",
992
+ "text": "Evaluation Results: Table 4 shows both the global and local model accuracies of FedRolex for CIFAR-10 and CIFAR-100 as well as the global model accuracy on Stack Overflow under the emulated real-world device distribution. Again, we compare with two model-homogeneous cases where all clients have the smallest and largest model capacities, representing lower and upper-bound accuracy, respectively. We make two observations. (1) Looking at the global model accuracy, FedRolex consistently outperforms the lower-bound model-homogeneous case across CIFAR-10, CIFAR-100, and Stack Overflow. This result indicates that FedRolex enhances the inclusiveness of FL and improves the accuracy of the global model, which would otherwise not be able to achieve. (2) Looking at the local model accuracy, FedRolex significantly outperforms the lower-bound modelhomogeneous case on CIFAR-10 and CIFAR-100 under both low and high data heterogeneity. This result indicates that FedRolex effectively boosts the performance of low-end devices, which would otherwise not benefit from FL. A detailed illustration of how local model accuracy distribution of individual clients shifts when FedRolex is used compared to the smallest model-homogeneous case with the same client outreach is shown in Figure 5. ",
993
+ "bbox": [
994
+ 173,
995
+ 428,
996
+ 825,
997
+ 622
998
+ ],
999
+ "page_idx": 9
1000
+ },
1001
+ {
1002
+ "type": "text",
1003
+ "text": "5 Conclusion ",
1004
+ "text_level": 1,
1005
+ "bbox": [
1006
+ 174,
1007
+ 635,
1008
+ 299,
1009
+ 651
1010
+ ],
1011
+ "page_idx": 9
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "text": "We presented FedRolex, a partial training (PT)-based model-heterogeneous FL approach that is able to train a global server model larger than the largest client model. FedRolex proposed a rolling sub-model extraction scheme that enables parameters of the global server model to be evenly trained to mitigate client drift induced by model heterogeneity. We provided a theoretical statistical analysis of its advantage over Federated Dropout. Our experimental results show that FedRolex consistently outperforms state-of-the-art PT-based methods across models and datasets at both small and large scales. Moreover, we demonstrated its performance on an emulated real-world device distribution and show FedRolex contributes to making FL more inclusive. ",
1016
+ "bbox": [
1017
+ 173,
1018
+ 659,
1019
+ 825,
1020
+ 770
1021
+ ],
1022
+ "page_idx": 9
1023
+ },
1024
+ {
1025
+ "type": "text",
1026
+ "text": "Limitations and Future works. In this work, we provided a statistical analysis of FedRolex. Full convergence analysis of FedRolex is not trivial and is left for future work. In addition, the goal of this work is to train a global server model using a federation of heterogeneous client models. Determining what models to deploy onto each client after the global server model is trained is a separate task, especially when the global server model is large. We will pursue it as our future work. ",
1027
+ "bbox": [
1028
+ 174,
1029
+ 776,
1030
+ 825,
1031
+ 845
1032
+ ],
1033
+ "page_idx": 9
1034
+ },
1035
+ {
1036
+ "type": "text",
1037
+ "text": "6 Acknowledgement ",
1038
+ "text_level": 1,
1039
+ "bbox": [
1040
+ 174,
1041
+ 858,
1042
+ 359,
1043
+ 876
1044
+ ],
1045
+ "page_idx": 9
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "We thank the reviewers for their helpful comments. This work was partially supported by NSF PFI:BIC-1632051, CNS-1814551, DMS-2012439, and a Google Computing Platform (GCP) grant. ",
1050
+ "bbox": [
1051
+ 173,
1052
+ 883,
1053
+ 823,
1054
+ 911
1055
+ ],
1056
+ "page_idx": 9
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "References \n[1] Peter Kairouz, H Brendan McMahan, Brendan Avent, Aurélien Bellet, Mehdi Bennis, Arjun Nitin Bhagoji, Kallista Bonawitz, Zachary Charles, Graham Cormode, Rachel Cummings, et al. Advances and open problems in federated learning. Foundations and Trends® in Machine Learning, 14(1–2):1–210, 2021. \n[2] Jianyu Wang, Zachary Charles, Zheng Xu, Gauri Joshi, H. Brendan McMahan, Blaise Aguera y Arcas, Maruan Al-Shedivat, Galen Andrew, Salman Avestimehr, Katharine Daly, Deepesh Data, Suhas Diggavi, Hubert Eichner, Advait Gadhikar, Zachary Garrett, Antonious M. Girgis, Filip Hanzely, Andrew Hard, Chaoyang He, Samuel Horvath, Zhouyuan Huo, Alex Ingerman, Martin Jaggi, Tara Javidi, Peter Kairouz, Satyen Kale, Sai Praneeth Karimireddy, Jakub Konecny, Sanmi Koyejo, Tian Li, Luyang Liu, Mehryar Mohri, Hang Qi, Sashank J. Reddi, Peter Richtarik, Karan Singhal, Virginia Smith, Mahdi Soltanolkotabi, Weikang Song, Ananda Theertha Suresh, Sebastian U. Stich, Ameet Talwalkar, Hongyi Wang, Blake Woodworth, Shanshan Wu, Felix X. Yu, Honglin Yuan, Manzil Zaheer, Mi Zhang, Tong Zhang, Chunxiang Zheng, Chen Zhu, and Wennan Zhu. A field guide to federated optimization, 2021. \n[3] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics, pages 1273–1282. PMLR, 2017. \n[4] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Federated optimization in heterogeneous networks. Proceedings of Machine Learning and Systems, 2:429–450, 2020. \n[5] Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Sashank Reddi, Sebastian Stich, and Ananda Theertha Suresh. Scaffold: Stochastic controlled averaging for federated learning. In International Conference on Machine Learning, pages 5132–5143. PMLR, 2020. \n[6] Hong-You Chen and Wei-Lun Chao. Fedbe: Making bayesian model ensemble applicable to federated learning. arXiv preprint arXiv:2009.01974, 2020. \n[7] Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021. \n[8] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017. \n[9] Chaoyang He, Murali Annavaram, and Salman Avestimehr. Group knowledge transfer: Federated learning of large cnns at the edge. Advances in Neural Information Processing Systems, 33: 14068–14080, 2020. \n[10] Tao Lin, Lingjing Kong, Sebastian U Stich, and Martin Jaggi. Ensemble distillation for robust model fusion in federated learning. Advances in Neural Information Processing Systems, 33: 2351–2363, 2020. \n[11] Sohei Itahara, Takayuki Nishio, Yusuke Koda, Masahiro Morikura, and Koji Yamamoto. Distillation-based semi-supervised federated learning for communication-efficient collaborative training with non-iid private data. arXiv preprint arXiv:2008.06180, 2020. \n[12] Yae Jee Cho, Andre Manoel, Gauri Joshi, Robert Sim, and Dimitrios Dimitriadis. Heterogeneous ensemble knowledge transfer for training large models in federated learning. International Joint Conference on Artificial Intelligence (IJCAI), 2022. \n[13] Sebastian Caldas, Jakub Konecny, H Brendan McMahan, and Ameet Talwalkar. Expanding ˇ the reach of federated learning by reducing client resource requirements. arXiv preprint arXiv:1812.07210, 2018. \n[14] Enmao Diao, Jie Ding, and Vahid Tarokh. Heterofl: Computation and communication efficient federated learning for heterogeneous clients. arXiv preprint arXiv:2010.01264, 2020. ",
1061
+ "bbox": [
1062
+ 173,
1063
+ 71,
1064
+ 828,
1065
+ 916
1066
+ ],
1067
+ "page_idx": 10
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "[15] Samuel Horvath, Stefanos Laskaridis, Mario Almeida, Ilias Leontiadis, Stylianos Venieris, and Nicholas Lane. Fjord: Fair and accurate federated learning under heterogeneous targets with ordered dropout. Advances in Neural Information Processing Systems, 34, 2021. ",
1072
+ "bbox": [
1073
+ 171,
1074
+ 90,
1075
+ 823,
1076
+ 133
1077
+ ],
1078
+ "page_idx": 11
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "[16] Keith Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H Brendan McMahan, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. Practical secure aggregation for federated learning on user-held data. arXiv preprint arXiv:1611.04482, 2016. ",
1083
+ "bbox": [
1084
+ 171,
1085
+ 145,
1086
+ 823,
1087
+ 188
1088
+ ],
1089
+ "page_idx": 11
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "text": "[17] Zachary Charles, Kallista Bonawitz, Stanislav Chiknavaryan, Brendan McMahan, et al. Federated select: A primitive for communication-and memory-efficient federated learning. arXiv preprint arXiv:2208.09432, 2022. ",
1094
+ "bbox": [
1095
+ 173,
1096
+ 198,
1097
+ 826,
1098
+ 239
1099
+ ],
1100
+ "page_idx": 11
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "[18] Jae Hun Ro, Theresa Breiner, Lara McConnaughey, Mingqing Chen, Ananda Theertha Suresh, Shankar Kumar, and Rajiv Mathews. Scaling language model size in cross-device federated learning. arXiv preprint arXiv:2204.09715, 2022. ",
1105
+ "bbox": [
1106
+ 171,
1107
+ 251,
1108
+ 823,
1109
+ 295
1110
+ ],
1111
+ "page_idx": 11
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "[19] Zachary Charles, Kallista Bonawitz, Stanislav Chiknavaryan, Brendan McMahan, and Blaise Agüera y Arcas. Federated select: A primitive for communication- and memory-efficient federated learning, 2022. URL https://arxiv.org/abs/2208.09432. ",
1116
+ "bbox": [
1117
+ 173,
1118
+ 305,
1119
+ 821,
1120
+ 348
1121
+ ],
1122
+ "page_idx": 11
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "[20] Hongyi Wang, Kartik Sreenivasan, Shashank Rajput, Harit Vishwakarma, Saurabh Agarwal, Jy-yong Sohn, Kangwook Lee, and Dimitris Papailiopoulos. Attack of the tails: Yes, you really can backdoor federated learning. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 16070–16084. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/ paper/2020/file/b8ffa41d4e492f0fad2f13e29e1762eb-Paper.pdf. ",
1127
+ "bbox": [
1128
+ 173,
1129
+ 358,
1130
+ 826,
1131
+ 443
1132
+ ],
1133
+ "page_idx": 11
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "text": "[21] Tien-Ju Yang, Dhruv Guliani, Françoise Beaufays, and Giovanni Motta. Partial variable training for efficient on-device federated learning. In ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 4348–4352. IEEE, 2022. ",
1138
+ "bbox": [
1139
+ 173,
1140
+ 454,
1141
+ 823,
1142
+ 497
1143
+ ],
1144
+ "page_idx": 11
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "[22] Geoffrey Hinton, Oriol Vinyals, Jeff Dean, et al. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2(7), 2015. ",
1149
+ "bbox": [
1150
+ 173,
1151
+ 507,
1152
+ 821,
1153
+ 536
1154
+ ],
1155
+ "page_idx": 11
1156
+ },
1157
+ {
1158
+ "type": "text",
1159
+ "text": "[23] Samuel Don Stanton, Pavel Izmailov, Polina Kirichenko, Alexander A Alemi, and Andrew Gordon Wilson. Does knowledge distillation really work? In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, 2021. URL https://openreview.net/forum?id $\\cdot ^ { = }$ 7J-fKoXiReA. ",
1160
+ "bbox": [
1161
+ 173,
1162
+ 547,
1163
+ 826,
1164
+ 604
1165
+ ],
1166
+ "page_idx": 11
1167
+ },
1168
+ {
1169
+ "type": "text",
1170
+ "text": "[24] Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research, 15(1):1929–1958, 2014. ",
1171
+ "bbox": [
1172
+ 173,
1173
+ 614,
1174
+ 823,
1175
+ 657
1176
+ ],
1177
+ "page_idx": 11
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "text": "[25] Gary Cheng, Zachary Charles, Zachary Garrett, and Keith Rush. Does federated dropout actually work? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3387–3395, 2022. ",
1182
+ "bbox": [
1183
+ 173,
1184
+ 667,
1185
+ 825,
1186
+ 712
1187
+ ],
1188
+ "page_idx": 11
1189
+ },
1190
+ {
1191
+ "type": "text",
1192
+ "text": "[26] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016. ",
1193
+ "bbox": [
1194
+ 173,
1195
+ 722,
1196
+ 826,
1197
+ 763
1198
+ ],
1199
+ "page_idx": 11
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "text": "[27] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. ",
1204
+ "bbox": [
1205
+ 173,
1206
+ 775,
1207
+ 825,
1208
+ 804
1209
+ ],
1210
+ "page_idx": 11
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "text": "[28] Mathieu Andreux, Jean Ogier du Terrail, Constance Beguier, and Eric W Tramel. Siloed federated learning for multi-centric histopathology datasets. In Domain Adaptation and Representation Transfer, and Distributed and Collaborative Learning, pages 129–139. Springer, 2020. ",
1215
+ "bbox": [
1216
+ 174,
1217
+ 815,
1218
+ 826,
1219
+ 871
1220
+ ],
1221
+ "page_idx": 11
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "[29] TFF. Tensorflow federated stack overflow dataset. Online: https://www. tensorflow. org/federated/api_docs/python/tff/simulation/datasets/stackoverflow, 2019. ",
1226
+ "bbox": [
1227
+ 171,
1228
+ 882,
1229
+ 823,
1230
+ 912
1231
+ ],
1232
+ "page_idx": 11
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "text": "[30] Barret Zoph, Ekin D Cubuk, Golnaz Ghiasi, Tsung-Yi Lin, Jonathon Shlens, and Quoc V Le. Learning data augmentation strategies for object detection. In European conference on computer vision, pages 566–583. Springer, 2020. ",
1237
+ "bbox": [
1238
+ 171,
1239
+ 90,
1240
+ 823,
1241
+ 133
1242
+ ],
1243
+ "page_idx": 12
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "[31] Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, highperformance deep learning library. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché- Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems 32, pages 8024–8035. Curran Associates, Inc., 2019. URL http://papers.neurips.cc/paper/ 9015-pytorch-an-imperative-style-high-performance-deep-learning-library. pdf. ",
1248
+ "bbox": [
1249
+ 174,
1250
+ 142,
1251
+ 826,
1252
+ 267
1253
+ ],
1254
+ "page_idx": 12
1255
+ },
1256
+ {
1257
+ "type": "text",
1258
+ "text": "[32] Philipp Moritz, Robert Nishihara, Stephanie Wang, Alexey Tumanov, Richard Liaw, Eric Liang, Melih Elibol, Zongheng Yang, William Paul, Michael I Jordan, et al. Ray: A distributed framework for emerging $\\{ \\mathrm { A I } \\}$ applications. In 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), pages 561–577, 2018. ",
1259
+ "bbox": [
1260
+ 173,
1261
+ 276,
1262
+ 828,
1263
+ 333
1264
+ ],
1265
+ "page_idx": 12
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "text": "[33] U.S. Census Bureau. Percentage distribution of household income in the u.s. in 2020. In Statista, September 2021. Retrieved May 18, 2022, from https://www.statista.com/statistics/ 203183/percentage-distribution-of-household-income-in-the-us. ",
1270
+ "bbox": [
1271
+ 171,
1272
+ 342,
1273
+ 823,
1274
+ 385
1275
+ ],
1276
+ "page_idx": 12
1277
+ },
1278
+ {
1279
+ "type": "text",
1280
+ "text": "[34] Sheldon M. Ross. Introduction to Probability Models. Academic Press, San Diego, CA, USA, 11th edition, 2014. ",
1281
+ "bbox": [
1282
+ 169,
1283
+ 392,
1284
+ 825,
1285
+ 421
1286
+ ],
1287
+ "page_idx": 12
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "text": "[35] Donald J Newman. The double dixie cup problem. The American Mathematical Monthly, 67 (1):58–61, 1960. ",
1292
+ "bbox": [
1293
+ 173,
1294
+ 430,
1295
+ 825,
1296
+ 459
1297
+ ],
1298
+ "page_idx": 12
1299
+ },
1300
+ {
1301
+ "type": "text",
1302
+ "text": "[36] Manoj Ghuhan Arivazhagan, Vinay Aggarwal, Aaditya Kumar Singh, and Sunav Choudhary. Federated learning with personalization layers. arXiv preprint arXiv:1912.00818, 2019. ",
1303
+ "bbox": [
1304
+ 171,
1305
+ 468,
1306
+ 825,
1307
+ 497
1308
+ ],
1309
+ "page_idx": 12
1310
+ },
1311
+ {
1312
+ "type": "text",
1313
+ "text": "Checklist ",
1314
+ "text_level": 1,
1315
+ "bbox": [
1316
+ 174,
1317
+ 89,
1318
+ 254,
1319
+ 106
1320
+ ],
1321
+ "page_idx": 13
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "1. For all authors... ",
1326
+ "bbox": [
1327
+ 214,
1328
+ 116,
1329
+ 339,
1330
+ 131
1331
+ ],
1332
+ "page_idx": 13
1333
+ },
1334
+ {
1335
+ "type": "text",
1336
+ "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] \n(c) Did you discuss any potential negative societal impacts of your work? [No] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1337
+ "bbox": [
1338
+ 238,
1339
+ 135,
1340
+ 825,
1341
+ 227
1342
+ ],
1343
+ "page_idx": 13
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "text": "2. If you are including theoretical results... ",
1348
+ "bbox": [
1349
+ 214,
1350
+ 231,
1351
+ 493,
1352
+ 244
1353
+ ],
1354
+ "page_idx": 13
1355
+ },
1356
+ {
1357
+ "type": "text",
1358
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] ",
1359
+ "bbox": [
1360
+ 236,
1361
+ 248,
1362
+ 735,
1363
+ 280
1364
+ ],
1365
+ "page_idx": 13
1366
+ },
1367
+ {
1368
+ "type": "text",
1369
+ "text": "3. If you ran experiments... ",
1370
+ "bbox": [
1371
+ 212,
1372
+ 285,
1373
+ 393,
1374
+ 299
1375
+ ],
1376
+ "page_idx": 13
1377
+ },
1378
+ {
1379
+ "type": "text",
1380
+ "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] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] \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] ",
1381
+ "bbox": [
1382
+ 238,
1383
+ 303,
1384
+ 826,
1385
+ 421
1386
+ ],
1387
+ "page_idx": 13
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1392
+ "bbox": [
1393
+ 215,
1394
+ 426,
1395
+ 823,
1396
+ 440
1397
+ ],
1398
+ "page_idx": 13
1399
+ },
1400
+ {
1401
+ "type": "text",
1402
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [N/A] \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] ",
1403
+ "bbox": [
1404
+ 238,
1405
+ 444,
1406
+ 825,
1407
+ 565
1408
+ ],
1409
+ "page_idx": 13
1410
+ },
1411
+ {
1412
+ "type": "text",
1413
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1414
+ "bbox": [
1415
+ 214,
1416
+ 569,
1417
+ 705,
1418
+ 584
1419
+ ],
1420
+ "page_idx": 13
1421
+ },
1422
+ {
1423
+ "type": "text",
1424
+ "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] ",
1425
+ "bbox": [
1426
+ 238,
1427
+ 588,
1428
+ 825,
1429
+ 678
1430
+ ],
1431
+ "page_idx": 13
1432
+ }
1433
+ ]
parse/dev/OtxyysUdBE/OtxyysUdBE_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/OtxyysUdBE/OtxyysUdBE_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/gzeruP-0J29/gzeruP-0J29_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/gzeruP-0J29/gzeruP-0J29_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/q-LMlivZrV/q-LMlivZrV_content_list.json ADDED
@@ -0,0 +1,1518 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 241,
8
+ 136,
9
+ 756,
10
+ 188
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Andreas Fürst ⇤1 Elisabeth Rumetshofer ⇤1 Johannes Lehner 1 Viet Tran 1 Fei Tang 3 Hubert Ramsauer 1 David Kreil 2 Michael Kopp 2 Günter Klambauer 1 Angela Bitto-Nemling 1 Sepp Hochreiter 1 2 ",
17
+ "bbox": [
18
+ 215,
19
+ 238,
20
+ 782,
21
+ 297
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "1 ELLIS Unit Linz and LIT AI Lab, Institute for Machine Learning, Johannes Kepler University, Linz, Austria 2 Institute of Advanced Research in Artificial Intelligence (IARAI), Vienna, Austria 3 HERE Technologies, Zurich, Switzerland ⇤ Equal contribution ",
28
+ "bbox": [
29
+ 227,
30
+ 318,
31
+ 776,
32
+ 388
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "Abstract ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 462,
42
+ 424,
43
+ 535,
44
+ 440
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "CLIP yielded impressive results on zero-shot transfer learning tasks and is considered as a foundation model like BERT or GPT3. CLIP vision models that have a rich representation are pre-trained using the InfoNCE objective and natural language supervision before they are fine-tuned on particular tasks. Though CLIP excels at zero-shot transfer learning, it suffers from an explaining away problem, that is, it focuses on one or few features, while neglecting other relevant features. This problem is caused by insufficiently extracting the covariance structure in the original multi-modal data. We suggest to use modern Hopfield networks to tackle the problem of explaining away. Their retrieved embeddings have an enriched covariance structure derived from co-occurrences of features in the stored embeddings. However, modern Hopfield networks increase the saturation effect of the InfoNCE objective which hampers learning. We propose to use the InfoLOOB objective to mitigate this saturation effect. We introduce the novel “Contrastive Leave One Out Boost” (CLOOB), which uses modern Hopfield networks for covariance enrichment together with the InfoLOOB objective. In experiments we compare CLOOB to CLIP after pre-training on the Conceptual Captions and the YFCC dataset with respect to their zero-shot transfer learning performance on other datasets. CLOOB consistently outperforms CLIP at zero-shot transfer learning across all considered architectures and datasets. ",
51
+ "bbox": [
52
+ 232,
53
+ 457,
54
+ 766,
55
+ 718
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 Introduction ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 746,
66
+ 310,
67
+ 763
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Contrastive Language-Image Pre-training (CLIP) showed spectacular performance at zero-shot transfer learning (Radford et al., 2021). CLIP learns expressive image embeddings directly from raw text, thereby leverages a much richer source of supervision than just labels. The CLIP model is considered as an important foundation model (Bommasani et al., 2021), therefore a plethora of follow-up work has been published (see Appendix Section A.4). CLIP as a contrastive learning method has two simultaneous goals, namely (i) increasing the similarity of matched language-image pairs and (ii) decreasing the similarity of unmatched language-image pairs. Though CLIP yielded striking zero-shot transfer learning results, it still suffers from “explaining away”. Explaining away is known in reasoning as the concept that the confirmation of one cause of an observed event dismisses alternative causes (Pearl, 1988; Wellman & Henrion, 1993). CLIP’s explaining away problem is its focus on one or few features while neglecting other relevant features. This problem is caused by insufficiently extracting feature co-occurrences and covariance structures in the original multimodal data. Humans extract co-occurrences and covariances by associating current perceptions with memories (Bonner & Epstein, 2021; Potter, 2012). In analogy to these human cognitive processes, we suggest to use modern Hopfield networks to amplify co-occurrences and covariance structures of the original data. ",
74
+ "bbox": [
75
+ 174,
76
+ 779,
77
+ 825,
78
+ 876
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 174,
87
+ 90,
88
+ 825,
89
+ 215
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Hopfield networks are energy-based, binary associative memories, which popularized artificial neural networks in the 1980s (Amari, 1972; Hopfield, 1982, 1984). Associative memory networks have been designed to store and retrieve samples. Their storage capacity can be considerably increased by polynomial terms in the energy function (Chen et al., 1986; Psaltis & Cheol, 1986; Baldi & Venkatesh, 1987; Gardner, 1987; Abbott & Arian, 1987; Horn & Usher, 1988; Caputo & Niemann, 2002; Krotov & Hopfield, 2016). In contrast to these binary memory networks, we use continuous associative memory networks with very high storage capacity. These modern Hopfield networks for deep learning architectures have an energy function with continuous states and can retrieve samples with only one update (Ramsauer et al., 2021). Modern Hopfield networks have already been successfully applied to immune repertoire classification (Widrich et al., 2020), chemical reaction prediction (Seidl et al., 2022) and reinforcement learning (Widrich et al., 2021; Paischer et al., 2022). Modern Hopfield networks are a novel concept for contrastive learning to extract more covariance structure. ",
96
+ "bbox": [
97
+ 173,
98
+ 222,
99
+ 825,
100
+ 388
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "However, modern Hopfield networks lead to a higher similarity of retrieved samples. The increased similarity exacerbates the saturation of CLIP’s InfoNCE objective (van den Oord et al., 2018). InfoNCE saturates because it contains terms of the form $a / ( a + b )$ . In analogy to Wang & Isola (2020), $a$ is called the “alignment score” that measures the similarity of matched pairs and $b$ is called the “uniformity penalty” that measures the similarity of unmatched pairs. The saturation problem becomes more severe for retrieved samples of the modern Hopfield network since the alignment score $a$ increases. Saturation of InfoNCE hampers the decrease of the uniformity penalty $b$ (see also Yeh et al. (2021)). Contrary to InfoNCE, the “InfoLOOB” (LOOB for “Leave One Out Bound”) objective (Poole et al., 2019) contains only terms of the form $a / b$ which do not saturate. Thus, even for a large alignment score $a$ , learning still decreases the uniformity penalty $b$ by distributing samples more uniformly. ",
107
+ "bbox": [
108
+ 173,
109
+ 393,
110
+ 825,
111
+ 546
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "We introduce “Contrastive Leave One Out Boost” (CLOOB) which combines modern Hopfield networks with the “InfoLOOB” objective. Our contributions are: ",
118
+ "bbox": [
119
+ 173,
120
+ 553,
121
+ 823,
122
+ 580
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "(a) we propose CLOOB, a new contrastive learning method, \n(b) we propose modern Hopfield networks to reinforce covariance structures, \n(c) we propose InfoLOOB as an objective to avoid saturation as observed with InfoNCE, and provide theoretical justifications for optimizing InfoLOOB. ",
129
+ "bbox": [
130
+ 205,
131
+ 583,
132
+ 825,
133
+ 645
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 CLOOB: Modern Hopfield Networks with InfoLOOB ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 173,
143
+ 665,
144
+ 653,
145
+ 683
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Our novel contrastive learning method CLOOB can be seen as a replacement of CLIP and therefore be used in any method which builds upon CLIP. Figure 1 sketches the CLOOB architecture for image-text pairs. The training set consists of $N$ pairs of embeddings $\\left\\{ ( \\pmb { x } _ { 1 } , \\pmb { y } _ { 1 } ) , \\dotsc , ( \\pmb { x } _ { N } , \\pmb { y } _ { N } ) \\right\\}$ with $\\pmb { X } = \\mathsf { \\bar { \\Psi } } ( \\pmb { x } _ { 1 } , \\dots , \\pmb { x } _ { N } )$ and $\\pmb { Y } = ( \\pmb { y } _ { 1 } , \\dots , \\pmb { y } _ { N } )$ , $M$ stored embeddings $\\pmb { U } = ( \\pmb { u } _ { 1 } , \\dots , \\pmb { u } _ { M } )$ , and $K$ stored embeddings $V = \\left( \\pmb { v } _ { 1 } , \\dots , \\pmb { v } _ { K } \\right)$ . The state or query embeddings $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ and $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\psi _ { i }$ retrieve $U _ { { \\pmb x } _ { i } }$ and $U _ { y _ { i } }$ , respectively, from $U$ — analog for retrievals from $V$ . The samples are normalized: $\\| \\pmb { x } _ { i } \\| = \\| \\pmb { y } _ { i } \\| = \\| \\pmb { u } _ { i } \\| = \\| \\pmb { v } _ { i } \\| = 1$ . $U _ { { \\pmb x } _ { i } }$ denotes an image-retrieved image embedding, $U _ { y _ { i } }$ a text-retrieved image embedding, $V _ { { \\pmb x } _ { i } }$ an image-retrieved text embedding and $V _ { y _ { i } }$ a text-retrieved text embedding. These retrievals from modern Hopfield networks are computed as follows (Ramsauer et al., 2021): ",
152
+ "bbox": [
153
+ 173,
154
+ 698,
155
+ 825,
156
+ 837
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "equation",
162
+ "img_path": "images/182c4d903ae228b2867e8d011df1b3141f2dc5d32b0275117c14663f2028b017.jpg",
163
+ "text": "$$\n\\begin{array} { r l } { U _ { x _ { i } } \\ = \\ U \\ \\mathrm { s o f t m a x } ( \\beta U ^ { T } x _ { i } ) , \\qquad ( 1 ) \\qquad } & { V _ { x _ { i } } \\ = V \\ \\mathrm { s o f t m a x } ( \\beta V ^ { T } x _ { i } ) , } \\\\ { U _ { y _ { i } } \\ = \\ U \\ \\mathrm { s o f t m a x } ( \\beta U ^ { T } y _ { i } ) , \\qquad ( 2 ) \\qquad } & { V _ { y _ { i } } \\ = V \\ \\mathrm { s o f t m a x } ( \\beta V ^ { T } y _ { i } ) . } \\end{array}\n$$",
164
+ "text_format": "latex",
165
+ "bbox": [
166
+ 225,
167
+ 838,
168
+ 772,
169
+ 881
170
+ ],
171
+ "page_idx": 1
172
+ },
173
+ {
174
+ "type": "text",
175
+ "text": "The hyperparameter $\\beta$ corresponds to the inverse temperature: $\\beta = 0$ retrieves the average of the stored pattern, while large $\\beta$ retrieves the stored pattern that is most similar to the state pattern (query). ",
176
+ "bbox": [
177
+ 171,
178
+ 883,
179
+ 830,
180
+ 911
181
+ ],
182
+ "page_idx": 1
183
+ },
184
+ {
185
+ "type": "image",
186
+ "img_path": "images/679b9f810d55197d9e18c57c22a0bbd4bf5eab576111477284add4731034c9cc.jpg",
187
+ "image_caption": [
188
+ "Figure 1: The CLOOB architecture for image-text pairs. The image embedding $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ and the text embedding $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\mathbf { \\psi } _ { 2 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\qquad \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 }$ retrieve the embeddings $U _ { { \\pmb x } _ { i } }$ and $U _ { y _ { i } }$ , respectively, from a modern Hopfield network that stores image embeddings $U = ( \\pmb { u } _ { 1 } , \\dots , \\pmb { u } _ { M } )$ (green boxes at the left). The image-retrieved image embedding $U _ { { \\pmb x } _ { i } }$ serves as anchor in order to contrast the positive text-retrieved image embedding $U _ { y _ { i } }$ with the negative text-retrieved image embedding $U _ { y _ { j } }$ for $j \\neq i$ . Analogously, for the second modern Hopfield network that stores text embeddings $V = \\left( \\pmb { v } _ { 1 } , \\dots , \\pmb { v } _ { K } \\right)$ (green boxes at the right). "
189
+ ],
190
+ "image_footnote": [],
191
+ "bbox": [
192
+ 178,
193
+ 85,
194
+ 818,
195
+ 306
196
+ ],
197
+ "page_idx": 2
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "In the InfoLOOB loss Eq. (8), CLOOB substitutes the embedded samples $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ and $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\psi _ { i }$ by the normalized retrieved embedded samples. In the first term, $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ and $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\mathbf { \\psi } _ { 2 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\qquad \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\qquad \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 3 } \\mathbf { \\psi } _ { 4 } \\mathbf { \\psi } _ { 4 }$ are substituted by $U _ { { \\pmb x } _ { i } }$ and $U _ { y _ { i } }$ , respectively, while in the second term they are substituted by $V _ { { \\pmb x } _ { i } }$ and $V _ { y _ { i } }$ . After retrieval, the samples are re-normalized to ensure $\\| U _ { x _ { i } } \\| = \\| U _ { y _ { i } } \\| = \\| V _ { x _ { i } } \\| = \\| V _ { y _ { i } } \\| = \\mathrm { \\bar { 1 } }$ . ",
202
+ "bbox": [
203
+ 173,
204
+ 424,
205
+ 825,
206
+ 483
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "We obtain the CLOOB loss function: ",
213
+ "bbox": [
214
+ 174,
215
+ 487,
216
+ 416,
217
+ 502
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "equation",
223
+ "img_path": "images/b3e853f42bd792eed2dc532c41dbeb0e7df300d7b8419d3f8e27d2d1bf37968e.jpg",
224
+ "text": "$$\n\\mathrm { L } _ { \\mathrm { I n f o L O O B } } = - \\ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ln \\frac { \\exp ( \\tau ^ { - 1 } U _ { { \\alpha } _ { i } } ^ { T } U _ { y _ { i } } ) } { \\sum _ { j \\neq i } ^ { N } \\exp ( \\tau ^ { - 1 } U _ { { \\alpha } _ { i } } ^ { T } U _ { y _ { j } } ) } \\ - \\ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ln \\frac { \\exp ( \\tau ^ { - 1 } V _ { { \\alpha } _ { i } } ^ { T } V _ { y _ { i } } ) } { \\sum _ { j \\neq i } ^ { N } \\exp ( \\tau ^ { - 1 } V _ { { \\alpha } _ { j } } ^ { T } V _ { y _ { i } } ) } .\n$$",
225
+ "text_format": "latex",
226
+ "bbox": [
227
+ 178,
228
+ 505,
229
+ 816,
230
+ 550
231
+ ],
232
+ "page_idx": 2
233
+ },
234
+ {
235
+ "type": "text",
236
+ "text": "By default, we store the minibatch in the modern Hopfield networks, that is, $U = X$ and $V = Y$ . Thus, in Eq. (1) $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ can retrieve itself from $U = X$ , but in Eq. (3) it can not retrieve itself from $V = Y$ . Analogously, in Eq. (4) $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\psi _ { i }$ can retrieve itself from $V = Y$ , but in Eq. (2) it can not retrieve itself from $U = X$ . By storing the embeddings of the mini-batch examples in the Hopfield memory, we do not require to compute the embeddings of additional samples via text and image encoders. However, the modern Hopfield networks can also store prototypes, templates, or proprietary samples to amplify particular embedding features via the stored samples. Either the original embeddings $_ { \\textbf { \\em x } }$ and $\\textbf { { y } }$ or the retrieved embeddings $U _ { x }$ , $U _ { y }$ , $V _ { x }$ , and $V _ { y }$ may serve for the downstream tasks, e.g. for zero-shot transfer learning. ",
237
+ "bbox": [
238
+ 173,
239
+ 569,
240
+ 825,
241
+ 695
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "Pseudocode 1 shows CLOOB in a PyTorch-like style. CLOOB has two major components: (i) modern Hopfield networks that alleviate CLIP’s problem of insufficiently exploiting the covariance structure in the data and (ii) the InfoLOOB objective that does not suffer from InfoNCE’s saturation problem. The next two sections analyze CLOOB’s major components. ",
248
+ "bbox": [
249
+ 173,
250
+ 700,
251
+ 825,
252
+ 757
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "3 Modern Hopfield Networks for Enriching the Covariance Structure ",
259
+ "text_level": 1,
260
+ "bbox": [
261
+ 171,
262
+ 775,
263
+ 767,
264
+ 794
265
+ ],
266
+ "page_idx": 2
267
+ },
268
+ {
269
+ "type": "text",
270
+ "text": "We use modern Hopfield networks to amplify co-occurrences and the covariance structure. Replacing the original embeddings by retrieved embeddings reinforces features that frequently occur together in stored embeddings. Additionally, spurious co-occurrences that are peculiar to a sample are averaged out. By this means, the covariance structure is reinforced by the retrieved embeddings $U _ { { \\pmb x } _ { i } } ^ { T } \\breve { U } _ { { \\pmb y } _ { i } }$ and $V _ { \\pmb { x } _ { i } } ^ { T } V _ { \\pmb { y } _ { i } }$ . The Jacobian J of the softmax $\\pmb { p } = \\mathrm { s o f t m a x } ( \\beta \\pmb { a } )$ is $\\mathrm { J } ( \\beta \\pmb { a } ) = \\beta$ $\\left( \\mathrm { d i a g } ( \\pmb { p } ) - \\pmb { p } \\pmb { p } ^ { T } \\right)$ . We define the weighted covariance $\\operatorname { C o v } ( U )$ , where sample $\\mathbf { \\delta } \\mathbf { u } _ { i }$ is drawn with probability $p _ { i }$ , as $\\begin{array} { r } { \\left[ \\operatorname { C o v } ( \\pmb { U } ) \\right] _ { k l } = \\left[ \\pmb { U } \\mathbf { J } ( \\beta a ) \\pmb { U } ^ { T } \\right] _ { k l } = \\beta ( \\sum _ { i = 1 } ^ { M } p _ { i } u _ { i k } u _ { i l } - \\sum _ { i = 1 } ^ { M } p _ { i } u _ { i k } \\sum _ { i = 1 } ^ { M } p _ { i } u _ { i l } ) . } \\end{array}$ . The formula of the ",
271
+ "bbox": [
272
+ 173,
273
+ 806,
274
+ 826,
275
+ 915
276
+ ],
277
+ "page_idx": 2
278
+ },
279
+ {
280
+ "type": "text",
281
+ "text": "1 # image_encoder - ResNet 2 3 # text_encoder - Text Transformer # I[n, h, w, c] - minibatch of images # T[n, l] - minibatch of texts 5 6 # W_i[d_i, d_e] - image projection # W_t[d_t, d_e] - text projection # beta - inverse temperature Hopfield retrieval 8 # tau - temperature InfoLOOB 9 10 # extract feature representations 11 I_f $=$ image_encoder(I) #[n, d_i] 12 T_f $=$ text_encoder(T) #[n, d_t] 13 14 # joint multimodal embedding 15 $\\texttt { x } =$ l2_normalize(I_f @ W_i) #[n, d_e] 16 $\\ y \\ = \\ 1 2$ _normalize(T_f @ W_t) #[n, d_e] 17 18 # Hopfield retrieval H with batch stored ",
282
+ "bbox": [
283
+ 178,
284
+ 130,
285
+ 490,
286
+ 295
287
+ ],
288
+ "page_idx": 3
289
+ },
290
+ {
291
+ "type": "image",
292
+ "img_path": "images/28aeff6cbdebc6c33784904647e2954bc408388958ddead1711c3f9e8d74942c.jpg",
293
+ "image_caption": [],
294
+ "image_footnote": [],
295
+ "bbox": [
296
+ 506,
297
+ 128,
298
+ 820,
299
+ 287
300
+ ],
301
+ "page_idx": 3
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "weighted covariance differs from the standard empirical covariance, since the factor $1 / M$ is replaced by $p _ { i }$ . Thus, $\\mathbf { \\Delta } \\mathbf { u } _ { i }$ is sampled with probability $p _ { i }$ instead with probability $1 / M$ (uniformly). ",
306
+ "bbox": [
307
+ 171,
308
+ 339,
309
+ 823,
310
+ 368
311
+ ],
312
+ "page_idx": 3
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "We apply the mean value theorem to the softmax function with mean Jacobian matrix $\\mathrm { J } ^ { \\mathrm { m } } ( \\beta \\pmb { a } ) =$ $\\begin{array} { r } { \\int _ { 0 } ^ { 1 } \\mathrm { J } ( \\lambda \\beta \\pmb { a } ) ~ \\mathrm { d } \\lambda } \\end{array}$ . The mean Jacobian $\\mathrm { J } ^ { \\mathrm { m } } ( \\beta \\mathbf { a } )$ is a symmetric, diagonally dominant, positive semidefinite matrix with one eigenvalue of zero for eigenvector 1 and spectral norm bounded by $\\| \\mathbf { J } ^ { \\mathrm { m } } \\| _ { 2 } \\leqslant$ $0 . 5 \\beta$ (see Appendix Lemma A1). According to Appendix Theorem A3, we can express $U _ { { \\pmb x } _ { i } } ^ { T } { \\pmb U } _ { { \\pmb y } _ { i } }$ as: ",
317
+ "bbox": [
318
+ 173,
319
+ 373,
320
+ 825,
321
+ 438
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "equation",
327
+ "img_path": "images/9aca29fb36a00c6a65d06671ddd85e171ad6cb6e4010dc1dee11e4cd550d2a41.jpg",
328
+ "text": "$$\n\\left( \\bar { \\pmb u } + \\mathrm { C o v } ( { \\pmb U } , { \\pmb x } _ { i } ) { \\pmb x } _ { i } \\right) ^ { T } \\left( \\bar { \\pmb u } + \\mathrm { C o v } ( { \\pmb U } , { \\pmb y } _ { i } ) { \\pmb y } _ { i } \\right) ,\n$$",
329
+ "text_format": "latex",
330
+ "bbox": [
331
+ 331,
332
+ 445,
333
+ 663,
334
+ 467
335
+ ],
336
+ "page_idx": 3
337
+ },
338
+ {
339
+ "type": "text",
340
+ "text": "where the mean is $\\bar { \\pmb { u } } = 1 / M U { \\bf 1 }$ and the weighted covariances are $\\operatorname { C o v } ( \\pmb { U } , \\pmb { x } _ { i } ) = \\pmb { U } \\mathrm { J ^ { m } } ( \\beta \\pmb { U } ^ { T } \\pmb { x } _ { i } ) \\pmb { U } ^ { T }$ and $\\operatorname { C o v } ( \\pmb { U } , \\pmb { y } _ { i } ) = \\pmb { U } \\mathbb { J } ^ { \\mathrm { m } } ( \\beta \\pmb { U } ^ { T } \\pmb { y } _ { i } ) \\pmb { U } ^ { T }$ . The weighted covariance $\\operatorname { C o v } ( U , . )$ is the covariance if the stored pattern $\\mathbf { \\Delta } \\mathbf { u } _ { i }$ is drawn according to an averaged $p _ { i }$ given by $\\mathrm { J ^ { m } ( . ) }$ . Maximizing the dot product $U _ { { \\pmb x } _ { i } } ^ { T } { \\pmb U } _ { { \\pmb y } _ { i } } ^ { \\dagger }$ forces the normalized vectors $\\mathbf { \\boldsymbol { x } } _ { i }$ and $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { j } } \\mathbf { \\sigma } _ { \\mathbf { \\psi } _ { j } }$ to agree on drawing the patterns $\\mathbf { \\Delta } \\mathbf { u } _ { i }$ with the same probability $p _ { i }$ in order to generate similar weighted covariance matrices $\\operatorname { C o v } ( U , . )$ . If subsets of $U$ have a strong covariance structure, then it can be exploited to produce large weighted covariances and, in turn, large dot products of $U _ { \\pmb { x } _ { i } } ^ { T } { U } _ { \\pmb { y } _ { i } }$ . Furthermore, for a large dot product $\\bar { U } _ { { \\pmb x } _ { i } } ^ { T } U _ { { \\pmb y } _ { i } }$ , $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { i } }$ and $\\mathbf { \\nabla } _ { \\mathbf { \\psi } _ { 3 } } \\psi _ { i }$ have to be similar to each other to extract the same direction from the covariance matrices. The above considerations for $U _ { { \\pmb x } _ { i } } ^ { T } { \\pmb U } _ { { \\pmb y } _ { i } }$ analogously apply to $V _ { { \\pmb x } _ { i } } ^ { T } V _ { { \\pmb y } _ { i } }$ . ",
341
+ "bbox": [
342
+ 173,
343
+ 474,
344
+ 825,
345
+ 604
346
+ ],
347
+ "page_idx": 3
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "We did not use a loss function that contains dot products like $U _ { { \\pmb x } _ { i } } ^ { T } V _ { { \\pmb y } _ { i } }$ , because they have higher variance than the ones we have used. The dot product $U _ { { \\pmb x } _ { i } } ^ { T } V _ { { \\pmb y } _ { i } }$ has higher variance, since it uses $M + K$ stored patterns, whereas $U _ { \\pmb { x } _ { i } } ^ { T } { U } _ { \\pmb { y } _ { i } }$ and $V _ { \\pmb { x } _ { i } } ^ { T } V _ { \\pmb { y } _ { i } }$ use $M$ and $K$ stored patterns, respectively. ",
352
+ "bbox": [
353
+ 174,
354
+ 609,
355
+ 825,
356
+ 660
357
+ ],
358
+ "page_idx": 3
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "Modern Hopfield networks enable to extract more covariance structure. To demonstrate the effect of modern Hopfield networks, we computed the eigenvalues of the covariance matrix of the image and text embeddings. We counted the number of effective eigenvalues, that is, the number of eigenvalues needed to obtain $9 9 \\%$ of the total sum of eigenvalues. Figure 2 shows the relative change of the number of effective eigenvalues compared to the respective reference epoch (the epoch before the first learning rate restart). Modern Hopfield networks consistently increase the number of effective eigenvalues during learning. Consequently, modern Hopfield networks enable to extract more covariance structure during learning, i.e. enrich the embeddings by covariances that are already in the raw multi-modal data. This enrichment of embeddings mitigates explaining away. Further details can be found in Appendix Section A.2.7. ",
363
+ "bbox": [
364
+ 173,
365
+ 664,
366
+ 825,
367
+ 803
368
+ ],
369
+ "page_idx": 3
370
+ },
371
+ {
372
+ "type": "text",
373
+ "text": "4 InfoLOOB for Contrastive Learning ",
374
+ "text_level": 1,
375
+ "bbox": [
376
+ 174,
377
+ 823,
378
+ 509,
379
+ 840
380
+ ],
381
+ "page_idx": 3
382
+ },
383
+ {
384
+ "type": "text",
385
+ "text": "Modern Hopfield networks lead to a higher similarity of retrieved samples. The increased similarity exacerbates the saturation of the InfoNCE objective. To avoid the saturation of InfoNCE, CLOOB uses the “InfoLOOB” objective. The “InfoLOOB” objective is called “Leave one out upper bound” in Poole et al. (2019) and “L1Out” in Cheng et al. (2020). InfoLOOB is not established as a contrastive objective, although it is a known bound. Recently, InfoLOOB was independently introduced as objective for image-to-image contrastive learning (Yeh et al., 2021). ",
386
+ "bbox": [
387
+ 174,
388
+ 856,
389
+ 823,
390
+ 911
391
+ ],
392
+ "page_idx": 3
393
+ },
394
+ {
395
+ "type": "image",
396
+ "img_path": "images/19162b5fca6ca7274704fbf4cd66bb4200a50fba241b8fe6ea6b5f712e8f5c2a.jpg",
397
+ "image_caption": [
398
+ "Figure 2: Relative change in the number of the effective eigenvalues of the embedding covariance matrices, which were obtained from image and text encoders at two different training points. Models with modern Hopfield networks steadily extract more covariance structure during learning. "
399
+ ],
400
+ "image_footnote": [],
401
+ "bbox": [
402
+ 191,
403
+ 88,
404
+ 808,
405
+ 218
406
+ ],
407
+ "page_idx": 4
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": "",
412
+ "bbox": [
413
+ 173,
414
+ 292,
415
+ 823,
416
+ 321
417
+ ],
418
+ "page_idx": 4
419
+ },
420
+ {
421
+ "type": "text",
422
+ "text": "InfoNCE and InfoLOOB loss functions. $N$ samples are drawn iid from $p ( { \\pmb x } , { \\pmb y } )$ giving the training set $\\left\\{ ( \\pmb { x } _ { 1 } , \\pmb { y } _ { 1 } ) , \\dotsc , ( \\pmb { x } _ { N } , \\pmb { y } _ { N } ) \\right\\}$ . For the sample $\\mathbf { \\pmb { y } } _ { 1 }$ , InfoNCE uses for the matrix of negative samples $\\pmb { X } = ( \\pmb { x } _ { 1 } , \\dots , \\pmb { x } _ { N } )$ , while InfoLOOB uses $\\tilde { \\pmb { X } } = ( \\pmb { x } _ { 2 } , \\dots , \\pmb { x } _ { N } )$ . The matrices differ by the positive sample $\\scriptstyle { \\mathbf { { \\vec { x } } } } _ { 1 }$ . For the score function $f ( { \\pmb x } , { \\pmb y } )$ , we use $f ( \\pmb { x } , \\pmb { y } ) = \\mathrm { e x p } ( \\tau ^ { - 1 } \\mathrm { s i m } ( \\pmb { x } , \\pmb { y } ) )$ with the similarity $\\mathrm { s i m } ( { \\pmb x } , { \\pmb y } ) = { \\pmb y } ^ { T } { \\pmb x }$ and $\\tau$ as the temperature. We have the InfoNCE and InfoLOOB loss functions: ",
423
+ "bbox": [
424
+ 174,
425
+ 327,
426
+ 825,
427
+ 400
428
+ ],
429
+ "page_idx": 4
430
+ },
431
+ {
432
+ "type": "equation",
433
+ "img_path": "images/b8c1d2a7fdcf6653a50886123681aae76c1ab1bf7f6e615c059e43c023a8d324.jpg",
434
+ "text": "$$\n\\mathrm { L } _ { \\mathrm { I n f o N C E } } \\ = \\ - \\ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ln \\frac { \\exp ( \\tau ^ { - 1 } x _ { i } ^ { T } y _ { i } ) } { \\sum _ { j = 1 } ^ { N } \\exp ( \\tau ^ { - 1 } x _ { i } ^ { T } y _ { j } ) } \\ - \\ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ln \\frac { \\exp ( \\tau ^ { - 1 } x _ { i } ^ { T } y _ { i } ) } { \\sum _ { j = 1 } ^ { N } \\exp ( \\tau ^ { - 1 } x _ { j } ^ { T } y _ { i } ) } \\ ,\n$$",
435
+ "text_format": "latex",
436
+ "bbox": [
437
+ 192,
438
+ 405,
439
+ 784,
440
+ 450
441
+ ],
442
+ "page_idx": 4
443
+ },
444
+ {
445
+ "type": "equation",
446
+ "img_path": "images/222ae46196ee482ad5c1f8d0d1e2053b6cc51b242ca0b76412e733cb9fe3ac58.jpg",
447
+ "text": "$$\n\\mathrm { L } _ { \\mathrm { I n f o L O O B } } \\ = \\ - \\ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ln \\frac { \\exp ( \\tau ^ { - 1 } x _ { i } ^ { T } y _ { i } ) } { \\sum _ { j \\ne i } ^ { N } \\exp ( \\tau ^ { - 1 } x _ { i } ^ { T } y _ { j } ) } \\ - \\ \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\ln \\frac { \\exp ( \\tau ^ { - 1 } x _ { i } ^ { T } y _ { i } ) } { \\sum _ { j \\ne i } ^ { N } \\exp ( \\tau ^ { - 1 } x _ { j } ^ { T } y _ { i } ) } .\n$$",
448
+ "text_format": "latex",
449
+ "bbox": [
450
+ 191,
451
+ 460,
452
+ 789,
453
+ 506
454
+ ],
455
+ "page_idx": 4
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "We abbreviate $\\mathbf { \\mu } _ { y } = \\mathbf { \\mu } _ { y _ { 1 } }$ leading to the pair $( \\pmb { x } _ { 1 } , \\pmb { y } )$ and the negatives $\\tilde { \\pmb { X } } = ( \\pmb { x } _ { 2 } , \\dots , \\pmb { x } _ { N } )$ . In the second sum of the losses in Eq. 7 and Eq. 8, we consider only the first term, respectively: ",
460
+ "bbox": [
461
+ 176,
462
+ 512,
463
+ 828,
464
+ 542
465
+ ],
466
+ "page_idx": 4
467
+ },
468
+ {
469
+ "type": "equation",
470
+ "img_path": "images/7079be87ef79e42cae553b92e713fb885af0905e5c0b88027442fc8f74f77b76.jpg",
471
+ "text": "$$\n\\begin{array} { r l } & { \\mathrm { L } _ { \\mathrm { I n f o N C E } } ( y ) ~ { = } ~ - ~ \\ln \\frac { { \\overbrace { \\exp ( \\tau ^ { - 1 } x _ { 1 } ^ { T } y ) } ^ { a } } } { \\underbrace { \\exp ( \\tau ^ { - 1 } x _ { 1 } ^ { T } y ) } _ { a } + \\underbrace { \\sum _ { j = 2 } ^ { N } \\exp ( \\tau ^ { - 1 } x _ { j } ^ { T } y ) } _ { b } } , } \\\\ & { \\mathrm { L } _ { \\mathrm { I n f o L O O B } } ( y ) ~ { = } ~ - ~ \\ln \\frac { { \\overbrace { \\exp ( \\tau ^ { - 1 } x _ { 1 } ^ { T } y ) } ^ { a } } } { \\underbrace { \\sum _ { j = 2 } ^ { N } \\exp ( \\tau ^ { - 1 } x _ { j } ^ { T } y ) } _ { b } } . } \\end{array}\n$$",
472
+ "text_format": "latex",
473
+ "bbox": [
474
+ 277,
475
+ 542,
476
+ 720,
477
+ 691
478
+ ],
479
+ "page_idx": 4
480
+ },
481
+ {
482
+ "type": "text",
483
+ "text": "In analogy to Wang & Isola (2020), $a$ is called the “alignment score” that measures the similarity of matched pairs and $b$ the “uniformity penalty” that measures the similarity of unmatched pairs. ",
484
+ "bbox": [
485
+ 171,
486
+ 702,
487
+ 825,
488
+ 732
489
+ ],
490
+ "page_idx": 4
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "Gradients of InfoNCE and InfoLOOB loss functions. Eq. (9) and Eq. (10) are equal to ",
495
+ "bbox": [
496
+ 169,
497
+ 736,
498
+ 759,
499
+ 752
500
+ ],
501
+ "page_idx": 4
502
+ },
503
+ {
504
+ "type": "equation",
505
+ "img_path": "images/d466bf8430f497f6f01d3fe3ed30a5290277e404f9b6796400dc4e2cddcfd2aa.jpg",
506
+ "text": "$$\n- \\tau ^ { - 1 } y ^ { T } x _ { 1 } + \\tau ^ { - 1 } \\mathrm { l s e } ( \\tau ^ { - 1 } , X ^ { T } y ) \\ , \\qquad - \\tau ^ { - 1 } y ^ { T } x _ { 1 } + \\tau ^ { - 1 } \\mathrm { l s e } ( \\tau ^ { - 1 } , \\tilde { X } ^ { T } y ) \\ ,\n$$",
507
+ "text_format": "latex",
508
+ "bbox": [
509
+ 240,
510
+ 768,
511
+ 751,
512
+ 787
513
+ ],
514
+ "page_idx": 4
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "where lse is the log-sum-exp function (see Eq. (A73) in the Appendix). ",
519
+ "bbox": [
520
+ 174,
521
+ 796,
522
+ 640,
523
+ 813
524
+ ],
525
+ "page_idx": 4
526
+ },
527
+ {
528
+ "type": "text",
529
+ "text": "The gradients of Eq. (9) and Eq. (10) with respect to $\\textbf { { y } }$ are ",
530
+ "bbox": [
531
+ 168,
532
+ 816,
533
+ 566,
534
+ 833
535
+ ],
536
+ "page_idx": 4
537
+ },
538
+ {
539
+ "type": "equation",
540
+ "img_path": "images/58629228b524eb89f0cd45116243fb3d2f06583a4b5e58ced9b5655579d71a1d.jpg",
541
+ "text": "$$\n- \\tau ^ { - 1 } x _ { 1 } + \\tau ^ { - 1 } X \\mathrm { s o f t m a x } ( \\tau ^ { - 1 } X ^ { T } y ) , \\qquad - \\tau ^ { - 1 } x _ { 1 } + \\tau ^ { - 1 } \\tilde { X } \\mathrm { s o f t m a x } ( \\tau ^ { - 1 } \\tilde { X } ^ { T } y ) .\n$$",
542
+ "text_format": "latex",
543
+ "bbox": [
544
+ 215,
545
+ 837,
546
+ 781,
547
+ 856
548
+ ],
549
+ "page_idx": 4
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "Using $\\pmb { p } = ( p _ { 1 } , \\dots , p _ { N } ) ^ { T } = \\mathrm { s o f t m a x } ( \\tau ^ { - 1 } \\pmb { X } ^ { T } \\pmb { y } )$ , the gradient of InfoNCE with respect to $\\textbf { { y } }$ is ",
554
+ "bbox": [
555
+ 179,
556
+ 861,
557
+ 799,
558
+ 877
559
+ ],
560
+ "page_idx": 4
561
+ },
562
+ {
563
+ "type": "equation",
564
+ "img_path": "images/2f8ee7549317efbd83bcbefa2f325c3dd011a023931b0e5d31c5b0726fe4a6eb.jpg",
565
+ "text": "$$\n\\frac { \\partial \\mathrm { L } _ { \\mathrm { I n f o N C E } } ( y ) } { \\partial y } = - \\tau ^ { - 1 } ( 1 - p _ { 1 } ) ( x _ { 1 } - \\tilde { X } \\mathrm { s o f t m a x } ( \\tau ^ { - 1 } \\tilde { X } ^ { T } y ) ) = ( 1 - p _ { 1 } ) \\frac { \\partial \\mathrm { L } _ { \\mathrm { I n f o L O O B } } ( y ) } { \\partial y } .\n$$",
566
+ "text_format": "latex",
567
+ "bbox": [
568
+ 181,
569
+ 881,
570
+ 815,
571
+ 916
572
+ ],
573
+ "page_idx": 4
574
+ },
575
+ {
576
+ "type": "image",
577
+ "img_path": "images/5935c45b41395f5ce243b1e7cf801ae0acca5edc4cf4c542ca8d466a36c3cf59.jpg",
578
+ "image_caption": [
579
+ "Figure 3: Ajne uniformity test statistics for image and text embeddings for two different epochs during training. A high test statistic indicates low uniformity of an embedding. Models trained with the InfoLOOB objective develop more uniform image and text embeddings on the hypersphere. "
580
+ ],
581
+ "image_footnote": [],
582
+ "bbox": [
583
+ 191,
584
+ 88,
585
+ 807,
586
+ 219
587
+ ],
588
+ "page_idx": 5
589
+ },
590
+ {
591
+ "type": "text",
592
+ "text": "By and large, the gradient of InfoNCE is scaled by $( 1 - p _ { 1 } )$ compared to the gradient of InfoLOOB, where $p _ { 1 }$ is the softmax similarity between the anchor $\\textbf { { y } }$ and the positive sample $\\scriptstyle { \\mathbf { \\mathscr { x } } } _ { 1 }$ . Consequently, InfoNCE is saturating with increasing similarity between the anchor and the positive sample. For more details we refer to Appendix Section A.1.4. ",
593
+ "bbox": [
594
+ 174,
595
+ 300,
596
+ 825,
597
+ 356
598
+ ],
599
+ "page_idx": 5
600
+ },
601
+ {
602
+ "type": "text",
603
+ "text": "This saturation of InfoNCE motivated the use of the InfoLOOB objective in order to decrease the uniformity penalty even for large alignment scores. The uniformity penalty decreases since learning does not stall and the most prominent features become down-scaled which makes negative examples less similar to the anchor sample. The InfoNCE objective Eq. 9 has the form $a / ( a + b )$ , while the InfoLOOB objective Eq. 10 has the form $a / b$ . InfoLOOB does not saturate and keeps decreasing the uniformity penalty $b$ . Figure 3 shows how InfoLOOB leads to an increase in the uniformity of image and text embeddings on the sphere, which is described by the statistics of the uniformity test of Ajne that was extended by Prentice (Ajne, 1968; Prentice, 1978). Higher uniformity on the sphere correlates with a lower uniformity penalty $b$ . For more details we refer to Appendix Section A.2.7. ",
604
+ "bbox": [
605
+ 174,
606
+ 362,
607
+ 825,
608
+ 487
609
+ ],
610
+ "page_idx": 5
611
+ },
612
+ {
613
+ "type": "text",
614
+ "text": "Theoretical justification for optimizing InfoLOOB. The InfoNCE information is a lower bound on the mutual information, which was proven by Poole et al. (2019). In the Appendix Section A.1, we elaborate more on theoretical properties of the bounds and properties of the objective functions. Specifically, we show that InfoLOOB with neural networks is not an upper bound on the mutual information. Thus, unlike hitherto approaches to contrastive learning we use InfoLOOB as an objective, since it does not suffer from saturation effects as InfoNCE. ",
615
+ "bbox": [
616
+ 174,
617
+ 493,
618
+ 825,
619
+ 577
620
+ ],
621
+ "page_idx": 5
622
+ },
623
+ {
624
+ "type": "text",
625
+ "text": "5 Experiments ",
626
+ "text_level": 1,
627
+ "bbox": [
628
+ 174,
629
+ 601,
630
+ 312,
631
+ 617
632
+ ],
633
+ "page_idx": 5
634
+ },
635
+ {
636
+ "type": "text",
637
+ "text": "CLOOB is compared to CLIP with respect to zero-shot transfer learning performance on two pretraining datasets. The first dataset, Conceptual Captions (CC) (Sharma et al., 2018), has a very rich textual description of images but only three million image-text pairs. The second dataset, a subset of YFCC100M (Thomee et al., 2016), has 15 million image-text pairs but the textual description is less rich than for CC and often vacuous. For both pre-training datasets, the downstream zero-shot transfer learning performance is tested on seven image classification datasets. ",
638
+ "bbox": [
639
+ 174,
640
+ 633,
641
+ 825,
642
+ 718
643
+ ],
644
+ "page_idx": 5
645
+ },
646
+ {
647
+ "type": "text",
648
+ "text": "5.1 Conceptual Captions Pre-training ",
649
+ "text_level": 1,
650
+ "bbox": [
651
+ 176,
652
+ 738,
653
+ 449,
654
+ 753
655
+ ],
656
+ "page_idx": 5
657
+ },
658
+ {
659
+ "type": "text",
660
+ "text": "Pre-training dataset. The Conceptual Captions (CC) (Sharma et al., 2018) dataset contains 2.9 million images with high-quality captions. Images and their captions have been gathered from the web via an automated process and have a wide variety of content. Raw descriptions of images are from the alt-text HTML attribute. ",
661
+ "bbox": [
662
+ 174,
663
+ 765,
664
+ 825,
665
+ 821
666
+ ],
667
+ "page_idx": 5
668
+ },
669
+ {
670
+ "type": "text",
671
+ "text": "Methods. The CLOOB implementation is based on OpenCLIP (Ilharco et al., 2021), which achieves results equivalent to CLIP on the YFCC dataset (see Section 5.2). OpenCLIP also reports results on the CC dataset. As CLIP does not train models on CC, we report results from this reimplementation as baseline. Analogously to Radford et al. (2021, Section 2.4), we used the modified ResNet (He et al., 2016) and BERT (Devlin et al., 2018, 2019) architectures to encode image and text input. We used the ResNet encoder ResNet-50 for experiments on CC. ",
672
+ "bbox": [
673
+ 174,
674
+ 827,
675
+ 823,
676
+ 911
677
+ ],
678
+ "page_idx": 5
679
+ },
680
+ {
681
+ "type": "table",
682
+ "img_path": "images/efcc1405c473a4243d6a6aa566786ee283c0fa1b832ecbf73b69f4417312be08.jpg",
683
+ "table_caption": [
684
+ "Table 1: Zero-shot results for models trained on CC with ResNet-50 vision encoders for two different checkpoints. Results are given as mean accuracy over 5 runs. Statistically significant results are shown in bold. CLIP and CLOOB were trained for 31 epochs while $\\mathrm { { C L I P ^ { * } } }$ and $\\mathrm { C L O O B ^ { * } }$ were trained for 128 epochs. In the majority of tasks CLOOB significantly outperforms CLIP. "
685
+ ],
686
+ "table_footnote": [],
687
+ "table_body": "<table><tr><td>Dataset</td><td>CLIP RN-50</td><td>CLOOB RN-50</td><td>CLIP* RN-50</td><td>CLOOB* RN-50</td></tr><tr><td>Birdsnap</td><td>2.26 ± 0.20</td><td>3.06 ± 0.30</td><td>2.8 ± 0.16</td><td>3.24 ± 0.31</td></tr><tr><td>Country211</td><td>0.67 ± 0.11</td><td>0.67 ± 0.05</td><td>0.7 ± 0.04</td><td>0.73 ± 0.05</td></tr><tr><td>Flowers102</td><td>12.56 ± 0.38</td><td>13.45 ± 1.19</td><td>13.32 ± 0.43</td><td>14.36 ± 1.17</td></tr><tr><td>GTSRB</td><td>7.66 ± 1.07</td><td>6.38 ± 2.11</td><td>8.96 ± 1.70</td><td>7.03 ±1.22</td></tr><tr><td>UCF101</td><td>20.98 ± 1.55</td><td>22.26 ± 0.72</td><td>21.63 ± 0.65</td><td>23.03 ± 0.85</td></tr><tr><td>Stanford Cars</td><td>0.91 ± 0.10</td><td>1.23 ± 0.10</td><td>0.99 ± 0.16</td><td>1.41 ± 0.32</td></tr><tr><td>ImageNet</td><td>20.33 ± 0.28</td><td>23.97 ± 0.15</td><td>21.3 ± 0.42</td><td>25.67 ± 0.22</td></tr><tr><td>ImageNet V2</td><td>20.24 ± 0.50</td><td>23.59 ± 0.15</td><td>21.24 ± 0.22</td><td>25.49 ± 0.11</td></tr></table>",
688
+ "bbox": [
689
+ 214,
690
+ 161,
691
+ 784,
692
+ 303
693
+ ],
694
+ "page_idx": 6
695
+ },
696
+ {
697
+ "type": "text",
698
+ "text": "Hyperparameter selection and learning schedule. The hyperparameter values of OpenCLIP were used as default, concretely, a learning rate of $1 \\times 1 0 ^ { - 3 }$ and a weight decay of 0.1 for the Adam optimizer (Kingma et al., 2014) with decoupled weight decay regularization (Loshchilov & Hutter, 2019). Deviating from OpenCLIP, we used a batch size of 512 due to computational restraints, which did not change the performance. The learning rate scheduler for all experiments was cosine annealing with warmup and hard restarts (Loshchilov & Hutter, 2017). We report the hyperparameter $\\tau$ (default 0.07) from CLIP as $\\tau ^ { - 1 }$ of 14.3 to be in the same regime as the hyperparameter $\\beta$ for the modern Hopfield networks. The main hyperparameter search for CLOOB (also for YFCC pre-training in the next section) was done with ResNet-50 as the vision encoder. Learnable $\\tau ^ { - 1 }$ in combination with the InfoLOOB loss results in undesired learning behavior (see Appendix Section A.1.4). Therefore, we set $\\tau ^ { - 1 }$ to a fixed value of 30, which was determined via a hyperparameter search (see Appendix Section A.2.2). For modern Hopfield networks, the hyperparameter $\\beta$ was set to 8. Further we scaled the loss $\\mathrm { L _ { I n f o L O O B } }$ with $\\tau$ to remove the factor $\\tau ^ { - 1 }$ from the gradients (see Appendix Section A.1.4) resulting in the loss function $\\tau _ { \\mathrm { L _ { I n f o L O O B } } }$ . ",
699
+ "bbox": [
700
+ 173,
701
+ 329,
702
+ 825,
703
+ 523
704
+ ],
705
+ "page_idx": 6
706
+ },
707
+ {
708
+ "type": "text",
709
+ "text": "Evaluation metrics: Zero-shot transfer learning. We evaluated and compared both CLIP and CLOOB on their zero-shot transfer learning capabilities on the following downstream image classification tasks. Birdsnap (Berg et al., 2014) contains images of 500 different North American bird species. The Country211 (Radford et al., 2021) dataset consists of photos across 211 countries and is designed to test the geolocalization capability of visual representations. Flowers102 (Nilsback & Zisserman, 2008) is a dataset containing images of 102 flower species. GTSRB (Stallkamp et al., 2011) contains images for classification of German traffic signs. UCF101 (Soomro et al., 2012) is a video dataset with short clips for action recognition. For UCF101 we followed the procedure reported in CLIP and extract the middle frame of every video to assemble the dataset. Stanford Cars (Krause et al., 2013) contains images of 196 types of cars. ImageNet (Deng et al., 2009) is a large scale image classification dataset with images across 1,000 classes. ImageNetv2 (Recht et al., 2019) consists of three new test sets with 10,000 images each for the ImageNet benchmark. For further details see Appendix Section A.2.3. ",
710
+ "bbox": [
711
+ 173,
712
+ 530,
713
+ 826,
714
+ 708
715
+ ],
716
+ "page_idx": 6
717
+ },
718
+ {
719
+ "type": "text",
720
+ "text": "Results. We employed the same evaluation strategy and used the prompts as published in CLIP (see Appendix Section A.2.3). We report zero-shot results from two checkpoints in Table 1. CLIP and CLOOB were trained for a comparable number of epochs used in CLIP (see Appendix Section A.2.2) while ${ \\mathrm { C L I P } } ^ { * }$ and $\\mathrm { C L O O B ^ { \\ast } }$ were trained until evaluation performance plateaued (epoch 128). In both cases CLOOB significantly outperforms CLIP on the majority of tasks or matches its performance. Statistical significance of these results was assessed by an unpaired Wilcoxon test on a $5 \\%$ level. ",
721
+ "bbox": [
722
+ 174,
723
+ 715,
724
+ 825,
725
+ 799
726
+ ],
727
+ "page_idx": 6
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "5.2 YFCC Pre-training ",
732
+ "text_level": 1,
733
+ "bbox": [
734
+ 176,
735
+ 815,
736
+ 348,
737
+ 830
738
+ ],
739
+ "page_idx": 6
740
+ },
741
+ {
742
+ "type": "text",
743
+ "text": "Pre-training dataset. To be comparable to the CLIP results, we used the same subset of 15 million samples from the YFCC100M dataset (Thomee et al., 2016) as in Radford et al. (2021), which we refer to as YFCC. YFCC was created by filtering YFCC100M for images which contain natural language descriptions and/or titles in English. It was not filtered by quality of the captions, therefore the textual descriptions are less rich and contain superfluous information. The dataset with 400 million samples used to train the CLIP models in Radford et al. (2021) has not been released and, thus, is not available for comparison. Due to limited computational resources we were unable to compare CLOOB to CLIP on other datasets of this size. ",
744
+ "bbox": [
745
+ 174,
746
+ 842,
747
+ 825,
748
+ 911
749
+ ],
750
+ "page_idx": 6
751
+ },
752
+ {
753
+ "type": "text",
754
+ "text": "",
755
+ "bbox": [
756
+ 174,
757
+ 90,
758
+ 825,
759
+ 132
760
+ ],
761
+ "page_idx": 7
762
+ },
763
+ {
764
+ "type": "text",
765
+ "text": "Methods. Besides experiments with a ResNet-50 image encoder, we additionally conducted experiments with the larger ResNet variants ResNet-101 and ResNet-50x4. In addition to the comparison of CLOOB and CLIP based on the OpenCLIP reimplementation (Ilharco et al., 2021), we include the original CLIP results (Radford et al., 2021, Table 12). ",
766
+ "bbox": [
767
+ 174,
768
+ 138,
769
+ 825,
770
+ 195
771
+ ],
772
+ "page_idx": 7
773
+ },
774
+ {
775
+ "type": "text",
776
+ "text": "Hyperparameter selection. Hyperparameters were the same as for the Conceptual Captions dataset, except learning rate, batch size, and $\\beta$ . For modern Hopfield networks, the hyperparameter $\\beta$ was set to 14.3, which is default for $\\tau ^ { - 1 }$ in Radford et al. (2021). Furthermore, the learning rate was set to $5 \\times 1 0 ^ { - 4 }$ and the batch size to 1024 as used in OpenCLIP of Ilharco et al. (2021). All models were trained for 28 epochs. For further details see Appendix Section A.2.2. ",
777
+ "bbox": [
778
+ 174,
779
+ 202,
780
+ 825,
781
+ 271
782
+ ],
783
+ "page_idx": 7
784
+ },
785
+ {
786
+ "type": "text",
787
+ "text": "Evaluation metrics. As in the previous experiment, methods were again evaluated at their zero-shot transfer learning capabilities on downstream tasks. ",
788
+ "bbox": [
789
+ 169,
790
+ 276,
791
+ 825,
792
+ 305
793
+ ],
794
+ "page_idx": 7
795
+ },
796
+ {
797
+ "type": "table",
798
+ "img_path": "images/e19ef5474fa9f1d9dbf02e670a3b825ad0019296f25d7cf42ce0bcd5b9c4fee6.jpg",
799
+ "table_caption": [
800
+ "Table 2: Results of CLIP and CLOOB trained on YFCC with ResNet-50 encoder. Except for one linear probing dataset, CLOOB consistently outperforms CLIP at all tasks. "
801
+ ],
802
+ "table_footnote": [],
803
+ "table_body": "<table><tr><td colspan=\"3\">Linear Probing</td><td colspan=\"2\">Zero-Shot</td></tr><tr><td>Dataset</td><td>CLIP (OpenAI)</td><td>CLOOB (ours)</td><td>CLIP (OpenAI)</td><td>CLOOB (ours)</td></tr><tr><td>Birdsnap</td><td>47.4</td><td>56.2</td><td>19.9</td><td>28.9</td></tr><tr><td>Country211</td><td>23.1</td><td>20.6</td><td>5.2</td><td>7.9</td></tr><tr><td>Flowers102</td><td>94.4</td><td>96.1</td><td>48.6</td><td>55.1</td></tr><tr><td>GTSRB</td><td>66.8</td><td>78.9</td><td>6.9</td><td>8.1</td></tr><tr><td>UCF101</td><td>69.2</td><td>72.3</td><td>22.9</td><td>25.3</td></tr><tr><td>Stanford Cars</td><td>31.4</td><td>37.7</td><td>3.8</td><td>4.1</td></tr><tr><td>ImageNet</td><td>62.0</td><td>65.7</td><td>31.3</td><td>35.7</td></tr><tr><td></td><td></td><td>58.7</td><td>1</td><td>34.6</td></tr><tr><td>ImageNet V2</td><td>1</td><td></td><td></td><td></td></tr></table>",
804
+ "bbox": [
805
+ 292,
806
+ 362,
807
+ 705,
808
+ 530
809
+ ],
810
+ "page_idx": 7
811
+ },
812
+ {
813
+ "type": "table",
814
+ "img_path": "images/9fdf61f908ffbef986460fe736f07929787e22fa7288ec9d6feec5b45fe87f45.jpg",
815
+ "table_caption": [
816
+ "Table 3: Zero-shot results for the CLIP reimplementation and CLOOB using different ResNet architectures trained on YFCC. CLOOB outperforms CLIP in 7 out of 8 tasks using ResNet-50 encoders. With larger ResNet encoders CLOOB outperforms CLIP on all tasks. The performance of CLOOB scales with increased encoder size. "
817
+ ],
818
+ "table_footnote": [],
819
+ "table_body": "<table><tr><td></td><td colspan=\"2\">RN-50</td><td colspan=\"2\">RN-101</td><td colspan=\"2\">RN-50x4</td></tr><tr><td>Dataset</td><td>CLIP</td><td>CLOOB</td><td>CLIP</td><td>CLOOB</td><td>CLIP</td><td>CLOOB</td></tr><tr><td>Birdsnap</td><td>21.8</td><td>28.9</td><td>22.6</td><td>30.3</td><td>20.8</td><td>32.0</td></tr><tr><td>Country211</td><td>6.9</td><td>7.9</td><td>7.8</td><td>8.5</td><td>8.1</td><td>9.3</td></tr><tr><td>Flowers102</td><td>48.0</td><td>55.1</td><td>48.0</td><td>55.3</td><td>50.1</td><td>54.3</td></tr><tr><td>GTSRB</td><td>7.9</td><td>8.1</td><td>7.4</td><td>11.6</td><td>9.4</td><td>11.8</td></tr><tr><td>UCF101</td><td>27.2</td><td>25.3</td><td>28.6</td><td>28.8</td><td>31.0</td><td>31.9</td></tr><tr><td>Stanford Cars</td><td>3.7</td><td>4.1</td><td>3.8</td><td>5.5</td><td>3.5</td><td>6.1</td></tr><tr><td>ImageNet</td><td>34.6</td><td>35.7</td><td>35.3</td><td>37.1</td><td>37.7</td><td>39.0</td></tr><tr><td>ImageNet V2</td><td>33.4</td><td>34.6</td><td>34.1</td><td>35.6</td><td>35.9</td><td>37.3</td></tr></table>",
820
+ "bbox": [
821
+ 254,
822
+ 619,
823
+ 743,
824
+ 773
825
+ ],
826
+ "page_idx": 7
827
+ },
828
+ {
829
+ "type": "text",
830
+ "text": "Results. Table 2 provides results of the original CLIP and CLOOB trained on YFCC. Results on zero-shot downstream tasks show that CLOOB outperforms CLIP on all 7 tasks (ImageNet V2 results have not been reported in Radford et al. (2021)). Similarly, CLOOB outperforms CLIP on 6 out of 7 tasks for linear probing. Results of CLOOB and the CLIP reimplementation of OpenCLIP are given in Table 3. CLOOB exceeds the CLIP reimplementation in 7 out of 8 tasks for zero-shot classification using ResNet-50 encoders. With larger ResNet encoders, CLOOB outperforms CLIP on all tasks. Furthermore, the experiments with larger vision encoder networks show that CLOOB performance increases with network size. Results of CLOOB zero-shot classification on all datasets are shown in Appendix Section A.2.4. ",
831
+ "bbox": [
832
+ 173,
833
+ 786,
834
+ 826,
835
+ 911
836
+ ],
837
+ "page_idx": 7
838
+ },
839
+ {
840
+ "type": "text",
841
+ "text": "5.3 Ablation studies ",
842
+ "text_level": 1,
843
+ "bbox": [
844
+ 174,
845
+ 92,
846
+ 325,
847
+ 106
848
+ ],
849
+ "page_idx": 8
850
+ },
851
+ {
852
+ "type": "text",
853
+ "text": "CLOOB has two new major components compared to CLIP: (1) modern Hopfield networks and (2) the InfoLOOB objective instead of the InfoNCE objective. To assess effects of the new major components of CLOOB, we performed ablation studies. ",
854
+ "bbox": [
855
+ 174,
856
+ 119,
857
+ 825,
858
+ 161
859
+ ],
860
+ "page_idx": 8
861
+ },
862
+ {
863
+ "type": "text",
864
+ "text": "Modern Hopfield networks. Modern Hopfield networks amplify the covariance structure in the data via the retrievals. Ablation studies confirm this amplification as modern Hopfield networks consistently increase the number of effective eigenvalues of the embedding covariance matrices during learning. Figure 2 shows the relative change of the number of effective eigenvalues compared to the respective reference epoch, which is the epoch before the first learning rate restart. These results indicate that modern Hopfield networks steadily extract more covariance structure during learning. Modern Hopfield networks induce higher similarity of retrieved samples, which in turn leads to stronger saturation of the InfoNCE objective. As a result, we observe low uniformity (see Figure 3) and a small number of effective eigenvalues (see Appendix Figure A1). ",
865
+ "bbox": [
866
+ 173,
867
+ 167,
868
+ 825,
869
+ 292
870
+ ],
871
+ "page_idx": 8
872
+ },
873
+ {
874
+ "type": "text",
875
+ "text": "Modern Hopfield networks with InfoLOOB. CLOOB counters the saturation of InfoNCE by using the InfoLOOB objective. The effectiveness of InfoLOOB manifests in an increased uniformity measure of image and text embeddings on the sphere, as shown in Figure 3. The ablation study verifies that modern Hopfield networks together with InfoLOOB have a strong synergistic effect. ",
876
+ "bbox": [
877
+ 173,
878
+ 299,
879
+ 825,
880
+ 354
881
+ ],
882
+ "page_idx": 8
883
+ },
884
+ {
885
+ "type": "text",
886
+ "text": "InfoLOOB. However, using solely InfoLOOB results in overfitting of the alignment score. This overfitting occasionally leads to high similarities of unmatched pairs (see Figure 4), which may decreases the zero-shot downstream performance. The reason for this is that the top-1 evaluation metric is very sensitive to occasionally high similarities of prompts of the incorrect class. Yeh et al. (2021) and Zhang et al. (2022) reported similar observations of overfitting. ",
887
+ "bbox": [
888
+ 173,
889
+ 361,
890
+ 825,
891
+ 431
892
+ ],
893
+ "page_idx": 8
894
+ },
895
+ {
896
+ "type": "image",
897
+ "img_path": "images/70dbc93f82de1838cf515e9fca89c417c5f4be691ecd1639eeaa257c4657df79.jpg",
898
+ "image_caption": [
899
+ "Figure 4: Distribution of the cosine similarity of matched pairs and the cosine similarity of the 10 unmatched pairs that have the highest similarity score with the anchor. Modern Hopfield networks lead to higher values of both matched and unmatched pairs. InfoLOOB without Hopfield has high similarity scores of the matched pairs which correlate with high similarity scores of the top-10 unmatched pairs. In contrast, InfoLOOB with Hopfield does not suffer from this overfitting problem. "
900
+ ],
901
+ "image_footnote": [],
902
+ "bbox": [
903
+ 174,
904
+ 450,
905
+ 821,
906
+ 580
907
+ ],
908
+ "page_idx": 8
909
+ },
910
+ {
911
+ "type": "text",
912
+ "text": "CLOOB balances the overfitting of InfoLOOB with the underfitting of modern Hopfield networks and remains in effective learning regimes. For more details and further ablation studies see Appendix Section A.2.1. ",
913
+ "bbox": [
914
+ 174,
915
+ 679,
916
+ 823,
917
+ 722
918
+ ],
919
+ "page_idx": 8
920
+ },
921
+ {
922
+ "type": "text",
923
+ "text": "6 Conclusion ",
924
+ "text_level": 1,
925
+ "bbox": [
926
+ 174,
927
+ 750,
928
+ 299,
929
+ 767
930
+ ],
931
+ "page_idx": 8
932
+ },
933
+ {
934
+ "type": "text",
935
+ "text": "We have introduced “Contrastive Leave One Out Boost” (CLOOB), which combines modern Hopfield networks with the InfoLOOB objective. Modern Hopfield networks enable CLOOB to extract additional covariance structure in the data. This allows for building more relevant features in the embedding space, mitigating the explaining away problem. We show that InfoLOOB avoids the saturation problem of InfoNCE. Additionally, we theoretically justify the use of the InfoLOOB objective for contrastive learning and suggest it as an alternative to InfoNCE. At seven zero-shot transfer learning tasks, the novel CLOOB was compared to CLIP after pre-training on the Conceptual Captions and the YFCC dataset. CLOOB consistently outperforms CLIP at zero-shot transfer learning across all considered architectures and datasets. ",
936
+ "bbox": [
937
+ 174,
938
+ 786,
939
+ 825,
940
+ 911
941
+ ],
942
+ "page_idx": 8
943
+ },
944
+ {
945
+ "type": "text",
946
+ "text": "Acknowledgments ",
947
+ "text_level": 1,
948
+ "bbox": [
949
+ 176,
950
+ 89,
951
+ 328,
952
+ 106
953
+ ],
954
+ "page_idx": 9
955
+ },
956
+ {
957
+ "type": "text",
958
+ "text": "The ELLIS Unit Linz, the LIT AI Lab, the Institute for Machine Learning, are supported by the Federal State Upper Austria. IARAI is supported by Here Technologies. We thank the projects AIMOTION (LIT-2018-6-YOU-212), AI-SNN (LIT-2018-6-YOU-214), DeepFlood (LIT-2019-8-YOU213), Medical Cognitive Computing Center (MC3), INCONTROL-RL (FFG-881064), PRIMAL (FFG-873979), S3AI (FFG-872172), DL for GranularFlow (FFG-871302), AIRI FG 9-N (FWF36284, FWF-36235), ELISE (H2020-ICT-2019-3 ID: 951847). We thank Audi.JKU Deep Learning Center, TGW LOGISTICS GROUP GMBH, Silicon Austria Labs (SAL), FILL Gesellschaft mbH, Anyline GmbH, Google, ZF Friedrichshafen AG, Robert Bosch GmbH, UCB Biopharma SRL, Merck Healthcare KGaA, Verbund AG, Software Competence Center Hagenberg GmbH, TÜV Austria, Frauscher Sensonic and the NVIDIA Corporation. ",
959
+ "bbox": [
960
+ 173,
961
+ 119,
962
+ 826,
963
+ 258
964
+ ],
965
+ "page_idx": 9
966
+ },
967
+ {
968
+ "type": "text",
969
+ "text": "References \nAbbott, L. F. and Arian, Y. Storage capacity of generalized networks. Physical Review A, 36: 5091–5094, 1987. doi: 10.1103/PhysRevA.36.5091. \nAgarwal, S., Krueger, G., Clark, J., Radford, A., Kim, J. W., and Brundage, M. Evaluating CLIP: Towards characterization of broader capabilities and downstream implications. ArXiv, 2108.02818, 2021. \nAjne, B. A simple test for uniformity of a circular distribution. Biometrika, 55(2):343–354, 1968. doi: 10.1093/biomet/55.2.343. \nAmari, S.-I. Learning patterns and pattern sequences by self-organizing nets of threshold elements. IEEE Transactions on Computers, C-21(11):1197–1206, 1972. doi: 10.1109/T-C.1972.223477. \nArbel, J., Marchal, O., and Nguyen, H. D. On strict sub-Gaussianity, optimal proxy variance and symmetry for bounded random variables. ArXiv, 1901.09188, 2019. \nBaldi, P. and Venkatesh, S. S. Number of stable points for spin-glasses and neural networks of higher orders. Physical Review Letters, 58:913–916, 1987. doi: 10.1103/PhysRevLett.58.913. \nBau, D., Andonian, A., Cui, A., Park, Y., Jahanian, A., Oliva, A., and Torralba, A. Paint by word. ArXiv, 2103.10951, 2021. \nBelghazi, M. I., Baratin, A., Rajeswar, S., Ozair, S., Bengio, Y., Courville, A., and Hjelm, R. D. Mutual information neural estimation. In Dy, J. and Krause, A. (eds.), Proceedings of International Conference on Machine Learning (ICML), pp. 531–540, 2018. \nBerg, T., Liu, J., Lee, S. W., Alexander, M. L., Jacobs, D. W., and Belhumeur, P. N. Birdsnap: Largescale fine-grained visual categorization of birds. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2019–2026, 2014. doi: 10.1109/CVPR.2014.259. \nBiewald, L. Experiment tracking with weights and biases, 2020. URL https://www.wandb.com/. Software available from wandb.com. \nBommasani, R. et al. On the opportunities and risks of foundation models. ArXiv, 2108.07258, 2021. \nBonner, M. F. and Epstein, R. A. Object representations in the human brain reflect the co-occurrence statistics of vision and language. Nature Communications, 12(4081), 2021. doi: 10.1038/ s41467-021-24368-2. \nBossard, L., Guillaumin, M., and Van Gool, L. Food-101 – mining discriminative components with random forests. In European Conference on Computer Vision, 2014. \nCai, Q., Wang, Y., Pan, Y., Yao, T., and Mei, T. Joint contrastive learning with infinite possibilities. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M. F., and Lin, H. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 12638–12648, 2020. \nCaputo, B. and Niemann, H. Storage capacity of kernel associative memories. In Proceedings of the International Conference on Artificial Neural Networks (ICANN), pp. 51–56, Berlin, Heidelberg, 2002. Springer-Verlag. \nCarlini, N. and Terzis, A. Poisoning and backdooring contrastive learning. ArXiv, 2106.09667, 2021. \nChen, H. H., Lee, Y. C., Sun, G. Z., Lee, H. Y., Maxwell, T., and Giles, C. L. High order correlation model for associative memory. AIP Conference Proceedings, 151(1):86–99, 1986. doi: 10.1063/1. 36224. \nChen, J., Gan, Z., Li, X., Guo, Q., Chen, L., Gao, S., Chung, T., Xu, Y., Zeng, B., Lu, W., Li, F., Carin, L., and Tao, C. Simpler, faster, stronger: Breaking the log-K curse on contrastive learners with FlatNCE. arXiv, 2107.01152, 2021. \nChen, T., Sun, Y., Shi, Y., and Hong, L. On sampling strategies for neural network-based collaborative filtering. In Proceedings of the International Conference on Knowledge Discovery and Data Mining, pp. 767–776, New York, NY, USA, 2017. Association for Computing Machinery. doi: 10.1145/3097983.3098202. \nChen, T., Kornblith, S., Norouzi, M., and Hinton, G. A simple framework for contrastive learning of visual representations. In Daumé, H. and Singh, A. (eds.), Proceedings of the International Conference on Machine Learning (ICML), pp. 1597–1607, 2020. \nChen, X. and He, K. Exploring simple siamese representation learning. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pp. 15750–15758, 2021. \nCheng, G., Han, J., and Lu, X. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865–1883, Oct 2017. ISSN 1558-2256. doi: 10.1109/jproc.2017.2675998. \nCheng, P., Hao, W., Dai, S., Liu, J., Gan, Z., and Carin, L. CLUB: A contrastive log-ratio upper bound of mutual information. In Daume, H. and Singh, A. (eds.), International Conference on Machine Learning (ICLR), pp. 1779–1788, 2020. \nCimpoi, M., Maji, S., Kokkinos, I., Mohamed, S., , and Vedaldi, A. Describing textures in the wild. In Proceedings of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2014. \nCoates, A., Ng, A., and Lee, H. An Analysis of Single Layer Networks in Unsupervised Feature Learning. In AISTATS, 2011. \nD’Amour, A. et al. Underspecification presents challenges for credibility in modern machine learning. ArXiv, 2011.03395, 2020. \nDeng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. Imagenet: A large-scale hierarchical image database. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pp. 248–255. Ieee, 2009. \nDevillers, B., Bielawski, R., Choski, B., and VanRullen, R. Does language help generalization in vision models? ArXiv, 2104.08313, 2021. \nDevlin, J., Chang, M.-W., Lee, K., and Toutanova, K. BERT: Pre-training of deep bidirectional transformers for language understanding. ArXiv, 2018. \nDevlin, J., Chang, M.-W., Lee, K., and Toutanova, K. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 4171–4186. Association for Computational Linguistics, 2019. doi: 10.18653/v1/N19-1423. \nFang, H., Xiong, P., Xu, L., and Chen, Y. CLIP2Video: Mastering video-text retrieval via image CLIP. ArXiv, 2106.11097, 2021. \nFei-Fei, L., Fergus, R., and Perona, P. Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories. Computer Vision and Pattern Recognition Workshop, 2004. \nFrans, K., Soros, L. B., and Witkowski, O. CLIPDraw: Exploring text-to-drawing synthesis through language-image encoders. ArXiv, 2106.14843, 2021. \nGalatolo, F. A., Cimino, M. G. C. A., and Vaglini, G. Generating images from caption and vice versa via CLIP-guided generative latent space search. ArXiv, 2102.01645, 2021. \nGao, B. and Pavel, L. On the properties of the softmax function with application in game theory and reinforcement learning. ArXiv, 2017. \nGao, T., Yao, X., and Chen, D. SimCSE: Simple contrastive learning of sentence embeddings. ArXiv, 2104.08821, 2021. \nGardner, E. Multiconnected neural network models. Journal of Physics A, 20(11):3453–3464, 1987. doi: 10.1088/0305-4470/20/11/046. \nGeirhos, R., Jacobsen, J.-H., Michaelis, C., Zemel, R. S., Brendel, W., Bethge, M., and Wichmann, F. A. Shortcut learning in deep neural networks. ArXiv, 2004.07780, 2020. ",
970
+ "bbox": [
971
+ 169,
972
+ 75,
973
+ 828,
974
+ 921
975
+ ],
976
+ "page_idx": 10
977
+ },
978
+ {
979
+ "type": "text",
980
+ "text": "",
981
+ "bbox": [
982
+ 171,
983
+ 51,
984
+ 828,
985
+ 924
986
+ ],
987
+ "page_idx": 11
988
+ },
989
+ {
990
+ "type": "text",
991
+ "text": "Goodfellow, I. J., Erhan, D., Carrier, P. L., Courville, A., Mirza, M., Hamner, B., Cukierski, W., Tang, Y., Thaler, D., Lee, D.-H., Zhou, Y., Ramaiah, C., Feng, F., Li, R., Wang, X., Athanasakis, D., Shawe-Taylor, J., Milakov, M., Park, J., Ionescu, R., Popescu, M., Grozea, C., Bergstra, J., Xie, J., Romaszko, L., Xu, B., Chuang, Z., and Bengio, Y. Challenges in representation learning: A report on three machine learning contests, 2013. ",
992
+ "bbox": [
993
+ 173,
994
+ 90,
995
+ 826,
996
+ 161
997
+ ],
998
+ "page_idx": 12
999
+ },
1000
+ {
1001
+ "type": "text",
1002
+ "text": "Grill, J.-B., Strub, F., Altché, F., Tallec, C., Richemond, P. H., Buchatskaya, E., Doersch, C., Pires, B. Á., Guo, Z. D., Azar, M. G., Piot, B., Kavukcuoglu, K., Munos, R., and Valko, M. Bootstrap your own latent - a new approach to self-supervised learning. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M. F., and Lin, H. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 21271–21284, 2020. ",
1003
+ "bbox": [
1004
+ 173,
1005
+ 170,
1006
+ 826,
1007
+ 242
1008
+ ],
1009
+ "page_idx": 12
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "Gutmann, M. and Hyvärinen, A. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Teh, Y. W. and Titterington, M. (eds.), International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010. ",
1014
+ "bbox": [
1015
+ 171,
1016
+ 252,
1017
+ 825,
1018
+ 296
1019
+ ],
1020
+ "page_idx": 12
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "Han, T., Xie, W., and Zisserman, A. Self-supervised co-training for video representation learning. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M. F., and Lin, H. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 5679–5690, 2020. ",
1025
+ "bbox": [
1026
+ 176,
1027
+ 305,
1028
+ 823,
1029
+ 349
1030
+ ],
1031
+ "page_idx": 12
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "text": "He, K., Zhang, X., Ren, S., and Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016. ",
1036
+ "bbox": [
1037
+ 173,
1038
+ 358,
1039
+ 825,
1040
+ 387
1041
+ ],
1042
+ "page_idx": 12
1043
+ },
1044
+ {
1045
+ "type": "text",
1046
+ "text": "He, K., Fan, H., Wu, Y., Xie, S., and Girshick, R. B. Momentum contrast for unsupervised visual representation learning. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), 2020. ",
1047
+ "bbox": [
1048
+ 173,
1049
+ 396,
1050
+ 825,
1051
+ 440
1052
+ ],
1053
+ "page_idx": 12
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "text": "Helber, P., Bischke, B., Dengel, A., and Borth, D. Introducing eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. In IGARSS 2018-2018 IEEE International Geoscience and Remote Sensing Symposium, pp. 204–207. IEEE, 2018. ",
1058
+ "bbox": [
1059
+ 173,
1060
+ 449,
1061
+ 823,
1062
+ 493
1063
+ ],
1064
+ "page_idx": 12
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "Helber, P., Bischke, B., Dengel, A., and Borth, D. Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 2019. ",
1069
+ "bbox": [
1070
+ 174,
1071
+ 502,
1072
+ 825,
1073
+ 546
1074
+ ],
1075
+ "page_idx": 12
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Hénaff, O. J., Srinivas, A., DeFauw, J., Razavi, A., Doersch, C., Eslami, S. M. A., and vanDenOord, A. Data-efficient image recognition with contrastive predictive coding. ArXiv, 1905.09272, 2019. ",
1080
+ "bbox": [
1081
+ 171,
1082
+ 554,
1083
+ 826,
1084
+ 585
1085
+ ],
1086
+ "page_idx": 12
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "Henderson, M. L., Al-Rfou, R., Strope, B., Sung, Y.-H., Lukács, L., Guo, R., Kumar, S., Miklos, B., and Kurzweil, R. Efficient natural language response suggestion for smart reply. ArXiv, 1705.00652, 2017. ",
1091
+ "bbox": [
1092
+ 174,
1093
+ 593,
1094
+ 826,
1095
+ 637
1096
+ ],
1097
+ "page_idx": 12
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "Hopfield, J. J. Neural networks and physical systems with emergent collective computational abilities. In Proceedings of the National Academy of Sciences, volume 79, pp. 2554–2558, 1982. ",
1102
+ "bbox": [
1103
+ 171,
1104
+ 646,
1105
+ 825,
1106
+ 676
1107
+ ],
1108
+ "page_idx": 12
1109
+ },
1110
+ {
1111
+ "type": "text",
1112
+ "text": "Hopfield, J. J. Neurons with graded response have collective computational properties like those of two-state neurons. In Proceedings of the National Academy of Sciences, volume 81, pp. 3088–3092. National Academy of Sciences, 1984. doi: 10.1073/pnas.81.10.3088. ",
1113
+ "bbox": [
1114
+ 173,
1115
+ 685,
1116
+ 825,
1117
+ 728
1118
+ ],
1119
+ "page_idx": 12
1120
+ },
1121
+ {
1122
+ "type": "text",
1123
+ "text": "Horn, D. and Usher, M. Capacities of multiconnected memory models. Journal of Physics France, 49(3):389–395, 1988. doi: 10.1051/jphys:01988004903038900. ",
1124
+ "bbox": [
1125
+ 173,
1126
+ 738,
1127
+ 825,
1128
+ 768
1129
+ ],
1130
+ "page_idx": 12
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "Ilharco, G., Wortsman, M., Carlini, N., Taori, R., Dave, A., Shankar, V., Namkoong, H., Miller, J., Hajishirzi, H., Farhadi, A., and Schmidt, L. OpenCLIP, 2021. ",
1135
+ "bbox": [
1136
+ 169,
1137
+ 776,
1138
+ 825,
1139
+ 808
1140
+ ],
1141
+ "page_idx": 12
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "Jing, L., Vincent, P., LeCun, Y., and Tian, Y. Understanding dimensional collapse in contrastive self-supervised learning. In International Conference on Learning Representations (ICLR). OpenReview, 2022. ",
1146
+ "bbox": [
1147
+ 171,
1148
+ 815,
1149
+ 825,
1150
+ 859
1151
+ ],
1152
+ "page_idx": 12
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "Kingma, D. P., Mohamed, S., Rezende, D. J., and Welling, M. Semi-supervised learning with deep generative models. In Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N. D., and Weinberger, K. Q. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 3581–3589. 2014. ",
1157
+ "bbox": [
1158
+ 173,
1159
+ 868,
1160
+ 826,
1161
+ 912
1162
+ ],
1163
+ "page_idx": 12
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "Krause, J., Stark, M., Deng, J., and Fei-Fei, L. 3D object representations for fine-grained categorization. In International IEEE Workshop on 3D Representation and Recognition (3dRR-13), 2013. \nKrizhevsky, A. Learning multiple layers of features from tiny images. Technical report, 2009. \nKrotov, D. and Hopfield, J. J. Dense associative memory for pattern recognition. In Lee, D. D., Sugiyama, M., Luxburg, U. V., Guyon, I., and Garnett, R. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 1172–1180, 2016. \nLampert, C. H., Nickisch, H., and Harmeling, S. Learning to detect unseen object classes by between-class attribute transfer. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pp. 951–958, 2009. \nLapuschkin, S., Wäldchen, S., Binder, A., Montavon, G., Samek, W., and Müller, K.-R. Unmasking Clever Hans predictors and assessing what machines really learn. Nature Communications, 10, 2019. doi: 10.1038/s41467-019-08987-4. \nLi, J., Zhou, P., Xiong, C., Socher, R., and Hoi, S. C. H. Prototypical contrastive learning of unsupervised representations. In International Conference on Learning Representations (ICLR). OpenReview, 2021. \nLogeswaran, L. and Lee, H. An efficient framework for learning sentence representations. In International Conference on Learning Representations (ICLR). OpenReview, 2018. \nLoshchilov, I. and Hutter, F. SGDR: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations (ICLR). OpenReview, 2017. \nLoshchilov, I. and Hutter, F. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR). OpenReview, 2019. \nLuo, H., Ji, L., Zhong, M., Chen, Y., Lei, W., Duan, N., and Li, T. CLIP4Clip: An empirical study of CLIP for end to end video clip retrieval. ArXiv, 2104.08860, 2021. \nMaji, S., Kannala, J., Rahtu, E., Blaschko, M., and Vedaldi, A. Fine-grained visual classification of aircraft. Technical report, 2013. \nMcAllester, D. and Stratos, K. Formal limitations on the measurement of mutual information. ArXiv, 1811.04251, 2018. \nMcAllester, D. and Stratos, K. Formal limitations on the measurement of mutual information. In Chiappa, S. and Calandra, R. (eds.), Proceedings of the International Conference on Artificial Intelligence and Statistics, pp. 875–884, 26–28 Aug 2020. \nMikolov, T., Sutskever, I., Chen, K., Corrado, G. S., and Dean, J. Distributed representations of words and phrases and their compositionality. In Burges, C. J. C., Bottou, L., Welling, M., Ghahramani, Z., and Weinberger, K. Q. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 3111–3119, 2013. \nMilbich, T., Roth, K., Sinha, S., Schmidt, L., Ghassemi, M., and Ommer, B. Characterizing generalization under out-of-distribution shifts in deep metric learning. ArXiv, 2107.09562, 2021. \nMiller, J., Taori, R., Raghunathan, A., Sagawa, S., Koh, P. W., Shankar, V., Liang, P., Carmon, Y., and Schmidt, L. Accuracy on the line: On the strong correlation between out-of-distribution and in-distribution generalization. ArXiv, 2107.04649, 2021. \nMisra, I. and vanDerMaaten, L. Self-supervised learning of pretext-invariant representations. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), 2020. \nNarasimhan, M., Rohrbach, A., and Darrell, T. CLIP-It! Language-guided video summarization. ArXiv, 2107.00650, 2021. \nNguyen, X., Wainwright, M. J., and Jordan, M. Estimating divergence functionals and the likelihood ratio by penalized convex risk minimization. IEEE Transactions on Information Theory, 56(11): 5847–5861, 2010. doi: 10.1109/tit.2010.2068870. \nNilsback, M.-E. and Zisserman, A. Automated flower classification over a large number of classes. In Proceedings of the Indian Conference on Computer Vision, Graphics and Image Processing, pp. 722–729. IEEE Computer Society, 2008. doi: 10.1109/ICVGIP.2008.47. \nOlver, F. W. J., Lozier, D. W., Boisvert, R. F., and Clark, C. W. NIST handbook of mathematical functions. Cambridge University Press, 1 pap/cdr edition, 2010. ISBN 9780521192255. \nPaischer, F., Adler, T., Patil, V., Bitto-Nemling, A., Holzleitner, M., Lehner, S., Eghbal-Zadeh, H., and Hochreiter, S. History compression via language models in reinforcement learning. In Chaudhuri, K., Jegelka, S., Song, L., Szepesvari, C., Niu, G., and Sabato, S. (eds.), Proceedings of the 39th International Conference on Machine Learning, pp. 17156–17185, 2022. \nPakhomov, D., Hira, S., Wagle, N., Green, K. E., and Navab, N. Segmentation in style: Unsupervised semantic image segmentation with stylegan and CLIP. ArXiv, 2107.12518, 2021. \nParkhi, O. M., Vedaldi, A., Zisserman, A., and Jawahar, C. V. Cats and dogs. In IEEE Conference on Computer Vision and Pattern Recognition, 2012. \nPaszke, A., Gross, S., Chintala, S., Chanan, G., Yang, E., DeVito, Z., Lin, Z., Desmaison, A., Antiga, L., and Lerer, A. Automatic differentiation in pytorch. 2017. \nPearl, J. Embracing causality in default reasoning. Artificial Intelligence, 35(2):259–271, 1988. \nPoole, B., Ozair, S., vanDenOord, A., Alemi, A. A., and Tucker, G. On variational bounds of mutual information. In Chaudhuri, K. and Salakhutdinov, R. (eds.), Proceedings of the International Conference on Machine Learning (ICML), pp. 5171–5180, 2019. \nPotter, M. Conceptual short term memory in perception and thought. Frontiers in Psychology, 3:113, 2012. doi: 10.3389/fpsyg.2012.00113. \nPrentice, M. J. On invariant tests of uniformity for directions and orientations. The Annals of Statistics, 6(1):169–176, 1978. doi: 10.1214/aos/1176344075. \nPsaltis, D. and Cheol, H. P. Nonlinear discriminant functions and associative memories. AIP Conference Proceedings, 151(1):370–375, 1986. doi: 10.1063/1.36241. \nRadford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., Krueger, G., and Sutskever, I. Learning transferable visual models from natural language supervision. In Proceedings of the International Conference on Machine Learning (ICML), 2021. \nRamsauer, H., Schäfl, B., Lehner, J., Seidl, P., Widrich, M., Gruber, L., Holzleitner, M., Pavlovic, M., ´ Sandve, G. K., Greiff, V., Kreil, D., Kopp, M., Klambauer, G., Brandstetter, J., and Hochreiter, S. Hopfield networks is all you need. In International Conference on Learning Representations (ICLR). OpenReview, 2021. \nRecht, B., Roelofs, R., Schmidt, L., and Shankar, V. Do ImageNet classifiers generalize to ImageNet? In Chaudhuri, K. and Salakhutdinov, R. (eds.), Proceedings of the International Conference on Machine Learning (ICML), pp. 5389–5400, 2019. \nSeidl, P., Renz, P., Dyubankova, N., Neves, P., Verhoeven, J., Wegner, J. K., Hochreiter, S., and Klambauer, G. Modern Hopfield networks for few- and zero-shot reaction prediction. ArXiv, 2104.03279, 2021. \nSeidl, P., Renz, P., Dyubankova, N., Neves, P., Verhoeven, J., Wegner, J. K., Segler, M., Hochreiter, S., and Klambauer, G. Improving few-and zero-shot reaction template prediction using modern Hopfield networks. Journal of Chemical Information and Modeling, 2022. \nSharma, P., Ding, N., Goodman, S., and Soricut, R. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of the Association for Computational Linguistics (ACL), 2018. \nShen, S., Li, L. H., Tan, H., Bansal, M., Rohrbach, A., Chang, K.-W., Yao, Z., and Keutzer, K. How much can CLIP benefit vision-and-language tasks? ArXiv, 2107.06383, 2021. ",
1168
+ "bbox": [
1169
+ 171,
1170
+ 55,
1171
+ 828,
1172
+ 914
1173
+ ],
1174
+ "page_idx": 13
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "",
1179
+ "bbox": [
1180
+ 169,
1181
+ 84,
1182
+ 826,
1183
+ 911
1184
+ ],
1185
+ "page_idx": 14
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Soomro, K., Zamir, A. R., and Shah, M. A dataset of 101 human action classes from videos in the wild. Center for Research in Computer Vision, 2(11), 2012. ",
1190
+ "bbox": [
1191
+ 171,
1192
+ 90,
1193
+ 825,
1194
+ 119
1195
+ ],
1196
+ "page_idx": 15
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Stallkamp, J., Schlipsing, M., Salmen, J., and Igel, C. The German traffic sign recognition benchmark: A multi-class classification competition. The International Joint Conference on Neural Networks, pp. 1453–1460, 2011. ",
1201
+ "bbox": [
1202
+ 174,
1203
+ 127,
1204
+ 825,
1205
+ 171
1206
+ ],
1207
+ "page_idx": 15
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Taori, R., Dave, A., Shankar, V., Carlini, N., Recht, B., and Schmidt, L. Measuring robustness to natural distribution shifts in image classification. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M. F., and Lin, H. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 18583–18599, 2020. ",
1212
+ "bbox": [
1213
+ 174,
1214
+ 179,
1215
+ 825,
1216
+ 236
1217
+ ],
1218
+ "page_idx": 15
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "Thomee, B., Shamma, D. A., Friedland, G., Elizalde, B., Ni, K., Poland, D., Borth, D., and Li, L.-J. YFCC100M: The new data in multimedia research. Communications of the ACM, 59(2):64–73, 2016. doi: 10.1145/2812802. ",
1223
+ "bbox": [
1224
+ 171,
1225
+ 244,
1226
+ 825,
1227
+ 286
1228
+ ],
1229
+ "page_idx": 15
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Tsai, Y.-H. H., Ma, M. Q., Zhao, H., Zhang, K., Morency, L.-P., and Salakhutdinov, R. Conditional contrastive learning: Removing undesirable information in self-supervised representations. ArXiv, 2106.02866, 2021. ",
1234
+ "bbox": [
1235
+ 171,
1236
+ 295,
1237
+ 825,
1238
+ 338
1239
+ ],
1240
+ "page_idx": 15
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Tschannen, M., Djolonga, J., Rubenstein, P. K., Gelly, S., and Lucic, M. On mutual information maximization for representation learning. In International Conference on Learning Representations (ICLR). OpenReview, 2019. ",
1245
+ "bbox": [
1246
+ 173,
1247
+ 347,
1248
+ 823,
1249
+ 390
1250
+ ],
1251
+ "page_idx": 15
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "van den Oord, A., Li, Y., and Vinyals, O. Representation learning with contrastive predictive coding. ArXiv, 1807.03748, 2018. ",
1256
+ "bbox": [
1257
+ 173,
1258
+ 397,
1259
+ 823,
1260
+ 428
1261
+ ],
1262
+ "page_idx": 15
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "Wainwright, M. J. Basic tail and concentration bounds, pp. 21–57. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press, 2019. doi: 10.1017/9781108627771.002. ",
1267
+ "bbox": [
1268
+ 174,
1269
+ 435,
1270
+ 825,
1271
+ 464
1272
+ ],
1273
+ "page_idx": 15
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Wang, F. and Liu, H. Understanding the behaviour of contrastive loss. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2495–2504, 2021. ",
1278
+ "bbox": [
1279
+ 174,
1280
+ 472,
1281
+ 823,
1282
+ 502
1283
+ ],
1284
+ "page_idx": 15
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "Wang, T. and Isola, P. Understanding contrastive representation learning through alignment and uniformity on the hypersphere. In Proceedings of the International Conference on Machine Learning (ICML), 2020. ",
1289
+ "bbox": [
1290
+ 173,
1291
+ 510,
1292
+ 823,
1293
+ 553
1294
+ ],
1295
+ "page_idx": 15
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Wellman, M. P. and Henrion, M. Explaining ’explaining away’. IEEE Transactions on Pattern Analysis and Machine Intelligence, 15(3):287–292, 1993. doi: 10.1109/34.204911. ",
1300
+ "bbox": [
1301
+ 173,
1302
+ 561,
1303
+ 821,
1304
+ 592
1305
+ ],
1306
+ "page_idx": 15
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "Widrich, M., Schäfl, B., Pavlovic, M., Ramsauer, H., Gruber, L., Holzleitner, M., Brandstetter, J., ´ Sandve, G. K., Greiff, V., Hochreiter, S., and Klambauer, G. Modern Hopfield networks and attention for immune repertoire classification. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan, M. F., and Lin, H. (eds.), Advances in Neural Information Processing Systems (NeurIPS), pp. 18832–18845, 2020. ",
1311
+ "bbox": [
1312
+ 173,
1313
+ 598,
1314
+ 828,
1315
+ 669
1316
+ ],
1317
+ "page_idx": 15
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "Widrich, M., Hofmarcher, M., Patil, V. P., Bitto-Nemling, A., and Hochreiter, S. Modern hopfield networks for return decomposition for delayed rewards. Deep Reinforcement Learning Workshop, Advances in Neural Information Processing Systems (NeurIPS), 2021. ",
1322
+ "bbox": [
1323
+ 174,
1324
+ 678,
1325
+ 823,
1326
+ 722
1327
+ ],
1328
+ "page_idx": 15
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "Wortsman, M., Ilharco, G., Li, M., Kim, J. W., Hajishirzi, H., Farhadi, A., Namkoong, H., and Schmidt, L. Robust fine-tuning of zero-shot models. ArXiv, 2109.01903, 2021. ",
1333
+ "bbox": [
1334
+ 169,
1335
+ 728,
1336
+ 823,
1337
+ 758
1338
+ ],
1339
+ "page_idx": 15
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "Wu, M., Mosse, M., Zhuang, C., Yamins, D., and Goodman, N. Conditional negative sampling for contrastive learning of visual representations. In International Conference on Learning Representations (ICLR). OpenReview, 2021. ",
1344
+ "bbox": [
1345
+ 173,
1346
+ 766,
1347
+ 823,
1348
+ 810
1349
+ ],
1350
+ "page_idx": 15
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "Wu, Z., Xiong, Y., Yu, S. X., and Lin, D. Unsupervised feature learning via non-parametric instance discrimination. In Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3733–3742, Los Alamitos, CA, USA, 2018. doi: 10.1109/CVPR.2018.00393. ",
1355
+ "bbox": [
1356
+ 173,
1357
+ 818,
1358
+ 823,
1359
+ 861
1360
+ ],
1361
+ "page_idx": 15
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "Xiao, J., Hays, J., Ehinger, K. A., Oliva, A., and Torralba, A. Sun database: Large-scale scene recognition from abbey to zoo. In 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, pp. 3485–3492, June 2010. doi: 10.1109/CVPR.2010.5539970. ",
1366
+ "bbox": [
1367
+ 174,
1368
+ 869,
1369
+ 826,
1370
+ 912
1371
+ ],
1372
+ "page_idx": 15
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "Yang, K., Qinami, K., Fei-Fei, L., Deng, J., and Russakovsky, O. Towards fairer datasets: Filtering and balancing the distribution of the people subtree in the imagenet hierarchy. In Proceedings of the Conference on Fairness, Accountability, and Transparency, pp. 547–558, 2020. \nYeh, C.-H., Hong, C.-Y., Hsu, Y.-C., Liu, T.-L., Chen, Y., and LeCun, Y. Decoupled contrastive learning. ArXiv, 2110.06848, 2021. \nZhang, C., Zhang, K., Pham, T. X., Niu, A., Qiao, Z., Yoo, C. D., and Kweon, I. S. Dual temperature helps contrastive learning without many negative samples: Towards understanding and simplifying moco. ArXiv, 2203.17248, 2022. \nZhou, K., Yang, J., Loy, C. C., and Liu, Z. Learning to prompt for vision-language models. ArXiv, 2109.01134, 2021. ",
1377
+ "bbox": [
1378
+ 171,
1379
+ 90,
1380
+ 828,
1381
+ 261
1382
+ ],
1383
+ "page_idx": 16
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "text": "Checklist ",
1388
+ "text_level": 1,
1389
+ "bbox": [
1390
+ 174,
1391
+ 89,
1392
+ 254,
1393
+ 106
1394
+ ],
1395
+ "page_idx": 17
1396
+ },
1397
+ {
1398
+ "type": "text",
1399
+ "text": "1. For all authors... ",
1400
+ "bbox": [
1401
+ 214,
1402
+ 116,
1403
+ 339,
1404
+ 130
1405
+ ],
1406
+ "page_idx": 17
1407
+ },
1408
+ {
1409
+ "type": "text",
1410
+ "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] Our method is currently limited to natural images and short text prompts as inputs, and, thus its use for other types of images, such as medical or biological images, is unexplored. While we hypothesize that our approach could also be useful for similar data in other domains, this has not been assessed. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] One potential danger arises from users that overly rely on systems built on our method. For example in the domain of self-driving cars, users might start paying less attention to the traffic because of the AI-based driving system. Finally, our method might also be used to automate various simple tasks, which might lead to reduced need for particular jobs in production systems. As for almost all machine learning methods, our proposed method relies on human-annotated training data and thereby human decisions, which are usually strongly biased. Therefore, the responsible use of our method requires the careful selection of the training data and awareness of potential biases within those. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1411
+ "bbox": [
1412
+ 236,
1413
+ 136,
1414
+ 825,
1415
+ 388
1416
+ ],
1417
+ "page_idx": 17
1418
+ },
1419
+ {
1420
+ "type": "text",
1421
+ "text": "2. If you are including theoretical results... ",
1422
+ "bbox": [
1423
+ 214,
1424
+ 392,
1425
+ 493,
1426
+ 407
1427
+ ],
1428
+ "page_idx": 17
1429
+ },
1430
+ {
1431
+ "type": "text",
1432
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] (b) Did you include complete proofs of all theoretical results? [Yes] ",
1433
+ "bbox": [
1434
+ 238,
1435
+ 411,
1436
+ 735,
1437
+ 443
1438
+ ],
1439
+ "page_idx": 17
1440
+ },
1441
+ {
1442
+ "type": "text",
1443
+ "text": "3. If you ran experiments... ",
1444
+ "bbox": [
1445
+ 214,
1446
+ 446,
1447
+ 393,
1448
+ 460
1449
+ ],
1450
+ "page_idx": 17
1451
+ },
1452
+ {
1453
+ "type": "text",
1454
+ "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 provide the URL to a GitHub repository that contains the code. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 5.1, Section 5.2 and Appendix Section A.2.2. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We added error bars for all experiments for which this was computationally feasible (see Table 1). \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] We used several different servers equipped with GPUs of different types, such as V100 and A100. The total amount of compute is roughly 11, 000 GPU hours (with A100). ",
1455
+ "bbox": [
1456
+ 236,
1457
+ 464,
1458
+ 825,
1459
+ 636
1460
+ ],
1461
+ "page_idx": 17
1462
+ },
1463
+ {
1464
+ "type": "text",
1465
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1466
+ "bbox": [
1467
+ 215,
1468
+ 640,
1469
+ 823,
1470
+ 655
1471
+ ],
1472
+ "page_idx": 17
1473
+ },
1474
+ {
1475
+ "type": "text",
1476
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] For the model implementations we used PyTorch (Paszke et al., 2017, BSD license) and for monitoring the runs we used Weights & Biases (Biewald, 2020, MIT license). \n(b) Did you mention the license of the assets? [Yes] See above. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We provide the code as supplementary material. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We only use public datasets that can be used for research purposes, such as the YFCC dataset which was published under the Creative Commons licence. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] As almost all computer vision and natural language datasets, the data suffers from many biases including social biases. We refer to Yang et al. (2020) for a detailed analysis of biases in such datasets. ",
1477
+ "bbox": [
1478
+ 238,
1479
+ 660,
1480
+ 825,
1481
+ 861
1482
+ ],
1483
+ "page_idx": 17
1484
+ },
1485
+ {
1486
+ "type": "text",
1487
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1488
+ "bbox": [
1489
+ 212,
1490
+ 864,
1491
+ 705,
1492
+ 878
1493
+ ],
1494
+ "page_idx": 17
1495
+ },
1496
+ {
1497
+ "type": "text",
1498
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] ",
1499
+ "bbox": [
1500
+ 233,
1501
+ 883,
1502
+ 826,
1503
+ 911
1504
+ ],
1505
+ "page_idx": 17
1506
+ },
1507
+ {
1508
+ "type": "text",
1509
+ "text": "(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] ",
1510
+ "bbox": [
1511
+ 238,
1512
+ 90,
1513
+ 826,
1514
+ 150
1515
+ ],
1516
+ "page_idx": 18
1517
+ }
1518
+ ]
parse/dev/q-LMlivZrV/q-LMlivZrV_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/q-LMlivZrV/q-LMlivZrV_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/uYLFoz1vlAC/uYLFoz1vlAC.md ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/uYLFoz1vlAC/uYLFoz1vlAC_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/uYLFoz1vlAC/uYLFoz1vlAC_model.json ADDED
The diff for this file is too large to render. See raw diff