Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/0z1HScLBEpb/0z1HScLBEpb.md +360 -0
- parse/train/0z1HScLBEpb/0z1HScLBEpb_content_list.json +0 -0
- parse/train/0z1HScLBEpb/0z1HScLBEpb_middle.json +0 -0
- parse/train/0z1HScLBEpb/0z1HScLBEpb_model.json +0 -0
- parse/train/BJlzm64tDH/BJlzm64tDH.md +258 -0
- parse/train/BJlzm64tDH/BJlzm64tDH_content_list.json +1422 -0
- parse/train/BJlzm64tDH/BJlzm64tDH_middle.json +0 -0
- parse/train/BJlzm64tDH/BJlzm64tDH_model.json +0 -0
- parse/train/Hkex2a4FPr/Hkex2a4FPr.md +349 -0
- parse/train/Hkex2a4FPr/Hkex2a4FPr_content_list.json +0 -0
- parse/train/Hkex2a4FPr/Hkex2a4FPr_middle.json +0 -0
- parse/train/Hkex2a4FPr/Hkex2a4FPr_model.json +0 -0
- parse/train/S1gmrxHFvB/S1gmrxHFvB.md +308 -0
- parse/train/S1gmrxHFvB/S1gmrxHFvB_content_list.json +1544 -0
- parse/train/S1gmrxHFvB/S1gmrxHFvB_middle.json +0 -0
- parse/train/S1gmrxHFvB/S1gmrxHFvB_model.json +0 -0
- parse/train/hQGRD1Zael7/hQGRD1Zael7_content_list.json +1085 -0
- parse/train/mSAKhLYLSsl/mSAKhLYLSsl_model.json +0 -0
- parse/train/r1lfF2NYvH/r1lfF2NYvH.md +374 -0
- parse/train/r1lfF2NYvH/r1lfF2NYvH_model.json +0 -0
parse/train/0z1HScLBEpb/0z1HScLBEpb.md
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# UNEVEN: UNIVERSAL VALUE EXPLORATION FOR MULTI-AGENT REINFORCEMENT LEARNING
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
This paper focuses on cooperative value-based multi-agent reinforcement learning (MARL) in the paradigm of centralized training with decentralized execution (CTDE). Current state-of-the-art value-based MARL methods leverage CTDE to learn a centralized joint-action value function as a monotonic mixing of each agent’s utility function, which enables easy decentralization. However, this monotonic restriction leads to inefficient exploration in tasks with nonmonotonic returns due to suboptimal approximations of the values of joint actions. To address this, we present a novel MARL approach called Universal Value Exploration (UneVEn), which uses universal successor features (USFs) to learn policies of tasks related to the target task, but with simpler reward functions in a sample efficient manner. UneVEn uses novel action-selection schemes between randomly sampled related tasks during exploration, which enables the monotonic joint-action value function of the target task to place more importance on useful joint actions. Empirical results on a challenging cooperative predator-prey task requiring significant coordination amongst agents show that UneVEn significantly outperforms stateof-the-art baselines.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Learning control policies for cooperative multi-agent reinforcement learning (MARL) remains challenging as agents must search the joint-action space, which grows exponentially with the number of agents. Current state-of-the-art value-based methods such as VDN (Sunehag et al., 2017) and QMIX (Rashid et al., 2020b) learn a centralized joint-action value function as a monotonic factorization of decentralized agent utility functions and can therefore cope with large joint action spaces. Due to this monotonic factorization, the joint-action value function can be decentrally maximized as each agent can simply select the action that maximizes its corresponding utility function.
|
| 12 |
+
|
| 13 |
+
This monotonic restriction, however, prevents VDN and QMIX from representing nonmonotonic joint-action value functions (Mahajan et al., 2019) where an agent’s best action depends on what actions the other agents choose. For example, consider a predator-prey task where at least three agents need to coordinate to capture a prey and any capture attempts by fewer agents are penalized with a penalty of magnitude $p$ . As a result, both VDN and QMIX tend to get stuck in a suboptimal equilibrium (also called the relative overgeneralization pathology, Panait et al., 2006; Wei et al., 2018) in which agents simply avoid the prey (Mahajan et al., 2019; Bohmer et al., 2020). This happens ¨ for two reasons. First, depending on $p$ , successful coordination by at least three agents is a needle in the haystack and any step towards it is penalized. Second, the monotonically factorized jointaction value function lacks the representational capacity to distinguish the values of coordinated and uncoordinated joint actions during exploration.
|
| 14 |
+
|
| 15 |
+
Recent work addresses the problem of inefficient exploration by VDN and QMIX due to monotonic factorization. QTRAN (Son et al., 2019) and WQMIX (Rashid et al., 2020a) address this problem by weighing important joint actions differently, which can be found by simultaneously learning a centralized value function, but these approaches still rely on inefficient $\epsilon$ -greedy exploration which may fail on harder tasks (e.g., the predator-prey task above with higher value of $p$ ). MAVEN (Mahajan et al., 2019) learns an ensemble of monotonic joint-action value functions through committed exploration by maximizing the entropy of the trajectories conditioned on a latent variable. Their exploration focuses on diversity in the joint team behaviour using mutual information. By contrast, this paper proposes Universal Value Exploration (UneVEn), which follows the intuitive premise that tasks with a simpler reward function than the target task (e.g., a smaller miscoordination penalty in predator-prey) can be efficiently solved using a monotonic factorization of the joint-action value function. Therefore, UneVEn samples tasks related to the target task, that are often easier to solve, but often have similar important joint actions. Selecting actions based on these related tasks during exploration can bias the monotonic approximation of the value function towards important joint actions of the target task (Son et al., 2019; Rashid et al., 2020a), which can overcome relative overgeneralization. To leverage the policies of the sampled related tasks, which only differ in their reward functions, UneVEn uses Universal Successor Features (USFs, Borsa et al., 2018) which have demonstrated excellent zero-shot generalization in single-agent tasks with different reward functions (Barreto et al., 2017; 2020). USFs generalize policy dynamics over tasks using Universal Value Functions (UVFs, Schaul et al., 2015), along with Generalized Policy Improvement (GPI, Barreto et al., 2017), which combines solutions of previous tasks into new policies for unseen tasks.
|
| 16 |
+
|
| 17 |
+
Our contributions are as follows. First, we propose Multi-Agent Universal Successor Features (MAUSFs) factorized into novel decentralized agent-specific SFs with value decomposition networks (Sunehag et al., 2017) from MARL. This factorization enables agents to compute decentralized greedy policies and to perform decentralized local GPI, which is particularly well suited for MARL, as it allows to maximize over a combinatorial set of agent policies. Second, we propose Universal Value Exploration (UneVEn), which uses novel action-selection schemes based on related tasks to solve tasks with nonmonotonic values with monotonic approximations thereof. We evaluate our novel approach in predator-prey tasks that require significant coordination amongst agents and highlight the relative overgeneralization pathology. We empirically show that UneVEn with MAUSFs significantly outperforms current state-of-the-art value-based methods on the target tasks and in zero-shot generalization (Borsa et al., 2018) across MARL tasks with different reward functions, which enables us to leverage UneVEn effectively.
|
| 18 |
+
|
| 19 |
+
# 2 BACKGROUND
|
| 20 |
+
|
| 21 |
+
Dec-POMDP: A fully cooperative decentralized multi-agent task can be formalized as a decentralized partially observable Markov decision process (Dec-POMDP, Oliehoek et al., 2016) consisting of a tuple $\dot { G } = \langle S , \mathcal { U } , P , R , \Omega , O , n , \gamma \rangle$ . $s \in \mathcal { S }$ describes the true state of the environment. At each time step, each agent $a \in \mathcal { A } \equiv \{ 1 , . . . , n \}$ chooses an action $u ^ { a } \in \mathcal { U }$ , forming a joint action $\pmb { u } \in \mathcal { U } \equiv \mathcal { U } ^ { n }$ . This causes a transition in the environment according to the state transition kernel $P ( s ^ { \prime } | s , \pmb { u } ) : S \times \pmb { \mathcal { U } } \times S [ 0 , 1 ]$ . All agents are collaborative and share therefore the same reward function $R ( s , { \pmb u } ) : \mathcal { S } \times \mathcal { U } \mathbb { R }$ and $\gamma \in [ 0 , 1 )$ is a discount factor.
|
| 22 |
+
|
| 23 |
+
Due to partial observability, each agent $a$ cannot observe the true state $s$ , but receives an observation $o ^ { a } \in \Omega$ drawn from observation kernel $o ^ { a } \sim O ( s , a )$ . At time $t$ , each agent $a$ has access to its action-observation history $\tau _ { t } ^ { a } \in \mathcal { T } _ { t } \equiv ( \Omega \times \mathcal { U } ) ^ { t } \times \Omega$ , on which it conditions a stochastic policy $\pi ^ { a } ( u _ { t } ^ { a } | \tau _ { t } ^ { a } )$ . $\tau _ { t } \in \mathcal { T } _ { t } ^ { n }$ denotes the histories of all agents. The joint stochastic policy $\pi ( \boldsymbol { u } _ { t } | \boldsymbol { s } _ { t } , \mathbf { \bar { \tau } } _ { t } ) \equiv$ $\begin{array} { r } { \prod _ { a = 1 } ^ { n } \pi ^ { a } ( u _ { t } ^ { a } | \tau _ { t } ^ { a } ) } \end{array}$ induces a joint-action value function : $Q ^ { \pi } ( s _ { t } , \pmb { \tau } _ { t } , \pmb { u } _ { t } ) = \mathbb { E } \left[ G _ { t } | s _ { t } , \pmb { \tau } _ { t } , \pmb { u } _ { t } \right]$ , where $\begin{array} { r } { G _ { t } = \sum _ { i = 0 } ^ { \infty } \gamma ^ { i } r _ { t + i } } \end{array}$ is the discounted return.
|
| 24 |
+
|
| 25 |
+
CTDE: We adopt the framework of centralized training and decentralized execution (CTDE Kraemer & Banerjee, 2016), which assumes access to all action-observation histories $\tau _ { t }$ and global state $s _ { t }$ during training, but each agent’s decentralized policy $\pi ^ { a }$ can only condition on its own actionobservation history $\tau ^ { a }$ . This approach can exploit information that is not available during execution and also freely share parameters and gradients, which improves the sample efficiency considerably (see e.g., Foerster et al., 2018; Rashid et al., 2020b; Bohmer et al., 2020). ¨
|
| 26 |
+
|
| 27 |
+
Value Decomposition Networks: A naive way to learn in MARL is independent $Q$ -learning (IQL, Tan, 1993), which learns an independent action value function $Q ^ { a } \left( \tau _ { t } ^ { a } , u _ { t } ^ { a } ; \theta ^ { a } \right)$ for each agent $a$ that conditions only on its local action-observation history $\tau _ { t } ^ { a }$ . To make better use of other agents’ information in CTDE, value decomposition networks (VDN, Sunehag et al., 2017) represent the joint-action value function $Q _ { t o t }$ as a sum of per-agent utility functions $Q ^ { a } \colon Q _ { t o t } ( \tau , \boldsymbol { u } ; \theta ) \equiv$ $\textstyle \sum _ { a = 1 } ^ { n } { \dot { Q ^ { a } } } ( \tau ^ { a } , u ^ { a } ; \theta )$ . Each $Q ^ { a }$ still conditions only on individual action-observation histories and can be represented by an agent network that shares parameters across all agents. The joint-action value function $Q _ { t o t }$ can be trained using Deep Q-Networks (DQN, Mnih et al., 2015). Compared to VDN, QMIX (Rashid et al., 2020b) allows joint-action value function $Q _ { t o t }$ to be represented as a nonlinear monotonic combination of individual utility functions. The greedy joint action in both VDN and QMIX can be computed decentrally by individually maximizing each agent’s utility. See OroojlooyJadid & Hajinezhad (2019) for a more in-depth overview of cooperative deep MARL.
|
| 28 |
+
|
| 29 |
+
Task based Universal Value Functions: In this paper, we consider tasks that differ only in their reward functions $R _ { \pmb { w } } ( s , \pmb { u } ) \equiv \pmb { w } ^ { \top } \phi ( s , \pmb { u } )$ , which are linear combinations of a set of basis functions $\phi : \mathcal { S } \times \mathcal { U } \to \mathbb { R } ^ { d }$ . Intuitively, the basis functions $\phi$ encode potentially rewarded events, such as opening a door or picking up an object. We use the weight vector $\textbf { \em w }$ to denote the task with reward function $R _ { w }$ . Universal Value Functions (UVFs, Schaul et al., 2015) is an extension of DQN that learns a generalizable value function conditioned on tasks. UVFs are typically of the form $Q ^ { \pi } ( s _ { t } , \pmb { u } _ { t } , \pmb { w } )$ to indicate the action-value function of task $\textbf { \em w }$ under policy $\pi$ at time $t$ as:
|
| 30 |
+
|
| 31 |
+
$$
|
| 32 |
+
Q ^ { \pi } ( s _ { t } , u _ { t } , w ) = \mathbb { E } ^ { \pi } \big [ \sum _ { i = 0 } ^ { \infty } \gamma ^ { i } R _ { w } ( s _ { t + i } , u _ { t + i } ) \big | s _ { t } , u _ { t } \big ] = \mathbb { E } ^ { \pi } \big [ \sum _ { i = 0 } ^ { \infty } \gamma ^ { i } \phi ( s _ { t + i } , u _ { t + i } ) ^ { \top } w \big | s _ { t } , u _ { t } \big ] .
|
| 33 |
+
$$
|
| 34 |
+
|
| 35 |
+
Successor Features: The Successor Representation (Dayan, 1993) has been widely used in singleagent settings (Barreto et al., 2017; 2018; Borsa et al., 2018) to generalize across tasks with given reward specifications. By simply rewriting the definition of the action value function $Q ^ { \pi } ( s _ { t } , \pmb { u } _ { t } , \pmb { w } )$ of task $\textbf { \em w }$ from Equation 1 we have:
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
Q ^ { \pi } ( s _ { t } , u _ { t } , w ) ~ = ~ \mathbb { E } ^ { \pi } \big [ \sum _ { i = 0 } ^ { \infty } \gamma ^ { i } \phi ( s _ { t + i } , u _ { t + i } ) \big | s _ { t } , u _ { t } \big ] ^ { \top } w ~ \equiv ~ \psi ^ { \pi } ( s _ { t } , u _ { t } ) ^ { \top } w ,
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
where $\psi ^ { \pi } ( s , \pmb u )$ are the Successor Features (SFs) under policy $\pi$ . For the optimal policy $\pi _ { z } ^ { \star }$ of task $_ z$ , the SFs $\psi ^ { \pi _ { z } ^ { \star } }$ summarize the dynamics under this policy, which can then be weighted with any reward vector $\pmb { w } \in \mathbb { R } ^ { d }$ to instantly evaluate policy $\pi _ { z } ^ { \star }$ on it: $Q ^ { \pi _ { z } ^ { \star } } ( s , \pmb { u } , \pmb { w } ) = \psi ^ { \pi _ { z } ^ { \star } } ( s , \mathbf { \bar { u } } ) ^ { \top } \pmb { w }$ .
|
| 42 |
+
|
| 43 |
+
Universal Successor Features and Generalized Policy Improvement: Borsa et al. (2018) introduce universal successor features (USFs) which learns SFs conditioned on tasks using the generalization power of UVFs. Specifically, they define UVFs of the form $Q ( s , \pmb { u } , z , \pmb { w } )$ which represents the value function of policy $\pi _ { z }$ evaluated on task $\pmb { w } \in \mathbb { R } ^ { d }$ . These UVFs can be factored using the SFs property (Equation 2) as: $Q ( s , \pmb { u } , z , \pmb { w } ) = \pmb { \psi } ( s , \pmb { u } , z ) ^ { \top } \pmb { w }$ , where $\psi ( s , u , z )$ are the USFs that generate the SFs induced by task-specific policy $\pi _ { z }$ . One major advantage of using SFs is the ability to efficiently do generalized policy improvement (GPI, Barreto et al., 2017), which allows a new policy to be computed for any unseen task based on instant policy evaluation of a set of policies on that unseen task with a simple dot-product. Formally, given a set $\mathcal { C } \subseteq \mathbb { R } ^ { d }$ of tasks and their corresponding SFs $\{ \psi ( s , \pmb { u } , z ) \} _ { z \in \mathcal { C } }$ induced by corresponding policies $\{ \pi _ { z } \} _ { z \in { \mathcal C } }$ , a new policy $\pi _ { w } ^ { \prime }$ for any unseen task $\pmb { w } \in \mathbb { R } ^ { d }$ can be derived using:
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
\begin{array} { r l r } { \pi _ { \pmb { w } } ^ { \prime } ( s ) } & { \in } & { \underset { \ b { u } \in \mathcal { U } } { \operatorname { a r g m a x } } \underset { \ b { z } \in \mathcal { C } } { \operatorname* { m a x } } Q ( s , \pmb { u } , z , \pmb { w } ) = \underset { \ b { u } \in \mathcal { U } } { \operatorname { a r g m a x } } \underset { \pmb { z } \in \mathcal { C } } { \operatorname* { m a x } } \psi ( s , \pmb { u } , z ) ^ { \top } \pmb { w } . } \end{array}
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
Setting ${ \mathcal C } = \{ { w } \}$ allows us to revert back to UVFs, as we evaluate SFs induced by policy $\pi _ { w }$ on task $\textbf { \em w }$ itself. However, we can use any set of tasks that are similar to $\pmb { w }$ based on some similarity distribution $\mathcal { D } ( \cdot | \boldsymbol { w } )$ . The computed policy $\pi _ { w } ^ { \prime }$ is guaranteed to perform no worse on task $\pmb { w }$ than each of the policies $\{ \pi _ { z } \} _ { z \in { \mathcal C } }$ (Barreto et al., 2017), but often performs much better. SFs thus enable efficient use of GPI, which allows reuse of learned knowledge for zero-shot generalization.
|
| 50 |
+
|
| 51 |
+
# 3 MULTI-AGENT UNIVERSAL SUCCESSOR FEATURES
|
| 52 |
+
|
| 53 |
+
In this section, we introduce Multi-Agent Universal Successor Features (MAUSFs), extending single-agent USFs (Borsa et al., 2018) to multi-agent settings and show how we can learn generalized decentralized greedy policies for agents. The USFs based centralized joint-action value function $Q _ { t o t } ( \tau , u , z , w )$ allows evaluation of joint policy $\pi _ { z } = \left. \pi _ { z } ^ { 1 } , \ldots , \pi _ { z } ^ { n } \right.$ comprised of local agent policies $\boldsymbol { \pi } _ { z } ^ { a }$ of same task $_ z$ on task $\pmb { w }$ . However, each agent $a$ may execute a different policy $\pi _ { z ^ { a } } ^ { a }$ of different task $z ^ { a } \in \mathcal { C }$ , resulting in a combinatorial set of joint-policies. Maximizing over all combinations $\bar { z } \equiv \langle z ^ { 1 } , \dots , z ^ { n } \rangle \in \bar { \mathcal { C } } ^ { n }$ should therefore enormously improve GPI. To enable this flexibility, we define joint-action value function $( Q _ { t o t } )$ of joint policy $\pi _ { \bar { z } } = \{ \pi _ { z ^ { a } } ^ { a } \} _ { z ^ { a } \in \mathcal { C } }$ evaluated on any task ${ \mathbf { \boldsymbol { w } } \in \mathbb { R } ^ { d } }$ as: $Q _ { t o t } ( \tau , u , \bar { z } , w ) = \psi _ { t o t } ( \bar { \tau } , u , \bar { z } ) ^ { \dag } w$ , where $\psi _ { t o t } ( \tau , { \pmb u } , \bar { z } )$ are the MAUSFs of $( \pmb { \tau } , \pmb { u } )$ summarizing the joint dynamics of the environment under joint policy $\pi _ { \bar { z } }$ . However, training centralized MAUSFs and using centralized GPI to achieve maximization over a combinatorial space of $\bar { z }$ becomes impractical when there are more than a handful of agents, since the joint action space $( u )$ and joint task space $( \mathcal { C } ^ { n } )$ of the agents grows exponentially with the number of agents. To leverage CTDE and enable decentralized execution by agents, we therefore propose novel agentspecific $S F s$ for each agent $a$ following local policy $\pi _ { z ^ { a } } ^ { a }$ , which condition only on its own local action-observation history and task $z ^ { a }$ .
|
| 54 |
+
|
| 55 |
+

|
| 56 |
+
Figure 1: Schematic illustration of the MAUSFs training and UneVEn exploration with GPI policy.
|
| 57 |
+
|
| 58 |
+
Decentralized Execution: We define local utility functions for each agent $a$ as $Q ^ { a } ( \tau ^ { a } , u ^ { a } , z ^ { a } , \pmb { w } ) =$ $\psi ^ { a } ( \tau ^ { a } , u ^ { a } , z ^ { a } ; \theta ) ^ { \top } \pmb { w }$ , where $\psi ^ { a } ( \tau ^ { a } , u ^ { a } , z ^ { a } ; \theta )$ are the local agent-specific SFs induced by local policy $\pi _ { z ^ { a } } ^ { a } ( u ^ { a } | \tau ^ { a } )$ of agent $a$ sharing parameters $\theta$ . Intuitively, $Q ^ { \bar { a } } ( \tau ^ { a } , u ^ { a } , z ^ { a } , w )$ is the utility function for agent $a$ when local policy $\pi _ { z ^ { a } } ^ { a } ( u ^ { a } | \tau ^ { a } )$ of task $z ^ { a }$ is executed on task $\textbf { \em w }$ . We use VDN decomposition to represent MAUSFs $\psi _ { t o t }$ as a sum of local agent-specific SFs for each agent $a$ :
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
{ \cal Q } _ { t o t } ( \tau , u , \bar { z } , w ) = \sum _ { a = 1 } ^ { n } { \cal Q } ^ { a } ( \tau ^ { a } , u ^ { a } , z ^ { a } , w ) = \sum _ { a = 1 } ^ { n } \psi ^ { a } ( \tau ^ { a } , u ^ { a } , z ^ { a } ; \theta ) ^ { \top } w = \psi _ { t o t } ( \tau , u , \bar { z } ; \theta ) ^ { \top } w .
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
We can now learn local agent-specific SFs $\psi ^ { a }$ for each agent $a$ that can be instantly weighted with any task vector $\pmb { w } \in \mathbb { R } ^ { d }$ to generate local utility functions $Q ^ { a }$ , thereby allowing agents to use the GPI policy in a decentralized manner.
|
| 65 |
+
|
| 66 |
+
Decentralized Local GPI: Our novel agent-specific SFs allows each agent $a$ to locally perform decentralized GPI by instant policy evaluation of a set $\mathcal { C }$ of local task policies $\{ \pi _ { z ^ { a } } ^ { a } \} _ { z ^ { a } \in \mathcal { C } }$ on any unseen task $\pmb { w }$ to compute a local GPI policy. Due to linearity of the VDN decomposition, this is equivalent to maximization over all combinations of $\bar { z } \equiv \langle z ^ { 1 } , \ldots , z ^ { n } \rangle \in \mathcal { C } \times \ldots \times \bar { \mathcal { C } } \equiv \mathcal { C } ^ { n }$ as:
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\begin{array} { r c l l } { \pi _ { w } ^ { \prime } ( \tau ) } & { \in } & { \displaystyle \operatorname * { a r g m a x } _ { u \in \mathcal { U } } \operatorname* { m a x } _ { \bar { z } \in \mathcal { C } ^ { n } } Q _ { t o t } ( \tau , u , \bar { z } , w ) } & { = } & { \displaystyle \left\{ \underset { u ^ { a } \in \mathcal { U } } { \operatorname * { a r g m a x } } \operatorname* { m a x } _ { z ^ { a } \in \mathcal { C } } \psi ^ { a } ( \tau ^ { a } , u ^ { a } , z ^ { a } ; \theta ) ^ { \top } w \right\} _ { a = 1 } ^ { n } . } \end{array}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
As all of the above relies on the linearity of the VDN decomposition, it cannot be directly applied to nonlinear mixing techniques like QMIX (Rashid et al., 2020b).
|
| 73 |
+
|
| 74 |
+
Training: MAUSFs for task combination $\bar { z }$ are trained end-to-end by gradient descent on the loss:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\begin{array} { r l r } { \mathcal { L } ( \boldsymbol { \theta } , \boldsymbol { \bar { z } } ) } & { = } & { \mathbb { E } _ { \sim \mathcal { B } } \left[ \left| \left| \phi ( s _ { t } , u _ { t } ) + \gamma \psi _ { t o t } ( \tau _ { t + 1 } , u _ { \bar { z } } ^ { \prime } , \bar { z } ; \boldsymbol { \theta } ^ { - } ) - \psi _ { t o t } ( \tau _ { t } , u _ { t } , \bar { z } ; \boldsymbol { \theta } ) \right| \right| _ { 2 } ^ { 2 } \right] , } \end{array}
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where the expectation is over a minibatch of samples $\{ ( s _ { t } , \pmb { u } _ { t } , \pmb { \tau } _ { t } ) \}$ from the replay buffer $\boldsymbol { B }$ (Lin, 1992), $\theta ^ { - }$ denotes the parameters of a target network (Mnih et al., 2015) and joint actions ${ \pmb u } _ { \bar { z } } ^ { \prime } = $ $\{ u _ { z ^ { a } } ^ { \prime a } \} _ { a = 1 } ^ { n }$ are selected individually by each agent network using the current parameters $\theta$ (called Double $Q$ -learning, van Hasselt et al., 2016): $\begin{array} { r } { u _ { z ^ { a } } ^ { \prime a } = \arg \operatorname* { m a x } _ { u \in \mathcal { U } } \psi ^ { a } ( \tau _ { t + 1 } ^ { a } , \stackrel { } { u } , z ^ { a } ; \theta ) ^ { \top } z ^ { a } } \end{array}$ . Each agent learns therefore local agent-specific SFs $\psi ^ { a } ( \tau ^ { a } , u ^ { a } , z ; \theta )$ by gradient descent on $\mathcal { L } ( \boldsymbol { \theta } , \bar { \boldsymbol { z } } )$ for all $z \in \mathcal { C } \equiv \nu \cup \{ w \}$ , where $\dot { \nu } \sim \mathcal { \bar { D } } ( \cdot | \pmb { w } )$ is drawn from a distance measure around target task $\pmb { w }$ . The green region of Figure 1 shows a CTDE based architecture to train MAUSFs for a given target task $\textbf { \em w }$ . A detailed algorithm is present in Appendix A.
|
| 81 |
+
|
| 82 |
+
# 4 UNEVEN
|
| 83 |
+
|
| 84 |
+
In this section, we present UneVEn (red region of Figure 1), which leverages MAUSFs and decentralized GPI to enable efficient exploration on the target task $\pmb { w }$ . The joint-action value function of the target task $\pmb { w }$ suffers from suboptimal approximations due to monotonic factorization. At the beginning of every exploration episode, we sample a set of related tasks $\nu = \{ z \sim \mathcal { D } ( \cdot | \pmb { w } ) \}$ , containing potentially simpler reward functions, from a distribution $\mathcal { D }$ around the target task. The basic idea is that some of these related tasks can be efficiently learned using a monotonic joint-action value function. These tasks will therefore be solved early and exploration will concentrate on stateactions that are useful to them. As the sampled tasks are similar to $\pmb { w }$ , this has the potential to put more weight on the important joint actions of the target task (Rashid et al., 2020a). This implicit weighting allows the learning of the joint-action value function of the target task to focus on accurately representing the value of the more important joint actions, and thereby overcome the relative overgeneralization pathology.
|
| 85 |
+
|
| 86 |
+
Many choices for $\mathcal { D }$ are possible, but in the following we sample related tasks using a normal distribution centered around the target task $\pmb { w } \in \mathbb { R } ^ { d }$ with a fixed variance $\sigma$ as $\mathcal { D } = \bar { \mathcal { N } } ( \boldsymbol { w } , \sigma \mathbf { I } _ { d } )$ . The resulting task vectors weight the basis functions $\phi$ differently and represent different reward functions. In particular the varied reward functions can make these tasks much easier, but also harder, to solve with monotonic value functions. However, the approach has the advantage of not requiring any domain knowledge. The consequences of sampling harder tasks on learning are discussed with the corresponding action-selection schemes below.
|
| 87 |
+
|
| 88 |
+
Action-Selection Schemes: UneVEn uses two novel schemes to enable action selection based on related tasks. To emphasize the importance of the target task, we define a probability $\alpha$ of selecting actions based on the target task. Therefore, with probability $1 - \alpha$ , the action is selected based on the related task. Similar to other exploration schemes, $\alpha$ is annealed from 0.3 to 1.0 in our experiments over a fixed number of steps at the beginning of training. Once this exploration stage is finished (i.e., $\alpha = 1$ ), actions are always taken based on the target task’s joint-action value function. Each actionselection scheme employs a local decentralized GPI policy, that maximizes over a set of policies $\pi _ { z }$ based on $z \in { \mathcal { C } } _ { 1 }$ (also referred to as the evaluation set) to estimate the $Q$ -values of another set of tasks k ∈ C2 (also referred to as the target set) using: Qa(τat ,u,z,k)
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\begin{array} { r l } & { \mathrm { \mathrm { \mathrm { \mathrm { \mathrm { \mathrm { \arctan ~ } } a s ~ t h e \mathrm { \Lambda } t a r g e t \ s e t } ) \ u s i n g } : } } \qquad Q ^ { a } ( \tau _ { t } ^ { a } , u , z , k ) } \\ & { u _ { t } = \Bigl \{ u _ { t } ^ { a } = \underset { u \in \mathcal { U } } { \mathrm { \operatorname* { \arg m a x } } } \underset { k \in \mathcal { C } _ { 2 } } { \operatorname* { m a x } } \underset { z \in \mathcal { C } _ { 1 } } { \operatorname* { m a x } } \widehat { \psi ^ { a } \big ( \tau _ { t } ^ { a } , u , z ; \theta \big ) ^ { \top } k } \Bigr \} _ { a \in \mathcal { A } } . } \end{array}
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
Here $\mathcal { C } _ { 1 } = \nu \cup \{ w \}$ is the set of target and related tasks which induce the policies that are evaluated (dot-product) on the set of tasks $\mathcal { C } _ { 2 }$ , which varies with different action-selection schemes. The red box in Figure 1 illustrates UneVEn exploration. For example, $Q$ -learning always picks actions based on the target task, i.e., the target set $\mathcal { C } _ { 2 } = \{ w \}$ . However, this scheme does not favour important joint actions. We call this default action-selection scheme target GPI and execute it with probability $\alpha$ . We now propose two novel action-selection schemes based on related tasks with probability $1 - \alpha$ , and thereby implicitly weighting joint actions during learning.
|
| 95 |
+
|
| 96 |
+
Uniform GPI: At the beginning of each episode, this action-selection scheme uniformly picks one related task, i.e., the target set $\mathcal { C } _ { 2 } = \{ k \sim \mathrm { U n i f o r m } ( \nu ) \}$ , and selects actions based on that task using the GPI policy throughout the episode. This uniform task selection explores the learned policies of all related tasks in $\mathcal { D }$ . This works well in practice as there are often enough simpler tasks to induce the required bias over important joint actions. However, if the sampled related task is harder than the target task, the action-selection based on these harder tasks might hurt learning on the target task and lead to higher variance during training.
|
| 97 |
+
|
| 98 |
+
Greedy GPI: At every time-step $t$ , this action-selection scheme picks the task $\pmb { k } \in \nu \cup \{ \pmb { w } \}$ that gives the highest $Q$ -value amongst the related and target tasks, i.e., the target set becomes $\mathcal { \bar { C } } _ { 2 } \overset { \cdot } { = } \nu \cup \{ w \}$ . Due to the greedy nature of this action-selection scheme, exploration is biased towards solved tasks, as those have larger values. We are thus exploring the solutions of tasks that are both solvable and similar to the target task $\pmb { w }$ , which makes them great candidates for important joint actions of $\textbf { \em w }$ .
|
| 99 |
+
|
| 100 |
+
NO-GPI: To demonstrate the influence of GPI on the above schemes, we also investigate ablations, where we define the evaluation set ${ \mathcal C } _ { 1 } = \{ k \}$ to only contain the currently estimated task $\boldsymbol { k }$ , i.e., using $\begin{array} { r } { \boldsymbol { \mathsf { \Pi } } \boldsymbol { u } _ { t } = \{ u _ { t } ^ { a } = \arg \operatorname* { m a x } _ { \boldsymbol { u } \in \mathcal { U } } \operatorname* { m a x } _ { \boldsymbol { k } \in \mathcal { C } _ { 2 } } \psi ^ { a } ( \tau _ { t } ^ { a } , \boldsymbol { u } , \boldsymbol { k } ; \theta ) ^ { \top } \boldsymbol { k } \} _ { a \in \mathcal { A } } } \end{array}$ for action selection.
|
| 101 |
+
|
| 102 |
+
# 5 EXPERIMENTS
|
| 103 |
+
|
| 104 |
+
In this section, we evaluate UneVEn on a variety of complex domains. For evaluation, all experiments are carried out with five random seeds and results are shown with $\pm$ standard error across
|
| 105 |
+
|
| 106 |
+
seeds. We compare our method against a number of SOTA value-based MARL approaches: IQL (Tan, 1993), VDN (Sunehag et al., 2017), QMIX (Rashid et al., 2020b), MAVEN (Mahajan et al., 2019), WQMIX (Rashid et al., 2020a), QTRAN (Son et al., 2019), and QPLEX (Wang et al., 2020a).
|
| 107 |
+
|
| 108 |
+
# Domain 1 : $m$ -step matrix game
|
| 109 |
+
|
| 110 |
+
We first evaluate UneVEn on $m$ -step matrix game proposed by Mahajan et al. (2019). This task is difficult to solve using simple $\epsilon$ -greedy exploration policies as committed exploration is required to achieve the optimal return. Appendix E shows the $m$ -step matrix game from Mahajan et al. (2019), in which the first joint decision of two agents determines the maximal outcome after another $m { - } 1$ decisions. One initial joint action can reach a return of up to $m + 3$ , whereas another only allows for $m$ . This challenges monotonic value functions, as the optimal joint reward function of the first decision is nonmonotonic. Figure 2 shows results of all methods on this task for $m = 1 0$ after training for $3 5 k$ steps. UneVEn with greedy (UneVEn-Greedy-GPI) action selection scheme converges to an optimal return and both greedy and uniform (UneVEn-Uniform-GPI) schemes outperforms all other methods, which suffer from poor $\epsilon$ -greedy exploration and often learn to take the suboptimal action in the beginning. Due to the nonmonotonicity of the initial state, it becomes difficult to switch the policy later, leading to suboptimal returns and only rarely converging to optimal solutions.
|
| 111 |
+
|
| 112 |
+

|
| 113 |
+
Figure 2: Baseline results for $m = 1 0$ .
|
| 114 |
+
|
| 115 |
+
# Domain 2 : Cooperative Predator-Prey
|
| 116 |
+
|
| 117 |
+
We next evaluate UneVEn on challenging cooperative predator-prey tasks similar to one proposed by Son et al. (2019), but significantly more complex in terms of the coordination required amongst agents. We use a complex partially observable predator-prey (PP) task involving eight agents (predators) and three prey that is designed to test coordination between agents, as each prey needs to be captured by at least three surrounding agents with a simultaneous capture action. If only one or two surrounding agents attempt to capture the prey, a negative reward of magnitude $p$ is given. Successful capture yields a positive reward of $+ 1$ . This task is challenging for two reasons. First, depending on the magnitude of penalty $p$ , exploration is difficult as even if a single agent miscoordinates, the penalty is given, and therefore, any steps toward successful coordination are penalized. Second, the agents must be able to differentiate between the values of successful and unsuccessful collaborative actions, which monotonic value functions can only do if all agents already act optimally. More details about the task are available in Appendix B.
|
| 118 |
+
|
| 119 |
+
Proposition 1. For the predator-prey game defined above, the optimal joint action reward function for any group of $2 \leq k \leq n$ predator agents surrounding a prey is nonmonotonic (as defined by Mahajan et al., 2019) iff $p > 0$ . (Proof is provided in Appendix B).
|
| 120 |
+
|
| 121 |
+
Simpler PP Tasks: We first demonstrate that both VDN and QMIX with monotonic joint-action value functions can learn on target tasks with simpler reward functions. To generate a simpler task, we remove the penalty associated with miscoordination, i.e., $p = 0$ , thereby making the returns monotonic. Figure 3 shows that both QMIX and VDN can solve this task as there is no miscoordination penalty and the monotonic joint-action value function can learn to efficiently represent the optimal joint-action values. Other SOTA value-based approaches (MAVEN, WQMIX and QPLEX) and UneVEn with both uniform (UneVEn-Uniform-GPI) and greedy (UneVEn-Greedy-GPI) action-selection schemes can also solve this monotonic target task.
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
Figure 3: Baseline results for $p = 0$ .
|
| 125 |
+
|
| 126 |
+
Harder PP Tasks: We now make the target task nonmonotonic by increasing the magnitude of the penalty associated with each miscoordination, i.e., $p \in \{ 0 . 0 0 4 , 0 . \dot { 0 } 0 8 , 0 . 0 1 2 , 0 . 0 1 6 \}$ . For a smaller penalty of $p = 0 . 0 0 4$ , Figure 4 (top left) shows that VDN is still able to solve the task, further suggesting that simpler reward related tasks (with lower penalties) can be solved with monotonic approximations. However, both QMIX and VDN fail to learn on three other higher penalty target tasks due to their monotonic constraints, which hinder the accurate learning of the joint-action value functions. Intuitively, when uncoordinated joint actions are much more likely than coordinated ones, the penalty term can dominate the average value estimated by each agent’s utility. This makes it difficult to learn an accurate monotonic approximation that will select the optimal joint actions.
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
Figure 4: Comparison between UneVEn and SOTA MARL baselines with $p \in \{ 0 . 0 0 4 , 0 . 0 0 8 , 0 . 0 1 2 , 0 . 0 1 6 \}$
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 5: Ablation results: Comparison between different action selection of UneVEn for $p \in \{ 0 . 0 1 2 , 0 . 0 1 6 \}$
|
| 133 |
+
|
| 134 |
+
Interestingly, other SOTA value-based approaches that aim to address the monotonicity restriction of QMIX and VDN such as MAVEN, QTRAN, WQMIX and QPLEX also fail to learn on higher penalty tasks. WQMIX solves the task when $p = 0 . 0 0 4$ , but fails on other three higher penalty target tasks. Although WQMIX uses an explicit weighting mechanism to bias learning towards important joint actions, it must identify these actions by learning a nonmonotonic value function first. An $\epsilon$ -greedy exploration based on the target task will take a long time to learn such a value function, which is visible in the large standard error for $p \in \{ 0 . 0 0 8 , 0 . 0 1 2 , 0 . 0 1 6 \}$ in Figure 4. By contrast, both UneVEn-Uniform-GPI and UneVEn-Greedy-GPI can approximate nonmonotonic value functions more accurately and solve the task for all values of $p$ . As expected, the variance of UneVEn-Uniform-GPI is high on higher penalty target tasks (for e.g., $p = 0 . 0 1 6 $ ) as exploration suffers from action selection based on harder related tasks. UneVEn-Greedy-GPI does not suffer from this problem. Videos of learnt policies are available at $\mathtt { \tau \mathtt { l t t p s : / / r b . 9 Y / r d w p o 5 } }$ .
|
| 135 |
+
|
| 136 |
+
Ablations: Figure 5 shows ablation results for higher penalty tasks, i.e., $p = \{ 0 . 0 1 2 , 0 . 0 1 6 \}$ . To contrast the effect of UneVEn on exploration, we compare our two novel action-selection schemes to UneVEn-Target-GPI, which only selects the greedy actions of the target task. The results clearly show that UneVEn-Target-GPI fails to solve the higher penalty nonmonotonic tasks as the employed monotonic joint value function of the target task fails to accurately represent the values of different joint actions. This demonstrates the critical role of UneVEn and its action-selection schemes.
|
| 137 |
+
|
| 138 |
+
Next we evaluate the effect of GPI by comparing against UneVEn with MAUSFs without using the GPI policy, i.e., setting the evaluation set ${ \mathcal C } _ { 1 } = \{ k \}$ in Equation 7. First, UneVEn using a NOGPI policy with both uniform (Uniform-NOGPI) and greedy (Greedy-NOGPI) action selection outperform Target-NOGPI, further strengthening the claim that UneVEn with its novel action-selection scheme enables efficient exploration and bias towards optimal joint actions. Next, Figure 5 clearly shows that for each corresponding action-selection scheme (uniform, greedy, and target), using a GPI policy $( * \mathrm { - } \mathrm { { G P I } ) }$ is always favourable as it performs either similarly to the NOGPI policy (∗- NOGPI) or much better. GPI appears to improve zero-shot generalization of MAUSFs across tasks, which in turn enables good action selection for related tasks during UneVEn exploration.
|
| 139 |
+
|
| 140 |
+
Zero-Shot Generalization: Lastly, we evaluate this zero-shot generalization for all methods to check if the learnt policies are useful for unseen high penalty test tasks. We train all methods for 8 million environmental steps on a task with $p ~ = ~ 0 . 0 0 4$ , and test 60 rollouts of the resulting policies of all methods that are able to solve the training task, i.e., UneVEn-Greedy-GPI, UneVEn-Uniform-GPI, VDN, MAVEN, and WQMIX, on tasks with $p \in \{ 0 . 2 , 0 . 5 \}$ . For policies trained with UneVEn-Greedy-GPI and UneVEn-Uniform-GPI, we use the NOGPI policy for the zero-shot testing, i.e., $\mathcal { C } _ { 1 } = \mathcal { C } _ { 2 } = \{ \pmb { w } \}$ . Figure 6 shows that UneVEn with both uniform and greedy schemes exhibits great zero-shot generalization and solves both test tasks even with very high penalties. As MAUSFs learn the reward’s basis functions, rather than the reward itself, zero-shot generalization to larger penalties follow naturally. Furthermore, using UneVEn exploration allows the agents to collect enough diverse behaviour to come up with a near optimal policy for the test tasks. On the other hand, the learnt policies for all other methods that solve the target task with $p = 0 . 0 0 4$ are ineffective in these higher penalty nonmonotonic tasks, as they do not learn to avoid unsuccessful capture attempts. More details about the implementations are included in Appendix C. Additional ablation experiments are discussed in Appendix D.
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
Figure 6: Zero-shot generalization comparison; training on $p = 0 . 0 0 4$ , testing on $p \in \{ 0 . { \overset { - } { 2 } } , 0 . 5 \}$ .
|
| 144 |
+
|
| 145 |
+
# Domain 3 : Starcraft Multi-Agent Challenge (SMAC)
|
| 146 |
+
|
| 147 |
+
We now evaluate UneVEn on challenging cooperative StarCraft II maps from the SMAC benchmark (Samvelyan et al., 2019). We consider SMAC maps where each ally agent unit is additionally penalized for being killed or suffering damage from the enemy, in addition to receiving positive reward for killing/inflicting damage on enemy units, which has recently shown to improve performance (Son et al., 2020). We present the results for one super hard map (MMM2, involving 10 units of 3 types), two hard asymmetric maps (5m vs 6m and 10m vs 11m) and three easy maps (2s3z, 1c3s5z and $8 \mathrm { m }$ ).
|
| 148 |
+
|
| 149 |
+
Figure 7 presents the mean test win rate for all maps. Both VDN and QMIX achieve almost $100 \%$ win rate on these maps, which leads us to conclude that they do not suffer from relative overgeneralization and that simple $\epsilon$ -greedy policies suffices for these maps. Thus, the additional complexity of learning MAUSFs in our approach results in slightly slower convergence. However, UneVEn with both GPI schemes matches the performance as VDN and QMIX in most maps, with only small deviations in $5 \mathrm { m } _ { - } \mathrm { v } s _ { - } 6 \mathrm { m }$ , demonstrating that our method can scale well to large complex tasks.
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 7: Comparison between UneVEn, VDN and QMIX on SMAC maps.
|
| 153 |
+
|
| 154 |
+
# 6 RELATED WORK
|
| 155 |
+
|
| 156 |
+
Improving monotonic value function factorization in CTDE MAVEN (Mahajan et al., 2019) shows that the monotonic joint-action value function of QMIX and VDN suffers from suboptimal approximations on nonmonotonic tasks. It addresses this problem by learning a diverse ensemble of monotonic joint-action value functions conditioned on a latent variable by optimizing the mutual information between the joint trajectory and the latent variable. Deep Coordination Graphs (DCG) (Bohmer et al., 2020) uses a predefined coordination graph (Guestrin et al., 2002) to represent the ¨ joint-action value function. However, DCG is not a fully decentralized approach and specifying the coordination graph can require significant domain knowledge. Son et al. (2019) propose QTRAN that addresses the monotonic restriction of QMIX by learning a (decentralizable) VDN-factored joint-action value function along with an unrestricted centralized critic. The corresponding utility functions are distilled from the critic by solving a linear optimization problem involving all joint actions, but its exact implementation is computationally intractable and the corresponding approximate versions have instable performance. QPLEX (Wang et al., 2020a) uses a duplex dueling (Wang et al., 2016) network architecture to factorize the joint-action value function with linear decomposition structure. WQMIX (Rashid et al., 2020a) learns a QMIX-factored joint-action value function along with an unrestricted centralized critic and proposes explicit weighting mechanisms to bias the monotonic approximation of the optimal joint-action value function towards important joint actions, which is similar to our work. However, in our work, the weightings are implicitly done through action-selection based on simpler reward related tasks, which are easier to solve.
|
| 157 |
+
|
| 158 |
+
Exploration There exists a plethora of techniques for exploration in model-free single-agent RL, based on intrinsic novelty reward (Bellemare et al., 2016; Tang et al., 2017), predictability (Pathak et al., 2017), pure curiosity (Burda et al., 2019) or Bayesian posteriors (Osband et al., 2016; Gal et al., 2017; Fortunato et al., 2018; O’Donoghue et al., 2018). In the context of multi-agent RL, Bohmer ¨ et al. (2019) discuss the influence of unreliable intrinsic reward and Wang et al. (2020b) quantify the influence that agents have on each other’s return. Zheng & Yue (2018) propose to coordinate exploration between agents by shared latent variables, whereas Jaques et al. (2018) investigate social motivations of competitive agents. However, these techniques aim to visit as much of the state-action space as possible, which exacerbates the relative overgeneralization pathology. Approaches that use state abstraction (e.g., Roderick et al., 2018) can speed up exploration, but only by restricting the considered space with prior knowledge. In contrast, UneVEn explores similar tasks. This guides exploration to states and actions that prove useful, which restricts the explored space and overcomes relative overgeneralization. To the best of our knowledge, the only other work that explores the task space is Leibo et al. (2019): they use the evolution of competing agents as an auto-curriculum of harder and harder tasks. Collaborative agents cannot compete against each other, though, and their approach does therefore not affect relative overgeneralization.
|
| 159 |
+
|
| 160 |
+
Successor Features Most of the work on SFs have been focused on single-agent settings (Dayan, 1993; Kulkarni et al., 2016; Lehnert et al., 2017; Zhu et al., 2017; Barreto et al., 2017; 2018; Borsa et al., 2018; Lehnert & Littman, 2019; Lee et al., 2019; Hansen et al., 2019) for transfer learning and zero-shot generalization across tasks with different reward functions. Gupta et al. (2019) uses single-agent SFs in a transition-independent multi-agent setting to estimate the probability of events.
|
| 161 |
+
|
| 162 |
+
# 7 CONCLUSION
|
| 163 |
+
|
| 164 |
+
This paper presents novel multi-agent universal successor features (MAUSFs) decomposed as local agent-specific SFs, which enables decentralized version of the GPI to maximize over a combinatorial space of agent policies, making MAUSFs a perfect fit for MARL. We then propose UneVEn, which leverages the generalization power of MAUSFs to perform action-selection based on simpler related tasks to address the issue of sub-optimality of target task’s monotonic joint-action value function in current SOTA methods. Our experiments show that UneVEn significantly outperforms VDN, QMIX and other state-of-the-art value-based MARL methods on nonmonotonic tasks by a substantial margin.
|
| 165 |
+
|
| 166 |
+
# REFERENCES
|
| 167 |
+
|
| 168 |
+
Andre Barreto, Will Dabney, R ´ emi Munos, Jonathan J Hunt, Tom Schaul, Hado P van Hasselt, and ´ David Silver. Successor features for transfer in reinforcement learning. In Advances in neural information processing systems, pp. 4055–4065, 2017.
|
| 169 |
+
|
| 170 |
+
Andre Barreto, Diana Borsa, John Quan, Tom Schaul, David Silver, Matteo Hessel, Daniel Mankowitz, Augustin Zidek, and Remi Munos. Transfer in deep reinforcement learning using successor features and generalised policy improvement. In International Conference on Machine Learning, pp. 501–510. PMLR, 2018.
|
| 171 |
+
|
| 172 |
+
Andre Barreto, Shaobo Hou, Diana Borsa, David Silver, and Doina Precup. Fast reinforcement ´ learning with generalized policy updates. Proceedings of the National Academy of Sciences, 2020.
|
| 173 |
+
|
| 174 |
+
Marc G. Bellemare, Sriram Srinivasan, Georg Ostrovski, Tom Schaul, David Saxton, and Remi ´ Munos. Unifying count-based exploration and intrinsic motivation. In Advances in Neural Information Processing Systems (NIPS) 29, pp. 1471–1479, 2016.
|
| 175 |
+
|
| 176 |
+
Wendelin Bohmer, Tabish Rashid, and Shimon Whiteson. Exploration with unreliable intrinsic ¨ reward in multi-agent reinforcement learning. CoRR, abs/1906.02138, 2019. URL http: //arxiv.org/abs/1906.02138. Presented at the ICML Exploration in Reinforcement Learning workshop.
|
| 177 |
+
|
| 178 |
+
Wendelin Bohmer, Vitaly Kurin, and Shimon Whiteson. Deep coordination graphs. In ¨ Proceedings of Machine Learning and Systems (ICML), pp. 2611–2622, 2020. URL https://arxiv. org/abs/1910.00091.
|
| 179 |
+
|
| 180 |
+
Diana Borsa, Andre Barreto, John Quan, Daniel Mankowitz, R ´ emi Munos, Hado van Hasselt, ´ David Silver, and Tom Schaul. Universal successor features approximators. arXiv preprint arXiv:1812.07626, 2018.
|
| 181 |
+
|
| 182 |
+
Yuri Burda, Harri Edwards, Deepak Pathak, Amos Storkey, Trevor Darrell, and Alexei A. Efros. Large-scale study of curiosity-driven learning. In International Conference on Learning Representations (ICLR), 2019.
|
| 183 |
+
|
| 184 |
+
Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv preprint arXiv:1412.3555, 2014.
|
| 185 |
+
|
| 186 |
+
Peter Dayan. Improving generalization for temporal difference learning: The successor representation. Neural Computation, 5(4):613–624, 1993.
|
| 187 |
+
|
| 188 |
+
Jakob N Foerster, Gregory Farquhar, Triantafyllos Afouras, Nantas Nardelli, and Shimon Whiteson. Counterfactual multi-agent policy gradients. In Thirty-second AAAI conference on artificial intelligence, 2018.
|
| 189 |
+
|
| 190 |
+
Meire Fortunato, Mohammad Gheshlaghi Azar, Bilal Piot, Jacob Menick, Matteo Hessel, Ian Osband, Alex Graves, Volodymyr Mnih, Remi Munos, Demis Hassabis, Olivier Pietquin, Charles Blundell, and Shane Legg. Noisy networks for exploration. In International Conference on Learning Representations (ICLR), 2018. URL https://openreview.net/forum?id= rywHCPkAW.
|
| 191 |
+
|
| 192 |
+
Yarin Gal, Jiri Hron, and Alex Kendall. Concrete dropout. In Advances in Neural Information Processing Systems (NIPS), pp. 3584–3593, 2017.
|
| 193 |
+
|
| 194 |
+
Carlos Guestrin, Michail Lagoudakis, and Ronald Parr. Coordinated reinforcement learning. In ICML, volume 2, pp. 227–234. Citeseer, 2002.
|
| 195 |
+
|
| 196 |
+
Tarun Gupta, Akshat Kumar, and Praveen Paruchuri. Successor features based multi-agent rl for event-based decentralized mdps. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 6054–6061, 2019.
|
| 197 |
+
|
| 198 |
+
Steven Hansen, Will Dabney, Andre Barreto, Tom Van de Wiele, David Warde-Farley, and Volodymyr Mnih. Fast task inference with variational intrinsic successor features. arXiv preprint arXiv:1906.05030, 2019.
|
| 199 |
+
|
| 200 |
+
Natasha Jaques, Angeliki Lazaridou, Edward Hughes, C¸ aglar Gulc¸ehre, Pedro A. Ortega, ¨ DJ Strouse, Joel Z. Leibo, and Nando de Freitas. Intrinsic social motivation via causal influence in multi-agent RL. CoRR, abs/1810.08647, 2018. URL https://arxiv.org/abs/ 1810.08647.
|
| 201 |
+
|
| 202 |
+
Landon Kraemer and Bikramjit Banerjee. Multi-agent reinforcement learning as a rehearsal for decentralized planning. Neurocomputing, 190:82–94, 2016.
|
| 203 |
+
|
| 204 |
+
Tejas D Kulkarni, Ardavan Saeedi, Simanta Gautam, and Samuel J Gershman. Deep successor reinforcement learning. arXiv preprint arXiv:1606.02396, 2016.
|
| 205 |
+
|
| 206 |
+
Donghun Lee, Srivatsan Srinivasan, and Finale Doshi-Velez. Truly batch apprenticeship learning with deep successor features. arXiv preprint arXiv:1903.10077, 2019.
|
| 207 |
+
|
| 208 |
+
Lucas Lehnert and Michael L Littman. Successor features support model-based and model-free reinforcement learning. CoRR abs/1901.11437, 2019.
|
| 209 |
+
|
| 210 |
+
Lucas Lehnert, Stefanie Tellex, and Michael L Littman. Advantages and limitations of using successor features for transfer in reinforcement learning. arXiv preprint arXiv:1708.00102, 2017.
|
| 211 |
+
|
| 212 |
+
Joel Z. Leibo, Edward Hughes, Marc Lanctot, and Thore Graepel. Autocurricula and the emergence of innovation from social interaction: A manifesto for multi-agent intelligence research. CoRR, abs/1903.00742, 2019. URL http://arxiv.org/abs/1903.00742.
|
| 213 |
+
|
| 214 |
+
Long-Ji Lin. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine Learning, 8(3):293–321, 1992.
|
| 215 |
+
|
| 216 |
+
Anuj Mahajan, Tabish Rashid, Mikayel Samvelyan, and Shimon Whiteson. Maven: Multi-agent variational exploration. In Advances in Neural Information Processing Systems, pp. 7613–7624, 2019.
|
| 217 |
+
|
| 218 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
|
| 219 |
+
|
| 220 |
+
Brendan O’Donoghue, Ian Osband, Remi Munos, and Volodymyr Mnih. The uncertainty Bell- ´ man equation and exploration. In Proceedings of the 35th International Conference on Machine Learning (ICML), pp. 3836–3845, 2018. URL http://proceedings.mlr.press/v80/ o-donoghue18a.html.
|
| 221 |
+
|
| 222 |
+
Frans A Oliehoek, Christopher Amato, et al. A concise introduction to decentralized POMDPs, volume 1. Springer, 2016.
|
| 223 |
+
|
| 224 |
+
Afshin OroojlooyJadid and Davood Hajinezhad. A review of cooperative multi-agent deep reinforcement learning. arXiv preprint arXiv:1908.03963, 2019.
|
| 225 |
+
|
| 226 |
+
Ian Osband, Benjamin Van Roy, and Zheng Wen. Generalization and exploration via randomized value functions. In Proceedings of the 33rd International Conference on International Conference on Machine Learning (ICML), pp. 2377–2386, 2016.
|
| 227 |
+
|
| 228 |
+
Liviu Panait, Sean Luke, and R Paul Wiegand. Biasing coevolutionary search for optimal multiagent behaviors. IEEE Transactions on Evolutionary Computation, 10(6):629–645, 2006.
|
| 229 |
+
|
| 230 |
+
Deepak Pathak, Pulkit Agrawal, Alexei A. Efros, and Trevor Darrell. Curiosity-driven exploration by self-supervised prediction. In Proceedings of the 34th International Conference on Machine Learning (ICML), 2017.
|
| 231 |
+
|
| 232 |
+
Tabish Rashid, Gregory Farquhar, Bei Peng, and Shimon Whiteson. Weighted qmix: Expanding monotonic value function factorisation. arXiv preprint arXiv:2006.10800, 2020a.
|
| 233 |
+
|
| 234 |
+
Tabish Rashid, Mikayel Samvelyan, Christian Schroeder De Witt, Gregory Farquhar, Jakob Foerster, and Shimon Whiteson. Monotonic value function factorisation for deep multi-agent reinforcement learning. arXiv preprint arXiv:2003.08839, 2020b.
|
| 235 |
+
|
| 236 |
+
Melrose Roderick, Christopher Grimm, and Stefanie Tellex. Deep abstract Q-networks. In Proceedings of the 17th International Conference on Autonomous Agents and MultiAgent Systems (AAMAS), pp. 131–138, 2018.
|
| 237 |
+
|
| 238 |
+
Mikayel Samvelyan, Tabish Rashid, Christian Schroeder de Witt, Gregory Farquhar, Nantas Nardelli, Tim GJ Rudner, Chia-Man Hung, Philip HS Torr, Jakob Foerster, and Shimon Whiteson. The starcraft multi-agent challenge. arXiv preprint arXiv:1902.04043, 2019.
|
| 239 |
+
|
| 240 |
+
Tom Schaul, Daniel Horgan, Karol Gregor, and David Silver. Universal value function approximators. In International conference on machine learning, pp. 1312–1320, 2015.
|
| 241 |
+
|
| 242 |
+
Kyunghwan Son, Daewoo Kim, Wan Ju Kang, David Earl Hostallero, and Yung Yi. Qtran: Learning to factorize with transformation for cooperative multi-agent reinforcement learning. arXiv preprint arXiv:1905.05408, 2019.
|
| 243 |
+
|
| 244 |
+
Kyunghwan Son, Sungsoo Ahn, Roben Delos Reyes, Jinwoo Shin, and Yung Yi. Qtran++: Improved value transformation for cooperative multi-agent reinforcement learning, 2020.
|
| 245 |
+
|
| 246 |
+
Peter Sunehag, Guy Lever, Audrunas Gruslys, Wojciech Marian Czarnecki, Vinicius Zambaldi, Max Jaderberg, Marc Lanctot, Nicolas Sonnerat, Joel Z Leibo, Karl Tuyls, et al. Value-decomposition networks for cooperative multi-agent learning. arXiv preprint arXiv:1706.05296, 2017.
|
| 247 |
+
|
| 248 |
+
Ming Tan. Multi-agent reinforcement learning: Independent vs. cooperative agents. In Proceedings of the tenth international conference on machine learning, pp. 330–337, 1993.
|
| 249 |
+
|
| 250 |
+
Haoran Tang, Rein Houthooft, Davis Foote, Adam Stooke, OpenAI Xi Chen, Yan Duan, John Schulman, Filip DeTurck, and Pieter Abbeel. #Exploration: A study of count-based exploration for deep reinforcement learning. In Advances in Neural Information Processing Systems (NIPS) 30, pp. 2753–2762. 2017.
|
| 251 |
+
|
| 252 |
+
Hado van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double qlearning. In Proceedings of the 13th AAAI Conference on Artificial Intelligence, pp. 2094–2100, 2016. URL https://arxiv.org/pdf/1509.06461.pdf.
|
| 253 |
+
|
| 254 |
+
Jianhao Wang, Zhizhou Ren, Terry Liu, Yang Yu, and Chongjie Zhang. Qplex: Duplex dueling multi-agent q-learning. arXiv preprint arXiv:2008.01062, 2020a.
|
| 255 |
+
|
| 256 |
+
Tonghan Wang, Jianhao Wang, Yi Wu, and Chongjie Zhang. Influence-based multi-agent exploration. In International Conference on Learning Representations, 2020b. URL https: //openreview.net/forum?id ${ . } = { }$ BJgy96EYvr.
|
| 257 |
+
|
| 258 |
+
Ziyu Wang, Tom Schaul, Matteo Hessel, Hado Hasselt, Marc Lanctot, and Nando Freitas. Dueling network architectures for deep reinforcement learning. In International conference on machine learning, pp. 1995–2003, 2016.
|
| 259 |
+
|
| 260 |
+
Ermo Wei, Drew Wicke, David Freelan, and Sean Luke. Multiagent soft q-learning. arXiv preprint arXiv:1804.09817, 2018.
|
| 261 |
+
|
| 262 |
+
Stephan Zheng and Yisong Yue. Structured exploration via hierarchical variational policy networks, 2018. URL https://openreview.net/forum?id $=$ HyunpgbR-.
|
| 263 |
+
|
| 264 |
+
Yuke Zhu, Daniel Gordon, Eric Kolve, Dieter Fox, Li Fei-Fei, Abhinav Gupta, Roozbeh Mottaghi, and Ali Farhadi. Visual semantic planning using deep successor representations. In Proceedings of the IEEE international conference on computer vision, pp. 483–492, 2017.
|
| 265 |
+
|
| 266 |
+
# A TRAINING ALGORITHM
|
| 267 |
+
|
| 268 |
+
Algorithm 1 presents the training of MAUSFs with UneVEn. Our method is able to learn on all tasks (target $\pmb { w }$ and sampled $_ z$ ) simultaneously in a sample efficient manner using the same feature $\phi _ { t } \equiv \phi ( s _ { t } , { \boldsymbol { u } } _ { t } )$ due to the linearly decomposed reward function (Equation 1).
|
| 269 |
+
|
| 270 |
+
# Algorithm 1 Training MAUSFs with UneVEn
|
| 271 |
+
|
| 272 |
+
Require: , $\alpha$ , $\beta$ target task $\textbf { \em w }$ , set of agents $\mathcal { A }$ , standard deviation $\sigma$
|
| 273 |
+
|
| 274 |
+
1: procedure TRAIN:
|
| 275 |
+
2: Initialize the local-agent SF network $\psi ^ { a } ( \tau ^ { a } , u ^ { a } , z ; \theta )$ and replay buffer $\mathcal { M }$
|
| 276 |
+
3: for fixed number of epochs do
|
| 277 |
+
4: $\boldsymbol \nu \sim \mathcal { N } ( \boldsymbol { \boldsymbol w } , \sigma \mathbf { I } _ { d } )$ ; ${ \pmb { o } } _ { 0 } \gets \mathrm { R E S E T E N V } ( )$ $\ u \ u \ash \pmb \sigma _ { t } \equiv \{ o _ { t } ^ { a } \} _ { a \in \mathcal { A } }$
|
| 278 |
+
5: $t = 0 \mathrm { ; } \quad \mathcal { M } \gets \mathrm { N E W E P I S O D E } ( \mathcal { M } , \nu , \pmb { \sigma } _ { 0 } )$
|
| 279 |
+
6: while not terminated do
|
| 280 |
+
7: if Bernoull $( \epsilon ) { = } 1$ then $\mathbf { \delta } u _ { t } \gets \mathrm { U n i f o r m } ( \mathcal { U } )$
|
| 281 |
+
8: else ${ \mathbf { \delta u } } _ { t } \gets \mathrm { U N E V E N } ( \tau _ { t } , \nu )$
|
| 282 |
+
9: $\langle o _ { t + 1 } , \phi _ { t } \rangle \gets \mathrm { E N V S T E P } ( u _ { t } )$
|
| 283 |
+
10: $\begin{array} { r l } & { \mathcal { M } \mathrm { A D D T R A N S I T I O N } ( \mathcal { M } , \boldsymbol { u } _ { t } , o _ { t + 1 } , \phi _ { t } ) } \\ & { t t + 1 } \end{array}$
|
| 284 |
+
11:
|
| 285 |
+
12: $\begin{array} { r } { \begin{array} { r l } { \mathcal { L } \gets 0 ; } & { { } \mathcal { B } \gets \mathrm { S A M P L E M I N I B A T C H } ( \mathcal { M } ) } \end{array} } \end{array}$
|
| 286 |
+
13: foreach $\left\{ \tau _ { t } , \boldsymbol { u } _ { t } , \phi _ { t } , \tau _ { t + 1 } , \nu \right\} \in \mathcal { B }$ do
|
| 287 |
+
14: foreach $z \in \nu \cup \{ w \}$ do
|
| 288 |
+
15: $\begin{array} { r l } & { u _ { z } ^ { \prime } \gets \{ \underset { u \in \mathcal { U } } { \mathrm { a r g } \operatorname* { m a x } } \psi ^ { a } ( \tau _ { t + 1 } ^ { a } , u , z ; \theta ) ^ { \top } z \} _ { a \in A } } \\ & { \mathcal { L } \gets \mathcal { L } + \left\| \phi _ { t } + \gamma \psi _ { t o t } ( \tau _ { t + 1 } , u _ { z } ^ { \prime } , z ; \theta ^ { - } ) - \psi _ { t o t } ( \tau _ { t } , u _ { t } , z ; \theta ) \right\| _ { 2 } ^ { 2 } } \\ & { \theta \gets \mathrm { O P T I M I Z E } ( \theta , \nabla _ { \theta } \mathcal { L } ) } \\ & { \theta ^ { - } \gets ( 1 - \beta ) \theta ^ { - } + \beta \theta } \end{array}$
|
| 289 |
+
16:
|
| 290 |
+
17:
|
| 291 |
+
18:
|
| 292 |
+
19: procedure $\operatorname { U N E V E N } ( \tau _ { t } , \nu )$ :
|
| 293 |
+
20: if Bernoulli $( \alpha ) = 1$ or Scheme is Target then
|
| 294 |
+
21: $\mathcal { C } _ { 2 } \gets \{ w \}$
|
| 295 |
+
22: else
|
| 296 |
+
23: if Scheme is Uniform then
|
| 297 |
+
24: $\mathcal { C } _ { 2 } \nu \sim \mathrm { U n i f o r m } ( \nu )$
|
| 298 |
+
25: else if Scheme is Greedy then
|
| 299 |
+
26: $\mathcal { C } _ { 2 } \nu \cup \{ w \}$
|
| 300 |
+
27: if Use GPI Policy is True then
|
| 301 |
+
28: $\begin{array} { r l } & { \mathcal { C } _ { 1 } \gets \nu \cup \{ \pmb { w } \} } \\ & { \mathbf { \ } u _ { t } \gets \{ u _ { t } ^ { a } = \arg \operatorname* { m a x } \underset { \mathbf { \substack { u \in \mathcal { U } } } } { \operatorname* { m a x } } \underset { \mathbf { \substack { k \in \mathcal { C } _ { 2 } \ : z \in \mathcal { C } _ { 1 } } } } { \operatorname* { m a x } } \psi ^ { a } ( \tau _ { t } ^ { a } , u , z ; \theta ) ^ { \top } \mathbf { k } \} _ { a \in \mathcal { A } } } \end{array}$
|
| 302 |
+
29:
|
| 303 |
+
30: else
|
| 304 |
+
31: $\begin{array} { r l } & { \mathbf { \delta } \mathbf { \psi } _ { \mathbf { { u } } _ { t } } \gets \{ u _ { t } ^ { a } = \arg \operatorname* { m a x } _ { \mathbf { \theta } _ { u \in \mathcal { U } } } \operatorname* { m a x } _ { \mathbf { \theta } _ { k \in \mathcal { C } _ { 2 } } } \psi ^ { a } ( \tau _ { t } ^ { a } , u , k ; \theta ) ^ { \top } k \} _ { a \in \mathcal { A } } } \\ & { \mathbf { u r n } \ : u _ { t } } \end{array}$
|
| 305 |
+
ret
|
| 306 |
+
|
| 307 |
+
# B EXPERIMENTAL DOMAIN DETAILS AND ANALYSIS
|
| 308 |
+
|
| 309 |
+
We consider a complicated partially observable predator-prey (PP) task in an $1 0 \times 1 0$ grid involving eight agents (predators) and three preys that is designed to test coordination between agents, as each prey needs a simultaneous capture action by at least three surrounding agents to be captured. Each agent can take 6 actions i.e. move in one of the 4 directions (Up, Left, Down, Right), remain still (no-op), or try to catch (capture) any adjacent prey. The prey moves around in the grid with a probability of 0.7 and remains still at its position with probability 0.3. Impossible actions for both agents and prey are marked unavailable, for eg. moving into an occupied cell or trying to take a capture action with no adjacent prey.
|
| 310 |
+
|
| 311 |
+
A1-Capture
|
| 312 |
+
|
| 313 |
+
<table><tr><td></td><td>A2-Capture</td><td>A2-Other</td></tr><tr><td>A3-Capture</td><td>+1</td><td>-p</td></tr><tr><td>A3-Other</td><td>-p</td><td>-p</td></tr></table>
|
| 314 |
+
|
| 315 |
+
A1-Other
|
| 316 |
+
Table 1: Joint-Reward function of three agents surrounding a prey. The first table indicates jointrewards when Agent 1 takes capture action and second table indicates joint-rewards when Agent 1 takes any other action. Notice that there are numerous joint actions leading to penalty $p$ .
|
| 317 |
+
|
| 318 |
+
<table><tr><td></td><td>A2-Capture</td><td>A2-Other</td></tr><tr><td>A3-Capture</td><td>-p</td><td>-p</td></tr><tr><td>A3-Other</td><td>-p</td><td>0</td></tr></table>
|
| 319 |
+
|
| 320 |
+
If either a single or a pair of agents take a capture action on an adjacent prey, a negative reward of magnitude $p$ is given. If three or more agents take the capture action on an adjacent prey, it leads to a successful capture of that prey and yield a positive reward of $+ 1$ . The maximum possible reward for capturing all preys is therefore $+ 3$ . Each agent observes a $5 \times 5$ grid centered around its position which contains information showing other agents and preys relative to its position. An episode ends if all preys have been captured or after 800 time steps. This task is similar to one proposed by Bohmer et al. (2020); Son et al. (2019), but significantly more complex in terms of the coordination ¨ required amongst agents as more agents need to coordinate simultaneously to capture the preys. We now prove Proposition 1 which states that:
|
| 321 |
+
|
| 322 |
+
Proposition. For, the predator-prey game defined above, the optimal joint action reward function for any group of $2 \leq k \leq n$ predator agents surrounding a prey is nonmonotonic (as defined by Mahajan et al., 2019) iff $p > 0$ .
|
| 323 |
+
|
| 324 |
+
Proof. Without loss of generality, we assume a single prey surrounded by three agents $( A _ { 1 } , A _ { 2 } , A _ { 3 } )$ in the environment. The joint reward function for this group of three agents is defined in Table 1.
|
| 325 |
+
|
| 326 |
+
For the case $ { p } \mathrm { ~ ~ { ~ > ~ } ~ } 0$ the proposition can be easily verified using the definition of nonmonotonicity (Mahajan et al., 2019). For any $3 \leq k \leq n$ agents attempting to catch a prey in state $s$ , we fix the actions of any $k - 3$ agents to be “other” indicating either of up, down, left, right, and noop actions and represent it with $\mathbf { \Delta } u ^ { k - 3 }$ . Next we consider the rewards $r$ for two cases:
|
| 327 |
+
|
| 328 |
+
• If we fix the action of any two of the remaining three agents as “other” represented as $\mathbf { \Delta } _ { \mathbf { \ b { u } } ^ { 2 } }$ , the action of the remaining agent becomes $\begin{array} { r } { \bar { u ^ { 1 } } = \mathrm { a r g } \operatorname* { m a x } _ { u \in \mathcal { U } } r ( s , \langle u , u ^ { \hat { 2 } } , u ^ { k - 3 } \rangle ) = } \end{array}$ “other”.
|
| 329 |
+
• If we fix the $\mathbf { \Delta } \mathbf { u } ^ { 2 }$ to be “capture”, we have : $u _ { 1 } \ = \ \arg \operatorname* { m a x } _ { u \in \mathcal { U } } r ( s , \langle u , u ^ { 2 } , u ^ { k - 3 } \rangle ) \ =$ “capture”.
|
| 330 |
+
|
| 331 |
+
Thus the best action for agent $A _ { 1 }$ in state $s$ depends on the actions taken by the other agents and the rewards $R ( s )$ are non-monotonic. Finally for the equivalence, we note that for the case $p = 0$ we have that a default action of “capture” is always optimal for any group of $k$ predators surrounding the prey. Thus the rewards are monotonic as the best action for any agent is independent of the rest. □
|
| 332 |
+
|
| 333 |
+
# C IMPLEMENTATION DETAILS
|
| 334 |
+
|
| 335 |
+
# C.1 HYPER PARAMETERS
|
| 336 |
+
|
| 337 |
+
All algorithms are implemented in the PyMARL framework (Samvelyan et al., 2019). All our experiments use $\epsilon$ -greedy scheme where $\epsilon$ is decayed from $\epsilon = 1$ to $\epsilon = 0 . 0 5$ over $2 5 0 k$ time steps. All our tasks use a discount factor of $\gamma = 0 . 9 9$ . We freeze the trained policy every $3 0 k$ timesteps and run 20 evaluation episodes with $\epsilon = 0$ . We use learning rate of 0.0005 with soft target updates for all experiments. We use a target network similar to Mnih et al. (2015) with “soft” target updates, rather than directly copying the weights: $\theta ^ { - } \beta * \theta + ( 1 - \beta ) * \theta ^ { - }$ , where $\theta$ are the current network parameters. We use $\beta = 0 . 0 0 5$ for all experiments. This means that the target values are constrained to change slowly, greatly improving the stability of learning. All algorithms were trained with RMSprop optimizer by one gradient step on loss computed on a batch of 32 episodes sampled from a replay buffer containing last 1000 episodes. We also used gradient clipping to restrict the norm of the gradient to be $\leq 1 0$ .
|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
Figure 8: Additional Ablation results: Comparison between different action selection of UneVEn for $p \in$ $\{ 0 . 0 0 4 , 0 . 0 0 8 \}$ .
|
| 341 |
+
|
| 342 |
+

|
| 343 |
+
Figure 9: Additional Zero-shot generalization results for $p \in \{ 0 . 2 , 0 . 3 , 0 . 5 , 1 . 0 \}$ .
|
| 344 |
+
|
| 345 |
+
The probability $\alpha$ of action selection based on target task in UneVEn with uniform and greedy action selection schemes increases from $\alpha = 0 . 3$ to $\alpha = 1 . 0$ over $2 5 0 k$ time steps. For sampling related tasks using normal distribution, we use $\mathcal { N } ( \pmb { w } , \sigma \mathbf { I } _ { d } )$ centered around target task $\pmb { w }$ with $\sigma \in$ $\{ 0 . 1 , 0 . 2 \}$ . At the beginning of each episode, we sample six related tasks, therefore $| \nu | = 6$ .
|
| 346 |
+
|
| 347 |
+
# C.2 NN ARCHITECTURE
|
| 348 |
+
|
| 349 |
+
Each agent’s local observation $o _ { t } ^ { a }$ are concatenated with agent’s last action $u _ { t - 1 } ^ { a }$ , and then passed through a fully-connected (FC) layers of 128 neurons, followed by ReLU activation, a GRU (Chung et al., 2014), and another FC of the same dimensionality to generate a action-observation history summary for the agent. Each agent’s task vector $z \in \mathcal { \dot { \nu } } \cup \{ w \}$ is passed through a FC layer of 128 neurons followed by ReLU activation to generate an internal task embedding. The history and task embedding are concatenated together and passed through two hidden FC-256 layers and ReLU activations to generate the outputs for each action. For methods with non-linear mixing such as QMIX (Rashid et al., 2020b), WQMIX (Rashid et al., 2020a), and MAVEN (Mahajan et al., 2019), we adopt the same hypernetworks from the original paper and test with either a single or double hypernet layers of $\mathrm { d i m 6 4 }$ utilizing an ELU non-linearity. For all baseline methods, we use the code shared publicly by the corresponding authors on Github.
|
| 350 |
+
|
| 351 |
+
# D ADDITIONAL RESULTS
|
| 352 |
+
|
| 353 |
+
Figure 8 presents additional ablation results for comparison between UneVEn with different action selection schemes for $p \in \{ 0 . 0 0 4 , 0 . 0 0 8 \}$ . Figure 9 presents additional zero-shot generalization results for policies trained on target task with penalty $p = 0 . 0 0 4$ tested on tasks with penalty $p \in \{ 0 . 2 , 0 . 3 , 0 . 5 , 1 . 0 \}$ . For UneVEn-Greedy-GPI, we can observe that the average number of miscoordinated capture attempts per episode actually drops with $p$ and converges around 1.5, i.e., for return $R _ { p }$ , average mistakes per episode is $\begin{array} { r } { \frac { 3 - R _ { p } } { p } = \{ 2 . 3 , 2 . 1 , 1 . 5 , 1 . 6 \} } \end{array}$ for $p \in \{ 0 . 2 , 0 . 3 , 0 . 5 , 1 . 0 \}$ .
|
| 354 |
+
|
| 355 |
+

|
| 356 |
+
Figure 10: $m$ -step matrix game from Mahajan et al. (2019) for $m = 1 0$ . The red cross means that selecting that joint action will lead to termination of the episode.
|
| 357 |
+
|
| 358 |
+
# E $m$ -STEP MATRIX GAMES
|
| 359 |
+
|
| 360 |
+
Figure 10 shows the $m$ -step matrix game for $m = 1 0$ from Mahajan et al. (2019), where there are $m - 2$ intermediate steps, and selecting a joint-action with zero reward leads to termination of the episode.
|
parse/train/0z1HScLBEpb/0z1HScLBEpb_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/0z1HScLBEpb/0z1HScLBEpb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/0z1HScLBEpb/0z1HScLBEpb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJlzm64tDH/BJlzm64tDH.md
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PRETRAINED ENCYCLOPEDIA: WEAKLY SUPERVISED KNOWLEDGE-PRETRAINED LANGUAGE MODEL
|
| 2 |
+
|
| 3 |
+
Wenhan Xiong†, Jingfei $\mathbf { D } \mathbf { u } ^ { \mathrm { S } }$ , William Yang Wang†, Veselin Stoyanov§,
|
| 4 |
+
|
| 5 |
+
† University of California, Santa Barbara § Facebook AI {xwhan, william}@cs.ucsb.edu, {jingfeidu, ves}@fb.com
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
Recent breakthroughs of pretrained language models have shown the effectiveness of self-supervised learning for a wide range of natural language processing (NLP) tasks. In addition to standard syntactic and semantic NLP tasks, pretrained models achieve strong improvements on tasks that involve real-world knowledge, suggesting that large-scale language modeling could be an implicit method to capture knowledge. In this work, we further investigate the extent to which pretrained models such as BERT capture knowledge using a zero-shot fact completion task. Moreover, we propose a simple yet effective weakly supervised pretraining objective, which explicitly forces the model to incorporate knowledge about real-world entities. Models trained with our new objective yield significant improvements on the fact completion task. When applied to downstream tasks, our model consistently outperforms BERT on four entity-related question answering datasets (i.e., WebQuestions, TriviaQA, SearchQA and Quasar-T) with an average $2 . 7 \ \mathrm { F 1 }$ improvements and a standard fine-grained entity typing dataset (i.e., FIGER) with 5.7 accuracy gains.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Language models pretrained on a large amount of text such as ELMo (Peters et al., 2018a)), BERT (Devlin et al., 2019) and XLNet (Yang et al., 2019c) have established new state of the art on a wide variety of NLP tasks. Researchers ascertain that pretraining allows models to learn syntactic and semantic information of language that is then transferred on other tasks (Peters et al., 2018b; Clark et al., 2019). Interestingly, pretrained models also perform well on tasks that require grounding language and reasoning about the real world. For instance, the new state-of-the-art for WNLI (Wang et al., 2019a), ReCoRD (Zhang et al., 2018) and SWAG (Zellers et al., 2018) is achieved by pretrained models. These tasks are carefully designed so that the text input alone does not convey the complete information for accurate predictions – external knowledge is required to fill the gap. These results suggest that large-scale pretrained models implicitly capture real-world knowledge. Logan et al. (2019) and Petroni et al. (2019) further validate this hypothesis through a zero-shot fact completion task that involves single-token entities, showing that pretrained models achieve much better performance than random guessing and can be on par with specifically-trained relation extraction models.
|
| 14 |
+
|
| 15 |
+
As unstructured text encodes a great deal of information about the world, large-scale pretraining over text data holds the promise of simultaneously learning syntax, semantics and connecting them with knowledge about the real world within a single model. However, existing pretraining objectives are usually defined at the token level and do not explicitly model entity-centric knowledge. In this work, we investigate whether we can further enforce pretrained models to focus on encyclopedic knowledge about real-world entities, so that they can better capture entity information from natural language and be applied to improving entity-related NLP tasks. We evaluate the extent to which a pretrained model represents such knowledge by extending an existing fact completion evaluation to a cloze ranking setting that allows us to deal with a large number of multi-token entity names without manual judgments. Our experiments on 10 common Wikidata (Vrandeciˇ c & Kr ´ otzsch, 2014) ¨ relations reveal that existing pretrained models encode entity-level knowledge only to a limited degree. Thus, we propose a new weakly supervised knowledge learning objective that requires the model to distinguish between true and false knowledge expressed in natural language. Specifically, we replace entity mentions in the original documents with names of other entities of the same type and train the models to distinguish the correct entity mention from randomly chosen ones. Models trained with this objective demonstrates much stronger fact completion performance for most relations we test on. Compared with previous work (Zhang et al., 2019; Peters et al., 2019) that utilizes an external knowledge base to incorporate entity knowledge, our method is able to directly derive real-world knowledge from unstructured text. Moreover, our method requires no additional data processing, memory or modifications to the BERT model when fine-tuning for downstream tasks.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: Type-Constrained Entity Replacements for Knowledge Learning.
|
| 19 |
+
|
| 20 |
+
We test our model on two practical NLP problems that require entity knowledge: Question Answering (QA) and fine-grained Entity Typing. We use four previously published datasets for open-domain QA and observe that questions in these datasets often concern entities. The Entity Typing task requires the model to recognize fine-grained types of specified entity mentions given short contexts. On three of the QA datasets, our pretrained model outperforms all previous methods that do not rely on memory-consuming inter-passage normalizations1. On the FIGER entity-typing dataset, our model sets a new state of the art. Through ablation analysis, we show that the new entity-centric training objective is instrumental for achieving state-of-the-art results.
|
| 21 |
+
|
| 22 |
+
In summary, this paper makes the following contributions: 1) We extend existing fact completion evaluation settings to test pretrained models’ ability on encoding knowledge of common real-world entities; 2) We propose a new weakly supervised pretraining method which results in models that better capture knowledge about real-world entities from natural language text; 3) The model trained with our knowledge learning objective establishes new state of the art on three entity-related QA datasets and a standard fine-grained entity typing dataset.
|
| 23 |
+
|
| 24 |
+
We begin by introducing our weakly supervised method for knowledge learning (§2) and then discuss experiment settings and evaluation protocols, compare our model to previously published work and perform ablation analysis. Finally, we review related work in §4 and conclude in §5.
|
| 25 |
+
|
| 26 |
+
# 2 ENTITY REPLACEMENT TRAINING
|
| 27 |
+
|
| 28 |
+
We design an entity-centric training objective that utilizes weakly supervised training signals to explicitly encourage knowledge learning during pretraining. Given an input document, we first recognize the entity mentions and link them to Wikipedia entities2. We consider the original texts as positive knowledge statements and create negative statements by randomly replacing the entity mentions $( { \mathcal { E } } ^ { + } )$ with the names of other random entities $( { \mathcal { E } } ^ { - } )$ that have the same entity type as the mentioned entity. This setup is similar in spirit to the type-constrained negative sampling technique used to train knowledge base representations (Bordes et al., 2013). The latter technique creates negative triples by replacing the subject or object entity with random entities of the same type. Instead of knowledge base triples, we treat unstructured texts as factual statements. For a certain entity $e$ mentioned in a context $\mathcal { C }$ , we train the model to make a binary prediction indicating whether the entity has been replaced:
|
| 29 |
+
|
| 30 |
+
$$
|
| 31 |
+
J _ { e , \mathcal { C } } = \mathbb { 1 } _ { e \in \mathcal { E } ^ { + } } \log P ( e | \mathcal { C } ) + ( 1 - \mathbb { 1 } _ { e \in \mathcal { E } ^ { + } } ) \log ( 1 - P ( e | \mathcal { C } ) ) .
|
| 32 |
+
$$
|
| 33 |
+
|
| 34 |
+
Compared to the language modeling objective, entity replacement is defined at the entity level and introduces stronger negative signals. When we enforce entities to be of the same type, we preserve the linguistic correctness of the original sentence while the system needs to learn to perform judgment based on the factual aspect of the sentence.
|
| 35 |
+
|
| 36 |
+
We describe the implementation in more detail in the following paragraphs.
|
| 37 |
+
|
| 38 |
+
Data Preparation We use the whole English Wikipedia dump as training data and rely on all Wikipedia entities3. Entities in documents are recognized based on Wikipedia anchor links and entity alias from Wikidata. That is, we first retrieve the entities annotated by anchor links and then find other mentions of these entities by string matching their Wikidata alias. We split each document into multiple text chunks with the same size (512 tokens). Although our experiments rely on the Wikipedia corpus, this setup can be easily extended to larger corpora with off-the-shelf entity linking tools. We leave the larger scope of the experiments to future work.
|
| 39 |
+
|
| 40 |
+
Replacement Strategy When replacing entities, we first lookup type information4 from Wikidata and then randomly select other entities with the same type. We do not replace adjacent entities. In other words, there must be at least one unreplaced entity between any two replaced ones. This reduces cases where we replace all entities in the same sentence and the resulting sentences happen to introduce correct entities by chance. For replacement, we randomly sample a string from the entities’ alias set. For each text chunk, we replicate it 10 times with different negative entities for each replacement location. We show an illustration of the entity replacement method in Figure 1.
|
| 41 |
+
|
| 42 |
+
Model Architecture We use the Transformer (Vaswani et al., 2017) model used by BERT (Devlin et al., 2019). We use the same architecture as BERT base: 12 Transformer layers, each with hidden dimension 768. We initialize the transformer with a model pretrained based on our own BERT reimplementations5. For each entity, we use the final representations of its boundary words (words before and after the entity mention) to make predictions. We simply concatenate the boundary words’ representations and add a linear layer for prediction. During training, we use 0.05 dropout at the final layer.
|
| 43 |
+
|
| 44 |
+
Training Objectives Masked language model pretraining has been proven to be effective for downstream tasks. While training for entity replacement we also train with the masked language model objective in a multi-task set-up. When masking tokens, we restrict the masks to be outside the entity spans. We use a masking ratio of $5 \%$ instead of $1 5 \%$ in the original BERT to avoid masking out too much of the context. We train the model for approximately 1 million updates using a batch size of 128.
|
| 45 |
+
|
| 46 |
+
# 3 EXPERIMENTS
|
| 47 |
+
|
| 48 |
+
We first test our model on a fact completion task. This task resembles traditional knowledge base completion: it requires the model to complete missing entities in factual triples. We further test on two real-world downstream tasks that require entity-level knowledge – question answering and fine-grained entity typing. We describe the hyperparameter and training settings of all experiments in the appendix.
|
| 49 |
+
|
| 50 |
+
# 3.1 ZERO-SHOT FACT COMPLETION
|
| 51 |
+
|
| 52 |
+
In traditional knowledge base completion tasks models have access to a set of training triples. Instead, we utilize a zero-shot test to examine the model’s ability to automatically derive relational knowledge from natural language.
|
| 53 |
+
|
| 54 |
+
Dataset We rely on factual triples from Wikidata. Each triple describes the relationship between two certain entities, e.g., {Paris, CapitalOf, France $\}$ . Following recent practices (Bosselut et al., 2019; Logan et al., 2019) that decode structured knowledge from language models, we first manually create templates to convert triples of 10 common relations into natural language expressions ({Paris, CapitalOf, France $\} $ the capital of France is Paris). We then create queries by removing the object entity in the expression and use pre-trained models to predict the missing entities, e.g., the capital of France is ?. We create 1000 cloze examples6 for each of the 10 relations.
|
| 55 |
+
|
| 56 |
+
Evaluation Metrics Previous work (Logan et al., 2019; Petroni et al., 2019) either relies on human evaluation or only considers single-token entities for fact completion. In contrast, we consider an entity-ranking setup and create a set of candidate entities for each relation. This setting allows us to automatically evaluate a large number of queries that usually involve multi-token entities. We test pretrained models on their ability to recover the correct object entity from the candidate set. To create the negative choices, we select from the set of all object entities in the particular relation, which generally have the same type as the groundtruth and are more challenging to distinguish than entities with different types. Our evaluation strategy is similar to previous work on knowledge base completion (Nickel et al., 2011; Bordes et al., 2013; Xiong et al., 2017). We follow these studies and use Hits $@ 1 0$ as the evaluation metric.
|
| 57 |
+
|
| 58 |
+
Baselines We compare our model with two pretrained language models BERT (Devlin et al., 2019) (both base and large) and GPT-2 (Radford et al., 2019). We make use of their output token probabilities to rank candidate entities. For BERT, we feed in the masked queries (e.g., $Q _ { m a s k e d } = \pm \mathrm { h e }$ capital of France is [MASK]). For multi-token candidates, we use the same number of [MASK] tokens in the query inputs. We use the average log probability of masked tokens for ranking. Given a multi-token entity $E _ { i } = [ e _ { i } ^ { 1 } , e _ { i } ^ { 2 } , . . . , e _ { i } ^ { | E _ { i } | } ]$ e|Ei|i ], the ranking score from BERT is calculated as
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
S _ { E _ { i } } = \frac { 1 } { | E _ { i } | } \sum _ { k } \log P ( e _ { i } ^ { k } | Q _ { m a s k e d } ) .
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
For GPT-2, we feed in the original query without the answer entity and use the first-token probability of candidate entities for ranking, which performs better than using average log probabilities. As our model learns to predict a plausible probability $( P ( e | \mathcal { C } ) )$ for each entity mention during entity replacement training, we can directly use these predicted probabilities to rank the candidates.
|
| 65 |
+
|
| 66 |
+
Results Table 1 shows the fact completion results for all relations. We denote our method WKLM for (Weakly Supervised Knowledge-Pretrained Language Model). Overall, WKLM achieves the best results on 8 of the 10 relations. We also observe that GPT-2 outperforms BERT on average. We think this is because the fact completion task requires models to predict the missing entities using only a short context on the left, while BERT pretraining incorporates context from both directions. Interestingly, BERT achieves good performance on several geographical relations such as PlaceOfBirth, LocatedIn and PlaceOfDeath. We conjecture that this is because location entities usually appear at sentence ends in Wikipedia articles, e.g., Obama was born in
|
| 67 |
+
|
| 68 |
+
Honolulu, Hawaii.. This sentence pattern is similar to our templates and BERT may learn to rely mostly on the left context to make predictions. For most relations that include answers that are person names, BERT lags behind both GPT-2 and our model.
|
| 69 |
+
|
| 70 |
+
Comparing the top and bottom five relations, we observe that BERT’s performance is correlated with the size of the candidate set, while WKLM and GPT-2 are less sensitive to this number. A similar pattern exists between models’ performance and the cardinality of groundtruth answers, i.e., our model achieves similar performance on both single-answer and multiple-answer queries while BERT is usually better at single-answer queries. WKLM both outperforms BERT and GPT-2 and achieves robust performance across relations with different properties. Visualization of correlations between relation properties and model performance can be found in the appendix.
|
| 71 |
+
|
| 72 |
+
Table 1: Zero-Shot Fact Completion Results.
|
| 73 |
+
|
| 74 |
+
<table><tr><td>Relation Name</td><td>#of Candidates</td><td>#of Answers</td><td>BERT-base</td><td>Model BERT-large</td><td>GPT-2</td><td>Ours</td></tr><tr><td>HASCHILD (P40)</td><td>906</td><td>3.8</td><td>9.00</td><td>6.00</td><td>20.5</td><td>63.5</td></tr><tr><td>NOTABLEWORK (P800)</td><td>901</td><td>5.2</td><td>1.88</td><td>2.56</td><td>2.39</td><td>4.10</td></tr><tr><td>CAPITALOF (P36)</td><td>820</td><td>2.2</td><td>1.87</td><td>1.55</td><td>15.8</td><td>49.1</td></tr><tr><td>FOUNDEDBY (P112)</td><td>798</td><td>3.7</td><td>2.44</td><td>1.93</td><td>8.65</td><td>24.2</td></tr><tr><td>CREATOR (P170)</td><td>536</td><td>3.6</td><td>4.57</td><td>4.57</td><td>7.27</td><td>9.84</td></tr><tr><td>PLACEOFBIRTH (P19)</td><td>497</td><td>1.8</td><td>19.2</td><td>30.9</td><td>8.95</td><td>23.2</td></tr><tr><td>LOCATEDIN (P131))</td><td>382</td><td>1.9</td><td>13.2</td><td>52.5</td><td>21.0</td><td>61.1</td></tr><tr><td>EDUCATEDAT (P69)</td><td>374</td><td>4.1</td><td>9.10</td><td>7.93</td><td>11.0</td><td>16.9</td></tr><tr><td>PLACEOFDEATH (P20)</td><td>313</td><td>1.7</td><td>43.0</td><td>42.6</td><td>8.83</td><td>26.5</td></tr><tr><td>OCCUPATION (P106)</td><td>190</td><td>1.4</td><td>8.58</td><td>10.7</td><td>9.17</td><td>10.7</td></tr><tr><td>Average Hits @ 10</td><td>1</td><td>-</td><td>11.3</td><td>16.1</td><td>16.3</td><td>28.9</td></tr></table>
|
| 75 |
+
|
| 76 |
+
# 3.2 DOWNSTREAM TASKS
|
| 77 |
+
|
| 78 |
+
Background knowledge is important for language understanding. We expect our pretraining approach to be beneficial to NLP applications where entity-level knowledge is essential. We consider two such applications: question answering and entity-typing. We find that a large portion of the questions in existing QA datasets are about entities and involve entity relations. In a way, our pretraining objective is analogous to question answering in a multiple-choice setting (Hermann et al., 2015). The entity-typing task requires the model to predict a set of correct types of entity mentions in a short context. The context itself can be insufficient and the training data for this task is small and noisy. We believe a model that encodes background entity knowledge can help in both cases.
|
| 79 |
+
|
| 80 |
+
# 3.2.1 QUESTION ANSWERING
|
| 81 |
+
|
| 82 |
+
Datasets We consider four question answering datasets:
|
| 83 |
+
|
| 84 |
+
• WebQuestions (Berant et al., 2013) is originally a dataset for knowledge base question answering. The questions are collected using Google Suggest API and are all asking about simple relational facts of Freebase entities.
|
| 85 |
+
TriviaQA7 (Joshi et al., 2017) includes questions from trivia and quiz-league websites. Apart from a small portion of questions to which the answers are numbers and free texts, $9 2 . 8 5 \%$ of the answers are Wikipedia entities. Quasar-T (Dhingra et al., 2017) is another dataset that includes trivia questions. Most of the answers in this dataset are none phrases. According to our manual analysis on random samples, $8 8 \%$ of the answers are real-world entities8.
|
| 86 |
+
SearchQA (Dunn et al., 2017) uses questions from the television quiz show Jeopardy! and we also find that almost all of the answers are real-world entities.
|
| 87 |
+
|
| 88 |
+
Questions in all three datasets are created without the context of a paragraph, which resembles the scenario of practical question answering applications. All the questions except WebQuestions are written by humans. This indicates that humans are generally interested to ask questions to seek information about entities. We show the statistics and example questions in Table 2. We split the training data (created by distant supervision) of WebQuestions with a ratio (9:1) for training and development. Since our model is based on our own BERT implementations, in addition to the aforementioned entity-related datasets, we first use the standard SQuAD (Rajpurkar et al., 2016) benchmark to validate our model’s answer extraction performance.
|
| 89 |
+
|
| 90 |
+
Table 2: Properties of the QA Datasets.
|
| 91 |
+
|
| 92 |
+
<table><tr><td>Dataset</td><td>Train</td><td>Valid</td><td>Test</td><td>Example Questions</td></tr><tr><td>WebQuestions</td><td>3778</td><td></td><td>2032</td><td>Who plays Stewie Griffn on Family Guy?</td></tr><tr><td>TriviaQA</td><td>87291</td><td>11274</td><td>10790</td><td>What is the Japanese share index called?</td></tr><tr><td>SearchQA</td><td>99811</td><td>13893</td><td>27247</td><td>Hero several books 11 discover's wizard?</td></tr><tr><td>Quasar-T</td><td>37012</td><td>3000</td><td>3000</td><td>Which vegetable isa Welsh emblem?</td></tr></table>
|
| 93 |
+
|
| 94 |
+
Settings We adopt the fine-tuning approach to extract answer spans with pretrained models. We add linear layers over the last hidden states of the pretrained models to predict the start and end positions of the answer. Unlike $\mathrm { S Q u A D }$ , questions in the datasets we use are not paired with paragraphs that contain the answer. We follow previous work (Chen et al., 2017; Wang et al., 2018a) and retrieve context paragraphs with information retrieval systems. Details of the context retrieval process for each dataset can be found in the appendix. Reader models are trained with distantly supervised data, i.e., we treat any text span in any retrieved paragraph as ground truth as long as it matches the original answers. Since the reader model needs to read multiple paragraphs to predict a single answer at inference time, we also train a BERT based paragraph ranker with distant-supervised data to assign each paragraph a relevance score. The paragraph ranker takes question and paragraph pairs and predicts a score in the range [0, 1] for each pair. During inference, for each question and its evidence paragraph set, we first use the paragraph reader to extract the best answer from each paragraph. These answers are then ranked based on a linear combination of the answer extraction score (a log sum of the answer start and end scores) and the paragraph relevance score. We also evaluate model performance without using the relevance scores.
|
| 95 |
+
|
| 96 |
+
Open-Domain QA Baselines We compare our QA model with the following systems:
|
| 97 |
+
|
| 98 |
+
• DrQA (Chen et al., 2017) is an open-domain QA system which uses TF-IDF with bigram features for ranking and a simple attentive reader for answer extraction.
|
| 99 |
+
$\mathbf { R } ^ { 3 }$ (Wang et al., 2018a) is a reinforcement learning based system which jointly trains a paragraph ranker and a document reader. DSQA (Lin et al., 2018) uses RNN-based paragraph ranker and jointly trains the paragraph ranker and attentive paragraph ranker with a multi-task loss. Evidence Aggregation (Wang et al., 2018b) uses a hybrid answer reranking module to aggregate answer information from multiple paragraphs and rerank the answers extracted from multiple paragraphs. BERTserini (Yang et al., 2019a) is a BERT-based open-domain QA system, which uses BM25-based retriever to retrieve 100 paragraphs and a BERT-based reader to extract answers. The paragraph reader is either trained with SQuAD (Rajpurkar et al., 2016) data or distant-supervision data (Yang et al., 2019b) ORQA (Lee et al., 2019) replaces the traditional BM25 ranking with a BERT-based ranker. The ranker model is pretrained on the whole Wikipedia corpus with an inverse cloze task which simulates the matching between questions and paragraphs. All text blocks in Wikipedia are be pre-encoded as vectors and retrieved with Locality Sensitive Hashing.
|
| 100 |
+
|
| 101 |
+
Results Table 3 shows the SQuAD results and Table 4 shows the open-domain results on the four datasets that are highly entity-related. From the SQuAD results, we observe that our BERT reimplementation performs better than the original model this is due to the fact that it is trained for twice as many updates: 2 million vs. 1 million for the original BERT. Although lots of the answers in SQuAD are non-entity spans, the WKLM model we propose achieves better performance than BERT. We believe the improvement is due to both the masked language model and entity replacement objectives. Ablation experiments on the training objectives will be discussed in $\ S 3 . 2 . 3$ .
|
| 102 |
+
|
| 103 |
+
Having established that our BERT re-implementation performs better than the original model, we compare with only our own BERT for the following experiments. From Table 4, we see that our model produces consistent improvements across different datasets. Compared to the $0 . 8 \ : \mathrm { F 1 }$ improvements over BERT on SQuAD, we achieve an average of $2 . 7 ~ \mathrm { F 1 }$ improvements over BERT on entity-related datasets when the ranking scores are not used. On TriviaQA and Quasar-T, WKLM outperforms our BERT even when it uses ranking scores. Improvements in natural language question datasets (WebQuestions, TriviaQA, and Quasar-T) are more significant than SearchQA where the questions are informal queries. When we utilize ranking scores from a simple BERT based ranker, we are able to achieve the state-of-the-art on three of the four datasets.
|
| 104 |
+
|
| 105 |
+
Table 3: SQuAD Dev Results.
|
| 106 |
+
|
| 107 |
+
<table><tr><td>Model</td><td>EM</td><td>F1</td></tr><tr><td>Google's BERT-base</td><td>80.8</td><td>88.5</td></tr><tr><td>Google's BERT-large</td><td>84.1</td><td>90.9</td></tr><tr><td>Our BERT-base</td><td>83.4</td><td>90.5</td></tr><tr><td>WKLM (base)</td><td>84.3</td><td>91.3</td></tr></table>
|
| 108 |
+
|
| 109 |
+
Table 4: Open-domain QA Results.
|
| 110 |
+
|
| 111 |
+
<table><tr><td>Model</td><td>WebQuestions EM</td><td>F1</td><td>TriviaQA EM</td><td>F1</td><td>Quasar-T EM</td><td>F1</td><td>SearchQA EM</td><td>F1</td></tr><tr><td>DrQA (Chen et al., 2017)</td><td>20.7</td><td>1</td><td>-</td><td>1</td><td>-</td><td>-</td><td>-</td><td>1</td></tr><tr><td>R (Wang et al.,2018a)</td><td>-</td><td>1</td><td>50.6</td><td>57.3</td><td>42.3</td><td>49.6</td><td>57.0</td><td>63.2</td></tr><tr><td>DSQA (Lin et al., 2018)</td><td>18.5</td><td>25.6</td><td>48.7</td><td>56.3</td><td>42.2</td><td>49.3</td><td>49.0</td><td>55.3</td></tr><tr><td>Evidence Agg. (Wang et al.,2018b)</td><td>1</td><td>1</td><td>50.6</td><td>57.3</td><td>42.3</td><td>49.6</td><td>57.0</td><td>63.2</td></tr><tr><td>BERTserini (Yang et al.,2019a)</td><td>-</td><td>-</td><td>51.0</td><td>56.3</td><td>1</td><td>-</td><td>1</td><td>1</td></tr><tr><td>BERTserini+DS (Yang et al., 2019b)</td><td>=</td><td>=</td><td>54.4</td><td>60.2</td><td>1</td><td>=</td><td>-</td><td>1</td></tr><tr><td>ORQA (Lee et al., 2019)</td><td>36.4</td><td>1</td><td>45.0</td><td>-</td><td>-</td><td>-</td><td>-</td><td>1</td></tr><tr><td>Our BERT</td><td>29.2</td><td>35.5</td><td>48.7</td><td>53.2</td><td>40.4</td><td>46.1</td><td>57.1</td><td>61.9</td></tr><tr><td>Our BERT +Ranking score</td><td>32.2</td><td>38.9</td><td>52.1</td><td>56.5</td><td>43.2</td><td>49.2</td><td>60.6</td><td>65.9</td></tr><tr><td>WKLM</td><td>30.8</td><td>37.9</td><td>52.2</td><td>56.7</td><td>43.7</td><td>49.9</td><td>58.7</td><td>63.3</td></tr><tr><td>WKLM + Ranking score</td><td>34.6</td><td>41.8</td><td>58.1</td><td>63.1</td><td>45.8</td><td>52.2</td><td>61.7</td><td>66.7</td></tr></table>
|
| 112 |
+
|
| 113 |
+
# 3.2.2 ENTITY TYPING
|
| 114 |
+
|
| 115 |
+
To compare with an existing study (Zhang et al., 2019) that also attempts to incorporate entity knowledge into language models, we consider an additional entity typing task using the large FIGER dataset (Ling & Weld, 2012). The task is to assign a fine-grained type to entity mentions. We do that by adding two special tokens before and after the entity span to mark the entity position. We use the final representation of the start token ([CLS]) to predict the entity types. The model is fine-tuned on weakly-supervised training data with binary cross-entropy loss. We evaluate the models using strict accuracy, loose micro, and macro F1 scores.
|
| 116 |
+
|
| 117 |
+
We show the results in Table 5. We compare our model with two non-BERT neural baselines (Inui et al., 2017) that integrate a set of hand-crafted features: LSTM $^ +$ Hand-crafted and Attentive $^ +$
|
| 118 |
+
|
| 119 |
+
Table 5: Fine-grained Entity Typing Results on the FIGER dataset.
|
| 120 |
+
|
| 121 |
+
<table><tr><td>Model</td><td>Acc</td><td>Ma-F1</td><td>Mi-F1</td></tr><tr><td>LSTM+ Hand-crafted (Inui et al.,2017)</td><td>57.02</td><td>76.98</td><td>73.94</td></tr><tr><td>Attentive + Hand-crafted (Inui et al.,2017) BERT baseline (Zhang et al.,2019)</td><td>59.68 52.04</td><td>78.97 75.16</td><td>75.36 71.63</td></tr><tr><td>ERNIE (Zhang et al., 2019)</td><td>57.19</td><td>75.61</td><td>73.39</td></tr><tr><td>Our BERT</td><td>54.53</td><td></td><td></td></tr><tr><td>WKLM</td><td>60.21</td><td>79.57 81.99</td><td>74.74 77.00</td></tr></table>
|
| 122 |
+
|
| 123 |
+
Hand-crafted; a vanilla BERT baseline and the ERNIE model (Zhang et al., 2019) that enhances BERT with knowledge base embeddings.
|
| 124 |
+
|
| 125 |
+
First, we see that naively applying BERT is less effective than simple models combined with sparse hand-crafted features. Although the ERNIE model can improve over BERT by 5.15 points, its performance still lags behind models that make good use of hand-crafted features. In contrast, although based on a stronger BERT model, our model achieves larger absolute improvements (5.68 points) and sets a new state-of-the-art for this task. Given the larger improvement margin, we believe our model that directly learn knowledge from text is more effective than the ERNIE method.
|
| 126 |
+
|
| 127 |
+
# 3.2.3 ABLATION STUDY: THE EFFECT OF MASKED LANGUAGE MODEL LOSS
|
| 128 |
+
|
| 129 |
+
In view of a recent study (Liu et al., 2019b) showing simply extending the training time of BERT leads to stronger performance on various downstream tasks, we conduct further analysis to differentiate the effects of entity replacement training and masked language modeling. We compare our model with three variants: a model pretrained only with the knowledge learning objective (WKLM without MLM), a model trained with both knowledge learning and masked language modeling with more masked words (WKLM with $1 5 \%$ MLM) and a BERT model trained with additional 1 million updates on English Wikipedia $\mathbf { \left( B E R T + 1 M \right) }$ MLM updates) and no knowledge learning.
|
| 130 |
+
|
| 131 |
+
The ablation results are shown in Table 6. The results of WKLM without MLM validate that adding the language model objective is essential for downstream performance. We also find that masking out too many words (i.e., $1 5 \%$ masking ratio as in the original BERT) leads to worse results. We conjecture that too many masked words outside entity mentions break parts of the context information and introduce noisy signals to knowledge learning. Results of continued BERT training show that more MLM updates are often beneficial, especially for SQuAD. However, on tasks that are more entity-centric, continued MLM training is less effective than our WKLM method. This suggests that our WKLM method could serve as an effective complementary recipe to masked language modeling when applied to entity-related NLP tasks.
|
| 132 |
+
|
| 133 |
+
Table 6: Ablation Studies on Masked Language Model and Masking Ratios.
|
| 134 |
+
|
| 135 |
+
<table><tr><td>Model</td><td colspan="2">SQuAD EM F1</td><td colspan="2">TriviaQA EM F1</td><td colspan="2">Quasar-T EM F1</td><td>FIGER Acc</td></tr><tr><td>Our BERT</td><td>83.4</td><td>90.5</td><td>48.7</td><td>53.2</td><td>40.4</td><td>46.1</td><td>54.53</td></tr><tr><td>WKLM</td><td>84.3</td><td>91.3</td><td>52.2</td><td>56.7</td><td>43.7</td><td>49.9</td><td>60.21</td></tr><tr><td>WKLM without MLM</td><td>80.5</td><td>87.6</td><td>48.2</td><td>52.5</td><td>42.2</td><td>48.1</td><td>58.44</td></tr><tr><td>WKLM with 15% masking</td><td>84.1</td><td>91.0</td><td>51.0</td><td>55.3</td><td>42.9</td><td>49.0</td><td>59.68</td></tr><tr><td>Our BERT + 1MMLMupdates</td><td>84.4</td><td>91.1</td><td>52.0</td><td>56.3</td><td>42.3</td><td>48.2</td><td>54.17</td></tr></table>
|
| 136 |
+
|
| 137 |
+
# 4 RELATED WORK
|
| 138 |
+
|
| 139 |
+
Pretrained Language Representations Early research on language representations focused on static unsupervised word representations (Mikolov et al., 2013; Pennington et al., 2014). Word embeddings leverage co-occurrences to learn latent word vectors that approximately reflect word semantics. Given that words can have different meanings in different contexts, more recent studies (McCann et al., 2017; Peters et al., 2018a) show that contextual language representations can be more powerful than static word embeddings in downstream tasks. This direction has been further explored at a larger scale with efficient Transformer architectures (Radford et al., 2019; Devlin et al., 2019; Yang et al., 2019c). Our WKLM method is based on these techniques and we focus on improving the knowledge ability of pretrained models.
|
| 140 |
+
|
| 141 |
+
Knowledge-Enhanced NLP Models Background knowledge has been considered an indispensable part of language understanding (Fillmore et al., 1976; Minsky, 1988). As standard language encoders usually do not explicitly model knowledge, recent studies (Ahn et al., 2016; Yang & Mitchell, 2017; Logan et al., 2019; Liu et al., 2019a) have explored methods to incorporate external knowledge into NLP models. Most of these methods rely on additional inputs such as entity representations from structured knowledge bases. With the breakthrough of large-scale pretrained language encoders (Devlin et al., 2019), Zhang et al. (2019) and Peters et al. (2019) adopt similar ideas and propose entity-level knowledge enhancement training objectives to incorporate knowledge into pretrained models. Other recent studies (Mihaylov & Frank, 2018; Xiong et al., 2019) leverage external knowledge bases to enhance text-based question answering models. In contrast to these methods, our method utilizes minimal external entity information and does not require additional memory or architectural changes when applied to downstream tasks.
|
| 142 |
+
|
| 143 |
+
# 5 CONCLUSION
|
| 144 |
+
|
| 145 |
+
We introduce a weakly supervised method to encourage pretrained language models to learn entitylevel knowledge. Our method uses minimal entity information during pretraining and does not introduce additional computation, memory or architectural overhead for downstream task fine-tuning. The trained model demonstrates strong performance on a probing fact completion task and two entity-related NLP tasks. Together, our results show the potential of directly learning entity-level knowledge from unstructured natural language and the benefits of large-scale knowledge-aware pretraining for downstream NLP tasks.
|
| 146 |
+
|
| 147 |
+
# REFERENCES
|
| 148 |
+
|
| 149 |
+
Sungjin Ahn, Heeyoul Choi, Tanel Parnamaa, and Yoshua Bengio. A neural knowledge language ¨ model. arXiv preprint arXiv:1608.00318, 2016.
|
| 150 |
+
|
| 151 |
+
Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from question-answer pairs. In EMNLP, pp. 1533–1544. ACL, 2013.
|
| 152 |
+
|
| 153 |
+
Antoine Bordes, Nicolas Usunier, Alberto Garc´ıa-Duran, Jason Weston, and Oksana Yakhnenko. ´ Translating embeddings for modeling multi-relational data. In NIPS, pp. 2787–2795, 2013.
|
| 154 |
+
|
| 155 |
+
Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli C¸ elikyilmaz, and Yejin Choi. COMET: commonsense transformers for automatic knowledge graph construction. In ACL (1), pp. 4762–4779. Association for Computational Linguistics, 2019.
|
| 156 |
+
|
| 157 |
+
Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. Reading wikipedia to answer opendomain questions. In ACL (1), pp. 1870–1879. ACL, 2017.
|
| 158 |
+
|
| 159 |
+
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D Manning. What does bert look at? an analysis of bert’s attention. arXiv preprint arXiv:1906.04341, 2019.
|
| 160 |
+
|
| 161 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT (1), pp. 4171–4186. ACL, 2019.
|
| 162 |
+
|
| 163 |
+
Bhuwan Dhingra, Kathryn Mazaitis, and William W Cohen. Quasar: Datasets for question answering by search and reading. arXiv preprint arXiv:1707.03904, 2017.
|
| 164 |
+
|
| 165 |
+
Matthew Dunn, Levent Sagun, Mike Higgins, V Ugur Guney, Volkan Cirik, and Kyunghyun Cho. Searchqa: A new q&a dataset augmented with context from a search engine. arXiv preprint arXiv:1704.05179, 2017.
|
| 166 |
+
|
| 167 |
+
Charles J Fillmore et al. Frame semantics and the nature of language. In Annals of the New York Academy of Sciences: Conference on the origin and development of language and speech, volume 280, pp. 20–32, 1976.
|
| 168 |
+
|
| 169 |
+
Karl Moritz Hermann, Tomas Kocisk ´ y, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa ´ Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In NIPS, pp. 1693– 1701, 2015.
|
| 170 |
+
|
| 171 |
+
Kentaro Inui, Sebastian Riedel, Pontus Stenetorp, and Sonse Shimaoka. Neural architectures for fine-grained entity type classification. In EACL (1), pp. 1271–1280. Association for Computational Linguistics, 2017.
|
| 172 |
+
|
| 173 |
+
Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In ACL (1), pp. 1601–1611. Association for Computational Linguistics, 2017.
|
| 174 |
+
|
| 175 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 176 |
+
|
| 177 |
+
Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. Latent retrieval for weakly supervised open domain question answering. In ACL (1), pp. 6086–6096. Association for Computational Linguistics, 2019.
|
| 178 |
+
|
| 179 |
+
Yankai Lin, Haozhe Ji, Zhiyuan Liu, and Maosong Sun. Denoising distantly supervised opendomain question answering. In ACL (1), pp. 1736–1745. Association for Computational Linguistics, 2018.
|
| 180 |
+
|
| 181 |
+
Xiao Ling and Daniel S. Weld. Fine-grained entity recognition. In AAAI. AAAI Press, 2012.
|
| 182 |
+
|
| 183 |
+
Angli Liu, Jingfei Du, and Veselin Stoyanov. Knowledge-augmented language model and its application to unsupervised named-entity recognition. In NAACL-HLT (1), pp. 1142–1150. Association for Computational Linguistics, 2019a.
|
| 184 |
+
|
| 185 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019b.
|
| 186 |
+
|
| 187 |
+
Robert Logan, Nelson F. Liu, Matthew E. Peters, Matt Gardner, and Sameer Singh. Barack’s wife hillary: Using knowledge graphs for fact-aware language modeling. In ACL, pp. 5962–5971. ACL, 2019.
|
| 188 |
+
|
| 189 |
+
Bryan McCann, James Bradbury, Caiming Xiong, and Richard Socher. Learned in translation: Contextualized word vectors. In NIPS, pp. 6294–6305, 2017.
|
| 190 |
+
|
| 191 |
+
Todor Mihaylov and Anette Frank. Knowledgeable reader: Enhancing cloze-style reading comprehension with external commonsense knowledge. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 821–832, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1076.
|
| 192 |
+
|
| 193 |
+
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pp. 3111–3119, 2013.
|
| 194 |
+
|
| 195 |
+
Marvin Minsky. Society of mind. Simon and Schuster, 1988.
|
| 196 |
+
|
| 197 |
+
Maximilian Nickel, Volker Tresp, and Hans-Peter Kriegel. A three-way model for collective learning on multi-relational data. In ICML, volume 11, pp. 809–816, 2011.
|
| 198 |
+
|
| 199 |
+
Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan $\mathrm { N g }$ , David Grangier, and Michael Auli. fairseq: A fast, extensible toolkit for sequence modeling. In Proceedings of NAACL-HLT 2019: Demonstrations, 2019.
|
| 200 |
+
|
| 201 |
+
Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In EMNLP, pp. 1532–1543. ACL, 2014.
|
| 202 |
+
|
| 203 |
+
Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. arXiv preprint arXiv:1802.05365, 2018a.
|
| 204 |
+
|
| 205 |
+
Matthew E. Peters, Mark Neumann, Luke Zettlemoyer, and Wen-tau Yih. Dissecting contextual word embeddings: Architecture and representation. In EMNLP, pp. 1499–1509. Association for Computational Linguistics, 2018b.
|
| 206 |
+
|
| 207 |
+
Matthew E Peters, Mark Neumann, IV Logan, L Robert, Roy Schwartz, Vidur Joshi, Sameer Singh, and Noah A Smith. Knowledge enhanced contextual word representations. EMNLP, 2019.
|
| 208 |
+
|
| 209 |
+
Fabio Petroni, Tim Rocktaschel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, Alexander H. Miller, ¨ and Sebastian Riedel. Language models as knowledge bases? EMNLP, 2019.
|
| 210 |
+
|
| 211 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI Blog, 1(8), 2019.
|
| 212 |
+
|
| 213 |
+
Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100, $0 0 0 +$ questions for machine comprehension of text. In EMNLP, pp. 2383–2392. The Association for Computational Linguistics, 2016.
|
| 214 |
+
|
| 215 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, pp. 5998–6008, 2017.
|
| 216 |
+
|
| 217 |
+
Denny Vrandeciˇ c and Markus Kr ´ otzsch. Wikidata: a free collaborative knowledge base. 2014. ¨
|
| 218 |
+
|
| 219 |
+
Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In ICLR, 2019a.
|
| 220 |
+
|
| 221 |
+
Shuohang Wang, Mo Yu, Xiaoxiao Guo, Zhiguo Wang, Tim Klinger, Wei Zhang, Shiyu Chang, Gerry Tesauro, Bowen Zhou, and Jing Jiang. $\mathtt { R } ^ { 3 }$ : Reinforced ranker-reader for open-domain question answering. In AAAI, pp. 5981–5988. AAAI Press, 2018a.
|
| 222 |
+
|
| 223 |
+
Shuohang Wang, Mo Yu, Jing Jiang, Wei Zhang, Xiaoxiao Guo, Shiyu Chang, Zhiguo Wang, Tim Klinger, Gerald Tesauro, and Murray Campbell. Evidence aggregation for answer re-ranking in open-domain question answering. In ICLR, 2018b.
|
| 224 |
+
|
| 225 |
+
Zhiguo Wang, Patrick $\mathrm { N g }$ , Xiaofei Ma, Ramesh Nallapati, and Bing Xiang. Multi-passage bert: A globally normalized bert model for open-domain question answering. arXiv preprint arXiv:1908.08167, 2019b.
|
| 226 |
+
|
| 227 |
+
Wenhan Xiong, Thien Hoang, and William Yang Wang. DeepPath: A reinforcement learning method for knowledge graph reasoning. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 564–573, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. doi: 10.18653/v1/D17-1060.
|
| 228 |
+
|
| 229 |
+
Wenhan Xiong, Mo Yu, Shiyu Chang, Xiaoxiao Guo, and William Yang Wang. Improving question answering over incomplete KBs with knowledge-aware reader. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1417.
|
| 230 |
+
|
| 231 |
+
Bishan Yang and Tom M. Mitchell. Leveraging knowledge bases in lstms for improving machine reading. In ACL (1), pp. 1436–1446. ACL, 2017.
|
| 232 |
+
|
| 233 |
+
Wei Yang, Yuqing Xie, Aileen Lin, Xingyu Li, Luchen Tan, Kun Xiong, Ming Li, and Jimmy Lin. End-to-end open-domain question answering with bertserini. arXiv preprint arXiv:1902.01718, 2019a.
|
| 234 |
+
|
| 235 |
+
Wei Yang, Yuqing Xie, Luchen Tan, Kun Xiong, Ming Li, and Jimmy Lin. Data augmentation for bert fine-tuning in open-domain question answering. arXiv preprint arXiv:1904.06652, 2019b.
|
| 236 |
+
|
| 237 |
+
Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. arXiv preprint arXiv:1906.08237, 2019c.
|
| 238 |
+
|
| 239 |
+
Rowan Zellers, Yonatan Bisk, Roy Schwartz, and Yejin Choi. SWAG: A large-scale adversarial dataset for grounded commonsense inference. In EMNLP, pp. 93–104. ACL, 2018.
|
| 240 |
+
|
| 241 |
+
Sheng Zhang, Xiaodong Liu, Jingjing Liu, Jianfeng Gao, Kevin Duh, and Benjamin Van Durme. Record: Bridging the gap between human and machine commonsense reading comprehension. arXiv preprint arXiv:1810.12885, 2018.
|
| 242 |
+
|
| 243 |
+
Zhengyan Zhang, Xu Han, Zhiyuan Liu, Xin Jiang, Maosong Sun, and Qun Liu. ERNIE: enhanced language representation with informative entities. In ACL (1), pp. 1441–1451. ACL, 2019.
|
| 244 |
+
|
| 245 |
+
Yukun Zhu, Ryan Kiros, Richard S. Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In ICCV, pp. 19–27. IEEE Computer Society, 2015.
|
| 246 |
+
|
| 247 |
+
# A APPENDIX
|
| 248 |
+
|
| 249 |
+
Implementation Details and Hyperparameters We implement our method using Fairseq Ott et al. (2019) and the fact completion baselines are implemented with Huggingface’s PytorchTransformers9. We pretrain the models with 32 V100 GPUs for 3 days. We use at most 2 GPUs for fine-tuning the paragraph reader, use 8 GPUs for fine-tuning the paragraph ranker. The entity-typing experiments require larger batch sizes and take 8 GPUs for training.
|
| 250 |
+
|
| 251 |
+
For the knowledge learning pretraining phase, we use the Adam optimizer (Kingma & Ba, 2014) with learning rate 1e-5, batch size 128 and weight decay 0.01. The model is pretrained on 32 V100 GPUs for 3 days. To train the paragraph reader for open-domain QA, we select the best learning rate from $\{ 1 \mathrm { e } { - } 6 , 5 \mathrm { e } { - } 6 , 1 \mathrm { e } { - } 5 , 2 \mathrm { e } { - } 5 \}$ and last layer dropout ratio from $\{ 0 . 1 , 0 . 2 \}$ . We set the maximum training epoch to be 10 and batch size to be 32. The maximal input sequence length is 512 for WebQuestions and 128 for the other three datasets that use sentence-level paragraphs. For the paragraph ranker, we choose learning rate from $\{ 1 \mathrm { e } { - } 5 , 2 \mathrm { e } { - } 5 , 5 \mathrm { e } { - } 6 \}$ , use dropout 0.1 and batch size 256. The maximal sequence length for each dataset is consistent with the one we used for training the paragraph reader. The linear combination of ranking and extraction scores is selected based on validation performance. For $\mathrm { S Q u A D }$ experiments, we select learning rate from {1e-5, 5e-6, 2e-5, 3e-5}, learning rate from $\{ 8 , 1 6 \}$ , last layer dropout ratio from $\{ 0 . \bar { 1 } , 0 . 2 \}$ . We set the maximal sequence length as 512 and the maximal training epoch as 5. For entity typing, we select learning rate from $\{ 1 \mathrm { e } { - } 5 , 2 \mathrm { e } { - } 5 , 3 \mathrm { e } { - } 5 , 5 \mathrm { e } { - } 5 \}$ and batch size from $\{ 1 2 8 , 2 5 6 \}$ . We set the maximal sequence length to be 256, the last layer dropout ratio to be 0.1. The model is fine-tuned for at most 3 epochs to prevent overfitting. The threshold for type prediction is selected on the validation set.
|
| 252 |
+
|
| 253 |
+
Context Collection for QA Datasets For WebQuestions, we collect evidence context using the document retriever of DrQA (Chen et al., 2017), which uses TF-IDF based metric to retrieve the top 5 Wikipedia articles. For Quasar-T, we use Lucene ranked paragraphs. For SearchQA and TriviaQA, we use paragraphs ranked by search engines. Following existing research (Wang et al., 2018b; Lin et al., 2018), we use sentence-level paragraphs for SearchQA (50 sentences), TriviaQA (100 sentences) and SearchQA (100 sentences).
|
| 254 |
+
|
| 255 |
+
Correlation between Fact Completion Results and Properties of Relations Figure 2 shows the fact completion results of BERT are unstable on different relations with different properties, i.e., BERT’s performance is strongly correlated with the size of candidate entity set and the number of groundtruth answers. Compared to BERT, WKLM is often less sensitive to these two factors.
|
| 256 |
+
|
| 257 |
+

|
| 258 |
+
Figure 2: Left: Correlation between candidate set size and hits $@ 1 0$ ; Right: Correlation between number of groundtruth answers and hits $@ 1 0$ .
|
parse/train/BJlzm64tDH/BJlzm64tDH_content_list.json
ADDED
|
@@ -0,0 +1,1422 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "PRETRAINED ENCYCLOPEDIA: WEAKLY SUPERVISED KNOWLEDGE-PRETRAINED LANGUAGE MODEL ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Wenhan Xiong†, Jingfei $\\mathbf { D } \\mathbf { u } ^ { \\mathrm { S } }$ , William Yang Wang†, Veselin Stoyanov§, ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
187,
|
| 19 |
+
169,
|
| 20 |
+
678,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "† University of California, Santa Barbara § Facebook AI {xwhan, william}@cs.ucsb.edu, {jingfeidu, ves}@fb.com ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
186,
|
| 31 |
+
565,
|
| 32 |
+
228
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
265,
|
| 43 |
+
544,
|
| 44 |
+
280
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Recent breakthroughs of pretrained language models have shown the effectiveness of self-supervised learning for a wide range of natural language processing (NLP) tasks. In addition to standard syntactic and semantic NLP tasks, pretrained models achieve strong improvements on tasks that involve real-world knowledge, suggesting that large-scale language modeling could be an implicit method to capture knowledge. In this work, we further investigate the extent to which pretrained models such as BERT capture knowledge using a zero-shot fact completion task. Moreover, we propose a simple yet effective weakly supervised pretraining objective, which explicitly forces the model to incorporate knowledge about real-world entities. Models trained with our new objective yield significant improvements on the fact completion task. When applied to downstream tasks, our model consistently outperforms BERT on four entity-related question answering datasets (i.e., WebQuestions, TriviaQA, SearchQA and Quasar-T) with an average $2 . 7 \\ \\mathrm { F 1 }$ improvements and a standard fine-grained entity typing dataset (i.e., FIGER) with 5.7 accuracy gains. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
294,
|
| 54 |
+
764,
|
| 55 |
+
502
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
525,
|
| 66 |
+
334,
|
| 67 |
+
541
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Language models pretrained on a large amount of text such as ELMo (Peters et al., 2018a)), BERT (Devlin et al., 2019) and XLNet (Yang et al., 2019c) have established new state of the art on a wide variety of NLP tasks. Researchers ascertain that pretraining allows models to learn syntactic and semantic information of language that is then transferred on other tasks (Peters et al., 2018b; Clark et al., 2019). Interestingly, pretrained models also perform well on tasks that require grounding language and reasoning about the real world. For instance, the new state-of-the-art for WNLI (Wang et al., 2019a), ReCoRD (Zhang et al., 2018) and SWAG (Zellers et al., 2018) is achieved by pretrained models. These tasks are carefully designed so that the text input alone does not convey the complete information for accurate predictions – external knowledge is required to fill the gap. These results suggest that large-scale pretrained models implicitly capture real-world knowledge. Logan et al. (2019) and Petroni et al. (2019) further validate this hypothesis through a zero-shot fact completion task that involves single-token entities, showing that pretrained models achieve much better performance than random guessing and can be on par with specifically-trained relation extraction models. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
556,
|
| 77 |
+
825,
|
| 78 |
+
750
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "As unstructured text encodes a great deal of information about the world, large-scale pretraining over text data holds the promise of simultaneously learning syntax, semantics and connecting them with knowledge about the real world within a single model. However, existing pretraining objectives are usually defined at the token level and do not explicitly model entity-centric knowledge. In this work, we investigate whether we can further enforce pretrained models to focus on encyclopedic knowledge about real-world entities, so that they can better capture entity information from natural language and be applied to improving entity-related NLP tasks. We evaluate the extent to which a pretrained model represents such knowledge by extending an existing fact completion evaluation to a cloze ranking setting that allows us to deal with a large number of multi-token entity names without manual judgments. Our experiments on 10 common Wikidata (Vrandeciˇ c & Kr ´ otzsch, 2014) ¨ relations reveal that existing pretrained models encode entity-level knowledge only to a limited degree. Thus, we propose a new weakly supervised knowledge learning objective that requires the model to distinguish between true and false knowledge expressed in natural language. Specifically, we replace entity mentions in the original documents with names of other entities of the same type and train the models to distinguish the correct entity mention from randomly chosen ones. Models trained with this objective demonstrates much stronger fact completion performance for most relations we test on. Compared with previous work (Zhang et al., 2019; Peters et al., 2019) that utilizes an external knowledge base to incorporate entity knowledge, our method is able to directly derive real-world knowledge from unstructured text. Moreover, our method requires no additional data processing, memory or modifications to the BERT model when fine-tuning for downstream tasks. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
757,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/e6619be00d1cafc8fea5ec749341b822c0b3263ae9dd4a44330f69cc690badb1.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Type-Constrained Entity Replacements for Knowledge Learning. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
181,
|
| 102 |
+
104,
|
| 103 |
+
816,
|
| 104 |
+
364
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
420,
|
| 114 |
+
825,
|
| 115 |
+
530
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "We test our model on two practical NLP problems that require entity knowledge: Question Answering (QA) and fine-grained Entity Typing. We use four previously published datasets for open-domain QA and observe that questions in these datasets often concern entities. The Entity Typing task requires the model to recognize fine-grained types of specified entity mentions given short contexts. On three of the QA datasets, our pretrained model outperforms all previous methods that do not rely on memory-consuming inter-passage normalizations1. On the FIGER entity-typing dataset, our model sets a new state of the art. Through ablation analysis, we show that the new entity-centric training objective is instrumental for achieving state-of-the-art results. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
537,
|
| 125 |
+
825,
|
| 126 |
+
648
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "In summary, this paper makes the following contributions: 1) We extend existing fact completion evaluation settings to test pretrained models’ ability on encoding knowledge of common real-world entities; 2) We propose a new weakly supervised pretraining method which results in models that better capture knowledge about real-world entities from natural language text; 3) The model trained with our knowledge learning objective establishes new state of the art on three entity-related QA datasets and a standard fine-grained entity typing dataset. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
656,
|
| 136 |
+
823,
|
| 137 |
+
739
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "We begin by introducing our weakly supervised method for knowledge learning (§2) and then discuss experiment settings and evaluation protocols, compare our model to previously published work and perform ablation analysis. Finally, we review related work in §4 and conclude in §5. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
746,
|
| 147 |
+
823,
|
| 148 |
+
789
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 ENTITY REPLACEMENT TRAINING ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
810,
|
| 159 |
+
493,
|
| 160 |
+
827
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "We design an entity-centric training objective that utilizes weakly supervised training signals to explicitly encourage knowledge learning during pretraining. Given an input document, we first recognize the entity mentions and link them to Wikipedia entities2. We consider the original texts as positive knowledge statements and create negative statements by randomly replacing the entity mentions $( { \\mathcal { E } } ^ { + } )$ with the names of other random entities $( { \\mathcal { E } } ^ { - } )$ that have the same entity type as the mentioned entity. This setup is similar in spirit to the type-constrained negative sampling technique used to train knowledge base representations (Bordes et al., 2013). The latter technique creates negative triples by replacing the subject or object entity with random entities of the same type. Instead of knowledge base triples, we treat unstructured texts as factual statements. For a certain entity $e$ mentioned in a context $\\mathcal { C }$ , we train the model to make a binary prediction indicating whether the entity has been replaced: ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
843,
|
| 170 |
+
823,
|
| 171 |
+
872
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
103,
|
| 181 |
+
825,
|
| 182 |
+
229
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "equation",
|
| 188 |
+
"img_path": "images/584310909bd4bc202b4ff2079d1deaccdb1ed418b79f5e676747d9147bde655d.jpg",
|
| 189 |
+
"text": "$$\nJ _ { e , \\mathcal { C } } = \\mathbb { 1 } _ { e \\in \\mathcal { E } ^ { + } } \\log P ( e | \\mathcal { C } ) + ( 1 - \\mathbb { 1 } _ { e \\in \\mathcal { E } ^ { + } } ) \\log ( 1 - P ( e | \\mathcal { C } ) ) .\n$$",
|
| 190 |
+
"text_format": "latex",
|
| 191 |
+
"bbox": [
|
| 192 |
+
303,
|
| 193 |
+
241,
|
| 194 |
+
692,
|
| 195 |
+
260
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "Compared to the language modeling objective, entity replacement is defined at the entity level and introduces stronger negative signals. When we enforce entities to be of the same type, we preserve the linguistic correctness of the original sentence while the system needs to learn to perform judgment based on the factual aspect of the sentence. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
174,
|
| 204 |
+
280,
|
| 205 |
+
825,
|
| 206 |
+
335
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "We describe the implementation in more detail in the following paragraphs. ",
|
| 213 |
+
"bbox": [
|
| 214 |
+
174,
|
| 215 |
+
343,
|
| 216 |
+
666,
|
| 217 |
+
357
|
| 218 |
+
],
|
| 219 |
+
"page_idx": 2
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"type": "text",
|
| 223 |
+
"text": "Data Preparation We use the whole English Wikipedia dump as training data and rely on all Wikipedia entities3. Entities in documents are recognized based on Wikipedia anchor links and entity alias from Wikidata. That is, we first retrieve the entities annotated by anchor links and then find other mentions of these entities by string matching their Wikidata alias. We split each document into multiple text chunks with the same size (512 tokens). Although our experiments rely on the Wikipedia corpus, this setup can be easily extended to larger corpora with off-the-shelf entity linking tools. We leave the larger scope of the experiments to future work. ",
|
| 224 |
+
"bbox": [
|
| 225 |
+
173,
|
| 226 |
+
378,
|
| 227 |
+
825,
|
| 228 |
+
477
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "Replacement Strategy When replacing entities, we first lookup type information4 from Wikidata and then randomly select other entities with the same type. We do not replace adjacent entities. In other words, there must be at least one unreplaced entity between any two replaced ones. This reduces cases where we replace all entities in the same sentence and the resulting sentences happen to introduce correct entities by chance. For replacement, we randomly sample a string from the entities’ alias set. For each text chunk, we replicate it 10 times with different negative entities for each replacement location. We show an illustration of the entity replacement method in Figure 1. ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
173,
|
| 237 |
+
500,
|
| 238 |
+
825,
|
| 239 |
+
597
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Model Architecture We use the Transformer (Vaswani et al., 2017) model used by BERT (Devlin et al., 2019). We use the same architecture as BERT base: 12 Transformer layers, each with hidden dimension 768. We initialize the transformer with a model pretrained based on our own BERT reimplementations5. For each entity, we use the final representations of its boundary words (words before and after the entity mention) to make predictions. We simply concatenate the boundary words’ representations and add a linear layer for prediction. During training, we use 0.05 dropout at the final layer. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
173,
|
| 248 |
+
619,
|
| 249 |
+
825,
|
| 250 |
+
717
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Training Objectives Masked language model pretraining has been proven to be effective for downstream tasks. While training for entity replacement we also train with the masked language model objective in a multi-task set-up. When masking tokens, we restrict the masks to be outside the entity spans. We use a masking ratio of $5 \\%$ instead of $1 5 \\%$ in the original BERT to avoid masking out too much of the context. We train the model for approximately 1 million updates using a batch size of 128. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
739,
|
| 260 |
+
825,
|
| 261 |
+
823
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "3 EXPERIMENTS ",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
176,
|
| 271 |
+
102,
|
| 272 |
+
326,
|
| 273 |
+
118
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 3
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "We first test our model on a fact completion task. This task resembles traditional knowledge base completion: it requires the model to complete missing entities in factual triples. We further test on two real-world downstream tasks that require entity-level knowledge – question answering and fine-grained entity typing. We describe the hyperparameter and training settings of all experiments in the appendix. ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
174,
|
| 282 |
+
133,
|
| 283 |
+
825,
|
| 284 |
+
204
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 3
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "3.1 ZERO-SHOT FACT COMPLETION ",
|
| 291 |
+
"text_level": 1,
|
| 292 |
+
"bbox": [
|
| 293 |
+
176,
|
| 294 |
+
222,
|
| 295 |
+
437,
|
| 296 |
+
236
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 3
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "In traditional knowledge base completion tasks models have access to a set of training triples. Instead, we utilize a zero-shot test to examine the model’s ability to automatically derive relational knowledge from natural language. ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
174,
|
| 305 |
+
247,
|
| 306 |
+
825,
|
| 307 |
+
290
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 3
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "Dataset We rely on factual triples from Wikidata. Each triple describes the relationship between two certain entities, e.g., {Paris, CapitalOf, France $\\}$ . Following recent practices (Bosselut et al., 2019; Logan et al., 2019) that decode structured knowledge from language models, we first manually create templates to convert triples of 10 common relations into natural language expressions ({Paris, CapitalOf, France $\\} $ the capital of France is Paris). We then create queries by removing the object entity in the expression and use pre-trained models to predict the missing entities, e.g., the capital of France is ?. We create 1000 cloze examples6 for each of the 10 relations. ",
|
| 314 |
+
"bbox": [
|
| 315 |
+
173,
|
| 316 |
+
306,
|
| 317 |
+
825,
|
| 318 |
+
405
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 3
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "Evaluation Metrics Previous work (Logan et al., 2019; Petroni et al., 2019) either relies on human evaluation or only considers single-token entities for fact completion. In contrast, we consider an entity-ranking setup and create a set of candidate entities for each relation. This setting allows us to automatically evaluate a large number of queries that usually involve multi-token entities. We test pretrained models on their ability to recover the correct object entity from the candidate set. To create the negative choices, we select from the set of all object entities in the particular relation, which generally have the same type as the groundtruth and are more challenging to distinguish than entities with different types. Our evaluation strategy is similar to previous work on knowledge base completion (Nickel et al., 2011; Bordes et al., 2013; Xiong et al., 2017). We follow these studies and use Hits $@ 1 0$ as the evaluation metric. ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
173,
|
| 327 |
+
420,
|
| 328 |
+
825,
|
| 329 |
+
560
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 3
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "Baselines We compare our model with two pretrained language models BERT (Devlin et al., 2019) (both base and large) and GPT-2 (Radford et al., 2019). We make use of their output token probabilities to rank candidate entities. For BERT, we feed in the masked queries (e.g., $Q _ { m a s k e d } = \\pm \\mathrm { h e }$ capital of France is [MASK]). For multi-token candidates, we use the same number of [MASK] tokens in the query inputs. We use the average log probability of masked tokens for ranking. Given a multi-token entity $E _ { i } = [ e _ { i } ^ { 1 } , e _ { i } ^ { 2 } , . . . , e _ { i } ^ { | E _ { i } | } ]$ e|Ei|i ], the ranking score from BERT is calculated as ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
173,
|
| 338 |
+
575,
|
| 339 |
+
825,
|
| 340 |
+
676
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "equation",
|
| 346 |
+
"img_path": "images/5d027965b695409721272dd4f66de07d6adc02981b0b91b07701cdb6f3204fa9.jpg",
|
| 347 |
+
"text": "$$\nS _ { E _ { i } } = \\frac { 1 } { | E _ { i } | } \\sum _ { k } \\log P ( e _ { i } ^ { k } | Q _ { m a s k e d } ) .\n$$",
|
| 348 |
+
"text_format": "latex",
|
| 349 |
+
"bbox": [
|
| 350 |
+
377,
|
| 351 |
+
672,
|
| 352 |
+
619,
|
| 353 |
+
710
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "For GPT-2, we feed in the original query without the answer entity and use the first-token probability of candidate entities for ranking, which performs better than using average log probabilities. As our model learns to predict a plausible probability $( P ( e | \\mathcal { C } ) )$ for each entity mention during entity replacement training, we can directly use these predicted probabilities to rank the candidates. ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
173,
|
| 362 |
+
713,
|
| 363 |
+
825,
|
| 364 |
+
770
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "Results Table 1 shows the fact completion results for all relations. We denote our method WKLM for (Weakly Supervised Knowledge-Pretrained Language Model). Overall, WKLM achieves the best results on 8 of the 10 relations. We also observe that GPT-2 outperforms BERT on average. We think this is because the fact completion task requires models to predict the missing entities using only a short context on the left, while BERT pretraining incorporates context from both directions. Interestingly, BERT achieves good performance on several geographical relations such as PlaceOfBirth, LocatedIn and PlaceOfDeath. We conjecture that this is because location entities usually appear at sentence ends in Wikipedia articles, e.g., Obama was born in ",
|
| 371 |
+
"bbox": [
|
| 372 |
+
173,
|
| 373 |
+
786,
|
| 374 |
+
825,
|
| 375 |
+
898
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "Honolulu, Hawaii.. This sentence pattern is similar to our templates and BERT may learn to rely mostly on the left context to make predictions. For most relations that include answers that are person names, BERT lags behind both GPT-2 and our model. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
176,
|
| 384 |
+
103,
|
| 385 |
+
823,
|
| 386 |
+
146
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 4
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "Comparing the top and bottom five relations, we observe that BERT’s performance is correlated with the size of the candidate set, while WKLM and GPT-2 are less sensitive to this number. A similar pattern exists between models’ performance and the cardinality of groundtruth answers, i.e., our model achieves similar performance on both single-answer and multiple-answer queries while BERT is usually better at single-answer queries. WKLM both outperforms BERT and GPT-2 and achieves robust performance across relations with different properties. Visualization of correlations between relation properties and model performance can be found in the appendix. ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
174,
|
| 395 |
+
152,
|
| 396 |
+
825,
|
| 397 |
+
251
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 4
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "table",
|
| 403 |
+
"img_path": "images/37815abb98f5a94ae584d39e8b31b9b8867be5e3b06ca0698e196d902c9ad025.jpg",
|
| 404 |
+
"table_caption": [
|
| 405 |
+
"Table 1: Zero-Shot Fact Completion Results. "
|
| 406 |
+
],
|
| 407 |
+
"table_footnote": [],
|
| 408 |
+
"table_body": "<table><tr><td>Relation Name</td><td>#of Candidates</td><td>#of Answers</td><td>BERT-base</td><td>Model BERT-large</td><td>GPT-2</td><td>Ours</td></tr><tr><td>HASCHILD (P40)</td><td>906</td><td>3.8</td><td>9.00</td><td>6.00</td><td>20.5</td><td>63.5</td></tr><tr><td>NOTABLEWORK (P800)</td><td>901</td><td>5.2</td><td>1.88</td><td>2.56</td><td>2.39</td><td>4.10</td></tr><tr><td>CAPITALOF (P36)</td><td>820</td><td>2.2</td><td>1.87</td><td>1.55</td><td>15.8</td><td>49.1</td></tr><tr><td>FOUNDEDBY (P112)</td><td>798</td><td>3.7</td><td>2.44</td><td>1.93</td><td>8.65</td><td>24.2</td></tr><tr><td>CREATOR (P170)</td><td>536</td><td>3.6</td><td>4.57</td><td>4.57</td><td>7.27</td><td>9.84</td></tr><tr><td>PLACEOFBIRTH (P19)</td><td>497</td><td>1.8</td><td>19.2</td><td>30.9</td><td>8.95</td><td>23.2</td></tr><tr><td>LOCATEDIN (P131))</td><td>382</td><td>1.9</td><td>13.2</td><td>52.5</td><td>21.0</td><td>61.1</td></tr><tr><td>EDUCATEDAT (P69)</td><td>374</td><td>4.1</td><td>9.10</td><td>7.93</td><td>11.0</td><td>16.9</td></tr><tr><td>PLACEOFDEATH (P20)</td><td>313</td><td>1.7</td><td>43.0</td><td>42.6</td><td>8.83</td><td>26.5</td></tr><tr><td>OCCUPATION (P106)</td><td>190</td><td>1.4</td><td>8.58</td><td>10.7</td><td>9.17</td><td>10.7</td></tr><tr><td>Average Hits @ 10</td><td>1</td><td>-</td><td>11.3</td><td>16.1</td><td>16.3</td><td>28.9</td></tr></table>",
|
| 409 |
+
"bbox": [
|
| 410 |
+
189,
|
| 411 |
+
287,
|
| 412 |
+
805,
|
| 413 |
+
473
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 4
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "3.2 DOWNSTREAM TASKS ",
|
| 420 |
+
"text_level": 1,
|
| 421 |
+
"bbox": [
|
| 422 |
+
174,
|
| 423 |
+
496,
|
| 424 |
+
369,
|
| 425 |
+
510
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 4
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Background knowledge is important for language understanding. We expect our pretraining approach to be beneficial to NLP applications where entity-level knowledge is essential. We consider two such applications: question answering and entity-typing. We find that a large portion of the questions in existing QA datasets are about entities and involve entity relations. In a way, our pretraining objective is analogous to question answering in a multiple-choice setting (Hermann et al., 2015). The entity-typing task requires the model to predict a set of correct types of entity mentions in a short context. The context itself can be insufficient and the training data for this task is small and noisy. We believe a model that encodes background entity knowledge can help in both cases. ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
173,
|
| 434 |
+
521,
|
| 435 |
+
825,
|
| 436 |
+
633
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 4
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "3.2.1 QUESTION ANSWERING ",
|
| 443 |
+
"text_level": 1,
|
| 444 |
+
"bbox": [
|
| 445 |
+
176,
|
| 446 |
+
648,
|
| 447 |
+
393,
|
| 448 |
+
662
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 4
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "Datasets We consider four question answering datasets: ",
|
| 455 |
+
"bbox": [
|
| 456 |
+
174,
|
| 457 |
+
672,
|
| 458 |
+
552,
|
| 459 |
+
686
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "• WebQuestions (Berant et al., 2013) is originally a dataset for knowledge base question answering. The questions are collected using Google Suggest API and are all asking about simple relational facts of Freebase entities. \nTriviaQA7 (Joshi et al., 2017) includes questions from trivia and quiz-league websites. Apart from a small portion of questions to which the answers are numbers and free texts, $9 2 . 8 5 \\%$ of the answers are Wikipedia entities. Quasar-T (Dhingra et al., 2017) is another dataset that includes trivia questions. Most of the answers in this dataset are none phrases. According to our manual analysis on random samples, $8 8 \\%$ of the answers are real-world entities8. \nSearchQA (Dunn et al., 2017) uses questions from the television quiz show Jeopardy! and we also find that almost all of the answers are real-world entities. ",
|
| 466 |
+
"bbox": [
|
| 467 |
+
215,
|
| 468 |
+
698,
|
| 469 |
+
825,
|
| 470 |
+
864
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "text",
|
| 476 |
+
"text": "Questions in all three datasets are created without the context of a paragraph, which resembles the scenario of practical question answering applications. All the questions except WebQuestions are written by humans. This indicates that humans are generally interested to ask questions to seek information about entities. We show the statistics and example questions in Table 2. We split the training data (created by distant supervision) of WebQuestions with a ratio (9:1) for training and development. Since our model is based on our own BERT implementations, in addition to the aforementioned entity-related datasets, we first use the standard SQuAD (Rajpurkar et al., 2016) benchmark to validate our model’s answer extraction performance. ",
|
| 477 |
+
"bbox": [
|
| 478 |
+
173,
|
| 479 |
+
103,
|
| 480 |
+
825,
|
| 481 |
+
215
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 5
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "table",
|
| 487 |
+
"img_path": "images/237dcef3c93c1437051e3eaca6d77690a8bf9b594803ead5b6eb58d49adc1b82.jpg",
|
| 488 |
+
"table_caption": [
|
| 489 |
+
"Table 2: Properties of the QA Datasets. "
|
| 490 |
+
],
|
| 491 |
+
"table_footnote": [],
|
| 492 |
+
"table_body": "<table><tr><td>Dataset</td><td>Train</td><td>Valid</td><td>Test</td><td>Example Questions</td></tr><tr><td>WebQuestions</td><td>3778</td><td></td><td>2032</td><td>Who plays Stewie Griffn on Family Guy?</td></tr><tr><td>TriviaQA</td><td>87291</td><td>11274</td><td>10790</td><td>What is the Japanese share index called?</td></tr><tr><td>SearchQA</td><td>99811</td><td>13893</td><td>27247</td><td>Hero several books 11 discover's wizard?</td></tr><tr><td>Quasar-T</td><td>37012</td><td>3000</td><td>3000</td><td>Which vegetable isa Welsh emblem?</td></tr></table>",
|
| 493 |
+
"bbox": [
|
| 494 |
+
225,
|
| 495 |
+
255,
|
| 496 |
+
767,
|
| 497 |
+
333
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 5
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "Settings We adopt the fine-tuning approach to extract answer spans with pretrained models. We add linear layers over the last hidden states of the pretrained models to predict the start and end positions of the answer. Unlike $\\mathrm { S Q u A D }$ , questions in the datasets we use are not paired with paragraphs that contain the answer. We follow previous work (Chen et al., 2017; Wang et al., 2018a) and retrieve context paragraphs with information retrieval systems. Details of the context retrieval process for each dataset can be found in the appendix. Reader models are trained with distantly supervised data, i.e., we treat any text span in any retrieved paragraph as ground truth as long as it matches the original answers. Since the reader model needs to read multiple paragraphs to predict a single answer at inference time, we also train a BERT based paragraph ranker with distant-supervised data to assign each paragraph a relevance score. The paragraph ranker takes question and paragraph pairs and predicts a score in the range [0, 1] for each pair. During inference, for each question and its evidence paragraph set, we first use the paragraph reader to extract the best answer from each paragraph. These answers are then ranked based on a linear combination of the answer extraction score (a log sum of the answer start and end scores) and the paragraph relevance score. We also evaluate model performance without using the relevance scores. ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
173,
|
| 506 |
+
356,
|
| 507 |
+
825,
|
| 508 |
+
563
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 5
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "Open-Domain QA Baselines We compare our QA model with the following systems: ",
|
| 515 |
+
"bbox": [
|
| 516 |
+
171,
|
| 517 |
+
578,
|
| 518 |
+
751,
|
| 519 |
+
593
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 5
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "• DrQA (Chen et al., 2017) is an open-domain QA system which uses TF-IDF with bigram features for ranking and a simple attentive reader for answer extraction. \n$\\mathbf { R } ^ { 3 }$ (Wang et al., 2018a) is a reinforcement learning based system which jointly trains a paragraph ranker and a document reader. DSQA (Lin et al., 2018) uses RNN-based paragraph ranker and jointly trains the paragraph ranker and attentive paragraph ranker with a multi-task loss. Evidence Aggregation (Wang et al., 2018b) uses a hybrid answer reranking module to aggregate answer information from multiple paragraphs and rerank the answers extracted from multiple paragraphs. BERTserini (Yang et al., 2019a) is a BERT-based open-domain QA system, which uses BM25-based retriever to retrieve 100 paragraphs and a BERT-based reader to extract answers. The paragraph reader is either trained with SQuAD (Rajpurkar et al., 2016) data or distant-supervision data (Yang et al., 2019b) ORQA (Lee et al., 2019) replaces the traditional BM25 ranking with a BERT-based ranker. The ranker model is pretrained on the whole Wikipedia corpus with an inverse cloze task which simulates the matching between questions and paragraphs. All text blocks in Wikipedia are be pre-encoded as vectors and retrieved with Locality Sensitive Hashing. ",
|
| 526 |
+
"bbox": [
|
| 527 |
+
215,
|
| 528 |
+
604,
|
| 529 |
+
825,
|
| 530 |
+
867
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 5
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "Results Table 3 shows the SQuAD results and Table 4 shows the open-domain results on the four datasets that are highly entity-related. From the SQuAD results, we observe that our BERT reimplementation performs better than the original model this is due to the fact that it is trained for twice as many updates: 2 million vs. 1 million for the original BERT. Although lots of the answers in SQuAD are non-entity spans, the WKLM model we propose achieves better performance than BERT. We believe the improvement is due to both the masked language model and entity replacement objectives. Ablation experiments on the training objectives will be discussed in $\\ S 3 . 2 . 3$ . ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
176,
|
| 539 |
+
882,
|
| 540 |
+
823,
|
| 541 |
+
924
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 5
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
103,
|
| 551 |
+
823,
|
| 552 |
+
160
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 6
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "Having established that our BERT re-implementation performs better than the original model, we compare with only our own BERT for the following experiments. From Table 4, we see that our model produces consistent improvements across different datasets. Compared to the $0 . 8 \\ : \\mathrm { F 1 }$ improvements over BERT on SQuAD, we achieve an average of $2 . 7 ~ \\mathrm { F 1 }$ improvements over BERT on entity-related datasets when the ranking scores are not used. On TriviaQA and Quasar-T, WKLM outperforms our BERT even when it uses ranking scores. Improvements in natural language question datasets (WebQuestions, TriviaQA, and Quasar-T) are more significant than SearchQA where the questions are informal queries. When we utilize ranking scores from a simple BERT based ranker, we are able to achieve the state-of-the-art on three of the four datasets. ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
166,
|
| 562 |
+
529,
|
| 563 |
+
305
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 6
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "table",
|
| 569 |
+
"img_path": "images/1854d7a4ca65eaaf497369b4e325a9a8cdad84e041b310ba25a74e5ed00a7f0e.jpg",
|
| 570 |
+
"table_caption": [
|
| 571 |
+
"Table 3: SQuAD Dev Results. "
|
| 572 |
+
],
|
| 573 |
+
"table_footnote": [],
|
| 574 |
+
"table_body": "<table><tr><td>Model</td><td>EM</td><td>F1</td></tr><tr><td>Google's BERT-base</td><td>80.8</td><td>88.5</td></tr><tr><td>Google's BERT-large</td><td>84.1</td><td>90.9</td></tr><tr><td>Our BERT-base</td><td>83.4</td><td>90.5</td></tr><tr><td>WKLM (base)</td><td>84.3</td><td>91.3</td></tr></table>",
|
| 575 |
+
"bbox": [
|
| 576 |
+
560,
|
| 577 |
+
209,
|
| 578 |
+
802,
|
| 579 |
+
287
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 6
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "",
|
| 586 |
+
"bbox": [
|
| 587 |
+
174,
|
| 588 |
+
306,
|
| 589 |
+
825,
|
| 590 |
+
361
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 6
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "table",
|
| 596 |
+
"img_path": "images/8009850beb058acab121c395c79c8d81cf79e2f65963c628b1a7bb6c30196764.jpg",
|
| 597 |
+
"table_caption": [
|
| 598 |
+
"Table 4: Open-domain QA Results. "
|
| 599 |
+
],
|
| 600 |
+
"table_footnote": [],
|
| 601 |
+
"table_body": "<table><tr><td>Model</td><td>WebQuestions EM</td><td>F1</td><td>TriviaQA EM</td><td>F1</td><td>Quasar-T EM</td><td>F1</td><td>SearchQA EM</td><td>F1</td></tr><tr><td>DrQA (Chen et al., 2017)</td><td>20.7</td><td>1</td><td>-</td><td>1</td><td>-</td><td>-</td><td>-</td><td>1</td></tr><tr><td>R (Wang et al.,2018a)</td><td>-</td><td>1</td><td>50.6</td><td>57.3</td><td>42.3</td><td>49.6</td><td>57.0</td><td>63.2</td></tr><tr><td>DSQA (Lin et al., 2018)</td><td>18.5</td><td>25.6</td><td>48.7</td><td>56.3</td><td>42.2</td><td>49.3</td><td>49.0</td><td>55.3</td></tr><tr><td>Evidence Agg. (Wang et al.,2018b)</td><td>1</td><td>1</td><td>50.6</td><td>57.3</td><td>42.3</td><td>49.6</td><td>57.0</td><td>63.2</td></tr><tr><td>BERTserini (Yang et al.,2019a)</td><td>-</td><td>-</td><td>51.0</td><td>56.3</td><td>1</td><td>-</td><td>1</td><td>1</td></tr><tr><td>BERTserini+DS (Yang et al., 2019b)</td><td>=</td><td>=</td><td>54.4</td><td>60.2</td><td>1</td><td>=</td><td>-</td><td>1</td></tr><tr><td>ORQA (Lee et al., 2019)</td><td>36.4</td><td>1</td><td>45.0</td><td>-</td><td>-</td><td>-</td><td>-</td><td>1</td></tr><tr><td>Our BERT</td><td>29.2</td><td>35.5</td><td>48.7</td><td>53.2</td><td>40.4</td><td>46.1</td><td>57.1</td><td>61.9</td></tr><tr><td>Our BERT +Ranking score</td><td>32.2</td><td>38.9</td><td>52.1</td><td>56.5</td><td>43.2</td><td>49.2</td><td>60.6</td><td>65.9</td></tr><tr><td>WKLM</td><td>30.8</td><td>37.9</td><td>52.2</td><td>56.7</td><td>43.7</td><td>49.9</td><td>58.7</td><td>63.3</td></tr><tr><td>WKLM + Ranking score</td><td>34.6</td><td>41.8</td><td>58.1</td><td>63.1</td><td>45.8</td><td>52.2</td><td>61.7</td><td>66.7</td></tr></table>",
|
| 602 |
+
"bbox": [
|
| 603 |
+
186,
|
| 604 |
+
397,
|
| 605 |
+
808,
|
| 606 |
+
583
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 6
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "3.2.2 ENTITY TYPING ",
|
| 613 |
+
"text_level": 1,
|
| 614 |
+
"bbox": [
|
| 615 |
+
174,
|
| 616 |
+
606,
|
| 617 |
+
341,
|
| 618 |
+
621
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 6
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "To compare with an existing study (Zhang et al., 2019) that also attempts to incorporate entity knowledge into language models, we consider an additional entity typing task using the large FIGER dataset (Ling & Weld, 2012). The task is to assign a fine-grained type to entity mentions. We do that by adding two special tokens before and after the entity span to mark the entity position. We use the final representation of the start token ([CLS]) to predict the entity types. The model is fine-tuned on weakly-supervised training data with binary cross-entropy loss. We evaluate the models using strict accuracy, loose micro, and macro F1 scores. ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
173,
|
| 627 |
+
631,
|
| 628 |
+
825,
|
| 629 |
+
728
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 6
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "We show the results in Table 5. We compare our model with two non-BERT neural baselines (Inui et al., 2017) that integrate a set of hand-crafted features: LSTM $^ +$ Hand-crafted and Attentive $^ +$ ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
734,
|
| 639 |
+
825,
|
| 640 |
+
763
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 6
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "table",
|
| 646 |
+
"img_path": "images/d02b780701e2abd4e6c8b6f2b30fdf34aee47bee8a735c6bfe1bb0f3379a1536.jpg",
|
| 647 |
+
"table_caption": [
|
| 648 |
+
"Table 5: Fine-grained Entity Typing Results on the FIGER dataset. "
|
| 649 |
+
],
|
| 650 |
+
"table_footnote": [],
|
| 651 |
+
"table_body": "<table><tr><td>Model</td><td>Acc</td><td>Ma-F1</td><td>Mi-F1</td></tr><tr><td>LSTM+ Hand-crafted (Inui et al.,2017)</td><td>57.02</td><td>76.98</td><td>73.94</td></tr><tr><td>Attentive + Hand-crafted (Inui et al.,2017) BERT baseline (Zhang et al.,2019)</td><td>59.68 52.04</td><td>78.97 75.16</td><td>75.36 71.63</td></tr><tr><td>ERNIE (Zhang et al., 2019)</td><td>57.19</td><td>75.61</td><td>73.39</td></tr><tr><td>Our BERT</td><td>54.53</td><td></td><td></td></tr><tr><td>WKLM</td><td>60.21</td><td>79.57 81.99</td><td>74.74 77.00</td></tr></table>",
|
| 652 |
+
"bbox": [
|
| 653 |
+
274,
|
| 654 |
+
811,
|
| 655 |
+
720,
|
| 656 |
+
921
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 6
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "Hand-crafted; a vanilla BERT baseline and the ERNIE model (Zhang et al., 2019) that enhances BERT with knowledge base embeddings. ",
|
| 663 |
+
"bbox": [
|
| 664 |
+
174,
|
| 665 |
+
103,
|
| 666 |
+
823,
|
| 667 |
+
132
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 7
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "First, we see that naively applying BERT is less effective than simple models combined with sparse hand-crafted features. Although the ERNIE model can improve over BERT by 5.15 points, its performance still lags behind models that make good use of hand-crafted features. In contrast, although based on a stronger BERT model, our model achieves larger absolute improvements (5.68 points) and sets a new state-of-the-art for this task. Given the larger improvement margin, we believe our model that directly learn knowledge from text is more effective than the ERNIE method. ",
|
| 674 |
+
"bbox": [
|
| 675 |
+
174,
|
| 676 |
+
138,
|
| 677 |
+
825,
|
| 678 |
+
222
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 7
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "3.2.3 ABLATION STUDY: THE EFFECT OF MASKED LANGUAGE MODEL LOSS ",
|
| 685 |
+
"text_level": 1,
|
| 686 |
+
"bbox": [
|
| 687 |
+
176,
|
| 688 |
+
237,
|
| 689 |
+
722,
|
| 690 |
+
252
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 7
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "text",
|
| 696 |
+
"text": "In view of a recent study (Liu et al., 2019b) showing simply extending the training time of BERT leads to stronger performance on various downstream tasks, we conduct further analysis to differentiate the effects of entity replacement training and masked language modeling. We compare our model with three variants: a model pretrained only with the knowledge learning objective (WKLM without MLM), a model trained with both knowledge learning and masked language modeling with more masked words (WKLM with $1 5 \\%$ MLM) and a BERT model trained with additional 1 million updates on English Wikipedia $\\mathbf { \\left( B E R T + 1 M \\right) }$ MLM updates) and no knowledge learning. ",
|
| 697 |
+
"bbox": [
|
| 698 |
+
174,
|
| 699 |
+
262,
|
| 700 |
+
825,
|
| 701 |
+
359
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 7
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "The ablation results are shown in Table 6. The results of WKLM without MLM validate that adding the language model objective is essential for downstream performance. We also find that masking out too many words (i.e., $1 5 \\%$ masking ratio as in the original BERT) leads to worse results. We conjecture that too many masked words outside entity mentions break parts of the context information and introduce noisy signals to knowledge learning. Results of continued BERT training show that more MLM updates are often beneficial, especially for SQuAD. However, on tasks that are more entity-centric, continued MLM training is less effective than our WKLM method. This suggests that our WKLM method could serve as an effective complementary recipe to masked language modeling when applied to entity-related NLP tasks. ",
|
| 708 |
+
"bbox": [
|
| 709 |
+
173,
|
| 710 |
+
366,
|
| 711 |
+
825,
|
| 712 |
+
491
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 7
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "table",
|
| 718 |
+
"img_path": "images/d4568ab64b2ca24e5cde277fd34757bae39b25014cd616d7d127afbc3998a66f.jpg",
|
| 719 |
+
"table_caption": [
|
| 720 |
+
"Table 6: Ablation Studies on Masked Language Model and Masking Ratios. "
|
| 721 |
+
],
|
| 722 |
+
"table_footnote": [],
|
| 723 |
+
"table_body": "<table><tr><td>Model</td><td colspan=\"2\">SQuAD EM F1</td><td colspan=\"2\">TriviaQA EM F1</td><td colspan=\"2\">Quasar-T EM F1</td><td>FIGER Acc</td></tr><tr><td>Our BERT</td><td>83.4</td><td>90.5</td><td>48.7</td><td>53.2</td><td>40.4</td><td>46.1</td><td>54.53</td></tr><tr><td>WKLM</td><td>84.3</td><td>91.3</td><td>52.2</td><td>56.7</td><td>43.7</td><td>49.9</td><td>60.21</td></tr><tr><td>WKLM without MLM</td><td>80.5</td><td>87.6</td><td>48.2</td><td>52.5</td><td>42.2</td><td>48.1</td><td>58.44</td></tr><tr><td>WKLM with 15% masking</td><td>84.1</td><td>91.0</td><td>51.0</td><td>55.3</td><td>42.9</td><td>49.0</td><td>59.68</td></tr><tr><td>Our BERT + 1MMLMupdates</td><td>84.4</td><td>91.1</td><td>52.0</td><td>56.3</td><td>42.3</td><td>48.2</td><td>54.17</td></tr></table>",
|
| 724 |
+
"bbox": [
|
| 725 |
+
222,
|
| 726 |
+
531,
|
| 727 |
+
774,
|
| 728 |
+
640
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 7
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "4 RELATED WORK ",
|
| 735 |
+
"text_level": 1,
|
| 736 |
+
"bbox": [
|
| 737 |
+
176,
|
| 738 |
+
667,
|
| 739 |
+
344,
|
| 740 |
+
684
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 7
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "Pretrained Language Representations Early research on language representations focused on static unsupervised word representations (Mikolov et al., 2013; Pennington et al., 2014). Word embeddings leverage co-occurrences to learn latent word vectors that approximately reflect word semantics. Given that words can have different meanings in different contexts, more recent studies (McCann et al., 2017; Peters et al., 2018a) show that contextual language representations can be more powerful than static word embeddings in downstream tasks. This direction has been further explored at a larger scale with efficient Transformer architectures (Radford et al., 2019; Devlin et al., 2019; Yang et al., 2019c). Our WKLM method is based on these techniques and we focus on improving the knowledge ability of pretrained models. ",
|
| 747 |
+
"bbox": [
|
| 748 |
+
173,
|
| 749 |
+
699,
|
| 750 |
+
825,
|
| 751 |
+
825
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 7
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "Knowledge-Enhanced NLP Models Background knowledge has been considered an indispensable part of language understanding (Fillmore et al., 1976; Minsky, 1988). As standard language encoders usually do not explicitly model knowledge, recent studies (Ahn et al., 2016; Yang & Mitchell, 2017; Logan et al., 2019; Liu et al., 2019a) have explored methods to incorporate external knowledge into NLP models. Most of these methods rely on additional inputs such as entity representations from structured knowledge bases. With the breakthrough of large-scale pretrained language encoders (Devlin et al., 2019), Zhang et al. (2019) and Peters et al. (2019) adopt similar ideas and propose entity-level knowledge enhancement training objectives to incorporate knowledge into pretrained models. Other recent studies (Mihaylov & Frank, 2018; Xiong et al., 2019) leverage external knowledge bases to enhance text-based question answering models. In contrast to these methods, our method utilizes minimal external entity information and does not require additional memory or architectural changes when applied to downstream tasks. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
840,
|
| 761 |
+
823,
|
| 762 |
+
924
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "",
|
| 769 |
+
"bbox": [
|
| 770 |
+
174,
|
| 771 |
+
103,
|
| 772 |
+
825,
|
| 773 |
+
186
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 8
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "text",
|
| 779 |
+
"text": "5 CONCLUSION ",
|
| 780 |
+
"text_level": 1,
|
| 781 |
+
"bbox": [
|
| 782 |
+
176,
|
| 783 |
+
208,
|
| 784 |
+
318,
|
| 785 |
+
224
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 8
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "We introduce a weakly supervised method to encourage pretrained language models to learn entitylevel knowledge. Our method uses minimal entity information during pretraining and does not introduce additional computation, memory or architectural overhead for downstream task fine-tuning. The trained model demonstrates strong performance on a probing fact completion task and two entity-related NLP tasks. Together, our results show the potential of directly learning entity-level knowledge from unstructured natural language and the benefits of large-scale knowledge-aware pretraining for downstream NLP tasks. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
174,
|
| 794 |
+
241,
|
| 795 |
+
825,
|
| 796 |
+
337
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 8
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "REFERENCES ",
|
| 803 |
+
"text_level": 1,
|
| 804 |
+
"bbox": [
|
| 805 |
+
176,
|
| 806 |
+
359,
|
| 807 |
+
285,
|
| 808 |
+
375
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 8
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "text",
|
| 814 |
+
"text": "Sungjin Ahn, Heeyoul Choi, Tanel Parnamaa, and Yoshua Bengio. A neural knowledge language ¨ model. arXiv preprint arXiv:1608.00318, 2016. ",
|
| 815 |
+
"bbox": [
|
| 816 |
+
173,
|
| 817 |
+
383,
|
| 818 |
+
823,
|
| 819 |
+
411
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 8
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. Semantic parsing on freebase from question-answer pairs. In EMNLP, pp. 1533–1544. ACL, 2013. ",
|
| 826 |
+
"bbox": [
|
| 827 |
+
173,
|
| 828 |
+
421,
|
| 829 |
+
823,
|
| 830 |
+
452
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 8
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "Antoine Bordes, Nicolas Usunier, Alberto Garc´ıa-Duran, Jason Weston, and Oksana Yakhnenko. ´ Translating embeddings for modeling multi-relational data. In NIPS, pp. 2787–2795, 2013. ",
|
| 837 |
+
"bbox": [
|
| 838 |
+
173,
|
| 839 |
+
460,
|
| 840 |
+
823,
|
| 841 |
+
489
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 8
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli C¸ elikyilmaz, and Yejin Choi. COMET: commonsense transformers for automatic knowledge graph construction. In ACL (1), pp. 4762–4779. Association for Computational Linguistics, 2019. ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
176,
|
| 850 |
+
500,
|
| 851 |
+
823,
|
| 852 |
+
542
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 8
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. Reading wikipedia to answer opendomain questions. In ACL (1), pp. 1870–1879. ACL, 2017. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
169,
|
| 861 |
+
553,
|
| 862 |
+
823,
|
| 863 |
+
582
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 8
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D Manning. What does bert look at? an analysis of bert’s attention. arXiv preprint arXiv:1906.04341, 2019. ",
|
| 870 |
+
"bbox": [
|
| 871 |
+
171,
|
| 872 |
+
592,
|
| 873 |
+
823,
|
| 874 |
+
621
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 8
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In NAACL-HLT (1), pp. 4171–4186. ACL, 2019. ",
|
| 881 |
+
"bbox": [
|
| 882 |
+
174,
|
| 883 |
+
631,
|
| 884 |
+
823,
|
| 885 |
+
672
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 8
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "text",
|
| 891 |
+
"text": "Bhuwan Dhingra, Kathryn Mazaitis, and William W Cohen. Quasar: Datasets for question answering by search and reading. arXiv preprint arXiv:1707.03904, 2017. ",
|
| 892 |
+
"bbox": [
|
| 893 |
+
173,
|
| 894 |
+
683,
|
| 895 |
+
820,
|
| 896 |
+
713
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 8
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "Matthew Dunn, Levent Sagun, Mike Higgins, V Ugur Guney, Volkan Cirik, and Kyunghyun Cho. Searchqa: A new q&a dataset augmented with context from a search engine. arXiv preprint arXiv:1704.05179, 2017. ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
173,
|
| 905 |
+
722,
|
| 906 |
+
825,
|
| 907 |
+
765
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 8
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "Charles J Fillmore et al. Frame semantics and the nature of language. In Annals of the New York Academy of Sciences: Conference on the origin and development of language and speech, volume 280, pp. 20–32, 1976. ",
|
| 914 |
+
"bbox": [
|
| 915 |
+
173,
|
| 916 |
+
775,
|
| 917 |
+
823,
|
| 918 |
+
818
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 8
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "Karl Moritz Hermann, Tomas Kocisk ´ y, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa ´ Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In NIPS, pp. 1693– 1701, 2015. ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
173,
|
| 927 |
+
828,
|
| 928 |
+
823,
|
| 929 |
+
871
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 8
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "Kentaro Inui, Sebastian Riedel, Pontus Stenetorp, and Sonse Shimaoka. Neural architectures for fine-grained entity type classification. In EACL (1), pp. 1271–1280. Association for Computational Linguistics, 2017. ",
|
| 936 |
+
"bbox": [
|
| 937 |
+
176,
|
| 938 |
+
882,
|
| 939 |
+
823,
|
| 940 |
+
924
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 8
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "Mandar Joshi, Eunsol Choi, Daniel S. Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In ACL (1), pp. 1601–1611. Association for Computational Linguistics, 2017. ",
|
| 947 |
+
"bbox": [
|
| 948 |
+
173,
|
| 949 |
+
103,
|
| 950 |
+
823,
|
| 951 |
+
146
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 9
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 958 |
+
"bbox": [
|
| 959 |
+
171,
|
| 960 |
+
155,
|
| 961 |
+
823,
|
| 962 |
+
184
|
| 963 |
+
],
|
| 964 |
+
"page_idx": 9
|
| 965 |
+
},
|
| 966 |
+
{
|
| 967 |
+
"type": "text",
|
| 968 |
+
"text": "Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. Latent retrieval for weakly supervised open domain question answering. In ACL (1), pp. 6086–6096. Association for Computational Linguistics, 2019. ",
|
| 969 |
+
"bbox": [
|
| 970 |
+
174,
|
| 971 |
+
194,
|
| 972 |
+
825,
|
| 973 |
+
237
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 9
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "Yankai Lin, Haozhe Ji, Zhiyuan Liu, and Maosong Sun. Denoising distantly supervised opendomain question answering. In ACL (1), pp. 1736–1745. Association for Computational Linguistics, 2018. ",
|
| 980 |
+
"bbox": [
|
| 981 |
+
174,
|
| 982 |
+
246,
|
| 983 |
+
825,
|
| 984 |
+
289
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 9
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "Xiao Ling and Daniel S. Weld. Fine-grained entity recognition. In AAAI. AAAI Press, 2012. ",
|
| 991 |
+
"bbox": [
|
| 992 |
+
169,
|
| 993 |
+
297,
|
| 994 |
+
779,
|
| 995 |
+
314
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 9
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "Angli Liu, Jingfei Du, and Veselin Stoyanov. Knowledge-augmented language model and its application to unsupervised named-entity recognition. In NAACL-HLT (1), pp. 1142–1150. Association for Computational Linguistics, 2019a. ",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
174,
|
| 1004 |
+
323,
|
| 1005 |
+
825,
|
| 1006 |
+
366
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 9
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019b. ",
|
| 1013 |
+
"bbox": [
|
| 1014 |
+
176,
|
| 1015 |
+
376,
|
| 1016 |
+
823,
|
| 1017 |
+
419
|
| 1018 |
+
],
|
| 1019 |
+
"page_idx": 9
|
| 1020 |
+
},
|
| 1021 |
+
{
|
| 1022 |
+
"type": "text",
|
| 1023 |
+
"text": "Robert Logan, Nelson F. Liu, Matthew E. Peters, Matt Gardner, and Sameer Singh. Barack’s wife hillary: Using knowledge graphs for fact-aware language modeling. In ACL, pp. 5962–5971. ACL, 2019. ",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
174,
|
| 1026 |
+
428,
|
| 1027 |
+
823,
|
| 1028 |
+
470
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 9
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "Bryan McCann, James Bradbury, Caiming Xiong, and Richard Socher. Learned in translation: Contextualized word vectors. In NIPS, pp. 6294–6305, 2017. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
171,
|
| 1037 |
+
479,
|
| 1038 |
+
823,
|
| 1039 |
+
508
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 9
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "Todor Mihaylov and Anette Frank. Knowledgeable reader: Enhancing cloze-style reading comprehension with external commonsense knowledge. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 821–832, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1076. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
174,
|
| 1048 |
+
517,
|
| 1049 |
+
825,
|
| 1050 |
+
575
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 9
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pp. 3111–3119, 2013. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
174,
|
| 1059 |
+
584,
|
| 1060 |
+
825,
|
| 1061 |
+
627
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 9
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Marvin Minsky. Society of mind. Simon and Schuster, 1988. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
173,
|
| 1070 |
+
636,
|
| 1071 |
+
571,
|
| 1072 |
+
652
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 9
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Maximilian Nickel, Volker Tresp, and Hans-Peter Kriegel. A three-way model for collective learning on multi-relational data. In ICML, volume 11, pp. 809–816, 2011. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
171,
|
| 1081 |
+
661,
|
| 1082 |
+
825,
|
| 1083 |
+
690
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 9
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Myle Ott, Sergey Edunov, Alexei Baevski, Angela Fan, Sam Gross, Nathan $\\mathrm { N g }$ , David Grangier, and Michael Auli. fairseq: A fast, extensible toolkit for sequence modeling. In Proceedings of NAACL-HLT 2019: Demonstrations, 2019. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
173,
|
| 1092 |
+
699,
|
| 1093 |
+
826,
|
| 1094 |
+
742
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 9
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "Jeffrey Pennington, Richard Socher, and Christopher D. Manning. Glove: Global vectors for word representation. In EMNLP, pp. 1532–1543. ACL, 2014. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
168,
|
| 1103 |
+
751,
|
| 1104 |
+
825,
|
| 1105 |
+
781
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 9
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Matthew E Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. arXiv preprint arXiv:1802.05365, 2018a. ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
173,
|
| 1114 |
+
790,
|
| 1115 |
+
825,
|
| 1116 |
+
833
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 9
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "Matthew E. Peters, Mark Neumann, Luke Zettlemoyer, and Wen-tau Yih. Dissecting contextual word embeddings: Architecture and representation. In EMNLP, pp. 1499–1509. Association for Computational Linguistics, 2018b. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
173,
|
| 1125 |
+
843,
|
| 1126 |
+
825,
|
| 1127 |
+
886
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 9
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "Matthew E Peters, Mark Neumann, IV Logan, L Robert, Roy Schwartz, Vidur Joshi, Sameer Singh, and Noah A Smith. Knowledge enhanced contextual word representations. EMNLP, 2019. ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
173,
|
| 1136 |
+
895,
|
| 1137 |
+
821,
|
| 1138 |
+
924
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 9
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Fabio Petroni, Tim Rocktaschel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, Alexander H. Miller, ¨ and Sebastian Riedel. Language models as knowledge bases? EMNLP, 2019. ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
171,
|
| 1147 |
+
103,
|
| 1148 |
+
823,
|
| 1149 |
+
132
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 10
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI Blog, 1(8), 2019. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
173,
|
| 1158 |
+
140,
|
| 1159 |
+
823,
|
| 1160 |
+
170
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 10
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100, $0 0 0 +$ questions for machine comprehension of text. In EMNLP, pp. 2383–2392. The Association for Computational Linguistics, 2016. ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
174,
|
| 1169 |
+
178,
|
| 1170 |
+
823,
|
| 1171 |
+
220
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 10
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, pp. 5998–6008, 2017. ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
171,
|
| 1180 |
+
229,
|
| 1181 |
+
823,
|
| 1182 |
+
258
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 10
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "Denny Vrandeciˇ c and Markus Kr ´ otzsch. Wikidata: a free collaborative knowledge base. 2014. ¨ ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
173,
|
| 1191 |
+
267,
|
| 1192 |
+
795,
|
| 1193 |
+
282
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 10
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R. Bowman. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In ICLR, 2019a. ",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
174,
|
| 1202 |
+
290,
|
| 1203 |
+
823,
|
| 1204 |
+
333
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 10
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "Shuohang Wang, Mo Yu, Xiaoxiao Guo, Zhiguo Wang, Tim Klinger, Wei Zhang, Shiyu Chang, Gerry Tesauro, Bowen Zhou, and Jing Jiang. $\\mathtt { R } ^ { 3 }$ : Reinforced ranker-reader for open-domain question answering. In AAAI, pp. 5981–5988. AAAI Press, 2018a. ",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
174,
|
| 1213 |
+
342,
|
| 1214 |
+
826,
|
| 1215 |
+
388
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 10
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "Shuohang Wang, Mo Yu, Jing Jiang, Wei Zhang, Xiaoxiao Guo, Shiyu Chang, Zhiguo Wang, Tim Klinger, Gerald Tesauro, and Murray Campbell. Evidence aggregation for answer re-ranking in open-domain question answering. In ICLR, 2018b. ",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
174,
|
| 1224 |
+
396,
|
| 1225 |
+
825,
|
| 1226 |
+
439
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 10
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "text",
|
| 1232 |
+
"text": "Zhiguo Wang, Patrick $\\mathrm { N g }$ , Xiaofei Ma, Ramesh Nallapati, and Bing Xiang. Multi-passage bert: A globally normalized bert model for open-domain question answering. arXiv preprint arXiv:1908.08167, 2019b. ",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
173,
|
| 1235 |
+
446,
|
| 1236 |
+
825,
|
| 1237 |
+
489
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 10
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "Wenhan Xiong, Thien Hoang, and William Yang Wang. DeepPath: A reinforcement learning method for knowledge graph reasoning. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pp. 564–573, Copenhagen, Denmark, September 2017. Association for Computational Linguistics. doi: 10.18653/v1/D17-1060. ",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
174,
|
| 1246 |
+
498,
|
| 1247 |
+
825,
|
| 1248 |
+
555
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 10
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "text",
|
| 1254 |
+
"text": "Wenhan Xiong, Mo Yu, Shiyu Chang, Xiaoxiao Guo, and William Yang Wang. Improving question answering over incomplete KBs with knowledge-aware reader. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Florence, Italy, July 2019. Association for Computational Linguistics. doi: 10.18653/v1/P19-1417. ",
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
174,
|
| 1257 |
+
564,
|
| 1258 |
+
825,
|
| 1259 |
+
621
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 10
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "text",
|
| 1265 |
+
"text": "Bishan Yang and Tom M. Mitchell. Leveraging knowledge bases in lstms for improving machine reading. In ACL (1), pp. 1436–1446. ACL, 2017. ",
|
| 1266 |
+
"bbox": [
|
| 1267 |
+
169,
|
| 1268 |
+
628,
|
| 1269 |
+
823,
|
| 1270 |
+
659
|
| 1271 |
+
],
|
| 1272 |
+
"page_idx": 10
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"type": "text",
|
| 1276 |
+
"text": "Wei Yang, Yuqing Xie, Aileen Lin, Xingyu Li, Luchen Tan, Kun Xiong, Ming Li, and Jimmy Lin. End-to-end open-domain question answering with bertserini. arXiv preprint arXiv:1902.01718, 2019a. ",
|
| 1277 |
+
"bbox": [
|
| 1278 |
+
176,
|
| 1279 |
+
666,
|
| 1280 |
+
825,
|
| 1281 |
+
708
|
| 1282 |
+
],
|
| 1283 |
+
"page_idx": 10
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"type": "text",
|
| 1287 |
+
"text": "Wei Yang, Yuqing Xie, Luchen Tan, Kun Xiong, Ming Li, and Jimmy Lin. Data augmentation for bert fine-tuning in open-domain question answering. arXiv preprint arXiv:1904.06652, 2019b. ",
|
| 1288 |
+
"bbox": [
|
| 1289 |
+
171,
|
| 1290 |
+
717,
|
| 1291 |
+
823,
|
| 1292 |
+
747
|
| 1293 |
+
],
|
| 1294 |
+
"page_idx": 10
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"type": "text",
|
| 1298 |
+
"text": "Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V Le. Xlnet: Generalized autoregressive pretraining for language understanding. arXiv preprint arXiv:1906.08237, 2019c. ",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
176,
|
| 1301 |
+
755,
|
| 1302 |
+
823,
|
| 1303 |
+
797
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 10
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "Rowan Zellers, Yonatan Bisk, Roy Schwartz, and Yejin Choi. SWAG: A large-scale adversarial dataset for grounded commonsense inference. In EMNLP, pp. 93–104. ACL, 2018. ",
|
| 1310 |
+
"bbox": [
|
| 1311 |
+
173,
|
| 1312 |
+
806,
|
| 1313 |
+
823,
|
| 1314 |
+
835
|
| 1315 |
+
],
|
| 1316 |
+
"page_idx": 10
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"type": "text",
|
| 1320 |
+
"text": "Sheng Zhang, Xiaodong Liu, Jingjing Liu, Jianfeng Gao, Kevin Duh, and Benjamin Van Durme. Record: Bridging the gap between human and machine commonsense reading comprehension. arXiv preprint arXiv:1810.12885, 2018. ",
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
174,
|
| 1323 |
+
843,
|
| 1324 |
+
823,
|
| 1325 |
+
886
|
| 1326 |
+
],
|
| 1327 |
+
"page_idx": 10
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"type": "text",
|
| 1331 |
+
"text": "Zhengyan Zhang, Xu Han, Zhiyuan Liu, Xin Jiang, Maosong Sun, and Qun Liu. ERNIE: enhanced language representation with informative entities. In ACL (1), pp. 1441–1451. ACL, 2019. ",
|
| 1332 |
+
"bbox": [
|
| 1333 |
+
173,
|
| 1334 |
+
895,
|
| 1335 |
+
821,
|
| 1336 |
+
924
|
| 1337 |
+
],
|
| 1338 |
+
"page_idx": 10
|
| 1339 |
+
},
|
| 1340 |
+
{
|
| 1341 |
+
"type": "text",
|
| 1342 |
+
"text": "Yukun Zhu, Ryan Kiros, Richard S. Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In ICCV, pp. 19–27. IEEE Computer Society, 2015. ",
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
178,
|
| 1345 |
+
103,
|
| 1346 |
+
823,
|
| 1347 |
+
146
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 11
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "text",
|
| 1353 |
+
"text": "A APPENDIX ",
|
| 1354 |
+
"text_level": 1,
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
176,
|
| 1357 |
+
102,
|
| 1358 |
+
297,
|
| 1359 |
+
117
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 12
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "Implementation Details and Hyperparameters We implement our method using Fairseq Ott et al. (2019) and the fact completion baselines are implemented with Huggingface’s PytorchTransformers9. We pretrain the models with 32 V100 GPUs for 3 days. We use at most 2 GPUs for fine-tuning the paragraph reader, use 8 GPUs for fine-tuning the paragraph ranker. The entity-typing experiments require larger batch sizes and take 8 GPUs for training. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
174,
|
| 1368 |
+
133,
|
| 1369 |
+
825,
|
| 1370 |
+
204
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 12
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "For the knowledge learning pretraining phase, we use the Adam optimizer (Kingma & Ba, 2014) with learning rate 1e-5, batch size 128 and weight decay 0.01. The model is pretrained on 32 V100 GPUs for 3 days. To train the paragraph reader for open-domain QA, we select the best learning rate from $\\{ 1 \\mathrm { e } { - } 6 , 5 \\mathrm { e } { - } 6 , 1 \\mathrm { e } { - } 5 , 2 \\mathrm { e } { - } 5 \\}$ and last layer dropout ratio from $\\{ 0 . 1 , 0 . 2 \\}$ . We set the maximum training epoch to be 10 and batch size to be 32. The maximal input sequence length is 512 for WebQuestions and 128 for the other three datasets that use sentence-level paragraphs. For the paragraph ranker, we choose learning rate from $\\{ 1 \\mathrm { e } { - } 5 , 2 \\mathrm { e } { - } 5 , 5 \\mathrm { e } { - } 6 \\}$ , use dropout 0.1 and batch size 256. The maximal sequence length for each dataset is consistent with the one we used for training the paragraph reader. The linear combination of ranking and extraction scores is selected based on validation performance. For $\\mathrm { S Q u A D }$ experiments, we select learning rate from {1e-5, 5e-6, 2e-5, 3e-5}, learning rate from $\\{ 8 , 1 6 \\}$ , last layer dropout ratio from $\\{ 0 . \\bar { 1 } , 0 . 2 \\}$ . We set the maximal sequence length as 512 and the maximal training epoch as 5. For entity typing, we select learning rate from $\\{ 1 \\mathrm { e } { - } 5 , 2 \\mathrm { e } { - } 5 , 3 \\mathrm { e } { - } 5 , 5 \\mathrm { e } { - } 5 \\}$ and batch size from $\\{ 1 2 8 , 2 5 6 \\}$ . We set the maximal sequence length to be 256, the last layer dropout ratio to be 0.1. The model is fine-tuned for at most 3 epochs to prevent overfitting. The threshold for type prediction is selected on the validation set. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
173,
|
| 1379 |
+
210,
|
| 1380 |
+
825,
|
| 1381 |
+
417
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 12
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "Context Collection for QA Datasets For WebQuestions, we collect evidence context using the document retriever of DrQA (Chen et al., 2017), which uses TF-IDF based metric to retrieve the top 5 Wikipedia articles. For Quasar-T, we use Lucene ranked paragraphs. For SearchQA and TriviaQA, we use paragraphs ranked by search engines. Following existing research (Wang et al., 2018b; Lin et al., 2018), we use sentence-level paragraphs for SearchQA (50 sentences), TriviaQA (100 sentences) and SearchQA (100 sentences). ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
174,
|
| 1390 |
+
434,
|
| 1391 |
+
825,
|
| 1392 |
+
517
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 12
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "Correlation between Fact Completion Results and Properties of Relations Figure 2 shows the fact completion results of BERT are unstable on different relations with different properties, i.e., BERT’s performance is strongly correlated with the size of candidate entity set and the number of groundtruth answers. Compared to BERT, WKLM is often less sensitive to these two factors. ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
174,
|
| 1401 |
+
532,
|
| 1402 |
+
825,
|
| 1403 |
+
589
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 12
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "image",
|
| 1409 |
+
"img_path": "images/c4467ced3c563f98d90c351c77048841c6bfc2b0398c5d55d529d5aa4ca776ba.jpg",
|
| 1410 |
+
"image_caption": [
|
| 1411 |
+
"Figure 2: Left: Correlation between candidate set size and hits $@ 1 0$ ; Right: Correlation between number of groundtruth answers and hits $@ 1 0$ . "
|
| 1412 |
+
],
|
| 1413 |
+
"image_footnote": [],
|
| 1414 |
+
"bbox": [
|
| 1415 |
+
178,
|
| 1416 |
+
621,
|
| 1417 |
+
794,
|
| 1418 |
+
770
|
| 1419 |
+
],
|
| 1420 |
+
"page_idx": 12
|
| 1421 |
+
}
|
| 1422 |
+
]
|
parse/train/BJlzm64tDH/BJlzm64tDH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJlzm64tDH/BJlzm64tDH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkex2a4FPr/Hkex2a4FPr.md
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ON VARIATIONAL LEARNING OF CONTROLLABLE REPRESENTATIONS FOR TEXT WITHOUT SUPERVISION
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
The variational autoencoder (VAE) has found success in modelling the manifold of natural images on certain datasets, allowing meaningful images to be generated while interpolating or extrapolating in the latent code space, but it is unclear whether similar capabilities are feasible for text considering its discrete nature. In this work, we investigate the reason why unsupervised learning of controllable representations fails for text. We find that traditional sequence VAEs can learn disentangled representations through their latent codes to some extent, but they often fail to properly decode when the latent factor is being manipulated, because the manipulated codes often land in holes or vacant regions in the aggregated posterior latent space, which the decoding network is not trained to process. Both as a validation of the explanation and as a fix to the problem, we propose to constrain the posterior mean to a learned probability simplex, and performs manipulation within this simplex. Our proposed method mitigates the latent vacancy problem and achieves the first success in unsupervised learning of controllable representations for text. Empirically, our method significantly outperforms unsupervised baselines and is competitive with strong supervised approaches on text style transfer. Furthermore, when switching the latent factor (e.g., topic) during a long sentence generation, our proposed framework can often complete the sentence in a seemingly natural way – a capability that has never been attempted by previous methods.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
High-dimensional data, such as images and text, are often causally generated through the interaction of many complex factors, such as lighting and pose in images or style and content in texts. Recently, VAEs and other unsupervised generative models have found successes in modelling the manifold of natural images (Higgins et al., 2017; Kumar et al., 2017; Chen et al., 2016). These models often discover controllable latent factors that allow manipulation of the images through conditional generation from interpolated or extrapolated latent codes, often with impressive quality. On the other hand, while various attributes of text such as sentiment and topic can be discovered in an unsupervised way, manipulating the text by changing these learned factors have not been possible with unsupervised generative models to the best of our knowledge. C´ıfka et al. (2018); Zhao et al. (2018) observed that text manipulation is generally more challenging compared to images, and the successes of these models cannot be directly transferred to texts.
|
| 12 |
+
|
| 13 |
+
Controllable text generation aims at generating realistic text with control over various attributes including sentiment, topic and other high-level properties. Besides being a scientific curiosity, the possibility of unsupervised controllable text generation could help in a wide range of application, e.g., dialogues systems (Wen et al., 2016). Existing promising progress (Shen et al., 2017; Fu et al., 2018; Li et al., 2018; Sudhakar et al., 2019) all relies on supervised learning from annotated attributes to generate the text in a controllable fashion. The high cost of labelling large training corpora with attributes of interest limits the usage of these models, as pre-existing annotations often do not align with some downstream goal. Even if cheap labels are available, for example, review scores as a proxy for sentiment, the control is limited to the variation defined by the attributes.
|
| 14 |
+
|
| 15 |
+
In this work, we examine the obstacles that prevent sequence VAEs from performing well in unsupervised controllable text generation. We empirically discover that manipulating the latent factors for typical semantic variations often leads to latent codes that reside in some low-density region of the aggregated posterior distribution. In other words, there are vacant regions in the latent code space (Makhzani et al., 2015; Rezende & Viola, 2018) not being considered by the decoding network, at least not at convergence. As a result, the decoding network is unable to process such manipulated latent codes, yielding unpredictable generation results of low quality.
|
| 16 |
+
|
| 17 |
+
In order to mitigate the latent vacancy problem, we propose to constrain the posterior mean to a learned probability simplex and only perform manipulation within the probability simplex. Two regularizers are added to the original objective of VAE. The first enforces an orthogonal structure of the learned probability simplex; the other encourages this simplex to be filled without holes. Besides confirming that latent vacancy is indeed a cause of failure in previous sequence VAEs’, it is also the first successful attempt towards unsupervised learning of controllable representations for text to the best of our knowledge. Experimental results on text style transfer show that our approach significantly outperforms unsupervised baselines, and is competitive with strong supervised approaches across a wide range of evaluation metrics. Our proposed framework also enables finer-grained and more flexible control over text generation. In particular, we can switch the topic in the middle of sentence generation, and the model will often still find a way to complete the sentence in a natural way.
|
| 18 |
+
|
| 19 |
+
# 2 BACKGROUND: VARIATIONAL AUTOENCODERS
|
| 20 |
+
|
| 21 |
+
The variational autoencoder (VAE) (Kingma & Welling, 2013) is a generative model defined by a prior $p ( z )$ and a conditional distribution $p _ { \pmb { \theta } } ( \pmb { x } | \pmb { z } )$ . The VAE is trained to optimize a tractable variational lower bound of $\log p \pmb { \theta } ( \pmb { x } )$ :
|
| 22 |
+
|
| 23 |
+
$$
|
| 24 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { V A E } } ( \pmb { x } ; \pmb { \theta } , \phi ) = \mathbf { E } _ { z \sim q _ { \phi } ( z | \pmb { x } ) } [ \log p _ { \pmb { \theta } } ( \pmb { x } | z ) ] - D _ { \mathrm { K L } } ( q _ { \phi } ( z | \pmb { x } ) | | p ( z ) ) , } \end{array}
|
| 25 |
+
$$
|
| 26 |
+
|
| 27 |
+
where $q _ { \phi } ( z | \pmb { x } )$ is a variational distribution parameterized by an encoding network with parameters $\phi$ , and $p _ { \pmb { \theta } } ( \pmb { x } | \pmb { z } )$ denotes the decoding network with parameters $\pmb \theta$ . This objective tries to minimize the reconstruction error to generate the data, and at the same time regularizes $q _ { \phi } ( { \pmb z } | { \pmb x } )$ towards the prior $p ( z )$ . In this paper, $p ( z )$ is chosen as $\mathcal { N } ( \mathbf { 0 } , I )$ . For text modelling, the input $\pmb { x }$ is some observed text. Both the encoding and decoding network are usually recurrent neural networks.
|
| 28 |
+
|
| 29 |
+
Note that during learning, the decoding network $p _ { \pmb { \theta } }$ only learns to decode conditioned on $\textit { \textbf { z } }$ that are sampled from $q _ { \phi } ( z | \pmb { x } )$ . In other words, the decoding network only learns to process $_ { z }$ sampled from the aggregated posterior distribution $q _ { \phi } ( z ) = \mathbf { E } _ { \pmb { x } \sim p _ { d } ( \pmb { x } ) } q _ { \phi } ( z | \pmb { x } )$ , where $p _ { d } ( \pmb { x } )$ is the data distribution. If $q _ { \phi } ( z )$ has regions of low density, there is no guarantee that $p _ { \pmb { \theta } }$ would decode well in such regions. This is an important intuition that will become central to our analysis in Sec. 3.
|
| 30 |
+
|
| 31 |
+
# 3 LATENT VACANCY PREVENTS EFFECTIVE MANIPULATION
|
| 32 |
+
|
| 33 |
+
In this section, we take a deeper look into the aggregated posterior latent space of sequence VAE trained on text, and provide justification for the alternative solution we propose in Section 4.
|
| 34 |
+
|
| 35 |
+
# 3.1 OBSERVATIONS FROM UNSUPERVISED SENTIMENT MANIPULATION
|
| 36 |
+
|
| 37 |
+
As pointed out by Bowman et al. (2015), one of the motivations to apply VAEs on text is to allow generation of the sentences conditioned on extrinsic features by controlling the latent codes. Without annotated labels, no previous methods have successfully learned controllable latent factors as mentioned in Sec. 1. To understand what is missing, we conduct exploratory experiments to use VAE for unsupervised sentiment manipulation.
|
| 38 |
+
|
| 39 |
+
We use the Yelp restaurant reviews dataset and the same data split following Li et al. (2018). We train a $\beta$ -VAE (Higgins et al., $2 0 1 7 ) ^ { 1 }$ with a latent space of 80 dimensions, an LSTM encoder, and an LSTM decoder. Details about this experiment are described in Appendix A.1.
|
| 40 |
+
|
| 41 |
+
By inspecting the accuracy on the validation set, we find that there exists one dimension of latent code achieving higher than $9 0 \%$ sentiment classification accuracy by its value alone, while other latent codes get accuracy around $5 0 \%$ . Further details can be found in Appendix A.2. It means that this latent dimension is an effective sentiment indicator. Similar phenomena have been observed in large-scale language models (Radford et al., 2017). However, the direct influence on the generative process of the model observed in Radford et al. (2017) does not apply on the VAE. When we try to perform sentiment manipulation by modifying this latent dimension2, the decoding network fails to generate the desired outputs most of the time, as evidenced by the poor quantitative evaluation in Table. 1, and poor samples shown in Appendix A.3.
|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
Figure 1: Illustration of why latent vacancy prevents effective manipulation in VAEs.
|
| 45 |
+
|
| 46 |
+

|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
Figure 2: CP-VAE, mapping the posterior to a probability simplex with orthogonal basis vectors.
|
| 50 |
+
Figure 3: (a) Comparisons between $\beta$ -VAE and CP-VAE considering density under the aggregated posterior distribution, the blue and green solid arrows match with the manipulation illustrated in Fig 1 and 2; (b) Histogram of original and modified latent codes’ NLL in $\beta$ -VAE; (c) Histogram of original and modified latent codes’ NLL in CP-VAE.
|
| 51 |
+
|
| 52 |
+
# 3.2 LATENT VACANCY IN TEXT MODELLING
|
| 53 |
+
|
| 54 |
+
One possible reason for the failure is that the decoding network is never trained on codes like the manipulated ones. This is the case if the aggregated posterior has holes or regions of low density, and the manipulated codes fall into such vacant regions. Supposing the aggregated posterior latent space possesses a shape as shown in Fig. 1, the direct manipulated latent codes will fall out of the aggregated posterior latent space for most input samples. Such latent codes are never seen by the model during training and possess a low density under the aggregated posterior distribution, leading to unpredictable behaviours during decoding.
|
| 55 |
+
|
| 56 |
+
To verify our hypothesis demonstrated in Fig. 1, we empirically estimate the density of sentimentmanipulated codes under the aggregated posterior distribution of our trained VAE. Here, we approximate the data distribution $p _ { d } ( \pmb { x } )$ with the empirical distribution over all the training samples. As a result, the estimated aggregated posterior distribution is a large mixture of Gaussian distribution. For all 1000 test samples, we move the dimension of code capturing sentiment from $\mu - 2 \sigma$ to $\mu + 2 \sigma$ where $\mu$ and $\sigma$ are the mean and the standard deviation estimated on all the training samples and measure the averaged negative log-likelihood (NLL) under the aggregated posterior distribution. As depicted in Fig. 3 (a), the NLL plotted in blue dot curve rises sharply when moving away from $\mu$ even if there is only one dimension of code is changing, indicating the existence of the vacancy in the aggregated posterior latent space. In addition, we draw the histogram of all the test samples’ NLL considering their original latent codes and modified ones in Fig. 3 (b). The histogram shows that there is a large divergence in NLL between the original latent codes and the modified ones. Also, the modified latent codes have two separate modes, confirming the irregular shape of the aggregated posterior latent space. In order to resolve this issue, the approach proposed in this work is to constrain the posterior in a way that the manipulation only happens in a learned simplex, as depicted in Fig. 2. In this constrained subspace, the phenomenom of low density holes of aggregated posterior is significantly reduced, as Fig. 3 (a) and (c) empirically show that there is little change in NLL of original versus modified codes. The details of our method is presented in the next section.
|
| 57 |
+
|
| 58 |
+
# 4 METHOD
|
| 59 |
+
|
| 60 |
+
# 4.1 OVERVIEW
|
| 61 |
+
|
| 62 |
+
The experiments conducted in Sec. 3 validates the existence of vacancy in the aggregated posterior latent space. One potential way to resolve the problem is to better match the aggregated posterior with the prior (Makhzani et al., 2015; Tomczak & Welling, 2017; Zhao et al., 2018). However, in terms of unsupervised learning of controllable representation for text, these previous methods have not shown successes; Zhao et al. (2018) only attempted supervised text style transfer, and also reported negative results from the AAE (Makhzani et al., 2015). Another way to resolve the vacancy issue is to directly enforce that the aggregated posterior itself has no vacant region anywhere where we would like to perform latent code manipulation. We propose to map the posterior Gaussian mean to a constrained space, more specifically a learned probability simplex, where we can encourage the constrained latent space to be filled without vacancy, and perform manipulation to be within this simplex. As illustrated in Fig. 2, we add an additional mapping function as part of the encoding network which maps the mean of the Gaussian posterior to a constrained space. Two regularization terms are introduced later to ensure the learned simplex is not degenerate and that this subspace is well filled.
|
| 63 |
+
|
| 64 |
+
In addition, we separately model the relevant factors that we wish to control and the irrelevant factors by splitting $\textit { \textbf { z } }$ into two parts, $z ^ { ( 1 ) }$ and $\pmb { z } ^ { ( 2 ) }$ , following prior work (Bao et al., 2019). The first part captures the relevant factors that are dominant in the data without an inductive bias from external signals, while the second part learns to encode the remaining local information that is useful for reconstructing the source sentences. As a result, $q _ { \phi } ( { \pmb z } | { \pmb x } )$ is decomposed into $q _ { \phi _ { 1 } } ( { \pmb z } ^ { ( 1 ) } | { \pmb x } ) q _ { \phi _ { 2 } } ( { \pmb z } ^ { ( 2 ) } | { \pmb x } )$ where $\pmb { \phi } = \phi _ { 1 } \cup \phi _ { 2 }$ . With diagonal covariances the KL divergence term in Eq. 1 splits into two separate KL terms. In practice, we use a MLP encoding network to parametrize $\pmb { z } ^ { ( 1 ) }$ with some sentence representations as the input (e.g., averaging GloVe embeddings (Pennington et al., 2014) over the input tokens) and a LSTM encoding network to parametrize $z ^ { ( 2 ) }$ . We only constrain the posterior of $z ^ { ( 1 ) }$ and $\pmb { z } ^ { ( 2 ) }$ is optimized the same way as the traditional VAE.
|
| 65 |
+
|
| 66 |
+
# 4.2 CONSTRAINING THE POSTERIOR
|
| 67 |
+
|
| 68 |
+
We now describe how to map the mean $\pmb { \mu }$ of the Gaussian posterior for $z ^ { ( 1 ) } \in \mathbb { R } ^ { N }$ to a constrained latent space. We would like to constrain the mean $\pmb { \mu }$ to have a structure as follows:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\mu = \sum _ { i = 1 } ^ { K } p _ { i } e _ { i } , \quad \sum _ { i = 1 } ^ { K } p _ { i } = 1 , \quad \langle e _ { i } , e _ { j } \rangle = 0 , i \neq j , \quad K \leq N
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
where $e _ { i }$ are vectors representing the relevant factors, $p _ { i }$ is the proportion of $i$ th relevant factor encoded in $z ^ { ( 1 ) }$ and $K$ is a hyperparameter indicating the number of relevant factors to discover. In other words, the mean of the Gaussian posterior of $\pmb { z } ^ { ( \bar { 1 } ) }$ is constrained to be inside a $K$ -dimension probability simplex in $\mathbb { R } ^ { N }$ whose vertices are represented by the orthogonal basis vectors $\mathbf { \Delta } e _ { i } , i = 1 , \ldots , K$ . Given the outputs of the MLP encoder $\pmb { h }$ and $\log \pmb { \sigma } ^ { 2 }$ , we learn an additional mapping function $\pi$ which maps $\pmb { h }$ to the constrained posterior space, which can be treated as part of the encoding network:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\pmb { \mu } = \pi ( \pmb { h } ) = \pmb { E } \cdot \mathrm { s o f t m a x } ( \pmb { W } \pmb { h } + \pmb { b } ) ,
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
where $\pmb { { \cal E } } = [ \pmb { e } _ { 1 } , \dots , \pmb { e } _ { K } ]$ is a learnable embedding matrix representing the bases, $W$ is the learnable weight matrix, and $\pmb { b }$ is the learnable bias vector. As a result, the constrained posterior is parametrized by $\pmb { \mu }$ and $\log \sigma ^ { 2 }$ as a Gaussian distribution ${ \mathcal { N } } ( \mu , \mathrm { d i a g } ( \pmb { \sigma } ^ { 2 } ) )$ .
|
| 81 |
+
|
| 82 |
+
With the mapping function alone, the proposed VAE suffers from posterior collapse (Bowman et al., 2015), a well-known problem where the model ignores the latent code $\textit { \textbf { z } }$ during the training. Further complicating matters is the fact that there is an abundance of signals for predicting the next token in the text, but the signals indicating high-level semantics are quite sparse. It is thus unlikely that the VAEs can capture useful relevant factors from raw text without collapse. For these reasons, we enforce orthogonality in the learnt basis vectors as defined in Eq. 2, which introduces a natural recipe to prevent posterior collapse for $\pmb { z } ^ { ( 1 ) }$ . Note that the KL divergence between $q _ { \phi _ { 1 } } ( \pmb { z } ^ { ( 1 ) } | \pmb { x } )$ and $p ( \pmb { z } ^ { ( 1 ) } )$ is
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
D _ { \mathrm { K L } } \big ( q _ { \phi _ { 1 } } ( z ^ { ( 1 ) } | \pmb { x } ) \| p ( z ^ { ( 1 ) } ) \big ) = \frac { 1 } { 2 } \pmb { \mu } ^ { \top } \pmb { \mu } + \frac { 1 } { 2 } \left( \pmb { \sigma } ^ { \top } \pmb { \sigma } - \log \pmb { \sigma } ^ { \top } \pmb { \sigma } - 1 \right) .
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
With orthogonality in the basis vectors, the first term in the above equation can be factorized into
|
| 89 |
+
|
| 90 |
+
$$
|
| 91 |
+
\pmb { \mu } ^ { \top } \pmb { \mu } = ( \sum _ { i } p _ { i } \pmb { e } _ { i } ) ^ { \top } ( \sum _ { i } p _ { i } \pmb { e } _ { i } ) = \sum _ { i } p _ { i } ^ { 2 } \pmb { e } _ { i } ^ { \top } \pmb { e } _ { i } .
|
| 92 |
+
$$
|
| 93 |
+
|
| 94 |
+
To encourage orthogonality in the basis vectors, a regularization term is added to the objective function:
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\begin{array} { r } { \mathcal { L } _ { \mathrm { R E G } } ( \pmb { x } ; \pmb { \phi } _ { 1 } ) = \| \pmb { E } ^ { \top } \pmb { E } - \alpha \pmb { I } \| , } \end{array}
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $\pmb { I }$ is the identity matrix and $\alpha$ is a hyperparamter. When $\mathcal { L } _ { \mathrm { R E G } } = 0$ , $\pmb { e } _ { i } ^ { \top } \pmb { e } _ { i } = \alpha$ . In this case, $\begin{array} { r } { \pmb { \mu } ^ { \top } \pmb { \mu } = \alpha \sum _ { i } p _ { i } ^ { 2 } } \end{array}$ reaches its minimum $\frac { \alpha } { K }$ when $\pmb { p }$ is a uniform distribution. The proof can be found in Appendix C. In practice, $\mathcal { L } _ { \mathrm { R E G } }$ will quickly decrease to around 0, ensuring that the KL term will never fully collapse with the structural constraint. When it comes to controlled generation, one can choose a vertex or any desired point in the probability simplex, as illustrated in Fig. 2.
|
| 101 |
+
|
| 102 |
+
Note that the constrained posterior also means that the aggregated posterior can never match the isotropic Gaussian prior. In other word, we achieve good controlled text generation potentially at the cost of poor uncontrolled generation from the prior, but such is not the focus of this current work, and could potentially be resolved by selecting or learning a better prior as in Tomczak & Welling (2017).
|
| 103 |
+
|
| 104 |
+
# 4.3 FILLING THE CONSTRAINED SPACE
|
| 105 |
+
|
| 106 |
+
Constraining the posterior inside a certain space does not guarantee that this space will be filled after training. In order to prevent this, we want the probability distribution over the relevant factors $\pmb { p }$ to cover as much of the constrained latent space as possible. We introduce a reconstruction error of the structured latent code in order to push $\pmb { p }$ away from a uniform distribution. For each input sentence, we randomly sample $m$ sentences from the training data as negative samples. By applying the same encoding process, we get the structured latent code $\pmb { \mu } _ { i } ^ { ( - ) }$ for each negative sample. Our goal is to make the raw latent code $\pmb { h }$ similar to the restructured latent code $\pmb { \mu }$ while different from latent codes $\pmb { \mu } _ { i } ^ { ( - ) }$ of the negative samples, so that $\pmb { p }$ is generally different for each input sample. The structured reconstruction loss is formulated as a margin loss as follows:
|
| 107 |
+
|
| 108 |
+
$$
|
| 109 |
+
\mathcal { L } _ { \mathrm { S - R E C } } ( \boldsymbol { x } ; \boldsymbol { \phi } _ { 1 } ) = \mathbb { E } _ { \boldsymbol { z } ^ { ( 1 ) } \sim q _ { \phi _ { 1 } } ( \boldsymbol { z } ^ { ( 1 ) } | \boldsymbol { x } ) } \left[ \frac { 1 } { m } \sum _ { i = 1 } ^ { m } \operatorname* { m a x } ( 0 , 1 - \boldsymbol { h } \cdot \boldsymbol { \mu } + \boldsymbol { h } \cdot \boldsymbol { \mu } _ { i } ^ { ( - ) } ) \right] .
|
| 110 |
+
$$
|
| 111 |
+
|
| 112 |
+
Our final objective function is defined as follows:
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
\begin{array} { r } { \mathcal { L } ( { \boldsymbol { { x } } } ; { \boldsymbol { { \theta } } } , \phi ) = \mathcal { L } _ { \mathrm { V A E } } + \mathcal { L } _ { \mathrm { R E G } } + \mathcal { L } _ { \mathrm { S - R E C } } . } \end{array}
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
# 5 RELATED WORK
|
| 119 |
+
|
| 120 |
+
# 5.1 UNSUPERVISED LEARNING OF DISENTANGLED REPRESENTATIONS
|
| 121 |
+
|
| 122 |
+
Learning disentangled representations is an important step towards better representation learning (Bengio et al., 2013) which can be useful for (semi-)supervised learning of downstream tasks, transfer and few-shot learning (Peters et al., 2017). VAEs have achieved promising results for unsupervised learning of disentangled representations. Several variations of VAEs have been proposed to achieve better disentanglement (Higgins et al., 2017; Kumar et al., 2017; Chen et al., 2016; Razavi et al., 2019). However, most recent progress in this direction has been restricted to the domain of images.
|
| 123 |
+
|
| 124 |
+
# 5.2 CONTROLLED TEXT GENERATION
|
| 125 |
+
|
| 126 |
+
In order to perform controllable text generation, previous methods either assume annotated attributes or multiple text datasets with different known styles (Hu et al., 2017; Shen et al., 2017; Zhao et al., 2018; Fu et al., 2018; Li et al., 2018; Sudhakar et al., 2019; Logeswaran et al., 2018; Lample et al., 2018). The requirement of labelled data largely restricts the capabilities and the applications of these models. Instead, all our proposed framework needs is raw text without any annotated attribute. The dominant underlying relevant factors in the given corpus will be discovered and disentangled by our unsupervised method, which can in turn be used for controlled generation.
|
| 127 |
+
|
| 128 |
+
# 6 EXPERIMENTS
|
| 129 |
+
|
| 130 |
+
To demonstrate the effectiveness of our approach, we compare it to unsupervised baselines with traditional VAEs, considering the density under the aggregated posterior distribution and the performance on sentiment manipulation. Following evaluation protocols in text style transfer, we also compare our method to strong supervised approaches. Furthermore, we showcase the ability of finer-grained style discovery and transition possessed by our system, which has not been attempted in the literature.
|
| 131 |
+
|
| 132 |
+
In this section, our proposed framework is referred as CP-VAE (Constrained Posterior VAE). Detailed configurations including the hyperparameters, model architecture, training regimes, and decoding strategy are found in Appendix B.
|
| 133 |
+
|
| 134 |
+
# 6.1 COMPARISONS WITH UNSUPERVISED BASELINES
|
| 135 |
+
|
| 136 |
+
Experimental setup: We use the same experimental setting and dataset as mentioned in Sec. 3. The 80D latent code is split into 16 and 64 dimensions for $\pmb { z } ^ { ( 1 ) }$ and $\pmb { z } ^ { ( 2 ) }$ respectively. The sentence representations used for $\bar { z } ^ { ( 1 ) }$ is the averaged GloVe embeddings over the input tokens and $K$ is chosen as 3. To decide which basis vector corresponds to which sentiment, we sample 10 positive and 10 negative sentences respectively in the development set, pass them to the encoder, and choose the basis vector with the highest average $p _ { i }$ in $\pmb { p } = \operatorname { s o f t m a x } ( W \pmb { h } + \pmb { b } )$ , yielding $v _ { p }$ as the positive basis and $v _ { n }$ as the negative basis. If $v _ { p }$ and $v _ { n }$ are chosen to be the same vector, we choose the index with the second highest $p _ { i }$ for $v _ { p }$ . To perform sentiment manipulation, we fix $z ^ { ( 1 ) }$ to be the chosen basis vector; that is, $v _ { p }$ or $v _ { n }$ .
|
| 137 |
+
|
| 138 |
+
Comparisons on density under the aggregated posterior distribution: First, we do linear interpolation between the two discovered basis vectors $v _ { p }$ and $v _ { n }$ and estimate the averaged NLL under the aggregated posterior distribution the same way as introduced in Sec. 3. The green solid curve in Fig. 3 (a) shows that the NLL of CP-VAE is relatively stable for the whole range of the interpolation. In Fig. 3 (c), the original latent codes and the modified ones largely overlap with each other. Both observations validate the effectiveness of CP-VAE in resolving the latent vacancy problem, leading to significant improvements on unsupervised sentiment manipulation, as seen later.
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
Figure 4: Visualization of all training samples in the probability simplex: (A) With $\mathcal { L } _ { \mathrm { S } }$ -REC ;(B) Without $\mathcal { L } _ { \mathrm { S - R E C } }$
|
| 142 |
+
|
| 143 |
+
Comparsions with metrics on text style transfer: For quantitative evaluation, we adopt automatic evaluation metrics used in text style transfer (Sudhakar et al., 2019) including classification accuracy (AC), BLEU score (BL), GLEU score (GL) and language model perplexity (PL), whose definitions are elaborated in the next section. We also report $\bar { D _ { \mathrm { K L } } ( q _ { \phi _ { 1 } } ( z ^ { ( 1 ) } | \bar { \pmb x } ) | | \bar { p } ( z ) ) }$ (KL) for $z ^ { ( 1 ) }$ of CP-VAE. As shown in Tab. 1, CP-VAE performs significantly better than $\beta$ -VAE in terms of accuracy, BLEU and GLEU. The lower perplexity of $\beta$ -VAE is due to mode collapse, which produces very short pivot sentences such as “great !”. The results match our observations from the experiments on density under the aggregated posterior distribution, confirming that latent vacancy prevents effective manipulation of the latent codes. We also conduct an ablation study by removing $\mathcal { L } _ { \mathrm { R E G } }$ and $\mathcal { L } _ { \mathrm { S } }$ -REC from the objective. The results demonstrate that both terms are crucial to the success of CP-VAE. Without $\mathcal { L } _ { \mathrm { { R E G } } }$ , CP-VAE experiences posterior collapse for $z ^ { ( 1 ) }$ . As a result, $v _ { p }$ and $v _ { n }$ collide with each other, leading to failure in disentangled representation learning. Since we choose $K$ as 3, it is convenient to visualize the samples during training with $\pmb { p }$ in the learnt probability simplex, as shown in Fig. 4. We can see that the whole simplex is mostly covered with samples with the help of $\mathcal { L } _ { \mathrm { S } }$ -REC. Without $\mathcal { L } _ { \mathrm { S - R E C } }$ , the decoding network fails to recognize the basis vectors due to the poor coverage of the probability simplex, causing the model to lose most of its transferring ability.
|
| 144 |
+
|
| 145 |
+
Table 1: Comparisons with unsupervised baselines on Yelp dataset.
|
| 146 |
+
|
| 147 |
+
<table><tr><td>Model</td><td>AC个</td><td>BL个</td><td>GL个</td><td>PL↓</td><td>KL for z(1)</td></tr><tr><td>β-VAE</td><td>50.44± 2.04</td><td>7.68 ± 0.33</td><td>2.97 ± 0.14</td><td>24.63 ± 1.85</td><td>NA</td></tr><tr><td>CP-G(loVe)</td><td>60.22 ± 4.57</td><td>33.69 ± 1.47</td><td>6.78± 0.44</td><td>63.12 ±2.41</td><td>18.35 ± 0.15</td></tr><tr><td>-LREG</td><td>10.82 ± 0.91</td><td>33.27 ± 2.84</td><td>5.04± 0.27</td><td>37.25 ± 2.40</td><td>0.04± 0.01</td></tr><tr><td>- Ls-REC</td><td>12.28 ± 3.69</td><td>49.34 ± 2.65</td><td>6.22 ± 0.40</td><td>55.26 ± 2.46</td><td>17.57 ± 0.12</td></tr></table>
|
| 148 |
+
|
| 149 |
+
# 6.2 COMPARISONS TO SUPERVISED APPROACHES ON TEXT STYLE TRANSFER
|
| 150 |
+
|
| 151 |
+
Experimental setup: We choose two datasets, Yelp and Amazon, used in works (Li et al., 2018; Sudhakar et al., 2019) on text style transfer which provide human gold-standard references for the test set. The same train-dev-test splits are used in our experiments. Two different sentence representations are used in this experiment, averaged GloVe and BERT (Devlin et al., 2018), denoted as CP-G(loVe) and CP-B(ert) respectively. The remaining settings are as described in the above section.
|
| 152 |
+
|
| 153 |
+
Compared supervised approaches: On the two datasets, we compare to three adversarially trained models: StyleEmbedding (SE) (Fu et al., 2018), MultiDecoder (MD) (Fu et al., 2018), CrossAligned (CA) (Shen et al., 2017) and two state-of-the-art models based on a “delete, transform, and generate” framework: DeleteAndRetrieve (D&R) (Li et al., 2018) and Blind-GenerativeStyleTransformer (B-GST) (Sudhakar et al., 2019).
|
| 154 |
+
|
| 155 |
+
Evaluation protocols: Four different automatic evaluation metrics are used to measure the different perspectives of the transferring quality, following Sudhakar et al. (2019). To measure transferring ability, we use pre-trained CNN based classifiers achieving $98 \%$ and $84 \%$ accuracies on the test sets of Yelp and Amazon respectively. To measure content preservation, we use the BLEU (Papineni et al., 2002) score between the transferred sentences and the source sentences. To measure fluency, we finetune OpenAI GPT-2 (Radford et al., 2019) with 345 million parameters on the same trainingdev-test split to obtain the perplexity of generated sentences. The fine-tuned language models achieve perplexities of 26.6 and 34.5 on the test sets of Yelp and Amazon respectively. In addition, Sudhakar et al. (2019) argued that the Generalized Language Evaluation Understanding Metric (GLEU) has a better correlation with the human judgement. Here, we use the implementation of GLEU3 provided by Napoles et al. (2015) to calculate the GLEU score.
|
| 156 |
+
|
| 157 |
+
Result Analysis: As observed by Li et al. (2018) and Sudhakar et al. (2019), accuracy, BLEU score and perplexity do not correlate well with human evaluations. Therefore, it is important to not consider them in isolation. Tab. 2 shows that our proposed approaches get similar scores on these metrics with human reference sentences on the second row, indicating that the generated sentences of our proposed approaches is reasonable considering the combination of these metrics. As seen by Sudhakar et al. (2019) and verified in Sec. 6.1, GLEU strike a balance between target style match and content retention and correlate well with the human evaluations. From Tab. 2, CP-VAE consistently outperforms the three adversarially trained models on GLEU by a noticeable margin and achieve competitive results as compared to the recent state-of-the-art models. By checking the samples generated from the models as shown in Tab. 3, B-GST, the current state-of-the-art, is more consistent to the source sentence, which can be expected, since it only makes necessary edits to flip the sentiment. CP-VAE tends to generate more diverse contents which may not be relevant sometimes, but the overall quality is reasonable considering it is trained without the label information. More samples can be found in Appendix E.
|
| 158 |
+
|
| 159 |
+
Table 2: Comparisons with supervised approaches on Yelp and Amazon dataset.
|
| 160 |
+
|
| 161 |
+
<table><tr><td colspan="5"></td><td colspan="4">Amazon</td></tr><tr><td>Model</td><td>AC↑</td><td>Yelp BL↑</td><td>GL↑</td><td>PL↓</td><td>AC↑</td><td>BL↑</td><td>GL↑</td><td>PL↓</td></tr><tr><td>Source Human</td><td>1.8 70.1</td><td>100.0 25.3</td><td>8.4 100.0</td><td>26.6 63.7</td><td>16.3 41.2</td><td>100.0 45.7</td><td>22.8 100.0</td><td>34.5 68.6</td></tr><tr><td>CA SE MD</td><td>74.0 8.2 49.5</td><td>20.7 67.4 40.1</td><td>6.0 6.9 6.6</td><td>103.6 65.4 164.1</td><td>75.5 40.2 70.1</td><td>0.0 0.4 0.3</td><td>0.0 0.0 0.0</td><td>39.3 125.0 138.8</td></tr><tr><td>D&R B-GST</td><td>88.1 85.6</td><td>36.7 45.2</td><td>7.9 12.7</td><td>85.5 49.6</td><td>49.2 55.2</td><td>0.6 52.3</td><td>0.0 18.1</td><td>46.3 48.2</td></tr><tr><td>CP-G CP-B</td><td>66.7 55.4</td><td>35.5 48.4</td><td>7.5 9.6</td><td>67.8 47.6</td><td>60.1 40.0</td><td>35.4 39.7</td><td>11.5 12.7</td><td>109.1 97.3</td></tr></table>
|
| 162 |
+
|
| 163 |
+
Table 3: Samples of generated sentences. SRC is the input sentence and HUMAN is the human references.
|
| 164 |
+
|
| 165 |
+
<table><tr><td rowspan=1 colspan=1>Yelp</td><td rowspan=1 colspan=1>PositivetoNegative</td><td rowspan=1 colspan=1>Negativeto Positive</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>this place is super yummy !</td><td rowspan=1 colspan=1>but it probably sucks too !</td></tr><tr><td rowspan=1 colspan=1>HUMAN</td><td rowspan=1 colspan=1>this place is super yucky !</td><td rowspan=1 colspan=1>but it probably doesn't suck too !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>thisplace is superbad!</td><td rowspan=1 colspan=1>but it tastes great too!</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>thisplace is super slow andwatered down.</td><td rowspan=1 colspan=1>but it'struly funand insanelydelicious.</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>this place is super greasy and gross!</td><td rowspan=1 colspan=1>butit 'sprobablywonderfulwhen you!</td></tr><tr><td rowspan=1 colspan=1>Amazon</td><td rowspan=1 colspan=1>PositivetoNegative</td><td rowspan=1 colspan=1>NegativetoPositive</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>because it s made of cast iron, scorching isminimized.</td><td rowspan=1 colspan=1>they are cheerios,afterall,and we love theoriginal kind .</td></tr><tr><td rowspan=1 colspan=1>HUMAN</td><td rowspan=1 colspan=1>because itis made of cast iron, scorching ismaximized.</td><td rowspan=1 colspan=1>they are cheerios,and we love them.</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>because it s cheaply made of cast iron, isuseless .</td><td rowspan=1 colspan=1>they are sturdy,afterall,sturdy and we lovethe original.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>because it s made of cast iron,vomitting.</td><td rowspan=1 colspan=1>theyare ripe,tastier,and we love them.</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>because it s made of cast iron,limp .</td><td rowspan=1 colspan=1>theyare divine,fluffier,andwe love them.</td></tr></table>
|
| 166 |
+
|
| 167 |
+
# 6.3 FINER-GRAINED STYLE DISCOVERY AND TRANSITION
|
| 168 |
+
|
| 169 |
+
Table 4: Two pairs of samples generated without and with topic transition. The first sentence in the pair is generated with a topic fixed throughout the generation; while the second sentence is generated with topic transition, the generated outputs after switching are marked as bold.
|
| 170 |
+
|
| 171 |
+
<table><tr><td>World throughout</td><td>Afederal judge on Friday ordered a federal appeals court to overturn a federal appeals court ruling that the Visa and MasterCard credit card associations violated federal antitrust law by barring the names of the state .</td></tr><tr><td>WorldtoSci/Tech</td><td>Afederal judge on Friday ordered a federal appeals court to overturna decision by the Supreme Court to overturn a decision by the Federal Communications Commission to block the company's antitrust case against Microsoft Corp .</td></tr><tr><td>Sports throughout</td><td>NEW YORK (Reuters) - RogerFederer, the world'sNo.1 player,will miss the rest of the season because of a sore quadriceps.</td></tr><tr><td>Sports to Business</td><td>NEW YORK (Reuters) - Roger Federer, the world's No. 1 player, will miss the rest of the year because of a bid-rigging scandal .</td></tr></table>
|
| 172 |
+
|
| 173 |
+
To further explore the potential of CP-VAE, we conduct the following exploratory experiments. We use the AG news dataset constructed by (Zhang et al., 2015), which contains four topic categories which are World, Sports, Business and Sci/Tech, with the title and description fields. Here, we drop the title and just use the description field to train CP-VAE and set $K = 1 0$ . All four topics are automatically discovered by CP-VAE and identified as described in Sec. 6.1. We also compare the results of our identified topics to standard baselines for unsupervised topic modelling, the details can be found in Appendix D. We choose a basis vector discovered by our model and generate a few tokens. Then, we switch the basis vector and continue the generation until the end-of-seq token is generated. Generated samples are shown in Table 4. We see that our model learns to transition from one topic to another in a natural and fluent way within the same sentence. Several observations can be made based on these samples: (1) it is good at detecting name entities and replacing them with the name entities related to the chosen topic; (2) there is no hard restriction on when to switch the topic; the model will determine an appropriate way to do the transition by itself. Such observations confirm that CP-VAE possesses a filled constrained latent space which make the latent code robust to manipulation across different time steps, which can be effectively reflected in the generation process. Due to space limitations, we put more samples in Appendix F.
|
| 174 |
+
|
| 175 |
+
# 7 CONCLUSION
|
| 176 |
+
|
| 177 |
+
In this work, we investigate latent vacancy as an important problem in unsupervised learning of controllable representations when modelling text with VAEs. To mitigate this, we propose to constrain the posterior within a learned probability simplex, achieving the first success towards controlled text generation without supervision.
|
| 178 |
+
|
| 179 |
+
# REFERENCES
|
| 180 |
+
|
| 181 |
+
Yu Bao, Hao Zhou, Shujian Huang, Lei Li, Lili Mou, Olga Vechtomova, Xinyu Dai, and Jiajun Chen. Generating sentences from disentangled syntactic and semantic spaces. arXiv preprint arXiv:1907.05789, 2019.
|
| 182 |
+
|
| 183 |
+
Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798–1828, 2013.
|
| 184 |
+
|
| 185 |
+
David M Blei, Andrew $\mathrm { ~ Y ~ N ~ g ~ }$ , and Michael I Jordan. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993–1022, 2003.
|
| 186 |
+
|
| 187 |
+
Samuel R Bowman, Luke Vilnis, Oriol Vinyals, Andrew M Dai, Rafal Jozefowicz, and Samy Bengio. Generating sentences from a continuous space. arXiv preprint arXiv:1511.06349, 2015.
|
| 188 |
+
|
| 189 |
+
Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in neural information processing systems, pp. 2172–2180, 2016.
|
| 190 |
+
|
| 191 |
+
Ondˇrej C´ıfka, Aliaksei Severyn, Enrique Alfonseca, and Katja Filippova. Eval all, trust a few, do wrong to none: Comparing sentence generation models. arXiv preprint arXiv:1804.07972, 2018.
|
| 192 |
+
|
| 193 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
|
| 194 |
+
|
| 195 |
+
Zhenxin Fu, Xiaoye Tan, Nanyun Peng, Dongyan Zhao, and Rui Yan. Style transfer in text: Exploration and evaluation. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 196 |
+
|
| 197 |
+
Junxian He, Daniel Spokoyny, Graham Neubig, and Taylor Berg-Kirkpatrick. Lagging inference networks and posterior collapse in variational autoencoders. arXiv preprint arXiv:1901.05534, 2019.
|
| 198 |
+
|
| 199 |
+
Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained variational framework. In International Conference on Learning Representations, volume 3, 2017.
|
| 200 |
+
|
| 201 |
+
Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, and Eric P Xing. Toward controlled generation of text. In Proceedings of the 34th International Conference on Machine LearningVolume 70, pp. 1587–1596. JMLR. org, 2017.
|
| 202 |
+
|
| 203 |
+
Diederik $\mathrm { \bf P }$ Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 204 |
+
|
| 205 |
+
Abhishek Kumar, Prasanna Sattigeri, and Avinash Balakrishnan. Variational inference of disentangled latent concepts from unlabeled observations. arXiv preprint arXiv:1711.00848, 2017.
|
| 206 |
+
|
| 207 |
+
Guillaume Lample, Sandeep Subramanian, Eric Smith, Ludovic Denoyer, Marc’Aurelio Ranzato, and Y-Lan Boureau. Multiple-attribute text rewriting. 2018.
|
| 208 |
+
|
| 209 |
+
Juncen Li, Robin Jia, He He, and Percy Liang. Delete, retrieve, generate: A simple approach to sentiment and style transfer. arXiv preprint arXiv:1804.06437, 2018.
|
| 210 |
+
|
| 211 |
+
Lajanugen Logeswaran, Honglak Lee, and Samy Bengio. Content preserving text generation with attribute controls. In Advances in Neural Information Processing Systems, pp. 5103–5113, 2018.
|
| 212 |
+
|
| 213 |
+
Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015.
|
| 214 |
+
|
| 215 |
+
Christopher Manning, Prabhakar Raghavan, and Hinrich Schutze. Introduction to information ¨ retrieval. Natural Language Engineering, 16(1):100–103, 2010.
|
| 216 |
+
|
| 217 |
+
Courtney Napoles, Keisuke Sakaguchi, Matt Post, and Joel Tetreault. Ground truth for grammatical error correction metrics. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pp. 588–593, 2015.
|
| 218 |
+
|
| 219 |
+
Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting on association for computational linguistics, pp. 311–318. Association for Computational Linguistics, 2002.
|
| 220 |
+
|
| 221 |
+
Jeffrey Pennington, Richard Socher, and Christopher Manning. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP), pp. 1532–1543, 2014.
|
| 222 |
+
|
| 223 |
+
Jonas Peters, Dominik Janzing, and Bernhard Scholkopf. ¨ Elements of causal inference: foundations and learning algorithms. MIT press, 2017.
|
| 224 |
+
|
| 225 |
+
Alec Radford, Rafal Jozefowicz, and Ilya Sutskever. Learning to generate reviews and discovering sentiment. arXiv preprint arXiv:1704.01444, 2017.
|
| 226 |
+
|
| 227 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. OpenAI Blog, 1:8, 2019.
|
| 228 |
+
|
| 229 |
+
Ali Razavi, Aaron van den Oord, Ben Poole, and Oriol Vinyals. Preventing posterior collapse with ¨ delta-vaes. arXiv preprint arXiv:1901.03416, 2019.
|
| 230 |
+
|
| 231 |
+
Danilo Jimenez Rezende and Fabio Viola. Taming vaes. arXiv preprint arXiv:1810.00597, 2018.
|
| 232 |
+
|
| 233 |
+
Tianxiao Shen, Tao Lei, Regina Barzilay, and Tommi Jaakkola. Style transfer from non-parallel text by cross-aligment. Advances in neural information processing systems, pp. 6830–6841, 2017.
|
| 234 |
+
|
| 235 |
+
Akhilesh Sudhakar, Bhargav Upadhyay, and Arjun Maheswaran. Transforming delete, retrieve, generate approach for controlled text style transfer. arXiv preprint arXiv:1908.09368, 2019.
|
| 236 |
+
|
| 237 |
+
Jakub M Tomczak and Max Welling. Vae with a vampprior. arXiv preprint arXiv:1705.07120, 2017.
|
| 238 |
+
|
| 239 |
+
Tsung-Hsien Wen, David Vandyke, Nikola Mrksic, Milica Gasic, Lina M Rojas-Barahona, Pei-Hao Su, Stefan Ultes, and Steve Young. A network-based end-to-end trainable task-oriented dialogue system. arXiv preprint arXiv:1604.04562, 2016.
|
| 240 |
+
|
| 241 |
+
Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. In Advances in neural information processing systems, pp. 649–657, 2015.
|
| 242 |
+
|
| 243 |
+
Jake Zhao, Yoon Kim, Kelly Zhang, Alexander M Rush, Yann LeCun, et al. Adversarially regularized autoencoders. Proceedings of the 35th International Conference on Machine Learning, 2018.
|
| 244 |
+
|
| 245 |
+
# A DETAILS ABOUT EXPLORATORY EXPERIMENTS
|
| 246 |
+
|
| 247 |
+
# A.1 MODEL DETAILS
|
| 248 |
+
|
| 249 |
+
For the $\beta$ -VAE we used for the exploratory experiments, we use a LSTM encoding network and a LSTM decoding network. For the encoding network, the input size is 256, and the hidden size is 1,024. For the decoding network, the input size is 256, the hidden size is 1,024, and dropouts with probability 0.5 are applied on after the embedding layer and the LSTM layer in the decoding network. $\beta$ is chosen as 0.35, the dimension for the latent code is 80, and the batch size is 32. We use SGD with learning rate 1.0 to update the parameters for both the encoding and the decoding network. We train the model until the reconstruction loss stops decreasing.
|
| 250 |
+
|
| 251 |
+
# A.2 IDENTIFYING THE LATENT FACTOR INDICATING THE SENTIMENT
|
| 252 |
+
|
| 253 |
+
First, we normalize the value of each latent code by subtracting the mean estimated over all the training samples. Then we use the polarity of each latent code to classify the sentiment in the validation set. The one with the highest accuracy is identified as the latent factor indicating the sentiment.
|
| 254 |
+
|
| 255 |
+
# A.3 SAMPLES GENERATED FROM $\beta$ -VAE
|
| 256 |
+
|
| 257 |
+
Table 5: Samples of generated sentences from $\beta$ -VAE on Yelp.
|
| 258 |
+
|
| 259 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Positive to Negative</td><td rowspan=1 colspan=1>Negativeto Positive</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>this place is super yummy!</td><td rowspan=1 colspan=1>but it probably sucks too !</td></tr><tr><td rowspan=1 colspan=1>β-VAE</td><td rowspan=1 colspan=1>this place is perfect for all of us or so longand over priced !</td><td rowspan=1 colspan=1>thank you !</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>i will be going back and enjoying this greatplace</td><td rowspan=1 colspan=1>there is definitely not enough room in thatpart of the venue .</td></tr><tr><td rowspan=1 colspan=1>β-VAE</td><td rowspan=1 colspan=1>i will be going back and recommending thisplace to anyone who lives in the valley !</td><td rowspan=1 colspan=1>there is great .</td></tr></table>
|
| 260 |
+
|
| 261 |
+
# A.4 MANIPULATION STRATEGIES
|
| 262 |
+
|
| 263 |
+
Following manipulation strategies have been attempted: (1) fixing the relevant factor to $\mu + 2 \sigma$ and $\mu - 2 \sigma$ ; (2) fixing the relevant factor to $\mu - \sigma$ and $\mu - \sigma$ ; (3) fixing the relevant factor to the maximum value and the minimum value of the relevant factor appearing in the training samples; (4) calculating a latent vector based on 10 manually constructed parallel sentences with opposite sentiment while keeping other factors unchanged. However, none of these four strategies is effective considering the generation results. We report the result with the first strategy in the paper, since it performs the best considering the accuracy and the BLEU score.
|
| 264 |
+
|
| 265 |
+
# B DETAILS ABOUT EXPERIMENTS ON TEXT STYLE TRANSFER
|
| 266 |
+
|
| 267 |
+
# B.1 TRAINING REGIMES
|
| 268 |
+
|
| 269 |
+
Across all the datasets, we use Adam with learning rate 0.001 to update the parameters for the encoding network, while SGD with learning rate 1.0 to update the parameters for the decoding network. The batch size is chosen to be 32. Dropouts with drop probability 0.5 are applied on applied on after the embedding layer and the LSTM layer in the decoding network. We train the model until the reconstruction loss stops decreasing.
|
| 270 |
+
|
| 271 |
+
# B.2 MITIGATING POSTERIOR COLLAPSE
|
| 272 |
+
|
| 273 |
+
For the structured part $z ^ { ( 1 ) }$ , we use $\beta$ -VAE setting $\beta$ as 0.2 across all the datasets. For the unstructured part $z ^ { ( 2 ) }$ , different strategies are employed for each dataset:
|
| 274 |
+
|
| 275 |
+
• Yelp: $\beta$ -VAE setting $\beta$ as 0.35.
|
| 276 |
+
• Amazon: $\beta$ -VAE setting $\beta$ as 0.35.
|
| 277 |
+
• AG-News: KL annealing, from 0.1 to 1.0 in 10 epochs.
|
| 278 |
+
|
| 279 |
+
# B.3 HYPERPARAMETER SETTINGS
|
| 280 |
+
|
| 281 |
+
Table 6: Hyperparameter settings.
|
| 282 |
+
|
| 283 |
+
<table><tr><td></td><td>Yelp</td><td>Amazon</td><td>AG-News</td></tr><tr><td>Numberof variationsK</td><td>3</td><td>3</td><td>10</td></tr><tr><td>Parameter to control the KL α</td><td>100</td><td>100</td><td>10</td></tr><tr><td>Input dimension forLSTM encoder</td><td>256</td><td>256</td><td>512</td></tr><tr><td>Hidden dimension forLSTM encoder</td><td>1024</td><td>1024</td><td>1024</td></tr><tr><td>Dimension for z(2)</td><td>64</td><td>64</td><td>96</td></tr><tr><td>Dimension for z(1)</td><td>16</td><td>16</td><td>32</td></tr><tr><td>Input dimension for LSTM decoder</td><td>128</td><td>128</td><td>512</td></tr><tr><td>Hidden dimension forLSTMdecoder</td><td>1024</td><td>1024</td><td>1024</td></tr></table>
|
| 284 |
+
|
| 285 |
+
The hyperparameters are chosen by checking ${ \mathcal { L } } _ { \mathrm { V A E } }$ , KL, and the generated outputs on the development set for Yelp and AG-News. Amazon follows the same setting as Yelp without extra tuning.
|
| 286 |
+
|
| 287 |
+
# B.4 DECODING STRATEGY
|
| 288 |
+
|
| 289 |
+
For decoding, we use beam search with a beam size of 5.
|
| 290 |
+
|
| 291 |
+
# C PROOF OF MINIMALIZATION OF EQ. 5
|
| 292 |
+
|
| 293 |
+
The problem can be formulated as an optimization problem as follows:
|
| 294 |
+
|
| 295 |
+
$$
|
| 296 |
+
{ \mathrm { m a x i m i z e } } \sum _ { i = 1 } ^ { K } p _ { i } ^ { 2 } , \quad { \mathrm { s u b j e c t ~ t o } } \sum _ { i = 1 } ^ { K } p _ { i } = 1 .
|
| 297 |
+
$$
|
| 298 |
+
|
| 299 |
+
By introducing a Lagrange multiplier $\lambda$ , the Lagrange function is defined as
|
| 300 |
+
|
| 301 |
+
$$
|
| 302 |
+
\mathcal { L } ( p _ { 1 } , p _ { 2 } , . . . , p _ { K } , \lambda ) = \sum _ { i = 1 } ^ { K } p _ { i } ^ { 2 } - \lambda ( \sum _ { i = 1 } ^ { K } p _ { i } - 1 ) .
|
| 303 |
+
$$
|
| 304 |
+
|
| 305 |
+
In order to find the optimal point, we require that
|
| 306 |
+
|
| 307 |
+
$$
|
| 308 |
+
\frac { \partial } { \partial p _ { i } } \left( \sum _ { i = 1 } ^ { K } p _ { i } ^ { 2 } - \lambda ( \sum _ { i = 1 } ^ { K } p _ { i } - 1 ) \right) = 2 p _ { i } - \lambda = 0 , \quad i = 1 , 2 , \ldots , K ,
|
| 309 |
+
$$
|
| 310 |
+
|
| 311 |
+
which shows that all $p _ { i }$ are equal. By using the constraint $\textstyle \sum _ { i } p _ { i } \ = \ 1$ , we find $\begin{array} { r } { p _ { i } \ = \ \frac { 1 } { K } , i \ = \ } \end{array}$ $1 , 2 , \ldots , K$ . By plugging into the results, $\begin{array} { r } { \pmb { \mu } ^ { \top } \pmb { \mu } = \alpha \sum _ { i } p _ { i } ^ { 2 } } \end{array}$ reaches its minimum $\frac { \alpha } { K }$ .
|
| 312 |
+
|
| 313 |
+
# D COMPARISONS WITH BASELINES ON TOPIC MODELLING
|
| 314 |
+
|
| 315 |
+
Experimental setup: We use the AG news dataset for this task constructed by (Zhang et al., 2015). It contains four topic categories which are World, Sports, Business and Sci/Tech, with the title and description fields. For each category, there are 30, 000 training samples and 1, 900 test samples. In this paper, we drop the title and just use the description field. We compare our approach to two standard baselines for unsupervised topic modelling: (1) LDA (Blei et al., 2003), a standard implementation of LDA is used for this baseline4; (2) $k$ -means. To show the power of our approach beyond the pre-trained sentence representations, we perform $k$ -means clustering directly on the sentence representations. Following (Manning et al., 2010), we assign each inferred topic to one of the gold-standard topics with the optimal mapping and report the precision (a.k.a. purity), recall (a.k.a. collocation) and $F _ { 1 }$ score. The number of topics is chosen to be 10. The results reported for the baselines and our model are the average over 10 runs.
|
| 316 |
+
|
| 317 |
+
Quantitative results: The results are shown in Table 7. We can see that our approach achieves comparable results to LDA while significantly outperforming $k$ -means in all four categories, indicating that our approach can go beyond just clustering on pre-trained sentence representations.
|
| 318 |
+
|
| 319 |
+
Table 7: Results for topic identification.
|
| 320 |
+
|
| 321 |
+
<table><tr><td>Topic</td><td>Model</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>World</td><td>LDA k-means Ours</td><td>69.73 67.64 80.83</td><td>75.32 47.63 70.55</td><td>72.14 55.90 74.59</td></tr><tr><td>Sports</td><td>LDA k-means Ours</td><td>79.17 47.66 81.14</td><td>82.50 89.50 78.88</td><td>80.22 62.04 79.49</td></tr><tr><td>Business</td><td>LDA k-means Ours</td><td>72.10 53.06 64.04</td><td>66.45 53.16 64.53</td><td>68.46 53.11 63.97</td></tr><tr><td>Sci/Tech</td><td>LDA k-means Ours</td><td>66.55 81.32 65.20</td><td>59.77 31.59 71.74</td><td>61.60 44.67 66.77</td></tr></table>
|
| 322 |
+
|
| 323 |
+
# E TEXT TRANSFER EXAMPLES
|
| 324 |
+
|
| 325 |
+
# E.1 SENTIMENT MANIPULATION ON YELP DATASET
|
| 326 |
+
|
| 327 |
+
Table 8: Sentiment manipulation results from positive to negative
|
| 328 |
+
|
| 329 |
+
<table><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>this was the besti have ever had !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>this was the worst place i have ever had !</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>this was the worst pizza i have ever had !</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>this was the worsti have ever had!</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>friendly and welcoming with a fun atmosphere and terrific food .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>the hummus is ridiculously bland and bland .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>rude and unorganized with a terrible atmosphere and coffee .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>the hummusisridiculously greasy and tasteless.</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>i ordered the carne asada steak and it was cooked perfectly !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>i ordered thecarneasadasteakanditwasjustasbad!</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>i ordered the carne asada steak and it was n't cooked and it was lacking .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>i ordered the carne asada burrito and it was mediocre .</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>the owner is a hoot and the facility is very accommodating .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>the ownerisa jerkand thefacilityisvery outdated.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>the owner is a hoot and the facility is empty and the layout is empty .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>the ownerisa riot and the facilityisveryclean.</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>i will be going back and enjoying this great place !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>i wo n't be going back and this place is horrible !</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>i will be going back and eat this pizza hut elsewhere .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>i will be going back and hated the worst dining experience .</td></tr></table>
|
| 330 |
+
|
| 331 |
+
Table 9: Sentiment manipulation results from negative to positive
|
| 332 |
+
|
| 333 |
+
<table><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>there is definitely not enough room in that part of the venue .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>there is plenty enough seating in that part of the venue .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>there is definitely an authentic dinner in that part .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>there is definitely a nice theatre in that part .</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>but it probably sucks too !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>but it tastes great too !</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>but it 's truly fun and insanely delicious .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>but it'sprobablywonderful when u !</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>always rude in their tone and always have shitty customer service !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>always in tune with their tone and have great customer service .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>always great with theirbirthdaysand always excellent music.</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>always accommodating and my dog is always on family .</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>i was very sick the night after.</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>i was very happy the night after.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>i was very pleased with the night .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>i was very happy with the night .</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>this is a horrible venue.</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>this is a wonderful venue.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>this is a great place for celebrating friends.</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>this is a great place for beginners .</td></tr></table>
|
| 334 |
+
|
| 335 |
+
# E.2 SENTIMENT MANIPULATION ON AMAZON DATASET
|
| 336 |
+
|
| 337 |
+
Table 10: Sentiment manipulation results from positive to negative
|
| 338 |
+
|
| 339 |
+
<table><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>most pizza wheels thative seen are much smaller.</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>most pizza dough that i ve seen are much better .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>most pizza wheels that i ve seen are much more good and are much quality .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>most pizza wheels that i ve seen are much better than are much better</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>however, this is an example of how rosle got it right .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>however, this game is an example of how rosle loves it .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>however, this is an example of how toxic... sad... obviously .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>however, this is an example of how cheap .similar .cheap advice .cheapadvice.similar.</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>auto shut off after num_num hours,which is a good feature .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>auto shuts off after num _num hours,which is a shame.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>whipped mask off after num_num hours,which is slimy,which is disgusting .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>auto shut off after num_num hours,which is a stupid idea,which seems to bebad.</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>that said , the mic did pic up everything it could .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>that said, the game took up everything it could .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>that said, the shampoo did nt smell him well . stopped cleaning everything .ended up smelling sick</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1> that said, the mic did not fit everything on well , let me down it weren t cleaning</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>ialso prefered thabladeweightand thicknessof thewustof !</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>i also like the blade weight and of the wustof.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>ialso disliked theblade weightand thicknessof the materials.</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>ialso slammed the blade weight and thickness of the wide.</td></tr></table>
|
| 340 |
+
|
| 341 |
+
Table 11: Sentiment manipulation results from negative to positive
|
| 342 |
+
|
| 343 |
+
<table><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>the quality is declined quicklybyheat exposure .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>thewaterisquicklydrained byhead exposure .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>the quality is utilitarian so grinding or sandwiches .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>the quality is priceless quickly by heat rises .</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>the directions were easy to follow but the quality of the easel was pathetic .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>the directions were easy to follow but the quality of the product was excellent .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>the directions were easy to follow but the quality is good for the quality and is</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>the directions were easy to follow but the quality is what the quality is like thebest quality of</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>multiplayer is just as bad, though thankfully not worse .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>quality is just as good , though thankfully not perfect .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>besides it is just good, though.those..usually...usually...</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>multiplayer is just as bad, though somebody s also so far not so far but noproblem .</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1> another energy product that simply wastes our money .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>another energy product that simply saves our money .</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1> another energy product that simply glides your pasta .</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>another energyproduct that simplywastes this money.</td></tr><tr><td rowspan=1 colspan=1>SRC</td><td rowspan=1 colspan=1>i received the wrong color and it shreds easily .</td></tr><tr><td rowspan=1 colspan=1>B-GST</td><td rowspan=1 colspan=1>i received the color and it works easily.</td></tr><tr><td rowspan=1 colspan=1>CP-G</td><td rowspan=1 colspan=1>i low the new color and it closes easily.</td></tr><tr><td rowspan=1 colspan=1>CP-B</td><td rowspan=1 colspan=1>i received the wrong color and it pours easily from dishwasher and dries easilyon garlic easily .</td></tr></table>
|
| 344 |
+
|
| 345 |
+
# F TEXT TRANSITION EXAMPLES ON AG NEWS
|
| 346 |
+
|
| 347 |
+
Table 12: Topic transition examples.
|
| 348 |
+
|
| 349 |
+
<table><tr><td rowspan=1 colspan=1>World throughout</td><td rowspan=1 colspan=1>BAGHDAD (Reuters) - Iraq ’s interim prime minister, Iyad Allwi , said on Monday that the United States had no intention of withdrawingfrom the country to end the violence in Iraq .</td></tr><tr><td rowspan=1 colspan=1>World to Sports</td><td rowspan=1 colspan=1>BAGHDAD (Reuters) - Iraq 's interim prime minister, Iyad Allawi, said on Monday that the United States had no intention of withdrawing its troops from the country to the end of the year .</td></tr><tr><td rowspan=1 colspan=1>World to Business</td><td rowspan=1 colspan=1>BAGHDAD (Reuters) - Iraq 's interim prime minister, Iyad Allawi , said on Monday that the United States had no intention of withdrawing itstroops from the country to the country .</td></tr><tr><td rowspan=1 colspan=1>World to Sci/Tech</td><td rowspan=1 colspan=1>BAGHDAD (Reuters) - Iraq 's interim prime minister, Iyad Allawi, saidon Monday that the United States had no intention of withdrawing itsuranium enrichment program to the United States .</td></tr><tr><td rowspan=1 colspan=1>Sports throughout</td><td rowspan=1 colspan=1>For the first time in four years , the US men 's basketball team won the gold medal in the men 's 40O-meter medley relay .</td></tr><tr><td rowspan=1 colspan=1>Sports to World</td><td rowspan=1 colspan=1>For the first time in four years, the US men 's basketball team wonthe gold medal at the Athens Olympics in Athens,where the UnitedStates and the United States have agreed to a peace deal .</td></tr><tr><td rowspan=1 colspan=1>Sports to Business</td><td rowspan=1 colspan=1>For the first time in four years , the US men 's basketball team won the gold medal at the Athens Olympics on Wednesday ,with a surge incrude oil prices .</td></tr><tr><td rowspan=1 colspan=1>Sports to Sci/Tech</td><td rowspan=1 colspan=1>For the first time in four years , the US men 's basketball team won the gold medal in the men 's Olympic basketball tournament in Beijingon Tuesday.</td></tr><tr><td rowspan=1 colspan=1>Business throughout</td><td rowspan=1 colspan=1>NEW YORK (Reuters) - U.S. stocks opened higher on Friday , as oil prices climbed above $48 a barrel and the Federal Reserve raised interestrates by a quarter percentage point .</td></tr><tr><td rowspan=1 colspan=1>Businessto World</td><td rowspan=1 colspan=1>NEW YORK (Reuters) - U.S. stocks opened higher on Friday ,as oilprices climbed above $48 a barrel and the Federal Reserve raisedinterest rates by a quarter percentage point .</td></tr><tr><td rowspan=1 colspan=1>Business to Sports</td><td rowspan=1 colspan=1>NEW YORK (Reuters) - U.S. stocks opened higher on Friday, as oilprices climbed above $48 a barrel and the Federal Reserve raised interest rates by a quarter percentage point .</td></tr><tr><td rowspan=1 colspan=1>Business to Sci/Tech</td><td rowspan=1 colspan=1>NEW YORK (Reuters) - U.S. stocks opened higher on Friday , as oil prices climbed above $48 a barrel and the Federal CommunicationsCommission said it would allow the companies to use mobile phones</td></tr><tr><td rowspan=1 colspan=1>Sci/Tech throughout</td><td rowspan=1 colspan=1>SINGAPORE (Reuters) - South Korea 's Hynix Semiconductor Inc. saidon Tuesday it had developed a prototype micro fuel cell recharger for arange of security vulnerabilities in India .</td></tr><tr><td rowspan=1 colspan=1>Sci/Tech to World</td><td rowspan=1 colspan=1>SINGAPORE (Reuters) - South Korea 's Hynix Semiconductor Inc. said on Tuesday it had developed a prototype micro fuel cell aimed at endinga standoff with North Korea.</td></tr><tr><td rowspan=1 colspan=1>Sci/Tech to Sports</td><td rowspan=1 colspan=1>SINGAPORE (Reuters) - South Korea 's Hynix Semiconductor Inc.said on Tuesday it had developed a prototype micro fuel cell aimed atprotecting the world ’s biggest gold medal .</td></tr><tr><td rowspan=1 colspan=1>Sci/Tech to Business</td><td rowspan=1 colspan=1>SINGAPORE (Reuters) - South Korea 's Hynix Semiconductor Inc. said on Tuesday it had developed a prototype micro fuel cell aimed atprotecting the world 's largest oil producer .</td></tr></table>
|
parse/train/Hkex2a4FPr/Hkex2a4FPr_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkex2a4FPr/Hkex2a4FPr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Hkex2a4FPr/Hkex2a4FPr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1gmrxHFvB/S1gmrxHFvB.md
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# AUGMIX: A SIMPLE DATA PROCESSING METHOD TO IMPROVE ROBUSTNESS AND UNCERTAINTY
|
| 2 |
+
|
| 3 |
+
Dan Hendrycks∗
|
| 4 |
+
DeepMind
|
| 5 |
+
hendrycks@berkeley.edu
|
| 6 |
+
Norman Mu∗
|
| 7 |
+
Google
|
| 8 |
+
normanmu@google.com
|
| 9 |
+
|
| 10 |
+
Ekin D. Cubuk Google cubuk@google.com
|
| 11 |
+
|
| 12 |
+
Barret Zoph
|
| 13 |
+
Google
|
| 14 |
+
barretzoph@google.com
|
| 15 |
+
|
| 16 |
+
Justin Gilmer Google gilmer@google.com
|
| 17 |
+
|
| 18 |
+
Balaji Lakshminarayanan† DeepMind balajiln@google.com
|
| 19 |
+
|
| 20 |
+
# ABSTRACT
|
| 21 |
+
|
| 22 |
+
Modern deep neural networks can achieve high accuracy when the training distribution and test distribution are identically distributed, but this assumption is frequently violated in practice. When the train and test distributions are mismatched, accuracy can plummet. Currently there are few techniques that improve robustness to unforeseen data shifts encountered during deployment. In this work, we propose a technique to improve the robustness and uncertainty estimates of image classifiers. We propose AUGMIX, a data processing technique that is simple to implement, adds limited computational overhead, and helps models withstand unforeseen corruptions. AUGMIX significantly improves robustness and uncertainty measures on challenging image classification benchmarks, closing the gap between previous methods and the best possible performance in some cases by more than half.
|
| 23 |
+
|
| 24 |
+
# 1 INTRODUCTION
|
| 25 |
+
|
| 26 |
+
Current machine learning models depend on the ability of training data to faithfully represent the data encountered during deployment. In practice, data distributions evolve (Lipton et al., 2018), models encounter new scenarios (Hendrycks & Gimpel, 2017), and data curation procedures may capture only a narrow slice of the underlying data distribution (Torralba & Efros, 2011). Mismatches between the train and test data are commonplace, yet the study of this problem is not. As it stands, models do not robustly generalize across shifts in the data distribution. If models could identify when they are likely to be mistaken, or estimate uncertainty accurately, then the impact of such fragility might be ameliorated. Unfortunately, modern models already produce overconfident predictions when the training examples are independent and identically distributed to the test distribution. This overconfidence and miscalibration is greatly exacerbated by mismatched training and testing distributions.
|
| 27 |
+
|
| 28 |
+
Small corruptions to the data distribution are enough to subvert existing classifiers, and techniques to improve corruption robustness remain few in number. Hendrycks & Dietterich (2019) show that classification error of modern models rises from $22 \%$ on the usual ImageNet test set to $64 \%$ on ImageNet-C, a test set consisting of various corruptions applied to ImageNet test images. Even methods which aim to explicitly quantify uncertainty, such as probabilistic and Bayesian neural networks, struggle under data shift, as recently demonstrated by Ovadia et al. (2019). Improving performance in this setting has been difficult. One reason is that training against corruptions only encourages networks to memorize the specific corruptions seen during training and leaves models unable to generalize to new corruptions (Vasiljevic et al., 2016; Geirhos et al., 2018). Further, networks trained on translation augmentations remain highly sensitive to images shifted by a single pixel (Gu et al., 2019; Hendrycks & Dietterich, 2019). Others have proposed aggressive data augmentation schemes (Cubuk et al., 2018), though at the cost of a computational increase. Chun et al. (2019) demonstrates that many techniques may improve clean accuracy at the cost of robustness while many techniques which improve robustness harm uncertainty, and contrariwise. In all, existing techniques have considerable trade-offs.
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
Figure 1: A visual comparison of data augmentation techniques. AUGMIX produces images with variety while preserving much of the image semantics and local statistics.
|
| 32 |
+
|
| 33 |
+
In this work, we propose a technique to improve both the robustness and uncertainty estimates of classifiers under data shift. We propose AUGMIX, a method which simultaneously achieves new state-of-the-art results for robustness and uncertainty estimation while maintaining or improving accuracy on standard benchmark datasets. AUGMIX utilizes stochasticity and diverse augmentations, a Jensen-Shannon Divergence consistency loss, and a formulation to mix multiple augmented images to achieve state-of-the-art performance. On CIFAR-10 and CIFAR-100, our method roughly halves the corruption robustness error of standard training procedures from $2 8 . 4 \%$ to $1 2 . 4 \%$ and $5 4 . 3 \%$ to $3 7 . 8 \%$ error, respectively. On ImageNet, AUGMIX also achieves state-of-the-art corruption robustness and decreases perturbation instability from $5 7 . 2 \%$ to $3 7 . 4 \%$ . Code is available at https://github.com/google-research/augmix.
|
| 34 |
+
|
| 35 |
+
# 2 RELATED WORK
|
| 36 |
+
|
| 37 |
+
Robustness under Data Shift. Geirhos et al. (2018) show that training against distortions can often fail to generalize to unseen distortions, as networks have a tendency to memorize properties of the specific training distortion. Vasiljevic et al. (2016) show training with various blur augmentations can fail to generalize to unseen blurs or blurs with different parameter settings. Hendrycks & Dietterich (2019) propose measuring generalization to unseen corruptions and provide benchmarks for doing so. Kang et al. (2019) construct an adversarial version of the aforementioned benchmark. Gilmer et al. (2018); Gilmer & Hendrycks (2019) argue that robustness to data shift is a pressing problem which greatly affects the reliability of real-world machine learning systems.
|
| 38 |
+
|
| 39 |
+
Calibration under Data Shift. Guo et al. (2017); Nguyen & O’Connor (2015) propose metrics for determining the calibration of machine learning models. Lakshminarayanan et al. (2017) find that simply ensembling classifier predictions improves prediction calibration. Hendrycks et al. (2019a) show that pre-training can also improve calibration. Ovadia et al. (2019) demonstrate that model calibration substantially deteriorates under data shift.
|
| 40 |
+
|
| 41 |
+
Data Augmentation. Data augmentation can greatly improve generalization performance. For image data, random left-right flipping and cropping are commonly used He et al. (2015). Random occlusion techniques such as Cutout can also improve accuracy on clean data (Devries & Taylor, 2017; Zhong et al., 2017). Rather than occluding a portion of an image, CutMix replaces a portion of an image with a portion of a different image (Yun et al., 2019). Mixup also use information from two images. Rather than implanting one portion of an image inside another, Mixup produces an elementwise convex combination of two images (Zhang et al., 2017; Tokozume et al.
|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
ImageNet-C Corruptions
|
| 45 |
+
Figure 2: Example ImageNet-C corruptions. These corruptions are encountered only at test time and not during training.
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
Figure 3: A cascade of successive compositions can produce images which drift far from the original image, and lead to unrealistic images. However, this divergence can be balanced by controlling the number of steps. To increase variety, we generate multiple augmented images and mix them.
|
| 49 |
+
|
| 50 |
+
2018). Guo et al. (2019) show that Mixup can be improved with an adaptive mixing policy, so as to prevent manifold intrusion. Separate from these approaches are learned augmentation methods such as AutoAugment (Cubuk et al., 2018), where a group of augmentations is tuned to optimize performance on a downstream task. Patch Gaussian augments data with Gaussian noise applied to a randomly chosen portion of an image (Lopes et al., 2019). A popular way to make networks robust to $\ell _ { p }$ adversarial examples is with adversarial training (Madry et al., 2018), which we use in this paper. However, this tends to increase training time by an order of magnitude and substantially degrades accuracy on non-adversarial images (Raghunathan et al., 2019).
|
| 51 |
+
|
| 52 |
+
# 3 AUGMIX
|
| 53 |
+
|
| 54 |
+
AUGMIX is a data augmentation technique which improves model robustness and uncertainty estimates, and slots in easily to existing training pipelines. At a high level, AugMix is characterized by its utilization of simple augmentation operations in concert with a consistency loss. These augmentation operations are sampled stochastically and layered to produce a high diversity of augmented images. We then enforce a consistent embedding by the classifier across diverse augmentations of the same input image through the use of Jensen-Shannon divergence as a consistency loss.
|
| 55 |
+
|
| 56 |
+
Mixing augmentations allows us to generate diverse transformations, which are important for inducing robustness, as a common failure mode of deep models in the arena of corruption robustness is the memorization of fixed augmentations (Vasiljevic et al., 2016; Geirhos et al., 2018). Previous methods have attempted to increase diversity by directly composing augmentation primitives in a chain, but this can cause the image to quickly degrade and drift off the data manifold, as depicted in Figure 3. Such image degradation can be mitigated and the augmentation diversity can be maintained by mixing together the results of several augmentation chains in convex combinations. A concrete account of the algorithm is given in the pseudocode below.
|
| 57 |
+
|
| 58 |
+
# Algorithm AUGMIX Pseudocode
|
| 59 |
+
|
| 60 |
+
1: Input: Model $\hat { p }$ , Classification Loss $\mathcal { L }$ , Image $x _ { \mathrm { o r i g } }$ , Operations $\mathcal { O } = \{ \mathrm { r o t a t e } , \dots , \mathrm { p o s t e r i z e } \}$
|
| 61 |
+
2: function AugmentAndMix $\cdot { x } _ { \mathrm { o r i g } }$ , $k = 3 , \alpha = 1 ,$ )
|
| 62 |
+
3: Fill $x _ { \mathrm { a u g } }$ with zeros
|
| 63 |
+
4: Sample mixing weights $( w _ { 1 } , w _ { 2 } , \ldots , w _ { k } ) \sim { \mathrm { D i r i c h l e t } } ( \alpha , \alpha , \ldots , \alpha )$
|
| 64 |
+
5: for $i = 1 , \ldots , k$ do
|
| 65 |
+
6: Sample operations $\begin{array} { r } { \boldsymbol { \mathrm { o p } } _ { 1 } , \boldsymbol { \mathrm { o p } } _ { 2 } , \boldsymbol { \mathrm { o p } } _ { 3 } \sim \mathcal { O } } \end{array}$
|
| 66 |
+
7: Compose operations with varying depth $\mathrm { o p _ { 1 2 } = o p _ { 2 } \circ o p _ { 1 } }$ and $\mathrm { o p _ { 1 2 3 } = o p _ { 3 } \circ o p _ { 2 } \circ o p _ { 1 } }$
|
| 67 |
+
8: Sample uniformly from one of these operations chain $\sim \{ \boldsymbol { \mathrm { o p } } _ { 1 } , \boldsymbol { \mathrm { o p } } _ { 1 2 } , \boldsymbol { \mathrm { o p } } _ { 1 2 3 } \}$
|
| 68 |
+
9: $x _ { \mathrm { a u g } } + = w _ { i } \cdot \mathrm { c h a i n } ( x _ { \mathrm { o r i g } } )$ . Addition is elementwise
|
| 69 |
+
10: end for
|
| 70 |
+
11: Sample weight $m \sim \operatorname { B e t a } ( \alpha , \alpha )$
|
| 71 |
+
12: Interpolate with rule $x _ { \mathrm { a u g m i x } } = m x _ { \mathrm { o r i g } } + ( 1 - m ) x _ { \mathrm { a u g } }$
|
| 72 |
+
13: return xaugmix
|
| 73 |
+
14: end function
|
| 74 |
+
15: xaugmix1 = AugmentAndMix(xorig) . xaugmix1 is stochastically generated
|
| 75 |
+
16: $x _ { \mathrm { a u g m i x 2 } } = \mathrm { A u g m e n t A n d M i x } ( x _ { \mathrm { o r i g } } )$ $\triangleright x _ { a u g m i x I } \neq x _ { a u g m i x 2 }$
|
| 76 |
+
17: Loss Output: $\mathcal { L } ( \hat { p } ( y \mid x _ { \mathrm { o r i g } } ) , y ) \breve { + } \lambda$ Jensen-Shannon $1 \big ( \hat { p } ( y \mid x _ { \mathrm { o r i g } } ) ; \hat { p } ( y \vert x _ { \mathrm { a u g m i x 1 } } ) ; \hat { p } ( y \vert x _ { \mathrm { a u g m i x 2 } } ) \big )$
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 4: A realization of AUGMIX. Augmentation operations such as translate x and weights such as $m$ are randomly sampled. Randomly sampled operations and their compositions allow us to explore the semantically equivalent input space around an image. Mixing these images together produces a new image without veering too far from the original.
|
| 80 |
+
|
| 81 |
+
Augmentations. Our method consists of mixing the results from augmentation chains or compositions of augmentation operations. We use operations from AutoAugment. Each operation is visualized in Appendix C. Crucially, we exclude operations which overlap with ImageNet- $C$ corruptions. In particular, we remove the contrast, color, brightness, sharpness, and Cutout operations so that our set of operations and the ImageNet-C corruptions are disjoint. In turn, we do not use any image noising nor image blurring operations so that ImageNet-C corruptions are encountered only at test time. Operations such as rotate can be realized with varying severities, like $2 ^ { \circ }$ or $- 1 5 ^ { \circ }$ . For operations with varying severities, we uniformly sample the severity upon each application. Next, we randomly sample $k$ augmentation chains, where $k = 3$ by default. Each augmentation chain is constructed by composing from one to three randomly selected augmentation operations.
|
| 82 |
+
|
| 83 |
+
Mixing. The resulting images from these augmentation chains are combined by mixing. While we considered mixing by alpha compositing, we chose to use elementwise convex combinations for simplicity. The $k$ -dimensional vector of convex coefficients is randomly sampled from a Dirichle $( \alpha , \ldots , \alpha )$ distribution. Once these images are mixed, we use a “skip connection” to combine the result of the augmentation chain and the original image through a second random convex combination sampled from a Beta $( \alpha , \alpha )$ distribution. The final image incorporates several sources of randomness from the choice of operations, the severity of these operations, the lengths of the augmentation chains, and the mixing weights.
|
| 84 |
+
|
| 85 |
+
Jensen-Shannon Divergence Consistency Loss. We couple with this augmentation scheme a loss that enforces smoother neural network responses. Since the semantic content of an image is approximately preserved with AUGMIX, we should like the model to embed $x _ { \mathrm { o r i g } }$ , $x _ { \mathrm { a u g m i x 1 } }$ , xaugmix2 similarly. Toward this end, we minimize the Jensen-Shannon divergence among the posterior distributions of the original sample $x _ { \mathrm { o r i g } }$ and its augmented variants. That is, for $p _ { \mathrm { o r i g } } ~ = ~ { \hat { p } } ( y ~ |$ $x _ { \mathrm { o r i g } } ) , p _ { \mathrm { a u g m i x 1 } } = \hat { p } ( y \mid \bar { x } _ { \mathrm { a u g m i x 1 } } ) , \bar { p } _ { \mathrm { a u g m i x 2 } } \stackrel { \sim } { = } \hat { p } ( y | x _ { \mathrm { a u g m i x 2 } } )$ , we replace the original loss $\mathcal { L }$ with the loss
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\mathcal { L } ( p _ { \mathrm { o r i g } } , y ) + \lambda \operatorname { J S } ( p _ { \mathrm { o r i g } } ; p _ { \mathrm { a u g m i x 1 } } ; p _ { \mathrm { a u g m i x 2 } } ) .
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
To interpret this loss, imagine a sample from one of the three distributions $p _ { \mathrm { o r i g } } , p _ { \mathrm { a u g m i x 1 } } , p _ { \mathrm { a u g m i x 2 } }$ . The Jensen-Shannon divergence can be understood to measure the average information that the sample reveals about the identity of the distribution from which it was sampled.
|
| 92 |
+
|
| 93 |
+
This loss can be computed by first obtaining $M = ( p _ { \mathrm { o r i g } } + p _ { \mathrm { a u g m i x 1 } } + p _ { \mathrm { a u g m i x 2 } } ) / 3$ and then computing
|
| 94 |
+
|
| 95 |
+
$$
|
| 96 |
+
\mathrm { J S } \big ( p _ { \mathrm { o r i g } } ; p _ { \mathrm { a u g m i x 1 } } ; p _ { \mathrm { a u g m i x 2 } } \big ) = \frac { 1 } { 3 } \Big ( \mathrm { K L } \big [ p _ { \mathrm { o r i g } } \| M \big ] + \mathrm { K L } \big [ p _ { \mathrm { a u g m i x 1 } } \| M \big ] + \mathrm { K L } \big [ p _ { \mathrm { a u g m i x 2 } } \| M \big ] \Big ) .
|
| 97 |
+
$$
|
| 98 |
+
|
| 99 |
+
Unlike an arbitrary KL Divergence between $p _ { \mathrm { o r i g } }$ and $p _ { \mathrm { a u g m i x } }$ , the Jensen-Shannon divergence is upper bounded, in this case by the logarithm of the number of classes. Note that we could instead compute $\mathbf { J } \mathbf { S } ( p _ { \mathrm { o r i g } } ; p _ { \mathrm { a u g m i x 1 } } )$ , though this does not perform as well. The gain of training with JS $p _ { \mathrm { o r i g } }$ ; paugmix1; paugmix2; paugmix3) is marginal. The Jensen-Shannon Consistency Loss impels to model to be stable, consistent, and insensitive across to a diverse range of inputs (Zheng et al., 2016; Kannan et al., 2018; Xie et al., 2019). Ablations are in Section 4.3 and Appendix A.
|
| 100 |
+
|
| 101 |
+
# 4 EXPERIMENTS
|
| 102 |
+
|
| 103 |
+
Datasets. The two CIFAR (Krizhevsky & Hinton, 2009) datasets contain small $3 2 \times 3 2 \times 3$ color natural images, both with 50,000 training images and 10,000 testing images. CIFAR-10 has 10 categories, and CIFAR-100 has 100. The ImageNet (Deng et al., 2009) dataset contains 1,000 classes of approximately 1.2 million large-scale color images.
|
| 104 |
+
|
| 105 |
+
In order to measure a model’s resilience to data shift, we evaluate on the CIFAR-10-C, CIFAR-100- $C$ , and ImageNet- $C$ datasets (Hendrycks & Dietterich, 2019). These datasets are constructed by corrupting the original CIFAR and ImageNet test sets. For each dataset, there are a total of 15 noise, blur, weather, and digital corruption types, each appearing at 5 severity levels or intensities. Since these datasets are used to measure network behavior under data shift, we take care not to introduce these 15 corruptions into the training procedure.
|
| 106 |
+
|
| 107 |
+
The CIFAR-10-P, CIFAR-100- ${ \bf \nabla } \cdot { \cal P }$ , and ImageNet- $P$ datasets also modify the original CIFAR and ImageNet datasets. These datasets contain smaller perturbations than CIFAR-C and are used to measure the classifier’s prediction stability. Each example in these datasets is a video. For instance, a video with the brightness perturbation shows an image getting progressively brighter over time. We should like the network not to give inconsistent or volatile predictions between frames of the video as the brightness increases. Thus these datasets enable the measurement of the “jaggedness” (Azulay & Weiss, 2018) of a network’s prediction stream.
|
| 108 |
+
|
| 109 |
+
Metrics. The Clean Error is the usual classification error on the clean or uncorrupted test data. In our experiments, corrupted test data appears at five different intensities or severity levels $1 \leq s \leq 5$ . For a given corruption $c$ , the error rate at corruption severity $s$ is $E _ { c , s }$ . We can compute the average error across these severities to create the unnormalized corruption error $\begin{array} { r } { \mathbf { u C E } _ { c } = \sum _ { s = 1 } ^ { 5 } E _ { c , s } } \end{array}$ . On CIFAR-10- C and CIFAR-100-C we average these values over all 15 corruptions. Meanwhile, on ImageNet we follow the convention of normaet al., 2012). We compute $\begin{array} { r } { \mathrm { C E } _ { c } = \sum _ { s = 1 } ^ { 5 } \bar { E } _ { c , s } / \sum _ { s = 1 } ^ { 5 } E _ { c , s } ^ { \mathrm { A l e x N e t } } } \end{array}$ ruption error of AlexNet (Kriz. The average of the 15 cor errors CEGaussian Noise, CEShot Noise, . . . , CEPixelate, CEJPEG gives us the Mean Corruption Error $( m C E )$ .
|
| 110 |
+
|
| 111 |
+
Perturbation robustness is not measured by accuracy but whether video frame predictions match. Consequently we compute what is called the flip probability. Concretely, for videos such as those with steadily increasing brightness, we determine the probability that two adjacent frames, or two frames with slightly different brightness levels, have “flipped” or mismatched predictions. There are 10 different perturbation types, and the mean across these is the mean Flip Probability $( m F P )$ . As with ImageNet-C, we can normalize by AlexNet’s flip probabilities and obtain the mean Flip Rate $( m F R )$ .
|
| 112 |
+
|
| 113 |
+
In order to assess a model’s uncertainty estimates, we measure its miscalibration. Classifiers capable of reliably forecasting their accuracy are considered “calibrated.” For instance, a calibrated classifier should be correct $70 \%$ of the time on examples to which it assigns $70 \%$ confidence. Let the classifier’s confidence that its prediction $\hat { Y }$ is correct be written $C$ . Then the idealized RMS Calibration Error is $\sqrt { \mathbb { E } _ { C } [ ( \mathbb { P } ( Y = \hat { Y } | C = c ) - c ) ^ { 2 } ] } ,$ , which is the squared difference between the accuracy at a given confidence level and actual the confidence level. In Appendix E, we show how to empirically estimate this quantity and calculate the Brier Score.
|
| 114 |
+
|
| 115 |
+
# 4.1 CIFAR-10 AND CIFAR-100
|
| 116 |
+
|
| 117 |
+
Training Setup. In the following experiments we show that AUGMIX endows robustness to various architectures including an All Convolutional Network (Springenberg et al., 2014; Salimans & Kingma, 2016), a DenseNet-BC $( k = 1 2 , d = 1 0 0 )$ ) (Huang et al., 2017) , a 40-2 Wide ResNet (Zagoruyko & Komodakis, 2016), and a ResNeXt-29 $( 3 2 \times 4 )$ (Xie et al., 2016). All networks use an initial learning rate of 0.1 which decays following a cosine learning rate (Loshchilov & Hutter, 2016). All input images are pre-processed with standard random left-right flipping and cropping prior to any augmentations. We do not change AUGMIX parameters across CIFAR-10 and CIFAR-100 experiments for consistency. The All Convolutional Network and Wide ResNet train for 100 epochs, and the DenseNet and ResNeXt require 200 epochs for convergence. We optimize with stochastic gradient descent using Nesterov momentum. Following Zhang et al. (2017); Guo et al. (2019), we use a weight decay of 0.0001 for Mixup and 0.0005 otherwise.
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
Figure 5: Error rates of various methods on CIFAR-10-C using a ResNeXt backbone. Observe that AUGMIX halves the error rate of prior methods and approaches the clean error rate.
|
| 121 |
+
|
| 122 |
+
Table 1: Average classification error as percentages. Across several architectures, AUGMIX obtains CIFAR-10-C and CIFAR-100-C corruption robustness that exceeds the previous state of the art.
|
| 123 |
+
|
| 124 |
+
<table><tr><td></td><td></td><td>Standard</td><td>Cutout</td><td>Mixup</td><td></td><td>CutMix AutoAugment* Adv Training AUGMIX</td><td></td><td></td></tr><tr><td rowspan="4">CIFAR-10-C</td><td>AllConvNet</td><td>30.8</td><td>32.9</td><td>24.6</td><td>31.3</td><td>29.2</td><td>28.1</td><td>15.0</td></tr><tr><td>DenseNet</td><td>30.7</td><td>32.1</td><td>24.6</td><td>33.5</td><td>26.6</td><td>27.6</td><td>12.7</td></tr><tr><td>WideResNet</td><td>26.9</td><td>26.8</td><td>22.3</td><td>27.1</td><td>23.9</td><td>26.2</td><td>11.2</td></tr><tr><td>ResNeXt</td><td>27.5</td><td>28.9</td><td>22.6</td><td>29.5</td><td>24.2</td><td>27.0</td><td>10.9</td></tr><tr><td colspan="2">Mean</td><td>29.0</td><td>30.2</td><td>23.5</td><td>30.3</td><td>26.0</td><td>27.2</td><td>12.5</td></tr><tr><td rowspan="4">CIFAR-100-C</td><td>AllConvNet</td><td>56.4</td><td>56.8</td><td>53.4</td><td>56.0</td><td>55.1</td><td>56.0</td><td>42.7</td></tr><tr><td>DenseNet</td><td>59.3</td><td>59.6</td><td>55.4</td><td>59.2</td><td>53.9</td><td>55.2</td><td>39.6</td></tr><tr><td>WideResNet</td><td>53.3</td><td>53.5</td><td>50.4</td><td>52.9</td><td>49.6</td><td>55.1</td><td>35.9</td></tr><tr><td>ResNeXt</td><td>53.4</td><td>54.6</td><td>51.4</td><td>54.1</td><td>51.3</td><td>54.4</td><td>34.9</td></tr><tr><td colspan="2">Mean</td><td>55.6</td><td>56.1</td><td>52.6</td><td>55.5</td><td>52.5</td><td>55.2</td><td>38.3</td></tr></table>
|
| 125 |
+
|
| 126 |
+
Results. Simply mixing random augmentations and using the Jensen-Shannon loss substantially improves robustness and uncertainty estimates. Compared to the “Standard” data augmentation baseline ResNeXt on CIFAR-10-C, AUGMIX achieves $1 6 . 6 \%$ lower absolute corruption error as shown in Figure 5. In addition to surpassing numerous other data augmentation techniques, Table 1 demonstrates that these gains directly transfer across architectures and on CIFAR-100-C with zero additional tuning. Crucially, the robustness gains do not only exist when measured in aggregate. Figure 12 shows that AUGMIX improves corruption robustness across every individual corruption and severity level. Our method additionally achieves the lowest mFP on CIFAR-10-P across three different models all while maintaining accuracy on clean CIFAR-10, as shown in Figure 6 (left) and Table 6. Finally, we demonstrate that AUGMIX improves the RMS calibration error on CIFAR-10 and CIFAR-10-C, as shown in Figure 6 (right) and Table 5. Expanded CIFAR-10-P and calibration results are in Appendix D, and Fourier Sensitivity analysis is in Appendix B.
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
Figure 6: CIFAR-10-P prediction stability and Root Mean Square Calibration Error values for ResNeXt. AUGMIX simultaneously reduces flip probabilities and calibration error.
|
| 130 |
+
|
| 131 |
+
# 4.2 IMAGENET
|
| 132 |
+
|
| 133 |
+
Baselines. To demonstrate the utility of AUGMIX on ImageNet, we compare to many techniques designed for large-scale images. While techniques such as Cutout (Devries & Taylor, 2017) have not been demonstrated to help on the ImageNet scale, and while few have had success training adversarially robust models on ImageNet (Engstrom et al., 2018), other techniques such as Stylized ImageNet have been demonstrated to help on ImageNet-C. Patch Uniform (Lopes et al., 2019) is similar to Cutout except that randomly chosen regions of the image are injected with uniform noise; the original paper uses Gaussian noise, but that appears in the ImageNet-C test set so we use uniform noise. We tune Patch Uniform over 30 hyperparameter settings. Next, AutoAugment (Cubuk et al., 2018) searches over data augmentation policies to find a high-performing data augmentation policy. We denote AutoAugment results with AutoAugment\* since we remove augmentation operations that overlap with ImageNet-C corruptions, as with AUGMIX. We also test with Random AutoAugment\*, an augmentation scheme where each image has a randomly sampled augmentation policy using AutoAugment\* operations. In contrast to AutoAugment, Random AutoAugment\* and AUGMIX require far less computation and provide more augmentation variety, which can offset their lack of optimization. Note that Random AutoAugment\* is different from RandAugment introduced recently by Cubuk et al. (2019): RandAugment uses AutoAugment operations and optimizes a single distortion magnitude hyperparameter for all operations, while Random AutoAugment\* randomly samples magnitudes for each operation and uses the same operations as AUGMIX. MaxBlur Pooling (Zhang, 2019) is a recently proposed architectural modification which smooths the results of pooling. Now, Stylized ImageNet (SIN) is a technique where models are trained with the original ImageNet images and also ImageNet images with style transfer applied. Whereas the original Stylized ImageNet technique pretrains on ImageNet-C and performs style transfer with a content loss coefficient of 0 and a style loss coefficient of 1, we find that using 0.5 content and style loss coefficients decreases the mCE by $0 . 6 \%$ . Later, we show that SIN and AUGMIX can be combined. All models are trained from scratch, except MaxBlur Pooling models which has trained models available.
|
| 134 |
+
|
| 135 |
+
Training Setup. Methods are trained with ResNet-50 and we follow the standard training scheme of Goyal et al. (2017), in which we linearly scale the learning rate with the batch size, and use a learning rate warm-up for the first 5 epochs, and AutoAugment and AUGMIX train for 180 epochs. All input images are first pre-processed with standard random cropping horizontal mirroring.
|
| 136 |
+
|
| 137 |
+
Table 2: Clean Error, Corruption Error (CE), and mCE values for various methods on ImageNet-C. The mCE value is computed by averaging across all $1 5 \mathrm { C E }$ values. AUGMIX reduces corruption error while improving clean accuracy, and it can be combined with SIN for greater corruption robustness.
|
| 138 |
+
|
| 139 |
+
<table><tr><td></td><td></td><td></td><td>Noise</td><td></td><td></td><td>Blur</td><td></td><td></td><td></td><td></td><td>Weather</td><td></td><td></td><td>Digital</td><td></td><td></td><td></td></tr><tr><td>Network</td><td>Clean</td><td>Gauss.Shot Impulse</td><td></td><td></td><td>Defocus Glass Motion Zoom</td><td></td><td></td><td></td><td></td><td></td><td>SnowFrostFog</td><td>Bright</td><td></td><td>Contrast Elastic Pixel JPEG</td><td></td><td></td><td>mCE</td></tr><tr><td>Standard</td><td>23.9</td><td>79</td><td>80</td><td>82</td><td>82</td><td>90</td><td>84</td><td>80</td><td>86</td><td>81</td><td>75</td><td>65</td><td>79</td><td>91</td><td>77</td><td>80</td><td>80.6</td></tr><tr><td>Patch Uniform</td><td>24.5</td><td>67</td><td>68</td><td>70</td><td>74</td><td>83</td><td>81</td><td>77</td><td>80</td><td>74</td><td>75</td><td>62</td><td>77</td><td>84</td><td>71</td><td>71</td><td>74.3</td></tr><tr><td>AutoAugment* (AA)</td><td>22.8</td><td>69</td><td>68</td><td>72</td><td>77</td><td>83</td><td>80</td><td>81</td><td>79</td><td>75</td><td>64</td><td>56</td><td>70</td><td>88</td><td>57</td><td>71</td><td>72.7</td></tr><tr><td>Random AA*</td><td>23.6</td><td>70</td><td>71</td><td>72</td><td>80</td><td>86</td><td>82</td><td>81</td><td>81</td><td>77</td><td>72</td><td>61</td><td>75</td><td>88</td><td>73</td><td>72</td><td>76.1</td></tr><tr><td>MaxBlur pool</td><td>23.0</td><td>73</td><td>74</td><td>76</td><td>74</td><td>86</td><td>78</td><td>77</td><td>77</td><td>72</td><td>63</td><td>56</td><td>68</td><td>86</td><td>71</td><td>71</td><td>73.4</td></tr><tr><td>SIN</td><td>27.2</td><td>69</td><td>70</td><td>70</td><td>77</td><td>84</td><td>76</td><td>82</td><td>74</td><td>75</td><td>69</td><td>65</td><td>69</td><td>80</td><td>64</td><td>77</td><td>73.3</td></tr><tr><td>AUGMIX</td><td>22.4</td><td>65</td><td>66</td><td>67</td><td>70</td><td>80</td><td>66</td><td>66</td><td>75</td><td>72</td><td>67</td><td>58</td><td>58</td><td>79</td><td>69</td><td>69</td><td>68.4</td></tr><tr><td>AUGMIX+SIN</td><td>25.2</td><td>61</td><td>62</td><td>61</td><td>69</td><td>77</td><td>63</td><td>72</td><td>66</td><td>68</td><td>63</td><td>59</td><td>52</td><td>74</td><td>60</td><td>67</td><td>64.9</td></tr></table>
|
| 140 |
+
|
| 141 |
+
Results. Our method achieves $6 8 . 4 \%$ mCE as shown in Table 2, down from the baseline $8 0 . 6 \%$ mCE. Additionally, we note that AUGMIX allows straightforward stacking with other methods such as SIN to achieve an even lower corruption error of $6 4 . 1 \%$ mCE. Other techniques such as AutoAugment\* require much tuning, while ours does not. Across increasing severities of corruptions, our method also produces much more calibrated predictions measured by both the Brier Score and RMS Calibration Error as shown in Figure 7. As shown in Table 3, AUGMIX also achieves a state-of-the art result on ImageNet-P at with an mFR of $3 7 . 4 \%$ , down from $5 7 . 2 \%$ . We demonstrate that scaling up AUGMIX from CIFAR to ImageNet also leads to state-of-the-art results in robustness and uncertainty estimation.
|
| 142 |
+
|
| 143 |
+
# 4.3 ABLATIONS
|
| 144 |
+
|
| 145 |
+
We locate the utility of AUGMIX in three factors: training set diversity, our Jensen-Shannon divergence consistency loss, and mixing. Improving training set diversity via increased variety of augmentations can greatly improve robustness. For instance, augmenting each example with a
|
| 146 |
+
|
| 147 |
+
<table><tr><td></td><td></td><td colspan="2">Noise</td><td colspan="2">Blur</td><td colspan="2">Weather</td><td colspan="5">Digital</td></tr><tr><td>Network</td><td>Clean</td><td>Gaussian Shot</td><td></td><td>Motion Zoom</td><td></td><td>Snow</td><td>Bright</td><td>TranslateRotate</td><td></td><td>TiltScale</td><td></td><td>mFR</td></tr><tr><td>Standard</td><td>23.9</td><td>57</td><td>55</td><td>62</td><td>65</td><td>66</td><td>65</td><td>43</td><td>53</td><td>57</td><td>49</td><td>57.2</td></tr><tr><td>Patch Uniform</td><td>24.5</td><td>32</td><td>25</td><td>50</td><td>52</td><td>54</td><td>57</td><td>40</td><td>48</td><td>49</td><td>46</td><td>45.3</td></tr><tr><td>AutoAugment* (AA)</td><td>22.8</td><td>50</td><td>45</td><td>57</td><td>68</td><td>63</td><td>53</td><td>40</td><td>44</td><td>50</td><td>46</td><td>51.7</td></tr><tr><td>Random AA*</td><td>23.6</td><td>53</td><td>46</td><td>53</td><td>63</td><td>59</td><td>57</td><td>42</td><td>48</td><td>54</td><td>47</td><td>52.2</td></tr><tr><td>SIN</td><td>27.2</td><td>53</td><td>50</td><td>57</td><td>72</td><td>51</td><td>62</td><td>43</td><td>53</td><td>57</td><td>53</td><td>55.0</td></tr><tr><td>MaxBlur pool</td><td>23.0</td><td>52</td><td>51</td><td>59</td><td>63</td><td>57</td><td>64</td><td>34</td><td>43</td><td>49</td><td>40</td><td>51.2</td></tr><tr><td>AUGMIX</td><td>22.4</td><td>46</td><td>41</td><td>30</td><td>47</td><td>38</td><td>46</td><td>25</td><td>32</td><td>35</td><td>33</td><td>37.4</td></tr><tr><td>AUGMIX+SIN</td><td>25.2</td><td>45</td><td>40</td><td>30</td><td>54</td><td>32</td><td>48</td><td>27</td><td>35</td><td>38</td><td>39</td><td>38.9</td></tr></table>
|
| 148 |
+
|
| 149 |
+
Table 3: ImageNet-P results. The mean flipping rate is the average of the flipping rates across all 10 perturbation types. AUGMIX improves perturbation stability by approximately $20 \%$ .
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 7: Uncertainty results on ImageNet-C. Observe that under severe data shifts, the RMS calibration error with ensembles and AUGMIX is remarkably steady. Even though classification error increases, calibration is roughly preserved. Severity zero denotes clean data.
|
| 153 |
+
|
| 154 |
+
randomly sampled augmentation chain decreases the error rate of Wide ResNet on CIFAR-10-C from $2 6 . 9 \%$ to $1 7 . 0 \%$ Table 4. Adding in the Jensen-Shannon divergence consistency loss drops error rate further to $1 4 . 7 \%$ . Mixing random augmentations without the Jenson-Shannon divergence loss gives us an error rate of $1 3 . 1 \%$ . Finally, re-introducing the Jensen-Shannon divergence gives us AUGMIX with an error rate of $1 1 . 2 \%$ . Note that adding even more mixing is not necessarily beneficial. For instance, applying AUGMIX on top of Mixup increases the error rate to $1 3 . 3 \%$ , possibly due to an increased chance of manifold intrusion (Guo et al., 2019). Hence AUGMIX’s careful combination of variety, consistency loss, and mixing explain its performance.
|
| 155 |
+
|
| 156 |
+
Table 4: Ablating components of AUGMIX on CIFAR-10-C and CIFAR-100-C. Variety through randomness, the Jensen-Shannon divergence (JSD) loss, and augmentation mixing confer robustness.
|
| 157 |
+
|
| 158 |
+
<table><tr><td>Method</td><td>CIFAR-10-C Error Rate</td><td>CIFAR-100-C ErrorRate</td></tr><tr><td>Standard</td><td>26.9</td><td>53.3</td></tr><tr><td>AutoAugment*</td><td>23.9</td><td>49.6</td></tr><tr><td>Random AutoAugment*</td><td>17.0</td><td>43.6</td></tr><tr><td>Random AutoAugment* + JSDLoss</td><td>14.7</td><td>40.8</td></tr><tr><td>AugmentAndMix (No JSD Loss)</td><td>13.1</td><td>39.8</td></tr><tr><td>AUGMIX (Mixing + JSD Loss)</td><td>11.2</td><td>35.9</td></tr></table>
|
| 159 |
+
|
| 160 |
+
# 5 CONCLUSION
|
| 161 |
+
|
| 162 |
+
AUGMIX is a data processing technique which mixes randomly generated augmentations and uses a Jensen-Shannon loss to enforce consistency. Our simple-to-implement technique obtains state-of-the-art performance on CIFAR-10/100-C, ImageNet-C, CIFAR-10/100-P, and ImageNet-P. AUGMIX models achieve state-of-the-art calibration and can maintain calibration even as the distribution shifts. We hope that AUGMIX will enable more reliable models, a necessity for models deployed in safety-critical environments.
|
| 163 |
+
|
| 164 |
+
# REFERENCES
|
| 165 |
+
|
| 166 |
+
Aharon Azulay and Yair Weiss. Why do deep convolutional networks generalize so poorly to small image transformations? arXiv preprint, 2018.
|
| 167 |
+
|
| 168 |
+
Sanghyuk Chun, Seong Joon Oh, Sangdoo Yun, Dongyoon Han, Junsuk Choe, and Youngjoon Yoo. An empirical evaluation on robustness and uncertainty of regularization methods. ICML Workshop on Uncertainty and Robustness in Deep Learning, 2019.
|
| 169 |
+
|
| 170 |
+
Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. arXiv preprint arXiv:1909.13719, 2019.
|
| 171 |
+
|
| 172 |
+
Ekin Dogus Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V. Le. AutoAugment:´ Learning augmentation policies from data. CVPR, 2018.
|
| 173 |
+
|
| 174 |
+
Jia Deng, Wei Dong, Richard Socher, Li jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. CVPR, 2009.
|
| 175 |
+
|
| 176 |
+
Terrance Devries and Graham W. Taylor. Improved regularization of convolutional neural networks with Cutout. arXiv preprint arXiv:1708.04552, 2017.
|
| 177 |
+
|
| 178 |
+
Logan Engstrom, Andrew Ilyas, and Anish Athalye. Evaluating and understanding the robustness of adversarial logit pairing. arXiv preprint, 2018.
|
| 179 |
+
|
| 180 |
+
Robert Geirhos, Carlos R. M. Temme, Jonas Rauber, Heiko H. Schutt, Matthias Bethge, and Felix A.¨ Wichmann. Generalisation in humans and deep neural networks. NeurIPS, 2018.
|
| 181 |
+
|
| 182 |
+
Justin Gilmer and Dan Hendrycks. A discussion of’adversarial examples are not bugs, they are features’: Adversarial example researchers need to expand what is meant by’robustness’. Distill, 4 (8):e00019–1, 2019.
|
| 183 |
+
|
| 184 |
+
Justin Gilmer, Ryan P. Adams, Ian J. Goodfellow, David Andersen, and George E. Dahl. Motivating the rules of the game for adversarial example research. CoRR, abs/1807.06732, 2018.
|
| 185 |
+
|
| 186 |
+
Priya Goyal, Piotr Dollar, Ross B. Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, ´ Andrew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. CoRR, abs/1706.02677, 2017.
|
| 187 |
+
|
| 188 |
+
Keren Gu, Brandon Yang, Jiquan Ngiam, Quoc Le, and Jonathon Shlens. Using videos to evaluate image model robustness, 2019.
|
| 189 |
+
|
| 190 |
+
Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. ICML, 2017.
|
| 191 |
+
|
| 192 |
+
Hongyu Guo, Yongyi Mao, and Richong Zhang. Mixup as locally linear out-of-manifold regularization. In AAAI, 2019.
|
| 193 |
+
|
| 194 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CVPR, 2015.
|
| 195 |
+
|
| 196 |
+
Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. ICLR, 2019.
|
| 197 |
+
|
| 198 |
+
Dan Hendrycks and Kevin Gimpel. A baseline for detecting misclassified and out-of-distribution examples in neural networks. ICLR, 2017.
|
| 199 |
+
|
| 200 |
+
Dan Hendrycks, Kimin Lee, and Mantas Mazeika. Using pre-training can improve model robustness and uncertainty. In ICML, 2019a.
|
| 201 |
+
|
| 202 |
+
Dan Hendrycks, Mantas Mazeika, and Thomas Dietterich. Deep anomaly detection with outlier exposure. ICLR, 2019b.
|
| 203 |
+
|
| 204 |
+
Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In CVPR, 2017.
|
| 205 |
+
|
| 206 |
+
Daniel Kang, Yi Sun, Dan Hendrycks, Tom Brown, and Jacob Steinhardt. Testing robustness against unforeseen adversaries. arXiv preprint, 2019.
|
| 207 |
+
|
| 208 |
+
Harini Kannan, Alexey Kurakin, and Ian Goodfellow. Adversarial logit pairing. NeurIPS, 2018.
|
| 209 |
+
|
| 210 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009.
|
| 211 |
+
|
| 212 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. NeurIPS, 2012.
|
| 213 |
+
|
| 214 |
+
Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In NeurIPS, 2017.
|
| 215 |
+
|
| 216 |
+
Zachary Chase Lipton, Yu-Xiang Wang, and Alexander J. Smola. Detecting and correcting for label shift with black box predictors. ArXiv, abs/1802.03916, 2018.
|
| 217 |
+
|
| 218 |
+
Raphael Gontijo Lopes, Dong Yin, Ben Poole, Justin Gilmer, and Ekin Dogus Cubuk. Improving robustness without sacrificing accuracy with patch Gaussian augmentation. arXiv preprint arXiv:1906.02611, 2019.
|
| 219 |
+
|
| 220 |
+
Ilya Loshchilov and Frank Hutter. SGDR: stochastic gradient descent with warm restarts. ICLR, 2016.
|
| 221 |
+
|
| 222 |
+
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. ICLR, 2018.
|
| 223 |
+
|
| 224 |
+
Khanh Nguyen and Brendan O’Connor. Posterior calibration and exploratory analysis for natural language processing models. EMNLP, 2015.
|
| 225 |
+
|
| 226 |
+
Yaniv Ovadia, Emily Fertig, Jie Ren, Zachary Nado, D Sculley, Sebastian Nowozin, Joshua V Dillon, Balaji Lakshminarayanan, and Jasper Snoek. Can you trust your model’s uncertainty? Evaluating predictive uncertainty under dataset shift. NeurIPS, 2019.
|
| 227 |
+
|
| 228 |
+
Aditi Raghunathan, Sang Michael Xie, Fanny Yang, John C. Duchi, and Percy Liang. Adversarial training can hurt generalization. arXiv preprint arXiv:1906.06032, 2019.
|
| 229 |
+
|
| 230 |
+
Tim Salimans and Diederik Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. NeurIPS, 2016.
|
| 231 |
+
|
| 232 |
+
Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin A. Riedmiller. Striving for simplicity: The all convolutional net. CoRR, abs/1412.6806, 2014.
|
| 233 |
+
|
| 234 |
+
Yuji Tokozume, Yoshitaka Ushiku, and Tatsuya Harada. Between-class learning for image classification. CVPR, 2018.
|
| 235 |
+
|
| 236 |
+
Antonio Torralba and Alexei A. Efros. Unbiased look at dataset bias. CVPR, 2011.
|
| 237 |
+
|
| 238 |
+
Igor Vasiljevic, Ayan Chakrabarti, and Gregory Shakhnarovich. Examining the impact of blur on recognition by convolutional networks, 2016.
|
| 239 |
+
|
| 240 |
+
Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation. arXiv preprint arXiv:1904.12848, 2019.
|
| 241 |
+
|
| 242 |
+
Saining Xie, Ross Girshick, Piotr Dollr, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. CVPR, 2016.
|
| 243 |
+
|
| 244 |
+
Dong Yin, Raphael Gontijo Lopes, Jonathon Shlens, Ekin D Cubuk, and Justin Gilmer. A Fourier perspective on model robustness in computer vision. arXiv preprint arXiv:1906.08988, 2019.
|
| 245 |
+
|
| 246 |
+
Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. ICCV, 2019.
|
| 247 |
+
|
| 248 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In BMVC, 2016.
|
| 249 |
+
|
| 250 |
+
Hongyi Zhang, Moustapha Cisse, Yann Dauphin, and David Lopez-Paz. mixup: Beyond empirical ´ risk minimization. ICLR, 2017.
|
| 251 |
+
|
| 252 |
+
Richard Zhang. Making convolutional networks shift-invariant again. In ICML, 2019.
|
| 253 |
+
|
| 254 |
+
Stephan Zheng, Yang Song, Thomas Leung, and Ian Goodfellow. Improving the robustness of deep neural networks via stability training. CVPR, 2016.
|
| 255 |
+
|
| 256 |
+
Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. arXiv preprint arXiv:1708.04896, 2017.
|
| 257 |
+
|
| 258 |
+
# A HYPERPARAMETER ABLATIONS
|
| 259 |
+
|
| 260 |
+
In this section we demonstrate that AUGMIX’s hyperparameters are not highly sensitive, so that AUGMIX performs reliably without careful tuning. For this set of experiments, the baseline AUGMIX model trains for 90 epochs, has a mixing coefficient of $\alpha = 0 . 5$ , has 3 examples per Jensen-Shannon Divergence (1 clean image, 2 augmented images), has a chain depth stochastically varying from 1 to 3, and has $k = 3$ augmentation chains. Figure 8 shows that the performance of various AUGMIX models with different hyperparameters. Under these hyperparameter changes, the mCE does not change substantially.
|
| 261 |
+
|
| 262 |
+

|
| 263 |
+
AugMix ImageNet-C Ablations
|
| 264 |
+
|
| 265 |
+

|
| 266 |
+
Figure 8: AUGMIX hyperparameter ablations on ImageNet-C. ImageNet-C classification performance is stable changes to AUGMIX’s hyperparameters.
|
| 267 |
+
Figure 9: Fourier Sensitivity Heatmap of the baseline Wide ResNet, Cutout, and AUGMIX CIFAR-10 models. All Fourier basis perturbations are added to clean CIFAR-10 test images. AUGMIX maintains robustness at low frequencies and is far more robust to mid and high frequency modifications. Example perturbed images are shown above, with black pointer lines indicating the Fourier basis vector used to perturb the image. For each basis vector we compute the error rate of the model after perturbing the entire test set.
|
| 268 |
+
|
| 269 |
+
# B FOURIER ANALYSIS
|
| 270 |
+
|
| 271 |
+
A commonly mentioned hypothesis (Gilmer & Hendrycks, 2019) for the lack of robustness of deep neural networks is that they readily latch onto spurious high-frequency correlations that exist in the data. In order to better understand the reliance of models to such correlations, we measure model sensitivity to additive noise at differing frequencies. We create a $3 2 \times 3 2$ sensitivity heatmap. That is, we add a total of $3 2 \times 3 2$ Fourier basis vectors to the CIFAR-10 test set, one at a time, and record the resulting error rate after adding each Fourier basis vector. Each point in the heatmap shows the error rate on the CIFAR-10 test set after it has been perturbed by a single Fourier basis vector. Points corresponding to low frequency vectors are shown in the center of the heatmap, whereas high frequency vectors are farther from the center. For further details on Fourier sensitivity analysis, we refer the reader to Section 2 of Yin et al. (2019). In Figure 9 we observe that the baseline model is robust to low frequency perturbations but severely lacks robustness to high frequency perturbations, where error rates exceed $80 \%$ . The model trained with Cutout shows a similar lack of robustness. In contrast, the model trained with AUGMIX maintains robustness to low frequency perturbations, and on the mid and high frequencies AUGMIX is conspicuously more robust.
|
| 272 |
+
|
| 273 |
+
# C AUGMENTATION OPERATIONS
|
| 274 |
+
|
| 275 |
+
The augmentation operations we use for AUGMIX are shown in Figure 10.
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
Figure 10: Illustration of augmentation operations applied to the same image. Some operation severities have been increased to show detail.
|
| 279 |
+
|
| 280 |
+
We do not use augmentations such as contrast, color, brightness, sharpness, and Cutout as they may overlap with ImageNet-C test set corruptions. We should note that augmentation choice requires additional care. Guo et al. (2019) show that blithely applying augmentations can potentially cause augmented images to take different classes. Figure 11 shows how histogram color swapping augmentation may change a bird’s class, leading to a manifold intrusion.
|
| 281 |
+
|
| 282 |
+

|
| 283 |
+
Figure 11: An illustration of manifold intrusion (Guo et al., 2019), where histogram color augmentation can change the image’s class.
|
| 284 |
+
|
| 285 |
+
# D ADDITIONAL RESULTS
|
| 286 |
+
|
| 287 |
+
We include various additional results for CIFAR-10, CIFAR-10-C and CIFAR-10-P below. Figure 12 reports accuracy for each corruption, Table 5 reports calibration results for various architectures and Table 6 reports clean error and mFR. We refer to Section 4.1 for details about the architecture and training setup.
|
| 288 |
+
|
| 289 |
+

|
| 290 |
+
Figure 12: AUGMIX improves corruption robustness across all CIFAR-10-C noise, blur, weather, and digital corruptions, despite the model never having seen these corruptions during training.
|
| 291 |
+
|
| 292 |
+
Table 5: RMS Calibration Error of various models and data augmentation methods across CIFAR-10 and CIFAR-10-C. All values are reported as percentages.
|
| 293 |
+
|
| 294 |
+
<table><tr><td></td><td></td><td>Standard Cutout</td><td>Mixup</td><td></td><td></td><td>CutMix AutoAugment* Adv Training AUGMIX</td><td></td><td></td></tr><tr><td rowspan="4">CIFAR-10</td><td>AllConvNet</td><td>5.4</td><td>4.0</td><td>12.6</td><td>3.1</td><td>4.2</td><td>11.1</td><td>2.2</td></tr><tr><td>DenseNet</td><td>7.5</td><td>6.4</td><td>15.6</td><td>5.4</td><td>6.0</td><td>16.2</td><td>5.0</td></tr><tr><td>WideResNet</td><td>6.8</td><td>3.8</td><td>14.0</td><td>5.0</td><td>4.7</td><td>10.7</td><td>4.2</td></tr><tr><td>ResNeXt</td><td>3.0</td><td>4.4</td><td>13.5</td><td>3.5</td><td>3.3</td><td>5.8</td><td>3.0</td></tr><tr><td colspan="2">Mean</td><td>5.7</td><td>4.7</td><td>13.9</td><td>4.2</td><td>4.6</td><td>11.0</td><td>3.6</td></tr><tr><td rowspan="4">CIFAR-10-C</td><td>AllConvNet</td><td>21.2</td><td>21.3</td><td>9.7</td><td>15.4</td><td>16.2</td><td>10.4</td><td>5.2</td></tr><tr><td>DenseNet</td><td>26.7</td><td>27.8</td><td>12.9</td><td>25.6</td><td>21.1</td><td>15.0</td><td>11.7</td></tr><tr><td>WideResNet</td><td>27.6</td><td>19.6</td><td>11.1</td><td>17.8</td><td>17.1</td><td>10.6</td><td>8.7</td></tr><tr><td>ResNeXt</td><td>16.4</td><td>21.4</td><td>11.7</td><td>19.6</td><td>15.1</td><td>11.6</td><td>8.3</td></tr><tr><td colspan="2">Mean</td><td>23.0</td><td>22.5</td><td>11.4</td><td>19.6</td><td>17.4</td><td>11.9</td><td>8.5</td></tr></table>
|
| 295 |
+
|
| 296 |
+
Table 6: CIFAR-10 Clean Error and CIFAR-10-P mean Flip Probability. All values are percentages. While adversarial training performs well on CIFAR-10-P, it induces a substantial drop in accuracy (increase in error) on clean CIFAR-10 where AUGMIX does not.
|
| 297 |
+
|
| 298 |
+
<table><tr><td colspan="2"></td><td colspan="7">Standard Cutout Mixup CutMix AutoAugment* Adv Training AUGMIX</td></tr><tr><td rowspan="4">CIFAR-10</td><td>AllConvNet</td><td>6.1</td><td>6.1</td><td>6.3</td><td>6.4</td><td>6.6</td><td>18.9</td><td>6.5</td></tr><tr><td>DenseNet</td><td>5.8</td><td>4.8</td><td>5.5</td><td>5.3</td><td>4.8</td><td>17.9</td><td>4.9</td></tr><tr><td>WideResNet</td><td>5.2</td><td>4.4</td><td>4.9</td><td>4.6</td><td>4.8</td><td>17.1</td><td>4.9</td></tr><tr><td>ResNeXt</td><td>4.3</td><td>4.4</td><td>4.2</td><td>3.9</td><td>3.8</td><td>15.4</td><td>4.2</td></tr><tr><td colspan="2">Mean</td><td>5.4</td><td>4.9</td><td>5.2</td><td>5.0</td><td>5.0</td><td>17.3</td><td>5.1</td></tr><tr><td rowspan="4">CIFAR-10-P</td><td>AllConvNet</td><td>4.2</td><td>5.0</td><td>3.9</td><td>4.5</td><td>4.0</td><td>2.0</td><td>1.5</td></tr><tr><td>DenseNet</td><td>5.0</td><td>5.7</td><td>3.9</td><td>6.3</td><td>4.8</td><td>2.1</td><td>1.8</td></tr><tr><td>WideResNet</td><td>4.2</td><td>4.3</td><td>3.4</td><td>4.6</td><td>4.2</td><td>2.2</td><td>1.6</td></tr><tr><td>ResNeXt</td><td>4.0</td><td>4.5</td><td>3.2</td><td>5.2</td><td>4.2</td><td>2.5</td><td>1.5</td></tr><tr><td colspan="2">Mean</td><td>4.3</td><td>4.9</td><td>3.6</td><td>5.2</td><td>4.3</td><td>2.2</td><td>1.6</td></tr></table>
|
| 299 |
+
|
| 300 |
+
# E CALIBRATION METRICS
|
| 301 |
+
|
| 302 |
+
Due to the finite size of empirical test sets, the RMS Calibration Error must be estimated by partitioning all $n$ test set examples into $b$ contiguous bins $\{ B _ { 1 } , B _ { 2 } , \dots , B _ { b } \}$ ordered by prediction confidence. In this work we use bins which contain 100 predictions, so that we adaptively partition confidence scores on the interval [0, 1] (Nguyen & O’Connor, 2015; Hendrycks et al., 2019b). Other works partition the interval $[ 0 , 1 ]$ with 15 bins of uniform length (Guo et al., 2017). With these $b$ bins, we estimate the RMS Calibration Error empirically with the formula
|
| 303 |
+
|
| 304 |
+
$$
|
| 305 |
+
\sqrt { \sum _ { i = 1 } ^ { b } \frac { | B _ { i } | } { n } \biggl ( \frac { 1 } { | B _ { i } | } \sum _ { k \in B _ { i } } \mathbb { 1 } \bigl ( y _ { k } = \hat { y } _ { k } \bigr ) - \frac { 1 } { | B _ { i } | } \sum _ { k \in B _ { i } } c _ { k } \biggr ) ^ { 2 ^ { \top } } } .
|
| 306 |
+
$$
|
| 307 |
+
|
| 308 |
+
This is separate from classification error because a random classifier with an approximately uniform posterior distribution is approximately calibrated. Also note that adding the “refinement” $\mathbb { E } _ { C } [ ( \mathbb { P } ( Y =$ $\hat { Y } | C = c ) ( 1 - ( \mathbb { P } ( Y = \hat { Y } | C = c ) ) ]$ to the square of the RMS Calibration Error gives us the Brier Score (Nguyen & O’Connor, 2015).
|
parse/train/S1gmrxHFvB/S1gmrxHFvB_content_list.json
ADDED
|
@@ -0,0 +1,1544 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "AUGMIX: A SIMPLE DATA PROCESSING METHOD TO IMPROVE ROBUSTNESS AND UNCERTAINTY ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Dan Hendrycks∗ \nDeepMind \nhendrycks@berkeley.edu \nNorman Mu∗ \nGoogle \nnormanmu@google.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
170,
|
| 20 |
+
380,
|
| 21 |
+
212
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "",
|
| 28 |
+
"bbox": [
|
| 29 |
+
437,
|
| 30 |
+
170,
|
| 31 |
+
609,
|
| 32 |
+
212
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Ekin D. Cubuk Google cubuk@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
666,
|
| 41 |
+
170,
|
| 42 |
+
810,
|
| 43 |
+
212
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Barret Zoph \nGoogle \nbarretzoph@google.com ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
183,
|
| 52 |
+
234,
|
| 53 |
+
372,
|
| 54 |
+
275
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Justin Gilmer Google gilmer@google.com ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
411,
|
| 63 |
+
234,
|
| 64 |
+
566,
|
| 65 |
+
276
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Balaji Lakshminarayanan† DeepMind balajiln@google.com ",
|
| 72 |
+
"bbox": [
|
| 73 |
+
606,
|
| 74 |
+
234,
|
| 75 |
+
795,
|
| 76 |
+
276
|
| 77 |
+
],
|
| 78 |
+
"page_idx": 0
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"type": "text",
|
| 82 |
+
"text": "ABSTRACT ",
|
| 83 |
+
"text_level": 1,
|
| 84 |
+
"bbox": [
|
| 85 |
+
454,
|
| 86 |
+
313,
|
| 87 |
+
544,
|
| 88 |
+
327
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "Modern deep neural networks can achieve high accuracy when the training distribution and test distribution are identically distributed, but this assumption is frequently violated in practice. When the train and test distributions are mismatched, accuracy can plummet. Currently there are few techniques that improve robustness to unforeseen data shifts encountered during deployment. In this work, we propose a technique to improve the robustness and uncertainty estimates of image classifiers. We propose AUGMIX, a data processing technique that is simple to implement, adds limited computational overhead, and helps models withstand unforeseen corruptions. AUGMIX significantly improves robustness and uncertainty measures on challenging image classification benchmarks, closing the gap between previous methods and the best possible performance in some cases by more than half. ",
|
| 95 |
+
"bbox": [
|
| 96 |
+
232,
|
| 97 |
+
343,
|
| 98 |
+
767,
|
| 99 |
+
497
|
| 100 |
+
],
|
| 101 |
+
"page_idx": 0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"type": "text",
|
| 105 |
+
"text": "1 INTRODUCTION ",
|
| 106 |
+
"text_level": 1,
|
| 107 |
+
"bbox": [
|
| 108 |
+
176,
|
| 109 |
+
517,
|
| 110 |
+
336,
|
| 111 |
+
534
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Current machine learning models depend on the ability of training data to faithfully represent the data encountered during deployment. In practice, data distributions evolve (Lipton et al., 2018), models encounter new scenarios (Hendrycks & Gimpel, 2017), and data curation procedures may capture only a narrow slice of the underlying data distribution (Torralba & Efros, 2011). Mismatches between the train and test data are commonplace, yet the study of this problem is not. As it stands, models do not robustly generalize across shifts in the data distribution. If models could identify when they are likely to be mistaken, or estimate uncertainty accurately, then the impact of such fragility might be ameliorated. Unfortunately, modern models already produce overconfident predictions when the training examples are independent and identically distributed to the test distribution. This overconfidence and miscalibration is greatly exacerbated by mismatched training and testing distributions. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
546,
|
| 121 |
+
825,
|
| 122 |
+
686
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Small corruptions to the data distribution are enough to subvert existing classifiers, and techniques to improve corruption robustness remain few in number. Hendrycks & Dietterich (2019) show that classification error of modern models rises from $22 \\%$ on the usual ImageNet test set to $64 \\%$ on ImageNet-C, a test set consisting of various corruptions applied to ImageNet test images. Even methods which aim to explicitly quantify uncertainty, such as probabilistic and Bayesian neural networks, struggle under data shift, as recently demonstrated by Ovadia et al. (2019). Improving performance in this setting has been difficult. One reason is that training against corruptions only encourages networks to memorize the specific corruptions seen during training and leaves models unable to generalize to new corruptions (Vasiljevic et al., 2016; Geirhos et al., 2018). Further, networks trained on translation augmentations remain highly sensitive to images shifted by a single pixel (Gu et al., 2019; Hendrycks & Dietterich, 2019). Others have proposed aggressive data augmentation schemes (Cubuk et al., 2018), though at the cost of a computational increase. Chun et al. (2019) demonstrates that many techniques may improve clean accuracy at the cost of robustness while many techniques which improve robustness harm uncertainty, and contrariwise. In all, existing techniques have considerable trade-offs. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
693,
|
| 132 |
+
825,
|
| 133 |
+
887
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 0
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "image",
|
| 139 |
+
"img_path": "images/83b7e856f0dd9d03c3943a76c56f051a39a07d25b37598ba7a1811b7ca2ec8b8.jpg",
|
| 140 |
+
"image_caption": [
|
| 141 |
+
"Figure 1: A visual comparison of data augmentation techniques. AUGMIX produces images with variety while preserving much of the image semantics and local statistics. "
|
| 142 |
+
],
|
| 143 |
+
"image_footnote": [],
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
98,
|
| 147 |
+
823,
|
| 148 |
+
232
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "In this work, we propose a technique to improve both the robustness and uncertainty estimates of classifiers under data shift. We propose AUGMIX, a method which simultaneously achieves new state-of-the-art results for robustness and uncertainty estimation while maintaining or improving accuracy on standard benchmark datasets. AUGMIX utilizes stochasticity and diverse augmentations, a Jensen-Shannon Divergence consistency loss, and a formulation to mix multiple augmented images to achieve state-of-the-art performance. On CIFAR-10 and CIFAR-100, our method roughly halves the corruption robustness error of standard training procedures from $2 8 . 4 \\%$ to $1 2 . 4 \\%$ and $5 4 . 3 \\%$ to $3 7 . 8 \\%$ error, respectively. On ImageNet, AUGMIX also achieves state-of-the-art corruption robustness and decreases perturbation instability from $5 7 . 2 \\%$ to $3 7 . 4 \\%$ . Code is available at https://github.com/google-research/augmix. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
173,
|
| 157 |
+
304,
|
| 158 |
+
826,
|
| 159 |
+
443
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 RELATED WORK ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
462,
|
| 170 |
+
344,
|
| 171 |
+
478
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Robustness under Data Shift. Geirhos et al. (2018) show that training against distortions can often fail to generalize to unseen distortions, as networks have a tendency to memorize properties of the specific training distortion. Vasiljevic et al. (2016) show training with various blur augmentations can fail to generalize to unseen blurs or blurs with different parameter settings. Hendrycks & Dietterich (2019) propose measuring generalization to unseen corruptions and provide benchmarks for doing so. Kang et al. (2019) construct an adversarial version of the aforementioned benchmark. Gilmer et al. (2018); Gilmer & Hendrycks (2019) argue that robustness to data shift is a pressing problem which greatly affects the reliability of real-world machine learning systems. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
176,
|
| 180 |
+
492,
|
| 181 |
+
575,
|
| 182 |
+
672
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Calibration under Data Shift. Guo et al. (2017); Nguyen & O’Connor (2015) propose metrics for determining the calibration of machine learning models. Lakshminarayanan et al. (2017) find that simply ensembling classifier predictions improves prediction calibration. Hendrycks et al. (2019a) show that pre-training can also improve calibration. Ovadia et al. (2019) demonstrate that model calibration substantially deteriorates under data shift. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
680,
|
| 192 |
+
575,
|
| 193 |
+
791
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Data Augmentation. Data augmentation can greatly improve generalization performance. For image data, random left-right flipping and cropping are commonly used He et al. (2015). Random occlusion techniques such as Cutout can also improve accuracy on clean data (Devries & Taylor, 2017; Zhong et al., 2017). Rather than occluding a portion of an image, CutMix replaces a portion of an image with a portion of a different image (Yun et al., 2019). Mixup also use information from two images. Rather than implanting one portion of an image inside another, Mixup produces an elementwise convex combination of two images (Zhang et al., 2017; Tokozume et al. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
799,
|
| 203 |
+
578,
|
| 204 |
+
882
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "image",
|
| 210 |
+
"img_path": "images/26ec12a0be68e3d389af8bd4cd008b2f8c72cb8aae9f3a60cb87e3113ea1da0c.jpg",
|
| 211 |
+
"image_caption": [
|
| 212 |
+
"ImageNet-C Corruptions ",
|
| 213 |
+
"Figure 2: Example ImageNet-C corruptions. These corruptions are encountered only at test time and not during training. "
|
| 214 |
+
],
|
| 215 |
+
"image_footnote": [],
|
| 216 |
+
"bbox": [
|
| 217 |
+
588,
|
| 218 |
+
506,
|
| 219 |
+
823,
|
| 220 |
+
808
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 1
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "",
|
| 227 |
+
"bbox": [
|
| 228 |
+
174,
|
| 229 |
+
883,
|
| 230 |
+
816,
|
| 231 |
+
924
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 1
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "image",
|
| 237 |
+
"img_path": "images/195cfa71f2ca86610e0cbc94d9680b99afa27ef52edff09d0d7e783760de3e83.jpg",
|
| 238 |
+
"image_caption": [
|
| 239 |
+
"Figure 3: A cascade of successive compositions can produce images which drift far from the original image, and lead to unrealistic images. However, this divergence can be balanced by controlling the number of steps. To increase variety, we generate multiple augmented images and mix them. "
|
| 240 |
+
],
|
| 241 |
+
"image_footnote": [],
|
| 242 |
+
"bbox": [
|
| 243 |
+
174,
|
| 244 |
+
99,
|
| 245 |
+
823,
|
| 246 |
+
195
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "2018). Guo et al. (2019) show that Mixup can be improved with an adaptive mixing policy, so as to prevent manifold intrusion. Separate from these approaches are learned augmentation methods such as AutoAugment (Cubuk et al., 2018), where a group of augmentations is tuned to optimize performance on a downstream task. Patch Gaussian augments data with Gaussian noise applied to a randomly chosen portion of an image (Lopes et al., 2019). A popular way to make networks robust to $\\ell _ { p }$ adversarial examples is with adversarial training (Madry et al., 2018), which we use in this paper. However, this tends to increase training time by an order of magnitude and substantially degrades accuracy on non-adversarial images (Raghunathan et al., 2019). ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
174,
|
| 255 |
+
271,
|
| 256 |
+
825,
|
| 257 |
+
383
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "3 AUGMIX ",
|
| 264 |
+
"text_level": 1,
|
| 265 |
+
"bbox": [
|
| 266 |
+
174,
|
| 267 |
+
402,
|
| 268 |
+
281,
|
| 269 |
+
420
|
| 270 |
+
],
|
| 271 |
+
"page_idx": 2
|
| 272 |
+
},
|
| 273 |
+
{
|
| 274 |
+
"type": "text",
|
| 275 |
+
"text": "AUGMIX is a data augmentation technique which improves model robustness and uncertainty estimates, and slots in easily to existing training pipelines. At a high level, AugMix is characterized by its utilization of simple augmentation operations in concert with a consistency loss. These augmentation operations are sampled stochastically and layered to produce a high diversity of augmented images. We then enforce a consistent embedding by the classifier across diverse augmentations of the same input image through the use of Jensen-Shannon divergence as a consistency loss. ",
|
| 276 |
+
"bbox": [
|
| 277 |
+
174,
|
| 278 |
+
434,
|
| 279 |
+
825,
|
| 280 |
+
518
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 2
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "text",
|
| 286 |
+
"text": "Mixing augmentations allows us to generate diverse transformations, which are important for inducing robustness, as a common failure mode of deep models in the arena of corruption robustness is the memorization of fixed augmentations (Vasiljevic et al., 2016; Geirhos et al., 2018). Previous methods have attempted to increase diversity by directly composing augmentation primitives in a chain, but this can cause the image to quickly degrade and drift off the data manifold, as depicted in Figure 3. Such image degradation can be mitigated and the augmentation diversity can be maintained by mixing together the results of several augmentation chains in convex combinations. A concrete account of the algorithm is given in the pseudocode below. ",
|
| 287 |
+
"bbox": [
|
| 288 |
+
173,
|
| 289 |
+
525,
|
| 290 |
+
825,
|
| 291 |
+
637
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 2
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "Algorithm AUGMIX Pseudocode ",
|
| 298 |
+
"text_level": 1,
|
| 299 |
+
"bbox": [
|
| 300 |
+
174,
|
| 301 |
+
661,
|
| 302 |
+
400,
|
| 303 |
+
675
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 2
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "1: Input: Model $\\hat { p }$ , Classification Loss $\\mathcal { L }$ , Image $x _ { \\mathrm { o r i g } }$ , Operations $\\mathcal { O } = \\{ \\mathrm { r o t a t e } , \\dots , \\mathrm { p o s t e r i z e } \\}$ \n2: function AugmentAndMix $\\cdot { x } _ { \\mathrm { o r i g } }$ , $k = 3 , \\alpha = 1 ,$ ) \n3: Fill $x _ { \\mathrm { a u g } }$ with zeros \n4: Sample mixing weights $( w _ { 1 } , w _ { 2 } , \\ldots , w _ { k } ) \\sim { \\mathrm { D i r i c h l e t } } ( \\alpha , \\alpha , \\ldots , \\alpha )$ \n5: for $i = 1 , \\ldots , k$ do \n6: Sample operations $\\begin{array} { r } { \\boldsymbol { \\mathrm { o p } } _ { 1 } , \\boldsymbol { \\mathrm { o p } } _ { 2 } , \\boldsymbol { \\mathrm { o p } } _ { 3 } \\sim \\mathcal { O } } \\end{array}$ \n7: Compose operations with varying depth $\\mathrm { o p _ { 1 2 } = o p _ { 2 } \\circ o p _ { 1 } }$ and $\\mathrm { o p _ { 1 2 3 } = o p _ { 3 } \\circ o p _ { 2 } \\circ o p _ { 1 } }$ \n8: Sample uniformly from one of these operations chain $\\sim \\{ \\boldsymbol { \\mathrm { o p } } _ { 1 } , \\boldsymbol { \\mathrm { o p } } _ { 1 2 } , \\boldsymbol { \\mathrm { o p } } _ { 1 2 3 } \\}$ \n9: $x _ { \\mathrm { a u g } } + = w _ { i } \\cdot \\mathrm { c h a i n } ( x _ { \\mathrm { o r i g } } )$ . Addition is elementwise \n10: end for \n11: Sample weight $m \\sim \\operatorname { B e t a } ( \\alpha , \\alpha )$ \n12: Interpolate with rule $x _ { \\mathrm { a u g m i x } } = m x _ { \\mathrm { o r i g } } + ( 1 - m ) x _ { \\mathrm { a u g } }$ \n13: return xaugmix \n14: end function \n15: xaugmix1 = AugmentAndMix(xorig) . xaugmix1 is stochastically generated \n16: $x _ { \\mathrm { a u g m i x 2 } } = \\mathrm { A u g m e n t A n d M i x } ( x _ { \\mathrm { o r i g } } )$ $\\triangleright x _ { a u g m i x I } \\neq x _ { a u g m i x 2 }$ \n17: Loss Output: $\\mathcal { L } ( \\hat { p } ( y \\mid x _ { \\mathrm { o r i g } } ) , y ) \\breve { + } \\lambda$ Jensen-Shannon $1 \\big ( \\hat { p } ( y \\mid x _ { \\mathrm { o r i g } } ) ; \\hat { p } ( y \\vert x _ { \\mathrm { a u g m i x 1 } } ) ; \\hat { p } ( y \\vert x _ { \\mathrm { a u g m i x 2 } } ) \\big )$ ",
|
| 310 |
+
"bbox": [
|
| 311 |
+
176,
|
| 312 |
+
679,
|
| 313 |
+
825,
|
| 314 |
+
919
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 2
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "image",
|
| 320 |
+
"img_path": "images/6af8a2b0286d0af5a7558f66612d2889ff1f4ce091aedf77dedbdb557a78cab2.jpg",
|
| 321 |
+
"image_caption": [
|
| 322 |
+
"Figure 4: A realization of AUGMIX. Augmentation operations such as translate x and weights such as $m$ are randomly sampled. Randomly sampled operations and their compositions allow us to explore the semantically equivalent input space around an image. Mixing these images together produces a new image without veering too far from the original. "
|
| 323 |
+
],
|
| 324 |
+
"image_footnote": [],
|
| 325 |
+
"bbox": [
|
| 326 |
+
179,
|
| 327 |
+
85,
|
| 328 |
+
818,
|
| 329 |
+
286
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 3
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "Augmentations. Our method consists of mixing the results from augmentation chains or compositions of augmentation operations. We use operations from AutoAugment. Each operation is visualized in Appendix C. Crucially, we exclude operations which overlap with ImageNet- $C$ corruptions. In particular, we remove the contrast, color, brightness, sharpness, and Cutout operations so that our set of operations and the ImageNet-C corruptions are disjoint. In turn, we do not use any image noising nor image blurring operations so that ImageNet-C corruptions are encountered only at test time. Operations such as rotate can be realized with varying severities, like $2 ^ { \\circ }$ or $- 1 5 ^ { \\circ }$ . For operations with varying severities, we uniformly sample the severity upon each application. Next, we randomly sample $k$ augmentation chains, where $k = 3$ by default. Each augmentation chain is constructed by composing from one to three randomly selected augmentation operations. ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
173,
|
| 338 |
+
362,
|
| 339 |
+
825,
|
| 340 |
+
501
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "Mixing. The resulting images from these augmentation chains are combined by mixing. While we considered mixing by alpha compositing, we chose to use elementwise convex combinations for simplicity. The $k$ -dimensional vector of convex coefficients is randomly sampled from a Dirichle $( \\alpha , \\ldots , \\alpha )$ distribution. Once these images are mixed, we use a “skip connection” to combine the result of the augmentation chain and the original image through a second random convex combination sampled from a Beta $( \\alpha , \\alpha )$ distribution. The final image incorporates several sources of randomness from the choice of operations, the severity of these operations, the lengths of the augmentation chains, and the mixing weights. ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
174,
|
| 349 |
+
507,
|
| 350 |
+
825,
|
| 351 |
+
619
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "Jensen-Shannon Divergence Consistency Loss. We couple with this augmentation scheme a loss that enforces smoother neural network responses. Since the semantic content of an image is approximately preserved with AUGMIX, we should like the model to embed $x _ { \\mathrm { o r i g } }$ , $x _ { \\mathrm { a u g m i x 1 } }$ , xaugmix2 similarly. Toward this end, we minimize the Jensen-Shannon divergence among the posterior distributions of the original sample $x _ { \\mathrm { o r i g } }$ and its augmented variants. That is, for $p _ { \\mathrm { o r i g } } ~ = ~ { \\hat { p } } ( y ~ |$ $x _ { \\mathrm { o r i g } } ) , p _ { \\mathrm { a u g m i x 1 } } = \\hat { p } ( y \\mid \\bar { x } _ { \\mathrm { a u g m i x 1 } } ) , \\bar { p } _ { \\mathrm { a u g m i x 2 } } \\stackrel { \\sim } { = } \\hat { p } ( y | x _ { \\mathrm { a u g m i x 2 } } )$ , we replace the original loss $\\mathcal { L }$ with the loss ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
173,
|
| 360 |
+
626,
|
| 361 |
+
825,
|
| 362 |
+
712
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "equation",
|
| 368 |
+
"img_path": "images/bf3c9224895a302eabce5bab3ea4358fce3587abb20de9811422cb6af3be4975.jpg",
|
| 369 |
+
"text": "$$\n\\mathcal { L } ( p _ { \\mathrm { o r i g } } , y ) + \\lambda \\operatorname { J S } ( p _ { \\mathrm { o r i g } } ; p _ { \\mathrm { a u g m i x 1 } } ; p _ { \\mathrm { a u g m i x 2 } } ) .\n$$",
|
| 370 |
+
"text_format": "latex",
|
| 371 |
+
"bbox": [
|
| 372 |
+
361,
|
| 373 |
+
713,
|
| 374 |
+
635,
|
| 375 |
+
731
|
| 376 |
+
],
|
| 377 |
+
"page_idx": 3
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"type": "text",
|
| 381 |
+
"text": "To interpret this loss, imagine a sample from one of the three distributions $p _ { \\mathrm { o r i g } } , p _ { \\mathrm { a u g m i x 1 } } , p _ { \\mathrm { a u g m i x 2 } }$ . The Jensen-Shannon divergence can be understood to measure the average information that the sample reveals about the identity of the distribution from which it was sampled. ",
|
| 382 |
+
"bbox": [
|
| 383 |
+
176,
|
| 384 |
+
741,
|
| 385 |
+
823,
|
| 386 |
+
784
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "This loss can be computed by first obtaining $M = ( p _ { \\mathrm { o r i g } } + p _ { \\mathrm { a u g m i x 1 } } + p _ { \\mathrm { a u g m i x 2 } } ) / 3$ and then computing ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
176,
|
| 395 |
+
790,
|
| 396 |
+
821,
|
| 397 |
+
806
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "equation",
|
| 403 |
+
"img_path": "images/01069549b45f39875f8238df7be568ca49e1340eea9f51da879777ec9e8553db.jpg",
|
| 404 |
+
"text": "$$\n\\mathrm { J S } \\big ( p _ { \\mathrm { o r i g } } ; p _ { \\mathrm { a u g m i x 1 } } ; p _ { \\mathrm { a u g m i x 2 } } \\big ) = \\frac { 1 } { 3 } \\Big ( \\mathrm { K L } \\big [ p _ { \\mathrm { o r i g } } \\| M \\big ] + \\mathrm { K L } \\big [ p _ { \\mathrm { a u g m i x 1 } } \\| M \\big ] + \\mathrm { K L } \\big [ p _ { \\mathrm { a u g m i x 2 } } \\| M \\big ] \\Big ) .\n$$",
|
| 405 |
+
"text_format": "latex",
|
| 406 |
+
"bbox": [
|
| 407 |
+
215,
|
| 408 |
+
809,
|
| 409 |
+
781,
|
| 410 |
+
838
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 3
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "Unlike an arbitrary KL Divergence between $p _ { \\mathrm { o r i g } }$ and $p _ { \\mathrm { a u g m i x } }$ , the Jensen-Shannon divergence is upper bounded, in this case by the logarithm of the number of classes. Note that we could instead compute $\\mathbf { J } \\mathbf { S } ( p _ { \\mathrm { o r i g } } ; p _ { \\mathrm { a u g m i x 1 } } )$ , though this does not perform as well. The gain of training with JS $p _ { \\mathrm { o r i g } }$ ; paugmix1; paugmix2; paugmix3) is marginal. The Jensen-Shannon Consistency Loss impels to model to be stable, consistent, and insensitive across to a diverse range of inputs (Zheng et al., 2016; Kannan et al., 2018; Xie et al., 2019). Ablations are in Section 4.3 and Appendix A. ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
173,
|
| 419 |
+
840,
|
| 420 |
+
826,
|
| 421 |
+
924
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 3
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "4 EXPERIMENTS ",
|
| 428 |
+
"text_level": 1,
|
| 429 |
+
"bbox": [
|
| 430 |
+
174,
|
| 431 |
+
102,
|
| 432 |
+
326,
|
| 433 |
+
118
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 4
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "Datasets. The two CIFAR (Krizhevsky & Hinton, 2009) datasets contain small $3 2 \\times 3 2 \\times 3$ color natural images, both with 50,000 training images and 10,000 testing images. CIFAR-10 has 10 categories, and CIFAR-100 has 100. The ImageNet (Deng et al., 2009) dataset contains 1,000 classes of approximately 1.2 million large-scale color images. ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
174,
|
| 442 |
+
135,
|
| 443 |
+
825,
|
| 444 |
+
191
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 4
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "In order to measure a model’s resilience to data shift, we evaluate on the CIFAR-10-C, CIFAR-100- $C$ , and ImageNet- $C$ datasets (Hendrycks & Dietterich, 2019). These datasets are constructed by corrupting the original CIFAR and ImageNet test sets. For each dataset, there are a total of 15 noise, blur, weather, and digital corruption types, each appearing at 5 severity levels or intensities. Since these datasets are used to measure network behavior under data shift, we take care not to introduce these 15 corruptions into the training procedure. ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
173,
|
| 453 |
+
198,
|
| 454 |
+
825,
|
| 455 |
+
282
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 4
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "The CIFAR-10-P, CIFAR-100- ${ \\bf \\nabla } \\cdot { \\cal P }$ , and ImageNet- $P$ datasets also modify the original CIFAR and ImageNet datasets. These datasets contain smaller perturbations than CIFAR-C and are used to measure the classifier’s prediction stability. Each example in these datasets is a video. For instance, a video with the brightness perturbation shows an image getting progressively brighter over time. We should like the network not to give inconsistent or volatile predictions between frames of the video as the brightness increases. Thus these datasets enable the measurement of the “jaggedness” (Azulay & Weiss, 2018) of a network’s prediction stream. ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
174,
|
| 464 |
+
289,
|
| 465 |
+
825,
|
| 466 |
+
387
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 4
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "Metrics. The Clean Error is the usual classification error on the clean or uncorrupted test data. In our experiments, corrupted test data appears at five different intensities or severity levels $1 \\leq s \\leq 5$ . For a given corruption $c$ , the error rate at corruption severity $s$ is $E _ { c , s }$ . We can compute the average error across these severities to create the unnormalized corruption error $\\begin{array} { r } { \\mathbf { u C E } _ { c } = \\sum _ { s = 1 } ^ { 5 } E _ { c , s } } \\end{array}$ . On CIFAR-10- C and CIFAR-100-C we average these values over all 15 corruptions. Meanwhile, on ImageNet we follow the convention of normaet al., 2012). We compute $\\begin{array} { r } { \\mathrm { C E } _ { c } = \\sum _ { s = 1 } ^ { 5 } \\bar { E } _ { c , s } / \\sum _ { s = 1 } ^ { 5 } E _ { c , s } ^ { \\mathrm { A l e x N e t } } } \\end{array}$ ruption error of AlexNet (Kriz. The average of the 15 cor errors CEGaussian Noise, CEShot Noise, . . . , CEPixelate, CEJPEG gives us the Mean Corruption Error $( m C E )$ . ",
|
| 473 |
+
"bbox": [
|
| 474 |
+
173,
|
| 475 |
+
393,
|
| 476 |
+
826,
|
| 477 |
+
511
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 4
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "Perturbation robustness is not measured by accuracy but whether video frame predictions match. Consequently we compute what is called the flip probability. Concretely, for videos such as those with steadily increasing brightness, we determine the probability that two adjacent frames, or two frames with slightly different brightness levels, have “flipped” or mismatched predictions. There are 10 different perturbation types, and the mean across these is the mean Flip Probability $( m F P )$ . As with ImageNet-C, we can normalize by AlexNet’s flip probabilities and obtain the mean Flip Rate $( m F R )$ . ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
173,
|
| 486 |
+
516,
|
| 487 |
+
825,
|
| 488 |
+
601
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "In order to assess a model’s uncertainty estimates, we measure its miscalibration. Classifiers capable of reliably forecasting their accuracy are considered “calibrated.” For instance, a calibrated classifier should be correct $70 \\%$ of the time on examples to which it assigns $70 \\%$ confidence. Let the classifier’s confidence that its prediction $\\hat { Y }$ is correct be written $C$ . Then the idealized RMS Calibration Error is $\\sqrt { \\mathbb { E } _ { C } [ ( \\mathbb { P } ( Y = \\hat { Y } | C = c ) - c ) ^ { 2 } ] } ,$ , which is the squared difference between the accuracy at a given confidence level and actual the confidence level. In Appendix E, we show how to empirically estimate this quantity and calculate the Brier Score. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
173,
|
| 497 |
+
607,
|
| 498 |
+
825,
|
| 499 |
+
717
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "4.1 CIFAR-10 AND CIFAR-100 ",
|
| 506 |
+
"text_level": 1,
|
| 507 |
+
"bbox": [
|
| 508 |
+
176,
|
| 509 |
+
739,
|
| 510 |
+
413,
|
| 511 |
+
755
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 4
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "Training Setup. In the following experiments we show that AUGMIX endows robustness to various architectures including an All Convolutional Network (Springenberg et al., 2014; Salimans & Kingma, 2016), a DenseNet-BC $( k = 1 2 , d = 1 0 0 )$ ) (Huang et al., 2017) , a 40-2 Wide ResNet (Zagoruyko & Komodakis, 2016), and a ResNeXt-29 $( 3 2 \\times 4 )$ (Xie et al., 2016). All networks use an initial learning rate of 0.1 which decays following a cosine learning rate (Loshchilov & Hutter, 2016). All input images are pre-processed with standard random left-right flipping and cropping prior to any augmentations. We do not change AUGMIX parameters across CIFAR-10 and CIFAR-100 experiments for consistency. The All Convolutional Network and Wide ResNet train for 100 epochs, and the DenseNet and ResNeXt require 200 epochs for convergence. We optimize with stochastic gradient descent using Nesterov momentum. Following Zhang et al. (2017); Guo et al. (2019), we use a weight decay of 0.0001 for Mixup and 0.0005 otherwise. ",
|
| 518 |
+
"bbox": [
|
| 519 |
+
173,
|
| 520 |
+
770,
|
| 521 |
+
826,
|
| 522 |
+
924
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "image",
|
| 528 |
+
"img_path": "images/413822b829d4661106d29927637b1d4289291955a82fe9e9f1b5d858f495d6f1.jpg",
|
| 529 |
+
"image_caption": [
|
| 530 |
+
"Figure 5: Error rates of various methods on CIFAR-10-C using a ResNeXt backbone. Observe that AUGMIX halves the error rate of prior methods and approaches the clean error rate. "
|
| 531 |
+
],
|
| 532 |
+
"image_footnote": [],
|
| 533 |
+
"bbox": [
|
| 534 |
+
171,
|
| 535 |
+
98,
|
| 536 |
+
826,
|
| 537 |
+
250
|
| 538 |
+
],
|
| 539 |
+
"page_idx": 5
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"type": "table",
|
| 543 |
+
"img_path": "images/fb8faeda72e28b6b30b1b75eb56be41c89bcd10dc9055081b92fa7ff1b87d55b.jpg",
|
| 544 |
+
"table_caption": [
|
| 545 |
+
"Table 1: Average classification error as percentages. Across several architectures, AUGMIX obtains CIFAR-10-C and CIFAR-100-C corruption robustness that exceeds the previous state of the art. "
|
| 546 |
+
],
|
| 547 |
+
"table_footnote": [],
|
| 548 |
+
"table_body": "<table><tr><td></td><td></td><td>Standard</td><td>Cutout</td><td>Mixup</td><td></td><td>CutMix AutoAugment* Adv Training AUGMIX</td><td></td><td></td></tr><tr><td rowspan=\"4\">CIFAR-10-C</td><td>AllConvNet</td><td>30.8</td><td>32.9</td><td>24.6</td><td>31.3</td><td>29.2</td><td>28.1</td><td>15.0</td></tr><tr><td>DenseNet</td><td>30.7</td><td>32.1</td><td>24.6</td><td>33.5</td><td>26.6</td><td>27.6</td><td>12.7</td></tr><tr><td>WideResNet</td><td>26.9</td><td>26.8</td><td>22.3</td><td>27.1</td><td>23.9</td><td>26.2</td><td>11.2</td></tr><tr><td>ResNeXt</td><td>27.5</td><td>28.9</td><td>22.6</td><td>29.5</td><td>24.2</td><td>27.0</td><td>10.9</td></tr><tr><td colspan=\"2\">Mean</td><td>29.0</td><td>30.2</td><td>23.5</td><td>30.3</td><td>26.0</td><td>27.2</td><td>12.5</td></tr><tr><td rowspan=\"4\">CIFAR-100-C</td><td>AllConvNet</td><td>56.4</td><td>56.8</td><td>53.4</td><td>56.0</td><td>55.1</td><td>56.0</td><td>42.7</td></tr><tr><td>DenseNet</td><td>59.3</td><td>59.6</td><td>55.4</td><td>59.2</td><td>53.9</td><td>55.2</td><td>39.6</td></tr><tr><td>WideResNet</td><td>53.3</td><td>53.5</td><td>50.4</td><td>52.9</td><td>49.6</td><td>55.1</td><td>35.9</td></tr><tr><td>ResNeXt</td><td>53.4</td><td>54.6</td><td>51.4</td><td>54.1</td><td>51.3</td><td>54.4</td><td>34.9</td></tr><tr><td colspan=\"2\">Mean</td><td>55.6</td><td>56.1</td><td>52.6</td><td>55.5</td><td>52.5</td><td>55.2</td><td>38.3</td></tr></table>",
|
| 549 |
+
"bbox": [
|
| 550 |
+
181,
|
| 551 |
+
295,
|
| 552 |
+
816,
|
| 553 |
+
440
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 5
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "Results. Simply mixing random augmentations and using the Jensen-Shannon loss substantially improves robustness and uncertainty estimates. Compared to the “Standard” data augmentation baseline ResNeXt on CIFAR-10-C, AUGMIX achieves $1 6 . 6 \\%$ lower absolute corruption error as shown in Figure 5. In addition to surpassing numerous other data augmentation techniques, Table 1 demonstrates that these gains directly transfer across architectures and on CIFAR-100-C with zero additional tuning. Crucially, the robustness gains do not only exist when measured in aggregate. Figure 12 shows that AUGMIX improves corruption robustness across every individual corruption and severity level. Our method additionally achieves the lowest mFP on CIFAR-10-P across three different models all while maintaining accuracy on clean CIFAR-10, as shown in Figure 6 (left) and Table 6. Finally, we demonstrate that AUGMIX improves the RMS calibration error on CIFAR-10 and CIFAR-10-C, as shown in Figure 6 (right) and Table 5. Expanded CIFAR-10-P and calibration results are in Appendix D, and Fourier Sensitivity analysis is in Appendix B. ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
173,
|
| 562 |
+
497,
|
| 563 |
+
826,
|
| 564 |
+
665
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 5
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "image",
|
| 570 |
+
"img_path": "images/c4e2d37dfd75cceb92cbe45f608f245c84a3a80c4bb2d5a26eacb828660bb96a.jpg",
|
| 571 |
+
"image_caption": [
|
| 572 |
+
"Figure 6: CIFAR-10-P prediction stability and Root Mean Square Calibration Error values for ResNeXt. AUGMIX simultaneously reduces flip probabilities and calibration error. "
|
| 573 |
+
],
|
| 574 |
+
"image_footnote": [],
|
| 575 |
+
"bbox": [
|
| 576 |
+
179,
|
| 577 |
+
686,
|
| 578 |
+
815,
|
| 579 |
+
881
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 5
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "4.2 IMAGENET ",
|
| 586 |
+
"text_level": 1,
|
| 587 |
+
"bbox": [
|
| 588 |
+
174,
|
| 589 |
+
103,
|
| 590 |
+
292,
|
| 591 |
+
117
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 6
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "Baselines. To demonstrate the utility of AUGMIX on ImageNet, we compare to many techniques designed for large-scale images. While techniques such as Cutout (Devries & Taylor, 2017) have not been demonstrated to help on the ImageNet scale, and while few have had success training adversarially robust models on ImageNet (Engstrom et al., 2018), other techniques such as Stylized ImageNet have been demonstrated to help on ImageNet-C. Patch Uniform (Lopes et al., 2019) is similar to Cutout except that randomly chosen regions of the image are injected with uniform noise; the original paper uses Gaussian noise, but that appears in the ImageNet-C test set so we use uniform noise. We tune Patch Uniform over 30 hyperparameter settings. Next, AutoAugment (Cubuk et al., 2018) searches over data augmentation policies to find a high-performing data augmentation policy. We denote AutoAugment results with AutoAugment\\* since we remove augmentation operations that overlap with ImageNet-C corruptions, as with AUGMIX. We also test with Random AutoAugment\\*, an augmentation scheme where each image has a randomly sampled augmentation policy using AutoAugment\\* operations. In contrast to AutoAugment, Random AutoAugment\\* and AUGMIX require far less computation and provide more augmentation variety, which can offset their lack of optimization. Note that Random AutoAugment\\* is different from RandAugment introduced recently by Cubuk et al. (2019): RandAugment uses AutoAugment operations and optimizes a single distortion magnitude hyperparameter for all operations, while Random AutoAugment\\* randomly samples magnitudes for each operation and uses the same operations as AUGMIX. MaxBlur Pooling (Zhang, 2019) is a recently proposed architectural modification which smooths the results of pooling. Now, Stylized ImageNet (SIN) is a technique where models are trained with the original ImageNet images and also ImageNet images with style transfer applied. Whereas the original Stylized ImageNet technique pretrains on ImageNet-C and performs style transfer with a content loss coefficient of 0 and a style loss coefficient of 1, we find that using 0.5 content and style loss coefficients decreases the mCE by $0 . 6 \\%$ . Later, we show that SIN and AUGMIX can be combined. All models are trained from scratch, except MaxBlur Pooling models which has trained models available. ",
|
| 598 |
+
"bbox": [
|
| 599 |
+
173,
|
| 600 |
+
132,
|
| 601 |
+
825,
|
| 602 |
+
478
|
| 603 |
+
],
|
| 604 |
+
"page_idx": 6
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"type": "text",
|
| 608 |
+
"text": "Training Setup. Methods are trained with ResNet-50 and we follow the standard training scheme of Goyal et al. (2017), in which we linearly scale the learning rate with the batch size, and use a learning rate warm-up for the first 5 epochs, and AutoAugment and AUGMIX train for 180 epochs. All input images are first pre-processed with standard random cropping horizontal mirroring. ",
|
| 609 |
+
"bbox": [
|
| 610 |
+
174,
|
| 611 |
+
484,
|
| 612 |
+
825,
|
| 613 |
+
540
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 6
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "table",
|
| 619 |
+
"img_path": "images/8352fbc214b2f6d78170d7a72b719668fb62b8defc9d25a1fb465eefeb083d79.jpg",
|
| 620 |
+
"table_caption": [
|
| 621 |
+
"Table 2: Clean Error, Corruption Error (CE), and mCE values for various methods on ImageNet-C. The mCE value is computed by averaging across all $1 5 \\mathrm { C E }$ values. AUGMIX reduces corruption error while improving clean accuracy, and it can be combined with SIN for greater corruption robustness. "
|
| 622 |
+
],
|
| 623 |
+
"table_footnote": [],
|
| 624 |
+
"table_body": "<table><tr><td></td><td></td><td></td><td>Noise</td><td></td><td></td><td>Blur</td><td></td><td></td><td></td><td></td><td>Weather</td><td></td><td></td><td>Digital</td><td></td><td></td><td></td></tr><tr><td>Network</td><td>Clean</td><td>Gauss.Shot Impulse</td><td></td><td></td><td>Defocus Glass Motion Zoom</td><td></td><td></td><td></td><td></td><td></td><td>SnowFrostFog</td><td>Bright</td><td></td><td>Contrast Elastic Pixel JPEG</td><td></td><td></td><td>mCE</td></tr><tr><td>Standard</td><td>23.9</td><td>79</td><td>80</td><td>82</td><td>82</td><td>90</td><td>84</td><td>80</td><td>86</td><td>81</td><td>75</td><td>65</td><td>79</td><td>91</td><td>77</td><td>80</td><td>80.6</td></tr><tr><td>Patch Uniform</td><td>24.5</td><td>67</td><td>68</td><td>70</td><td>74</td><td>83</td><td>81</td><td>77</td><td>80</td><td>74</td><td>75</td><td>62</td><td>77</td><td>84</td><td>71</td><td>71</td><td>74.3</td></tr><tr><td>AutoAugment* (AA)</td><td>22.8</td><td>69</td><td>68</td><td>72</td><td>77</td><td>83</td><td>80</td><td>81</td><td>79</td><td>75</td><td>64</td><td>56</td><td>70</td><td>88</td><td>57</td><td>71</td><td>72.7</td></tr><tr><td>Random AA*</td><td>23.6</td><td>70</td><td>71</td><td>72</td><td>80</td><td>86</td><td>82</td><td>81</td><td>81</td><td>77</td><td>72</td><td>61</td><td>75</td><td>88</td><td>73</td><td>72</td><td>76.1</td></tr><tr><td>MaxBlur pool</td><td>23.0</td><td>73</td><td>74</td><td>76</td><td>74</td><td>86</td><td>78</td><td>77</td><td>77</td><td>72</td><td>63</td><td>56</td><td>68</td><td>86</td><td>71</td><td>71</td><td>73.4</td></tr><tr><td>SIN</td><td>27.2</td><td>69</td><td>70</td><td>70</td><td>77</td><td>84</td><td>76</td><td>82</td><td>74</td><td>75</td><td>69</td><td>65</td><td>69</td><td>80</td><td>64</td><td>77</td><td>73.3</td></tr><tr><td>AUGMIX</td><td>22.4</td><td>65</td><td>66</td><td>67</td><td>70</td><td>80</td><td>66</td><td>66</td><td>75</td><td>72</td><td>67</td><td>58</td><td>58</td><td>79</td><td>69</td><td>69</td><td>68.4</td></tr><tr><td>AUGMIX+SIN</td><td>25.2</td><td>61</td><td>62</td><td>61</td><td>69</td><td>77</td><td>63</td><td>72</td><td>66</td><td>68</td><td>63</td><td>59</td><td>52</td><td>74</td><td>60</td><td>67</td><td>64.9</td></tr></table>",
|
| 625 |
+
"bbox": [
|
| 626 |
+
178,
|
| 627 |
+
553,
|
| 628 |
+
821,
|
| 629 |
+
659
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 6
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "Results. Our method achieves $6 8 . 4 \\%$ mCE as shown in Table 2, down from the baseline $8 0 . 6 \\%$ mCE. Additionally, we note that AUGMIX allows straightforward stacking with other methods such as SIN to achieve an even lower corruption error of $6 4 . 1 \\%$ mCE. Other techniques such as AutoAugment\\* require much tuning, while ours does not. Across increasing severities of corruptions, our method also produces much more calibrated predictions measured by both the Brier Score and RMS Calibration Error as shown in Figure 7. As shown in Table 3, AUGMIX also achieves a state-of-the art result on ImageNet-P at with an mFR of $3 7 . 4 \\%$ , down from $5 7 . 2 \\%$ . We demonstrate that scaling up AUGMIX from CIFAR to ImageNet also leads to state-of-the-art results in robustness and uncertainty estimation. ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
729,
|
| 639 |
+
825,
|
| 640 |
+
843
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 6
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "4.3 ABLATIONS ",
|
| 647 |
+
"text_level": 1,
|
| 648 |
+
"bbox": [
|
| 649 |
+
174,
|
| 650 |
+
856,
|
| 651 |
+
297,
|
| 652 |
+
868
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 6
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "We locate the utility of AUGMIX in three factors: training set diversity, our Jensen-Shannon divergence consistency loss, and mixing. Improving training set diversity via increased variety of augmentations can greatly improve robustness. For instance, augmenting each example with a ",
|
| 659 |
+
"bbox": [
|
| 660 |
+
176,
|
| 661 |
+
882,
|
| 662 |
+
825,
|
| 663 |
+
924
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 6
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "table",
|
| 669 |
+
"img_path": "images/c71d5251e57f3e189805ccf034aae0fbe8627d0203833f98e268e37bee5bd4a8.jpg",
|
| 670 |
+
"table_caption": [],
|
| 671 |
+
"table_footnote": [],
|
| 672 |
+
"table_body": "<table><tr><td></td><td></td><td colspan=\"2\">Noise</td><td colspan=\"2\">Blur</td><td colspan=\"2\">Weather</td><td colspan=\"5\">Digital</td></tr><tr><td>Network</td><td>Clean</td><td>Gaussian Shot</td><td></td><td>Motion Zoom</td><td></td><td>Snow</td><td>Bright</td><td>TranslateRotate</td><td></td><td>TiltScale</td><td></td><td>mFR</td></tr><tr><td>Standard</td><td>23.9</td><td>57</td><td>55</td><td>62</td><td>65</td><td>66</td><td>65</td><td>43</td><td>53</td><td>57</td><td>49</td><td>57.2</td></tr><tr><td>Patch Uniform</td><td>24.5</td><td>32</td><td>25</td><td>50</td><td>52</td><td>54</td><td>57</td><td>40</td><td>48</td><td>49</td><td>46</td><td>45.3</td></tr><tr><td>AutoAugment* (AA)</td><td>22.8</td><td>50</td><td>45</td><td>57</td><td>68</td><td>63</td><td>53</td><td>40</td><td>44</td><td>50</td><td>46</td><td>51.7</td></tr><tr><td>Random AA*</td><td>23.6</td><td>53</td><td>46</td><td>53</td><td>63</td><td>59</td><td>57</td><td>42</td><td>48</td><td>54</td><td>47</td><td>52.2</td></tr><tr><td>SIN</td><td>27.2</td><td>53</td><td>50</td><td>57</td><td>72</td><td>51</td><td>62</td><td>43</td><td>53</td><td>57</td><td>53</td><td>55.0</td></tr><tr><td>MaxBlur pool</td><td>23.0</td><td>52</td><td>51</td><td>59</td><td>63</td><td>57</td><td>64</td><td>34</td><td>43</td><td>49</td><td>40</td><td>51.2</td></tr><tr><td>AUGMIX</td><td>22.4</td><td>46</td><td>41</td><td>30</td><td>47</td><td>38</td><td>46</td><td>25</td><td>32</td><td>35</td><td>33</td><td>37.4</td></tr><tr><td>AUGMIX+SIN</td><td>25.2</td><td>45</td><td>40</td><td>30</td><td>54</td><td>32</td><td>48</td><td>27</td><td>35</td><td>38</td><td>39</td><td>38.9</td></tr></table>",
|
| 673 |
+
"bbox": [
|
| 674 |
+
173,
|
| 675 |
+
102,
|
| 676 |
+
826,
|
| 677 |
+
232
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 7
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "Table 3: ImageNet-P results. The mean flipping rate is the average of the flipping rates across all 10 perturbation types. AUGMIX improves perturbation stability by approximately $20 \\%$ . ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
173,
|
| 686 |
+
241,
|
| 687 |
+
825,
|
| 688 |
+
270
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 7
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "image",
|
| 694 |
+
"img_path": "images/0f95f31726e708fda8050e5871180a33c4fc38dd8f9929d9ee99690701b9528e.jpg",
|
| 695 |
+
"image_caption": [
|
| 696 |
+
"Figure 7: Uncertainty results on ImageNet-C. Observe that under severe data shifts, the RMS calibration error with ensembles and AUGMIX is remarkably steady. Even though classification error increases, calibration is roughly preserved. Severity zero denotes clean data. "
|
| 697 |
+
],
|
| 698 |
+
"image_footnote": [],
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
287,
|
| 702 |
+
813,
|
| 703 |
+
428
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 7
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "randomly sampled augmentation chain decreases the error rate of Wide ResNet on CIFAR-10-C from $2 6 . 9 \\%$ to $1 7 . 0 \\%$ Table 4. Adding in the Jensen-Shannon divergence consistency loss drops error rate further to $1 4 . 7 \\%$ . Mixing random augmentations without the Jenson-Shannon divergence loss gives us an error rate of $1 3 . 1 \\%$ . Finally, re-introducing the Jensen-Shannon divergence gives us AUGMIX with an error rate of $1 1 . 2 \\%$ . Note that adding even more mixing is not necessarily beneficial. For instance, applying AUGMIX on top of Mixup increases the error rate to $1 3 . 3 \\%$ , possibly due to an increased chance of manifold intrusion (Guo et al., 2019). Hence AUGMIX’s careful combination of variety, consistency loss, and mixing explain its performance. ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
173,
|
| 712 |
+
505,
|
| 713 |
+
825,
|
| 714 |
+
617
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 7
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "table",
|
| 720 |
+
"img_path": "images/6d78a7cf7fc043a62c153b7c8c7d700b063d933f9c36dd5cc7b63a6636f09b6d.jpg",
|
| 721 |
+
"table_caption": [
|
| 722 |
+
"Table 4: Ablating components of AUGMIX on CIFAR-10-C and CIFAR-100-C. Variety through randomness, the Jensen-Shannon divergence (JSD) loss, and augmentation mixing confer robustness. "
|
| 723 |
+
],
|
| 724 |
+
"table_footnote": [],
|
| 725 |
+
"table_body": "<table><tr><td>Method</td><td>CIFAR-10-C Error Rate</td><td>CIFAR-100-C ErrorRate</td></tr><tr><td>Standard</td><td>26.9</td><td>53.3</td></tr><tr><td>AutoAugment*</td><td>23.9</td><td>49.6</td></tr><tr><td>Random AutoAugment*</td><td>17.0</td><td>43.6</td></tr><tr><td>Random AutoAugment* + JSDLoss</td><td>14.7</td><td>40.8</td></tr><tr><td>AugmentAndMix (No JSD Loss)</td><td>13.1</td><td>39.8</td></tr><tr><td>AUGMIX (Mixing + JSD Loss)</td><td>11.2</td><td>35.9</td></tr></table>",
|
| 726 |
+
"bbox": [
|
| 727 |
+
186,
|
| 728 |
+
633,
|
| 729 |
+
812,
|
| 730 |
+
747
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 7
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "5 CONCLUSION ",
|
| 737 |
+
"text_level": 1,
|
| 738 |
+
"bbox": [
|
| 739 |
+
176,
|
| 740 |
+
809,
|
| 741 |
+
320,
|
| 742 |
+
825
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 7
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "AUGMIX is a data processing technique which mixes randomly generated augmentations and uses a Jensen-Shannon loss to enforce consistency. Our simple-to-implement technique obtains state-of-the-art performance on CIFAR-10/100-C, ImageNet-C, CIFAR-10/100-P, and ImageNet-P. AUGMIX models achieve state-of-the-art calibration and can maintain calibration even as the distribution shifts. We hope that AUGMIX will enable more reliable models, a necessity for models deployed in safety-critical environments. ",
|
| 749 |
+
"bbox": [
|
| 750 |
+
174,
|
| 751 |
+
840,
|
| 752 |
+
825,
|
| 753 |
+
922
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 7
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "REFERENCES ",
|
| 760 |
+
"text_level": 1,
|
| 761 |
+
"bbox": [
|
| 762 |
+
176,
|
| 763 |
+
102,
|
| 764 |
+
285,
|
| 765 |
+
118
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 8
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "Aharon Azulay and Yair Weiss. Why do deep convolutional networks generalize so poorly to small image transformations? arXiv preprint, 2018. ",
|
| 772 |
+
"bbox": [
|
| 773 |
+
173,
|
| 774 |
+
131,
|
| 775 |
+
823,
|
| 776 |
+
160
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 8
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "Sanghyuk Chun, Seong Joon Oh, Sangdoo Yun, Dongyoon Han, Junsuk Choe, and Youngjoon Yoo. An empirical evaluation on robustness and uncertainty of regularization methods. ICML Workshop on Uncertainty and Robustness in Deep Learning, 2019. ",
|
| 783 |
+
"bbox": [
|
| 784 |
+
174,
|
| 785 |
+
169,
|
| 786 |
+
826,
|
| 787 |
+
212
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 8
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "Ekin D Cubuk, Barret Zoph, Jonathon Shlens, and Quoc V Le. Randaugment: Practical automated data augmentation with a reduced search space. arXiv preprint arXiv:1909.13719, 2019. ",
|
| 794 |
+
"bbox": [
|
| 795 |
+
173,
|
| 796 |
+
220,
|
| 797 |
+
823,
|
| 798 |
+
251
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 8
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "Ekin Dogus Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V. Le. AutoAugment:´ Learning augmentation policies from data. CVPR, 2018. ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
258,
|
| 808 |
+
821,
|
| 809 |
+
289
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 8
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. CVPR, 2009. ",
|
| 816 |
+
"bbox": [
|
| 817 |
+
173,
|
| 818 |
+
296,
|
| 819 |
+
823,
|
| 820 |
+
327
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 8
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "Terrance Devries and Graham W. Taylor. Improved regularization of convolutional neural networks with Cutout. arXiv preprint arXiv:1708.04552, 2017. ",
|
| 827 |
+
"bbox": [
|
| 828 |
+
173,
|
| 829 |
+
335,
|
| 830 |
+
823,
|
| 831 |
+
364
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 8
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "Logan Engstrom, Andrew Ilyas, and Anish Athalye. Evaluating and understanding the robustness of adversarial logit pairing. arXiv preprint, 2018. ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
173,
|
| 840 |
+
372,
|
| 841 |
+
823,
|
| 842 |
+
402
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 8
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "Robert Geirhos, Carlos R. M. Temme, Jonas Rauber, Heiko H. Schutt, Matthias Bethge, and Felix A.¨ Wichmann. Generalisation in humans and deep neural networks. NeurIPS, 2018. ",
|
| 849 |
+
"bbox": [
|
| 850 |
+
173,
|
| 851 |
+
411,
|
| 852 |
+
823,
|
| 853 |
+
440
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 8
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "Justin Gilmer and Dan Hendrycks. A discussion of’adversarial examples are not bugs, they are features’: Adversarial example researchers need to expand what is meant by’robustness’. Distill, 4 (8):e00019–1, 2019. ",
|
| 860 |
+
"bbox": [
|
| 861 |
+
173,
|
| 862 |
+
449,
|
| 863 |
+
823,
|
| 864 |
+
492
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 8
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "Justin Gilmer, Ryan P. Adams, Ian J. Goodfellow, David Andersen, and George E. Dahl. Motivating the rules of the game for adversarial example research. CoRR, abs/1807.06732, 2018. ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
173,
|
| 873 |
+
500,
|
| 874 |
+
823,
|
| 875 |
+
531
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 8
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "Priya Goyal, Piotr Dollar, Ross B. Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, ´ Andrew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. CoRR, abs/1706.02677, 2017. ",
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
539,
|
| 885 |
+
823,
|
| 886 |
+
582
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 8
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "Keren Gu, Brandon Yang, Jiquan Ngiam, Quoc Le, and Jonathon Shlens. Using videos to evaluate image model robustness, 2019. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
169,
|
| 895 |
+
590,
|
| 896 |
+
823,
|
| 897 |
+
621
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 8
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. ICML, 2017. ",
|
| 904 |
+
"bbox": [
|
| 905 |
+
173,
|
| 906 |
+
628,
|
| 907 |
+
825,
|
| 908 |
+
659
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 8
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Hongyu Guo, Yongyi Mao, and Richong Zhang. Mixup as locally linear out-of-manifold regularization. In AAAI, 2019. ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
171,
|
| 917 |
+
666,
|
| 918 |
+
825,
|
| 919 |
+
696
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 8
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CVPR, 2015. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
173,
|
| 928 |
+
704,
|
| 929 |
+
825,
|
| 930 |
+
734
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 8
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. ICLR, 2019. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
171,
|
| 939 |
+
742,
|
| 940 |
+
823,
|
| 941 |
+
772
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 8
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Dan Hendrycks and Kevin Gimpel. A baseline for detecting misclassified and out-of-distribution examples in neural networks. ICLR, 2017. ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
173,
|
| 950 |
+
781,
|
| 951 |
+
823,
|
| 952 |
+
810
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 8
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "Dan Hendrycks, Kimin Lee, and Mantas Mazeika. Using pre-training can improve model robustness and uncertainty. In ICML, 2019a. ",
|
| 959 |
+
"bbox": [
|
| 960 |
+
174,
|
| 961 |
+
819,
|
| 962 |
+
821,
|
| 963 |
+
848
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 8
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Dan Hendrycks, Mantas Mazeika, and Thomas Dietterich. Deep anomaly detection with outlier exposure. ICLR, 2019b. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
176,
|
| 972 |
+
856,
|
| 973 |
+
821,
|
| 974 |
+
886
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 8
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In CVPR, 2017. ",
|
| 981 |
+
"bbox": [
|
| 982 |
+
176,
|
| 983 |
+
895,
|
| 984 |
+
821,
|
| 985 |
+
924
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 8
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "Daniel Kang, Yi Sun, Dan Hendrycks, Tom Brown, and Jacob Steinhardt. Testing robustness against unforeseen adversaries. arXiv preprint, 2019. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
173,
|
| 994 |
+
103,
|
| 995 |
+
825,
|
| 996 |
+
132
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 9
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Harini Kannan, Alexey Kurakin, and Ian Goodfellow. Adversarial logit pairing. NeurIPS, 2018. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
174,
|
| 1005 |
+
140,
|
| 1006 |
+
803,
|
| 1007 |
+
156
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 9
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. 2009. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
176,
|
| 1016 |
+
164,
|
| 1017 |
+
821,
|
| 1018 |
+
180
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 9
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. ImageNet classification with deep convolutional neural networks. NeurIPS, 2012. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
174,
|
| 1027 |
+
188,
|
| 1028 |
+
825,
|
| 1029 |
+
217
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 9
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In NeurIPS, 2017. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
174,
|
| 1038 |
+
224,
|
| 1039 |
+
823,
|
| 1040 |
+
253
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 9
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "Zachary Chase Lipton, Yu-Xiang Wang, and Alexander J. Smola. Detecting and correcting for label shift with black box predictors. ArXiv, abs/1802.03916, 2018. ",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
173,
|
| 1049 |
+
261,
|
| 1050 |
+
825,
|
| 1051 |
+
291
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 9
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "Raphael Gontijo Lopes, Dong Yin, Ben Poole, Justin Gilmer, and Ekin Dogus Cubuk. Improving robustness without sacrificing accuracy with patch Gaussian augmentation. arXiv preprint arXiv:1906.02611, 2019. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
174,
|
| 1060 |
+
299,
|
| 1061 |
+
825,
|
| 1062 |
+
342
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 9
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Ilya Loshchilov and Frank Hutter. SGDR: stochastic gradient descent with warm restarts. ICLR, 2016. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
173,
|
| 1071 |
+
349,
|
| 1072 |
+
823,
|
| 1073 |
+
380
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 9
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. ICLR, 2018. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
387,
|
| 1083 |
+
823,
|
| 1084 |
+
417
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 9
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Khanh Nguyen and Brendan O’Connor. Posterior calibration and exploratory analysis for natural language processing models. EMNLP, 2015. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
174,
|
| 1093 |
+
424,
|
| 1094 |
+
823,
|
| 1095 |
+
454
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 9
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "Yaniv Ovadia, Emily Fertig, Jie Ren, Zachary Nado, D Sculley, Sebastian Nowozin, Joshua V Dillon, Balaji Lakshminarayanan, and Jasper Snoek. Can you trust your model’s uncertainty? Evaluating predictive uncertainty under dataset shift. NeurIPS, 2019. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
176,
|
| 1104 |
+
462,
|
| 1105 |
+
825,
|
| 1106 |
+
505
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 9
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Aditi Raghunathan, Sang Michael Xie, Fanny Yang, John C. Duchi, and Percy Liang. Adversarial training can hurt generalization. arXiv preprint arXiv:1906.06032, 2019. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
174,
|
| 1115 |
+
512,
|
| 1116 |
+
825,
|
| 1117 |
+
542
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 9
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Tim Salimans and Diederik Kingma. Weight normalization: A simple reparameterization to accelerate training of deep neural networks. NeurIPS, 2016. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
174,
|
| 1126 |
+
549,
|
| 1127 |
+
823,
|
| 1128 |
+
579
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 9
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin A. Riedmiller. Striving for simplicity: The all convolutional net. CoRR, abs/1412.6806, 2014. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
174,
|
| 1137 |
+
587,
|
| 1138 |
+
823,
|
| 1139 |
+
617
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 9
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Yuji Tokozume, Yoshitaka Ushiku, and Tatsuya Harada. Between-class learning for image classification. CVPR, 2018. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
174,
|
| 1148 |
+
625,
|
| 1149 |
+
823,
|
| 1150 |
+
654
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 9
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Antonio Torralba and Alexei A. Efros. Unbiased look at dataset bias. CVPR, 2011. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
174,
|
| 1159 |
+
661,
|
| 1160 |
+
720,
|
| 1161 |
+
678
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 9
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Igor Vasiljevic, Ayan Chakrabarti, and Gregory Shakhnarovich. Examining the impact of blur on recognition by convolutional networks, 2016. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
174,
|
| 1170 |
+
685,
|
| 1171 |
+
825,
|
| 1172 |
+
714
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 9
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation. arXiv preprint arXiv:1904.12848, 2019. ",
|
| 1179 |
+
"bbox": [
|
| 1180 |
+
173,
|
| 1181 |
+
723,
|
| 1182 |
+
825,
|
| 1183 |
+
752
|
| 1184 |
+
],
|
| 1185 |
+
"page_idx": 9
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"type": "text",
|
| 1189 |
+
"text": "Saining Xie, Ross Girshick, Piotr Dollr, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. CVPR, 2016. ",
|
| 1190 |
+
"bbox": [
|
| 1191 |
+
173,
|
| 1192 |
+
760,
|
| 1193 |
+
823,
|
| 1194 |
+
789
|
| 1195 |
+
],
|
| 1196 |
+
"page_idx": 9
|
| 1197 |
+
},
|
| 1198 |
+
{
|
| 1199 |
+
"type": "text",
|
| 1200 |
+
"text": "Dong Yin, Raphael Gontijo Lopes, Jonathon Shlens, Ekin D Cubuk, and Justin Gilmer. A Fourier perspective on model robustness in computer vision. arXiv preprint arXiv:1906.08988, 2019. ",
|
| 1201 |
+
"bbox": [
|
| 1202 |
+
174,
|
| 1203 |
+
796,
|
| 1204 |
+
823,
|
| 1205 |
+
827
|
| 1206 |
+
],
|
| 1207 |
+
"page_idx": 9
|
| 1208 |
+
},
|
| 1209 |
+
{
|
| 1210 |
+
"type": "text",
|
| 1211 |
+
"text": "Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. ICCV, 2019. ",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
174,
|
| 1214 |
+
834,
|
| 1215 |
+
825,
|
| 1216 |
+
864
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 9
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "text",
|
| 1222 |
+
"text": "Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In BMVC, 2016. ",
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
173,
|
| 1225 |
+
871,
|
| 1226 |
+
728,
|
| 1227 |
+
887
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 9
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "Hongyi Zhang, Moustapha Cisse, Yann Dauphin, and David Lopez-Paz. mixup: Beyond empirical ´ risk minimization. ICLR, 2017. ",
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
173,
|
| 1236 |
+
895,
|
| 1237 |
+
826,
|
| 1238 |
+
924
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 9
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "text",
|
| 1244 |
+
"text": "Richard Zhang. Making convolutional networks shift-invariant again. In ICML, 2019. ",
|
| 1245 |
+
"bbox": [
|
| 1246 |
+
173,
|
| 1247 |
+
103,
|
| 1248 |
+
735,
|
| 1249 |
+
118
|
| 1250 |
+
],
|
| 1251 |
+
"page_idx": 10
|
| 1252 |
+
},
|
| 1253 |
+
{
|
| 1254 |
+
"type": "text",
|
| 1255 |
+
"text": "Stephan Zheng, Yang Song, Thomas Leung, and Ian Goodfellow. Improving the robustness of deep neural networks via stability training. CVPR, 2016. ",
|
| 1256 |
+
"bbox": [
|
| 1257 |
+
173,
|
| 1258 |
+
127,
|
| 1259 |
+
823,
|
| 1260 |
+
156
|
| 1261 |
+
],
|
| 1262 |
+
"page_idx": 10
|
| 1263 |
+
},
|
| 1264 |
+
{
|
| 1265 |
+
"type": "text",
|
| 1266 |
+
"text": "Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. arXiv preprint arXiv:1708.04896, 2017. ",
|
| 1267 |
+
"bbox": [
|
| 1268 |
+
171,
|
| 1269 |
+
165,
|
| 1270 |
+
825,
|
| 1271 |
+
194
|
| 1272 |
+
],
|
| 1273 |
+
"page_idx": 10
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"type": "text",
|
| 1277 |
+
"text": "A HYPERPARAMETER ABLATIONS ",
|
| 1278 |
+
"text_level": 1,
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
176,
|
| 1281 |
+
102,
|
| 1282 |
+
473,
|
| 1283 |
+
117
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 11
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "In this section we demonstrate that AUGMIX’s hyperparameters are not highly sensitive, so that AUGMIX performs reliably without careful tuning. For this set of experiments, the baseline AUGMIX model trains for 90 epochs, has a mixing coefficient of $\\alpha = 0 . 5$ , has 3 examples per Jensen-Shannon Divergence (1 clean image, 2 augmented images), has a chain depth stochastically varying from 1 to 3, and has $k = 3$ augmentation chains. Figure 8 shows that the performance of various AUGMIX models with different hyperparameters. Under these hyperparameter changes, the mCE does not change substantially. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
173,
|
| 1292 |
+
131,
|
| 1293 |
+
825,
|
| 1294 |
+
229
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 11
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "image",
|
| 1300 |
+
"img_path": "images/1cfcf05e745f24551323e62d6d3864d7681b43516d3591a80175e06aba0058eb.jpg",
|
| 1301 |
+
"image_caption": [
|
| 1302 |
+
"AugMix ImageNet-C Ablations "
|
| 1303 |
+
],
|
| 1304 |
+
"image_footnote": [],
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
171,
|
| 1307 |
+
247,
|
| 1308 |
+
826,
|
| 1309 |
+
404
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 11
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "image",
|
| 1315 |
+
"img_path": "images/b2387776be0bcd6855c4139892a559b790e6134a8974823eeea4312a5b9f0b35.jpg",
|
| 1316 |
+
"image_caption": [
|
| 1317 |
+
"Figure 8: AUGMIX hyperparameter ablations on ImageNet-C. ImageNet-C classification performance is stable changes to AUGMIX’s hyperparameters. ",
|
| 1318 |
+
"Figure 9: Fourier Sensitivity Heatmap of the baseline Wide ResNet, Cutout, and AUGMIX CIFAR-10 models. All Fourier basis perturbations are added to clean CIFAR-10 test images. AUGMIX maintains robustness at low frequencies and is far more robust to mid and high frequency modifications. Example perturbed images are shown above, with black pointer lines indicating the Fourier basis vector used to perturb the image. For each basis vector we compute the error rate of the model after perturbing the entire test set. "
|
| 1319 |
+
],
|
| 1320 |
+
"image_footnote": [],
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
186,
|
| 1323 |
+
465,
|
| 1324 |
+
823,
|
| 1325 |
+
724
|
| 1326 |
+
],
|
| 1327 |
+
"page_idx": 11
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"type": "text",
|
| 1331 |
+
"text": "B FOURIER ANALYSIS ",
|
| 1332 |
+
"text_level": 1,
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
176,
|
| 1335 |
+
838,
|
| 1336 |
+
375,
|
| 1337 |
+
853
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 11
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "A commonly mentioned hypothesis (Gilmer & Hendrycks, 2019) for the lack of robustness of deep neural networks is that they readily latch onto spurious high-frequency correlations that exist in the data. In order to better understand the reliance of models to such correlations, we measure model sensitivity to additive noise at differing frequencies. We create a $3 2 \\times 3 2$ sensitivity heatmap. That is, we add a total of $3 2 \\times 3 2$ Fourier basis vectors to the CIFAR-10 test set, one at a time, and record the resulting error rate after adding each Fourier basis vector. Each point in the heatmap shows the error rate on the CIFAR-10 test set after it has been perturbed by a single Fourier basis vector. Points corresponding to low frequency vectors are shown in the center of the heatmap, whereas high frequency vectors are farther from the center. For further details on Fourier sensitivity analysis, we refer the reader to Section 2 of Yin et al. (2019). In Figure 9 we observe that the baseline model is robust to low frequency perturbations but severely lacks robustness to high frequency perturbations, where error rates exceed $80 \\%$ . The model trained with Cutout shows a similar lack of robustness. In contrast, the model trained with AUGMIX maintains robustness to low frequency perturbations, and on the mid and high frequencies AUGMIX is conspicuously more robust. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
174,
|
| 1346 |
+
867,
|
| 1347 |
+
825,
|
| 1348 |
+
924
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 11
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
173,
|
| 1357 |
+
103,
|
| 1358 |
+
826,
|
| 1359 |
+
242
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 12
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "C AUGMENTATION OPERATIONS",
|
| 1366 |
+
"text_level": 1,
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
176,
|
| 1369 |
+
258,
|
| 1370 |
+
459,
|
| 1371 |
+
275
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 12
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "The augmentation operations we use for AUGMIX are shown in Figure 10. ",
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
174,
|
| 1380 |
+
289,
|
| 1381 |
+
661,
|
| 1382 |
+
304
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 12
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "image",
|
| 1388 |
+
"img_path": "images/7748e858401f577400d8e8329defa78203fec7a848cb47c79b85b290d10a48b5.jpg",
|
| 1389 |
+
"image_caption": [
|
| 1390 |
+
"Figure 10: Illustration of augmentation operations applied to the same image. Some operation severities have been increased to show detail. "
|
| 1391 |
+
],
|
| 1392 |
+
"image_footnote": [],
|
| 1393 |
+
"bbox": [
|
| 1394 |
+
336,
|
| 1395 |
+
319,
|
| 1396 |
+
661,
|
| 1397 |
+
570
|
| 1398 |
+
],
|
| 1399 |
+
"page_idx": 12
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "text",
|
| 1403 |
+
"text": "We do not use augmentations such as contrast, color, brightness, sharpness, and Cutout as they may overlap with ImageNet-C test set corruptions. We should note that augmentation choice requires additional care. Guo et al. (2019) show that blithely applying augmentations can potentially cause augmented images to take different classes. Figure 11 shows how histogram color swapping augmentation may change a bird’s class, leading to a manifold intrusion. ",
|
| 1404 |
+
"bbox": [
|
| 1405 |
+
176,
|
| 1406 |
+
627,
|
| 1407 |
+
825,
|
| 1408 |
+
696
|
| 1409 |
+
],
|
| 1410 |
+
"page_idx": 12
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "image",
|
| 1414 |
+
"img_path": "images/c459b1b2d285197ceac76a323861e94a9afd455ba855528c9f1baa820dd32885.jpg",
|
| 1415 |
+
"image_caption": [
|
| 1416 |
+
"Figure 11: An illustration of manifold intrusion (Guo et al., 2019), where histogram color augmentation can change the image’s class. "
|
| 1417 |
+
],
|
| 1418 |
+
"image_footnote": [],
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
336,
|
| 1421 |
+
710,
|
| 1422 |
+
661,
|
| 1423 |
+
869
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 12
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "D ADDITIONAL RESULTS ",
|
| 1430 |
+
"text_level": 1,
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
174,
|
| 1433 |
+
102,
|
| 1434 |
+
398,
|
| 1435 |
+
117
|
| 1436 |
+
],
|
| 1437 |
+
"page_idx": 13
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"type": "text",
|
| 1441 |
+
"text": "We include various additional results for CIFAR-10, CIFAR-10-C and CIFAR-10-P below. Figure 12 reports accuracy for each corruption, Table 5 reports calibration results for various architectures and Table 6 reports clean error and mFR. We refer to Section 4.1 for details about the architecture and training setup. ",
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
173,
|
| 1444 |
+
132,
|
| 1445 |
+
825,
|
| 1446 |
+
189
|
| 1447 |
+
],
|
| 1448 |
+
"page_idx": 13
|
| 1449 |
+
},
|
| 1450 |
+
{
|
| 1451 |
+
"type": "image",
|
| 1452 |
+
"img_path": "images/3ffcf7ca776f94b1bbae00d39894de3c48178b50545e4390eb343ce3213fe832.jpg",
|
| 1453 |
+
"image_caption": [
|
| 1454 |
+
"Figure 12: AUGMIX improves corruption robustness across all CIFAR-10-C noise, blur, weather, and digital corruptions, despite the model never having seen these corruptions during training. "
|
| 1455 |
+
],
|
| 1456 |
+
"image_footnote": [],
|
| 1457 |
+
"bbox": [
|
| 1458 |
+
171,
|
| 1459 |
+
208,
|
| 1460 |
+
826,
|
| 1461 |
+
388
|
| 1462 |
+
],
|
| 1463 |
+
"page_idx": 13
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"type": "table",
|
| 1467 |
+
"img_path": "images/f08d61dd84fd8735141eb9c08f3d1b25cfed486430e2ea6ab45bb1cc9919a9ab.jpg",
|
| 1468 |
+
"table_caption": [
|
| 1469 |
+
"Table 5: RMS Calibration Error of various models and data augmentation methods across CIFAR-10 and CIFAR-10-C. All values are reported as percentages. "
|
| 1470 |
+
],
|
| 1471 |
+
"table_footnote": [],
|
| 1472 |
+
"table_body": "<table><tr><td></td><td></td><td>Standard Cutout</td><td>Mixup</td><td></td><td></td><td>CutMix AutoAugment* Adv Training AUGMIX</td><td></td><td></td></tr><tr><td rowspan=\"4\">CIFAR-10</td><td>AllConvNet</td><td>5.4</td><td>4.0</td><td>12.6</td><td>3.1</td><td>4.2</td><td>11.1</td><td>2.2</td></tr><tr><td>DenseNet</td><td>7.5</td><td>6.4</td><td>15.6</td><td>5.4</td><td>6.0</td><td>16.2</td><td>5.0</td></tr><tr><td>WideResNet</td><td>6.8</td><td>3.8</td><td>14.0</td><td>5.0</td><td>4.7</td><td>10.7</td><td>4.2</td></tr><tr><td>ResNeXt</td><td>3.0</td><td>4.4</td><td>13.5</td><td>3.5</td><td>3.3</td><td>5.8</td><td>3.0</td></tr><tr><td colspan=\"2\">Mean</td><td>5.7</td><td>4.7</td><td>13.9</td><td>4.2</td><td>4.6</td><td>11.0</td><td>3.6</td></tr><tr><td rowspan=\"4\">CIFAR-10-C</td><td>AllConvNet</td><td>21.2</td><td>21.3</td><td>9.7</td><td>15.4</td><td>16.2</td><td>10.4</td><td>5.2</td></tr><tr><td>DenseNet</td><td>26.7</td><td>27.8</td><td>12.9</td><td>25.6</td><td>21.1</td><td>15.0</td><td>11.7</td></tr><tr><td>WideResNet</td><td>27.6</td><td>19.6</td><td>11.1</td><td>17.8</td><td>17.1</td><td>10.6</td><td>8.7</td></tr><tr><td>ResNeXt</td><td>16.4</td><td>21.4</td><td>11.7</td><td>19.6</td><td>15.1</td><td>11.6</td><td>8.3</td></tr><tr><td colspan=\"2\">Mean</td><td>23.0</td><td>22.5</td><td>11.4</td><td>19.6</td><td>17.4</td><td>11.9</td><td>8.5</td></tr></table>",
|
| 1473 |
+
"bbox": [
|
| 1474 |
+
173,
|
| 1475 |
+
460,
|
| 1476 |
+
851,
|
| 1477 |
+
621
|
| 1478 |
+
],
|
| 1479 |
+
"page_idx": 13
|
| 1480 |
+
},
|
| 1481 |
+
{
|
| 1482 |
+
"type": "table",
|
| 1483 |
+
"img_path": "images/59055bf704bcb6360d304ae76cdfd7b0a6a611bb829ce02374e8b90e50ce144e.jpg",
|
| 1484 |
+
"table_caption": [
|
| 1485 |
+
"Table 6: CIFAR-10 Clean Error and CIFAR-10-P mean Flip Probability. All values are percentages. While adversarial training performs well on CIFAR-10-P, it induces a substantial drop in accuracy (increase in error) on clean CIFAR-10 where AUGMIX does not. "
|
| 1486 |
+
],
|
| 1487 |
+
"table_footnote": [],
|
| 1488 |
+
"table_body": "<table><tr><td colspan=\"2\"></td><td colspan=\"7\">Standard Cutout Mixup CutMix AutoAugment* Adv Training AUGMIX</td></tr><tr><td rowspan=\"4\">CIFAR-10</td><td>AllConvNet</td><td>6.1</td><td>6.1</td><td>6.3</td><td>6.4</td><td>6.6</td><td>18.9</td><td>6.5</td></tr><tr><td>DenseNet</td><td>5.8</td><td>4.8</td><td>5.5</td><td>5.3</td><td>4.8</td><td>17.9</td><td>4.9</td></tr><tr><td>WideResNet</td><td>5.2</td><td>4.4</td><td>4.9</td><td>4.6</td><td>4.8</td><td>17.1</td><td>4.9</td></tr><tr><td>ResNeXt</td><td>4.3</td><td>4.4</td><td>4.2</td><td>3.9</td><td>3.8</td><td>15.4</td><td>4.2</td></tr><tr><td colspan=\"2\">Mean</td><td>5.4</td><td>4.9</td><td>5.2</td><td>5.0</td><td>5.0</td><td>17.3</td><td>5.1</td></tr><tr><td rowspan=\"4\">CIFAR-10-P</td><td>AllConvNet</td><td>4.2</td><td>5.0</td><td>3.9</td><td>4.5</td><td>4.0</td><td>2.0</td><td>1.5</td></tr><tr><td>DenseNet</td><td>5.0</td><td>5.7</td><td>3.9</td><td>6.3</td><td>4.8</td><td>2.1</td><td>1.8</td></tr><tr><td>WideResNet</td><td>4.2</td><td>4.3</td><td>3.4</td><td>4.6</td><td>4.2</td><td>2.2</td><td>1.6</td></tr><tr><td>ResNeXt</td><td>4.0</td><td>4.5</td><td>3.2</td><td>5.2</td><td>4.2</td><td>2.5</td><td>1.5</td></tr><tr><td colspan=\"2\">Mean</td><td>4.3</td><td>4.9</td><td>3.6</td><td>5.2</td><td>4.3</td><td>2.2</td><td>1.6</td></tr></table>",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
173,
|
| 1491 |
+
693,
|
| 1492 |
+
851,
|
| 1493 |
+
853
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 13
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "E CALIBRATION METRICS ",
|
| 1500 |
+
"text_level": 1,
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
176,
|
| 1503 |
+
102,
|
| 1504 |
+
408,
|
| 1505 |
+
118
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 14
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"text": "Due to the finite size of empirical test sets, the RMS Calibration Error must be estimated by partitioning all $n$ test set examples into $b$ contiguous bins $\\{ B _ { 1 } , B _ { 2 } , \\dots , B _ { b } \\}$ ordered by prediction confidence. In this work we use bins which contain 100 predictions, so that we adaptively partition confidence scores on the interval [0, 1] (Nguyen & O’Connor, 2015; Hendrycks et al., 2019b). Other works partition the interval $[ 0 , 1 ]$ with 15 bins of uniform length (Guo et al., 2017). With these $b$ bins, we estimate the RMS Calibration Error empirically with the formula ",
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
173,
|
| 1514 |
+
131,
|
| 1515 |
+
826,
|
| 1516 |
+
215
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 14
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "equation",
|
| 1522 |
+
"img_path": "images/b8c6d83e1fb02a0a44e8936c6e32989c80cae12e2cccca3c86e85aa8098b1c36.jpg",
|
| 1523 |
+
"text": "$$\n\\sqrt { \\sum _ { i = 1 } ^ { b } \\frac { | B _ { i } | } { n } \\biggl ( \\frac { 1 } { | B _ { i } | } \\sum _ { k \\in B _ { i } } \\mathbb { 1 } \\bigl ( y _ { k } = \\hat { y } _ { k } \\bigr ) - \\frac { 1 } { | B _ { i } | } \\sum _ { k \\in B _ { i } } c _ { k } \\biggr ) ^ { 2 ^ { \\top } } } .\n$$",
|
| 1524 |
+
"text_format": "latex",
|
| 1525 |
+
"bbox": [
|
| 1526 |
+
316,
|
| 1527 |
+
219,
|
| 1528 |
+
679,
|
| 1529 |
+
268
|
| 1530 |
+
],
|
| 1531 |
+
"page_idx": 14
|
| 1532 |
+
},
|
| 1533 |
+
{
|
| 1534 |
+
"type": "text",
|
| 1535 |
+
"text": "This is separate from classification error because a random classifier with an approximately uniform posterior distribution is approximately calibrated. Also note that adding the “refinement” $\\mathbb { E } _ { C } [ ( \\mathbb { P } ( Y =$ $\\hat { Y } | C = c ) ( 1 - ( \\mathbb { P } ( Y = \\hat { Y } | C = c ) ) ]$ to the square of the RMS Calibration Error gives us the Brier Score (Nguyen & O’Connor, 2015). ",
|
| 1536 |
+
"bbox": [
|
| 1537 |
+
173,
|
| 1538 |
+
270,
|
| 1539 |
+
825,
|
| 1540 |
+
330
|
| 1541 |
+
],
|
| 1542 |
+
"page_idx": 14
|
| 1543 |
+
}
|
| 1544 |
+
]
|
parse/train/S1gmrxHFvB/S1gmrxHFvB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1gmrxHFvB/S1gmrxHFvB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/hQGRD1Zael7/hQGRD1Zael7_content_list.json
ADDED
|
@@ -0,0 +1,1085 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "The Regularizing Effect of Different Output Layer Designs in Deep Neural Networks ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
194,
|
| 8 |
+
122,
|
| 9 |
+
805,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
580,
|
| 21 |
+
281
|
| 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 |
+
334
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 Deep neural networks are prone to overfitting, especially on small datasets. Com \n2 mon regularizers such as dropout or dropconnect reduce overfitting, but are complex \n3 and prone to hyperparameter choices, thus prolonging development cycles in prac \n4 tice. In this paper, we propose simple but effective design changes to the output \n5 layer - namely randomization, sparsity, activation scaling, and ensembling - that \n6 lead to improved regularization. These designs are motivated by experiments \n7 showing that standard fully-connected output layers tend to rely on individual \n8 input neurons, which in turn do not cover the variance of the data. We call these \n9 two related phenomena neuron dependency and expressivity, propose different \n10 ways to measure them, and optimize the presented output layers for them. In our \n11 experiments, we compare these layer types for image classification and semantic \n12 segmentation across architectures, datasets, and application settings. We report sig \n13 nificantly and consistently improved performance of up to $10 \\%$ points in accuracy \n14 over standard output layers while reducing the number of trainable parameters by \n15 up to $90 \\%$ . It is demonstrated that neither training of output layers is required, nor \n16 are output layers themselves crucial components of deep networks. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
148,
|
| 42 |
+
348,
|
| 43 |
+
766,
|
| 44 |
+
569
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "17 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
597,
|
| 55 |
+
312,
|
| 56 |
+
614
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "18 Neural networks are powerful feature extractors that have become the standard approach for a myriad \n19 of tasks. New architectures are continuously introduced and set records on benchmark datasets \n20 (e.g. [24, 15, 44]). These networks differ in layer composition, depth/width or use specific concepts \n21 such as residual connections [15] or self-attention [34]. With growing capacity, their performance on \n22 large datasets tends to increase [44]. However, model complexity is also associated with overfitting, \n23 especially for small datasets where fine details of the training data are easily memorized [52, 2, 53]. \n24 Rather than defining another, possibly more complex architecture, we analyze what often remains \n25 unconsidered: the output layer. In image classification, networks usually end with a fully-connected \n26 (fc) layer that combines extracted features for the final output [43, 15, 17, 44]. As we will show, this \n27 layer is prone to overfitting since high dependencies on individual, possibly memorized features can \n28 arise. The same neurons are subsequently not able to generalize across examples. We call these two \n29 related phenomena neuron dependency and expressivity and illustrate a simplified example in Fig. 2. \n30 Both problems can be improved by simple but effective changes to the output layer that require only \n31 few lines of code and achieve better generalization (i.e., better results on the test set [25], see e.g. \n32 Fig. 1). Those changes rely on four principles: activation scaling, fixed randomization, sparsity and \n33 in-layer ensembling (see Fig. 5). This work analyzes all layers in terms of their capability to reduce \n34 dependencies and/or increase expressivity. Then, the connection to network performance is shown \n35 through a comprehensive empirical study across datasets, architectures and application settings in \n36 image classification and segmentation. Furthermore, we investigate how stronger regularization \n37 can be induced by applying the identified principles to other parts of a network while reducing the \n38 computational footprint. In contrast to common practice, we find neither training of output layers \n39 to be necessary, nor that output layers are crucial components of deep networks. In summary, our \n40 contributions are: ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
627,
|
| 66 |
+
825,
|
| 67 |
+
710
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
145,
|
| 76 |
+
717,
|
| 77 |
+
825,
|
| 78 |
+
799
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
147,
|
| 87 |
+
806,
|
| 88 |
+
825,
|
| 89 |
+
904
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/8e43eeee593d328662090cd17f785e27e200555070f9bdf398e263d153622b69.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Effect of different output layer designs on cross-entropy loss (left) and accuracy (right) in a ResNet-50 for the STL-10 dataset. Best viewed in color. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
173,
|
| 102 |
+
87,
|
| 103 |
+
823,
|
| 104 |
+
248
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "image",
|
| 110 |
+
"img_path": "images/f3006ae6c8378d574fca6155922ed230bfe6cb0a5b920eee8e8a32624e25d218.jpg",
|
| 111 |
+
"image_caption": [
|
| 112 |
+
"Figure 2: Schematic of neuron dependency/expressivity in fc output layers. The left side of each subfigure represents penultimate layer activations (A1-2), the right shows output neurons for each class (O1-2). Filled/blank circles indicate high/low activation, up-/downward facing arrows signal positive/negative weights. Higher activations of O1 lead to correct predictions in this example. Model 1 depends on neuron A1 to be activated to give high prediction scores to O1. This is the case for a training instance in a). If Model 1 is applied to an unseen input pattern of same class in b), higher scores are erroneously given to O2 since A1 remains inactive and A2 slightly favors O2. Model 1 fails to generalize as it depends on A1, which is not expressive enough to cover the variance of the target class. Instead, Model 2 shown in c) exhibits neurons with low dependency and high expressivity, where A1 generalizes to unseen patterns, while the activation of A2 can be regarded as backup. Note that this example is simplified and educational. See Sect. 3.3 for measurements. "
|
| 113 |
+
],
|
| 114 |
+
"image_footnote": [],
|
| 115 |
+
"bbox": [
|
| 116 |
+
181,
|
| 117 |
+
300,
|
| 118 |
+
800,
|
| 119 |
+
431
|
| 120 |
+
],
|
| 121 |
+
"page_idx": 1
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"type": "text",
|
| 125 |
+
"text": "",
|
| 126 |
+
"bbox": [
|
| 127 |
+
147,
|
| 128 |
+
622,
|
| 129 |
+
825,
|
| 130 |
+
679
|
| 131 |
+
],
|
| 132 |
+
"page_idx": 1
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"type": "text",
|
| 136 |
+
"text": "• Introducing neuron dependency and expressivity as two factors contributing to overfitting and proposing ways to measure these factors • Showing improved regularization of 5 different output layer designs up to $10 \\%$ in absolute accuracy compared to standard fc layers and other common regularizers • Empirical results showing that the proposed layers have improved dependency and expressivity, computational efficiency, wide applicability to both small and large datasets, extensibility to other parts of the network, and robustness in the choice of hyperparameters ",
|
| 137 |
+
"bbox": [
|
| 138 |
+
217,
|
| 139 |
+
690,
|
| 140 |
+
825,
|
| 141 |
+
801
|
| 142 |
+
],
|
| 143 |
+
"page_idx": 1
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"type": "text",
|
| 147 |
+
"text": "48 2 Related Work ",
|
| 148 |
+
"text_level": 1,
|
| 149 |
+
"bbox": [
|
| 150 |
+
147,
|
| 151 |
+
824,
|
| 152 |
+
321,
|
| 153 |
+
842
|
| 154 |
+
],
|
| 155 |
+
"page_idx": 1
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"type": "text",
|
| 159 |
+
"text": "49 Regularization in deep learning is approached in various ways. Widely used methods are, e.g., \n50 normalization [19, 3], weight decay [32], data and adversarial augmentation [40, 1], early stopping [7], \n51 boosting [38], multitask learning [6], dropout [42], dropconnect [50], and Gaussian noise layers [10]. \n52 To the best of our knowledge, this is the first work that evaluates regularization with respect to \n53 different output layer designs. Similar to dropout/dropconnect, output layers can be categorized as \n54 affecting the architecture according to the regularization taxonomy described in [25]. Unlike other \n55 regularizers, our methods are either hyperparameter-free or robust to their choice and can be applied \n56 to any deep net, including pre-trained ones that are less affected by overfitting (see Sect. 5.4 and 5.7). \n57 Related to fixed randomization are the output layers used in [16, 39, 14], which show comparable \n58 performance to trained layers. One can also preallocate output layer weights with a defined struc \n59 ture [31, 16]. Besides output layers, weight fixing is for example applied to the first layer in the \n60 Extreme Learning Machine [18], or to different weight dimensions in [36]. In contrast, we omit \n61 hand-crafted weights, show improved regularization and relate to neuron dependencies. Further, we \n62 show that fixing or scaling the last conv block next to the output layer has a strong regularizing effect. \n63 Sparsity is common in deep learning, e.g. the ReLU activation [13] or a $L _ { 1 }$ penalty term in the loss \n64 function [46]. Sparsity has also been applied to the channels of Convolutional Neural Networks \n65 (CNNs) [8, 29]. Others induce sparsity by pruning connections before training under the lottery \n66 ticket hypothesis [11, 30], with the goal of reducing the number of parameters while not sacrificing \n67 performance [27, 45, 51]. Different to them, we show that (extreme) sparsity is not merely useful to \n68 improve computational efficiency, but to improve performance when applied to the output layer. \n69 The Network in Network (NIN) [28] and All-CNN [41] both use global average pooling (GAP) \n70 followed by softmax, which replaces the fc output layer with an identify transform to simplify the \n71 network. This is further analyzed in [33]. We show its connection to neuron dependency/expressivity \n72 and achieve comparable or better performance on various datasets. Further, we observe that previous \n73 works do not leverage the full capacity of the last layer in modern networks, which enables the \n74 construction of computationally efficient in-layer ensembles that further boost performance in small \n75 and large datasets. ",
|
| 160 |
+
"bbox": [
|
| 161 |
+
147,
|
| 162 |
+
856,
|
| 163 |
+
826,
|
| 164 |
+
911
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 1
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"text": "",
|
| 171 |
+
"bbox": [
|
| 172 |
+
147,
|
| 173 |
+
92,
|
| 174 |
+
825,
|
| 175 |
+
147
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 2
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"text": "",
|
| 182 |
+
"bbox": [
|
| 183 |
+
147,
|
| 184 |
+
154,
|
| 185 |
+
825,
|
| 186 |
+
237
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "",
|
| 193 |
+
"bbox": [
|
| 194 |
+
147,
|
| 195 |
+
242,
|
| 196 |
+
825,
|
| 197 |
+
327
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "",
|
| 204 |
+
"bbox": [
|
| 205 |
+
147,
|
| 206 |
+
332,
|
| 207 |
+
825,
|
| 208 |
+
429
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "76 3 Neuron dependency and expressivity ",
|
| 215 |
+
"text_level": 1,
|
| 216 |
+
"bbox": [
|
| 217 |
+
151,
|
| 218 |
+
446,
|
| 219 |
+
511,
|
| 220 |
+
463
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "3.1 Setting and notation ",
|
| 227 |
+
"text_level": 1,
|
| 228 |
+
"bbox": [
|
| 229 |
+
166,
|
| 230 |
+
474,
|
| 231 |
+
354,
|
| 232 |
+
489
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 2
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "We consider neural networks consisting of an encoder $f _ { e n c } : \\pmb { \\mathsf { X } } \\pmb { a }$ followed by an output layer $f _ { o u t } : \\pmb { a } \\hat { \\pmb y }$ . In this paper, the encoder is a CNN, taking as input an image $\\pmb { \\chi } \\doteq \\mathbb { R } ^ { C \\times H ^ { \\star } W }$ with $C , W$ and $H$ being input channels, width and height, respectively; and transforming it to a feature vector $\\pmb { a } \\in \\mathbb { R } ^ { 1 \\times N }$ . Commonly in CNNs, 2D representations resulting from the final conv layer are aggregated by GAP [28] where $N$ corresponds to the number of pooled conv channels. The output layer transforms the embedding to output $\\hat { \\pmb y } \\in \\mathbb { R } ^ { K }$ holding the probabilities of $K$ classes. The output layer is parameterized by a weight matrix $\\pmb { W } \\in \\mathbb { R } ^ { N \\times K }$ , and is commonly initialized as $W ^ { r a n d o m } \\sim \\mathcal { U } ( - \\overset { \\cdot } { \\sqrt { 1 / N } } , \\overset { } { \\sqrt { 1 / N } } )$ [26]. Both $\\hat { y }$ and target $\\textbf { { y } }$ are used to compute the cross-entropy loss $\\begin{array} { r } { \\ell = - \\sum _ { i } ^ { K } y _ { i } \\log ( \\hat { y } _ { i } ) } \\end{array}$ . We use the terms features/channels/nodes or neurons interchangeably meaning activations $\\textbf { \\em a }$ . When required, we refer to individual instances with a superscript, e.g. $( \\mathbf { X } ^ { ( i ) } , \\pmb { y } ^ { ( i ) } ) \\in \\mathcal { D }$ , with $\\mathcal { D }$ being a dataset. Corresponding subsets are denoted as $\\mathcal { D } _ { t r a i n }$ and $\\mathcal { D } _ { t e s t }$ . ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
168,
|
| 241 |
+
498,
|
| 242 |
+
826,
|
| 243 |
+
660
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 2
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "3.2 Concepts ",
|
| 250 |
+
"text_level": 1,
|
| 251 |
+
"bbox": [
|
| 252 |
+
168,
|
| 253 |
+
672,
|
| 254 |
+
277,
|
| 255 |
+
688
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "During training, CNNs learn a set of visual patterns that are combined for a classification decision. However, if patterns remain undetected, e.g. due to noise in the image or inherent but unseen variance in the data, their activation values can become small and thus reduce the output values for the target class. When a network is overfitting, it learns malignant image-specific patterns by heart [52]. Such a network may depend on the activation of individual nodes, which in turn fail to generalize to patterns that are salient to a class. We call these two related phenomena neuron dependency and expressivity. ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
165,
|
| 264 |
+
696,
|
| 265 |
+
825,
|
| 266 |
+
780
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 2
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "text",
|
| 272 |
+
"text": "97 Neuron dependency: How much does a model depend on a single neuron? In a network \n98 with high neuron dependencies, output scores and thus performance drop significantly when certain \n99 neurons remain inactive. In contrast, a network with low neuron dependencies distributes activations \n00 across many neurons, so that a single inactive node does not have much influence on the classification. \n101 Neuron expressivity: How much class-specific variance does a neuron cover? Neurons with low \n02 expressivity focus on unimportant details that do not characterize the properties of a class. In contrast, \n03 a neuron with high expressivity generalizes by activating to various patterns pertinent to a given class. ",
|
| 273 |
+
"bbox": [
|
| 274 |
+
150,
|
| 275 |
+
794,
|
| 276 |
+
825,
|
| 277 |
+
891
|
| 278 |
+
],
|
| 279 |
+
"page_idx": 2
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"type": "text",
|
| 283 |
+
"text": "104 An example of neuron dependency/expressivity for a simplified fc output layer is illustrated in Fig. 2. ",
|
| 284 |
+
"bbox": [
|
| 285 |
+
148,
|
| 286 |
+
897,
|
| 287 |
+
823,
|
| 288 |
+
911
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 2
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "image",
|
| 294 |
+
"img_path": "images/6ba3f7354c2569c371b9a496a44617a877179672678813c1f8a0b9f0fd35d4af.jpg",
|
| 295 |
+
"image_caption": [
|
| 296 |
+
"Figure 3: The effect of dataset size and activation scale on neuron dependency in a ResNet-50 trained on subsets of CIFAR-100, evaluated on the test set. Left: Small training sets lead to high neuron dependencies. Center: Scaling activations results in larger absolute logits. Right: Larger scales lead to higher dependencies. Best viewed in color. "
|
| 297 |
+
],
|
| 298 |
+
"image_footnote": [],
|
| 299 |
+
"bbox": [
|
| 300 |
+
173,
|
| 301 |
+
87,
|
| 302 |
+
825,
|
| 303 |
+
209
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "image",
|
| 309 |
+
"img_path": "images/536b1049d52311a96dfd6c592448af58dbc321fabc96aa3ba43a984aee61f334.jpg",
|
| 310 |
+
"image_caption": [
|
| 311 |
+
"Figure 4: Neuron dependency (left) and expressivity (right) in a ResNet-50 with 2048 penultimate layer channels trained on CIFAR-100 for different output layer designs, showing the change in accuracy on the test set. Best viewed in color. "
|
| 312 |
+
],
|
| 313 |
+
"image_footnote": [],
|
| 314 |
+
"bbox": [
|
| 315 |
+
173,
|
| 316 |
+
285,
|
| 317 |
+
823,
|
| 318 |
+
448
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 3
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "105 3.3 Measuring dependency and expressivity ",
|
| 325 |
+
"text_level": 1,
|
| 326 |
+
"bbox": [
|
| 327 |
+
142,
|
| 328 |
+
523,
|
| 329 |
+
490,
|
| 330 |
+
539
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "106 We introduce two ways of measuring dependency/expressivity: instance-based and class-based. The \n107 former is used to determine the dependency on the most important node for the predicted class given an \n108 instance. Importance scores for node $n$ and output class $\\hat { k }$ are computed with Gradient $\\odot .$ Activation [4], \n109 a global attribution method where we leverage the partial derivative of the softmax values: ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
140,
|
| 339 |
+
547,
|
| 340 |
+
825,
|
| 341 |
+
606
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 3
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "equation",
|
| 347 |
+
"img_path": "images/f25e1698df05e5496b04f27bde4bc7d79793921697c42604073059c7433dffff.jpg",
|
| 348 |
+
"text": "$$\na _ { n } \\frac { \\partial \\hat { y } _ { \\hat { k } } } { \\partial a _ { n } } .\n$$",
|
| 349 |
+
"text_format": "latex",
|
| 350 |
+
"bbox": [
|
| 351 |
+
470,
|
| 352 |
+
608,
|
| 353 |
+
527,
|
| 354 |
+
640
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 3
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "110 Instance-based dependency is then measured as avg. reduction in output probabilities when ablating \n111 the most important feature w.r.t. the output class of any instance. This is illustrated for various \n112 training set sizes of CIFAR-100 [23] in Fig. 3 (left). With less data, fc output layers tend to depend \n113 more on single nodes. This is in contrast to class-based measures, which enable quantifying both \n114 dependency/expressivity and use various features jointly. Importances are determined for each class \n115 $k$ and over all test instances: ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
140,
|
| 363 |
+
642,
|
| 364 |
+
825,
|
| 365 |
+
724
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 3
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "equation",
|
| 371 |
+
"img_path": "images/064d345c00984bf26d88a137cd9687557838d487b80e3b0b1cdb35934aa118b0.jpg",
|
| 372 |
+
"text": "$$\n\\sum _ { i = 1 } ^ { \\left| \\mathcal { D } _ { t e s t } \\right| } a _ { n } ^ { ( i ) } \\frac { \\partial \\hat { y } _ { k } ^ { ( i ) } } { \\partial a _ { n } ^ { ( i ) } } .\n$$",
|
| 373 |
+
"text_format": "latex",
|
| 374 |
+
"bbox": [
|
| 375 |
+
442,
|
| 376 |
+
722,
|
| 377 |
+
555,
|
| 378 |
+
766
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 3
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "116 Class-based dependency is then measured as drop in accuracy when ablating a given number of most \n117 important neurons per class. Measuring expressivity reverses this - the most important neurons per \n118 class are retained, all others are ablated. This is illustrated for both dependency/expressivity in Fig. 4. \n119 We see that standard (i.e. trained) fc output layers tend to depend on single channels to achieve high \n120 performance, but these very channels hold only limited class information. ",
|
| 385 |
+
"bbox": [
|
| 386 |
+
142,
|
| 387 |
+
766,
|
| 388 |
+
825,
|
| 389 |
+
835
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 3
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "21 4 Output Layer Types ",
|
| 396 |
+
"text_level": 1,
|
| 397 |
+
"bbox": [
|
| 398 |
+
155,
|
| 399 |
+
852,
|
| 400 |
+
375,
|
| 401 |
+
871
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "122 We describe several simple output layer variants that require minimal changes to standard networks, \n123 decrease neuron dependency and/or increase neuron expressivity. All types are illustrated in Fig. 5. ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
145,
|
| 410 |
+
881,
|
| 411 |
+
828,
|
| 412 |
+
911
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "image",
|
| 418 |
+
"img_path": "images/0bb6eaba53161f189e9e2cd5c71c027bc083eae6e5a9d0722ef82f50cdf90dc5.jpg",
|
| 419 |
+
"image_caption": [
|
| 420 |
+
"Figure 5: A visual comparison of various output layer types. Red/blue represent variable/fixed. "
|
| 421 |
+
],
|
| 422 |
+
"image_footnote": [],
|
| 423 |
+
"bbox": [
|
| 424 |
+
171,
|
| 425 |
+
85,
|
| 426 |
+
821,
|
| 427 |
+
172
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 4
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "124 4.1 Standard output layers ",
|
| 434 |
+
"text_level": 1,
|
| 435 |
+
"bbox": [
|
| 436 |
+
143,
|
| 437 |
+
223,
|
| 438 |
+
374,
|
| 439 |
+
238
|
| 440 |
+
],
|
| 441 |
+
"page_idx": 4
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"type": "text",
|
| 445 |
+
"text": "The ubiquitous approach to compute class scores is to learn the parameters of a weight matrix $W ^ { t r a i n e \\bar { d } }$ , s.t. $\\pmb { \\hat { y } } = \\sigma _ { S M } ( \\pmb { a } \\pmb { W } ^ { t r a i n e d } )$ with $\\sigma _ { S M } ( \\cdot )$ being softmax. Each feature is considered in the computation of each class score. As shown in Sect. 3, trained fc output layers can lead to high neuron dependencies, where the deletion of a single neuron might cause significant loss in performance, and low neuron expressivity, where multiple features are required for adequate predictions. ",
|
| 446 |
+
"bbox": [
|
| 447 |
+
173,
|
| 448 |
+
248,
|
| 449 |
+
825,
|
| 450 |
+
318
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "4.2 Scaled output layers ",
|
| 457 |
+
"text_level": 1,
|
| 458 |
+
"bbox": [
|
| 459 |
+
163,
|
| 460 |
+
333,
|
| 461 |
+
354,
|
| 462 |
+
348
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 4
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "The reduction of an activation, e.g. due to changing light conditions, has a large influence on the output scores. This is simulated in Fig. 3 (center) by multiplying features during training with a scalar $\\alpha > 0$ , so that $\\pmb { \\hat { y } } = \\sigma _ { S M } ( \\alpha \\pmb { a } \\pmb { W } ^ { s \\bar { c } a l e d } )$ . Note that the variances of the output logit distributions increase with $\\alpha$ , resulting in larger differences (or smaller entropies) after softmax normalization. This results in greater dependencies of the model on individual neurons, as shown in Fig. 3 (right). However, if $\\alpha$ is chosen small, the activations of individual neurons become insufficient for class discrimination with high confidence. The model is therefore forced to learn multiple class-specific features for each instance, which increases the expressivity of the neurons and also reduces their dependencies to some extent, as shown in Fig. 4. If not specified otherwise, we use $\\alpha = 0 . 1$ . ",
|
| 469 |
+
"bbox": [
|
| 470 |
+
171,
|
| 471 |
+
358,
|
| 472 |
+
825,
|
| 473 |
+
483
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "40 4.3 Random fixed layers ",
|
| 480 |
+
"text_level": 1,
|
| 481 |
+
"bbox": [
|
| 482 |
+
151,
|
| 483 |
+
500,
|
| 484 |
+
356,
|
| 485 |
+
513
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "This setting uses $W ^ { r a n d o m }$ during training/inference, and its classification performance was first analyzed in [16]. The encoder learns to extract patterns that adjust to predetermined weights. Unlike activation scaling, the parameters are bounded and fixed to a small value range. For any class, the chosen uniform initialization is expected to assign similar weight values to multiple neurons, making them learn similar features. We suppose that the enforced similarity reduces dependency shown in Fig. 3 and 4 (both left), while small initialization values increase expressivity as in Sect. 4.2, shown in Fig. 4 (right). ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
169,
|
| 494 |
+
522,
|
| 495 |
+
825,
|
| 496 |
+
621
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "8 4.4 Sparse fixed layers ",
|
| 503 |
+
"text_level": 1,
|
| 504 |
+
"bbox": [
|
| 505 |
+
158,
|
| 506 |
+
637,
|
| 507 |
+
343,
|
| 508 |
+
651
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 4
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "In sparse output layers, class nodes use predetermined sets of channels, some of which might be shared across classes. First, a set of cutting indices $\\mathcal { T } _ { k }$ is randomly sampled for each class $k$ , where sparsity is determined by the proportion $q$ of class-specific connections to cut, so that $\\left| \\mathcal { T } _ { k } \\right| = \\left\\lfloor q \\bar { N } \\right\\rfloor$ with $0 < q < 1$ . Then, starting from a fixed random initialization as in Sect. 4.3, weights connecting to a given class are ablated so that: $W _ { i , k } ^ { s p a r s e } = 0 \\forall i \\in \\mathcal { T } _ { k }$ . Hyperparameter $q$ trades off dependency/expressivity. Larger values induce more sparsity, leading to greater dependencies to the remaining nodes, but forcing them to activate across instances, making them expressive. We set $q = 0 . 9$ in the experiments to show that high sparsity benefits generalization. ",
|
| 515 |
+
"bbox": [
|
| 516 |
+
171,
|
| 517 |
+
661,
|
| 518 |
+
825,
|
| 519 |
+
773
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 4
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "4.5 1-to-1 correspondence layers ",
|
| 526 |
+
"text_level": 1,
|
| 527 |
+
"bbox": [
|
| 528 |
+
161,
|
| 529 |
+
790,
|
| 530 |
+
411,
|
| 531 |
+
804
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 4
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "158 The most extreme type of sparsity in an output layer is one with a single connection between a \n159 feature and a class. If these connections correspond to an identity transform, the activations of the \n160 penultimate layer are equivalent to the class logits - in practice, the output layer can hence be omitted. \n161 This was analyzed in [33, 28] and showed comparable results to a standard output layer. Formally, we \n162 have $\\pmb { \\hat { y } } = \\sigma _ { S M } \\big ( \\pmb { a } \\pmb { W } ^ { 1 t o 1 } \\big )$ with $\\pmb { a } \\in \\mathbb { R } ^ { 1 \\times K }$ and $W ^ { 1 t o 1 } \\in \\mathbb { R } ^ { K \\times K }$ , where ${ \\cal W } ^ { 1 t \\dot { o } 1 } = \\dot { d } i a g ( 1 , 1 , \\dot { \\bf \\Phi } , \\dot { \\bf \\Phi } , 1 )$ \n163 In this layer, both the model’s dependency on individual neurons as well as each neuron’s expressivity \n164 are maximal. If a single neuron is ablated, the output logits for the class this neuron is connected to is \n165 reduced to zero. However, individual neurons learn to cover the whole variance of a given class in the \n166 training set, which is one conjecture for their performance. Note that as mentioned in [33], we have \n167 the constraint $N = K$ , which might be restrictive for small networks and large numbers of classes. ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
142,
|
| 540 |
+
814,
|
| 541 |
+
825,
|
| 542 |
+
911
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "",
|
| 549 |
+
"bbox": [
|
| 550 |
+
145,
|
| 551 |
+
92,
|
| 552 |
+
826,
|
| 553 |
+
133
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 5
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "168 4.6 Ensemble layers ",
|
| 560 |
+
"text_level": 1,
|
| 561 |
+
"bbox": [
|
| 562 |
+
142,
|
| 563 |
+
155,
|
| 564 |
+
325,
|
| 565 |
+
170
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 5
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "169 Is there a way to optimize for both low neuron dependency and high expressivity? Of the approaches \n170 discussed, 1-to-1 correspondence layers have the highest expressivity. Starting from this layer, a \n171 simple approach to reduce neuron dependency is to use the capacity of the penultimate layer and \n172 create multiple heads $h = 1 \\ldots H$ with $N = K H$ , each head being a 1-to-1 correspondence layer. \n173 Each head’s output is effectively computed as $\\hat { \\pmb { y } } ^ { h } = \\sigma _ { S M } ( \\alpha \\pmb { a } ^ { h } )$ with $\\mathbf { \\Omega } _ { a } \\mathbf { \\Omega } _ { h } ^ { h }$ being the activation part of \n174 head $h$ . As in Sect 4.2, we introduce a scalar $\\alpha$ , which controls the magnitude of feature activations. \n175 176 For consisaveraged: $\\begin{array} { r } { \\frac { 1 } { H } \\dot { \\sum _ { h = 1 } ^ { H } } \\ell ( \\hat { \\pmb y } ^ { h } , \\pmb y ) } \\end{array}$ this approach as . Similarly, logit $W ^ { h e a d s }$ . The loss is computed for each head andraged over heads for inference. Due to the \n177 induced redundancy, the performance only drops considerably after removing class-related neurons \n178 from all heads. In our experiments, we set $H$ to its maximum given any setting (architecture/dataset). \n179 Note that hyperparameter $\\alpha$ in ensemble layers is the only one which is tuned to individual settings. ",
|
| 572 |
+
"bbox": [
|
| 573 |
+
140,
|
| 574 |
+
183,
|
| 575 |
+
825,
|
| 576 |
+
338
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 5
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "180 5 Experiments ",
|
| 583 |
+
"text_level": 1,
|
| 584 |
+
"bbox": [
|
| 585 |
+
142,
|
| 586 |
+
362,
|
| 587 |
+
312,
|
| 588 |
+
380
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 5
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "181 We aim to show that the presented output layers from Sect. 4 outperform standard output layers and \n182 common regularization methods in various settings. Details about training, compute resources, code, \n183 datasets as well as additional experiments on dependency/expressivity are included in the appendix. ",
|
| 595 |
+
"bbox": [
|
| 596 |
+
142,
|
| 597 |
+
396,
|
| 598 |
+
825,
|
| 599 |
+
439
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 5
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "184 5.1 Small-scale and fine-grained classification ",
|
| 606 |
+
"text_level": 1,
|
| 607 |
+
"bbox": [
|
| 608 |
+
145,
|
| 609 |
+
460,
|
| 610 |
+
503,
|
| 611 |
+
476
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "All layer types are first applied to small-scale and/or fine-grained classification, both of which are challenging and require regularization. Datasets include STL-10 (500 img/class) [9], CUB-200 ${ \\sim } 3 0$ img/class) [49], Cars-196 ${ \\sim } 4 0$ img/class) [22] and Food-101 (750 img/class) [5]. Table 1 shows results for the two popular backbones ResNet-50 [15] and DenseNet-169 [17], exchanging the output layer accordingly. In 53/56 settings, we see improved results over standard layers. Of these, 48 and 36 are significant with $p < 0 . 1$ and $p < 0 . 0 0 1$ , respectively. Although there is no clear best method, it is worth noting that sparse and ensemble layers as enhancements of both random and 1-to-1 layers are significantly better $\\mathit { p } < 0 . 0 0 1 )$ ) in 7/8 settings, respectively. As expected, smaller performance differences are exhibited in Food-101, which is a considerably larger dataset, thus requiring less regularization. Among the worse settings, only 1 is significant $( p < 0 . 1 )$ for Food-101 since it involves strong regularization to multiple layers. These regularizers are discussed seperately in Sect. 5.5. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
163,
|
| 620 |
+
487,
|
| 621 |
+
825,
|
| 622 |
+
654
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "197 5.2 Large-scale classification and transfer learning ",
|
| 629 |
+
"text_level": 1,
|
| 630 |
+
"bbox": [
|
| 631 |
+
145,
|
| 632 |
+
676,
|
| 633 |
+
539,
|
| 634 |
+
690
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 5
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "198 Machine learning models are subject to the bias-variance tradeoff [12], in which induced biases of \n199 the presented output layers might be too strong to fit the training data. We therefore want to shed \n200 light on how these layers behave in large-scale and transfer learning settings, where overfitting is \n201 less problematic. Datasets include CIFAR-100 (C100, 5000 img/class) [23], ImageNet (IN, ${ \\sim } 1 2 0 0$ \n202 img/class) from ILSVRC2012 [37] reported on the validation set, as well as CUB/Cars/Food with \n203 models being pre-trained on IN. Table 2 shows the results for the ResNet-50 backbone. In C100, \n204 we see consistent improvements with at least $p < 0 . 1$ . On the other datasets, results are mostly \n205 comparable corroborating widespread applicability. It is worth mentioning that $W ^ { 1 t o 1 }$ and $W$ ensemble \n206 perform consistently better, and $W ^ { e n s e m b l e }$ significantly $( p < 0 . 1 )$ in multiple cases. With growing \n207 dataset sizes, both layers expose a strong constraint on the class neurons to fit an increasing number \n208 of examples. We believe this to be responsible for progressively separating the signal from the noise, \n209 leading to better generalization. On the other hand, neuron dependency is reduced in larger datasets \n210 (see Fig. 3 left) diminishing the effect of $W ^ { s c a l e }$ and $W ^ { r a n d o \\bar { m } }$ . Moreover, $W ^ { r a n d o m }$ and $W ^ { s p a r s e }$ \n211 can be affected by predetermined feature-class weights that do not have to match features learned \n212 during pre-training, which might require larger adjustments to the weights of the last conv layer. ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
140,
|
| 643 |
+
703,
|
| 644 |
+
825,
|
| 645 |
+
910
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "table",
|
| 651 |
+
"img_path": "images/36831a8c6c68bfba50074f29516d98c815fa914dbb611859901e955e93bc994c.jpg",
|
| 652 |
+
"table_caption": [
|
| 653 |
+
"Table 1: Classification accuracy for different output layer designs in small-scale and fine-grained classification without pre-training. Exponent repeats describe probability values $( * { } ; \\ p \\ < \\ 0 . 1$ , $^ { * * }$ : $p < 0 . 0 1$ , $^ { \\ast \\ast \\ast }$ : $p \\ < \\ 0 . 0 0 1 $ indicating statistical significance based on a one-tailed normal approximation interval test comparing accuracy of the proposed layer designs to a baseline fc layer $( \\dot { W } ^ { t r a i n e d } )$ . Symbols $^ *$ and $\\dagger$ denote better/worse performance than baseline, respectively. Bold denotes best performance. "
|
| 654 |
+
],
|
| 655 |
+
"table_footnote": [],
|
| 656 |
+
"table_body": "<table><tr><td colspan=\"2\"></td><td>STL-10</td><td>CUB-200</td><td>Cars-196</td><td>Food-101</td></tr><tr><td rowspan=\"7\">RrsSee50</td><td>Wtrained (baseline)</td><td>81.36</td><td>57.18</td><td>81.20</td><td>83.70</td></tr><tr><td>Wscaled</td><td>83.33*</td><td>63.46***</td><td>87.07***</td><td>85.46***</td></tr><tr><td>W scaled block</td><td>86.42***</td><td>66.74***</td><td>87.53***</td><td>85.03**</td></tr><tr><td>Wrandom</td><td>86.08***</td><td>60.91**</td><td>83.02*</td><td>84.20</td></tr><tr><td>Wrandom block</td><td>86.59***</td><td>67.21***</td><td>84.07***</td><td>84.04</td></tr><tr><td>Wsparse</td><td>87.23***</td><td>66.27***</td><td>85.47***</td><td>85.45***</td></tr><tr><td>W1to1</td><td>84.78***</td><td>58.56</td><td>80.51</td><td>84.41*</td></tr><tr><td rowspan=\"6\">Grr-nseese1g</td><td>Wensemble</td><td>87.94***</td><td>62.98***</td><td>85.76***</td><td>85.36***</td></tr><tr><td>Wtrained (baseline) W scaled</td><td>81.88 86.53***</td><td>55.33</td><td>80.82</td><td>84.31</td></tr><tr><td>W scaled block</td><td>85.89***</td><td>63.31*** 65.57***</td><td>85.85***</td><td>85.05*</td></tr><tr><td>Wrandom</td><td>86.11***</td><td>61.24***</td><td>85.35***</td><td>85.44**</td></tr><tr><td>Wrandom block</td><td>86.64***</td><td>65.99***</td><td>83.52**</td><td>84.90*</td></tr><tr><td>Wsparse</td><td></td><td></td><td>82.93*</td><td>83.25t</td></tr><tr><td>Wltol</td><td></td><td>86.58***</td><td>62.75***</td><td>85.79***</td><td>84.63</td></tr><tr><td>Wensemble</td><td></td><td>86.06***</td><td>55.37</td><td>83.75**</td><td>84.11</td></tr><tr><td></td><td></td><td>87.00***</td><td>64.15***</td><td>85.09***</td><td>84.91*</td></tr></table>",
|
| 657 |
+
"bbox": [
|
| 658 |
+
232,
|
| 659 |
+
179,
|
| 660 |
+
764,
|
| 661 |
+
441
|
| 662 |
+
],
|
| 663 |
+
"page_idx": 6
|
| 664 |
+
},
|
| 665 |
+
{
|
| 666 |
+
"type": "table",
|
| 667 |
+
"img_path": "images/e20ac1e59597a5e5038176eea8b69eb3abf7b37ae4705bfdf847864dc1823386.jpg",
|
| 668 |
+
"table_caption": [
|
| 669 |
+
"Table 2: Classification results for different output layer designs in large-scale image recognition and transfer learning. $^ +$ denotes fine-tuning from ImageNet. See Table 1 for other symbols. "
|
| 670 |
+
],
|
| 671 |
+
"table_footnote": [],
|
| 672 |
+
"table_body": "<table><tr><td></td><td>C100</td><td>IN-top1</td><td>IN-top5</td><td>CUB-200+</td><td>Cars-196+</td><td>Food-101+</td></tr><tr><td>Wtrained</td><td>77.75</td><td>76.36</td><td>93.12</td><td>80.91</td><td>91.73</td><td>87.32</td></tr><tr><td>Wscaled</td><td>79.65*</td><td>76.08</td><td>92.84</td><td>78.68t</td><td>90.91t</td><td>87.21</td></tr><tr><td>Wrandom</td><td>78.91*</td><td>76.08</td><td>93.15</td><td>80.89</td><td>91.72</td><td>87.29</td></tr><tr><td>Wsparse</td><td>79.46*</td><td>75.32tt</td><td>92.36ttt</td><td>80.38</td><td>92.07</td><td>87.31</td></tr><tr><td>W1to1</td><td>79.07*</td><td>76.53</td><td>93.32</td><td>81.79</td><td>91.87</td><td>87.31</td></tr><tr><td>Wensemble</td><td>80.38***</td><td>76.62</td><td>93.46*</td><td>82.22*</td><td>92.77*</td><td>87.76</td></tr></table>",
|
| 673 |
+
"bbox": [
|
| 674 |
+
197,
|
| 675 |
+
489,
|
| 676 |
+
797,
|
| 677 |
+
606
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 6
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "213 5.3 Use Case: Medical imaging ",
|
| 684 |
+
"text_level": 1,
|
| 685 |
+
"bbox": [
|
| 686 |
+
147,
|
| 687 |
+
631,
|
| 688 |
+
401,
|
| 689 |
+
647
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 6
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "Output layer design is critical in fields such as medical imaging, which presents special challenges to regularization: Datasets tend to be small, imbalanced, abnormalities might fill only a few pixels of the image, and appearances between classes are often similar. In addition, transfer learning with IN weights is either inaccessible due to architectural differences (e.g. image segmentation, 3D Magnetic Resonance Imaging) or less effective due to large domain differences. This is first illustrated on the APTOS Kaggle challenge dataset (3662 images, 193-1805 img/class) [20], with the goal of detecting diabetic retinopathy severities in retinal fundus images. We use the public training dataset to train a multi-class classifier and perform 5-fold cross-validation. Table 3 shows the results. We consistently get better performance with regularization and reduce the gap to a pre-trained network. Furthermore, an additional experiment in the appendix indicates that the standard output layer is biased towards the prevalent class, which is inherently remedied through randomization. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
166,
|
| 698 |
+
656,
|
| 699 |
+
825,
|
| 700 |
+
808
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "225 We provide further evidence that the proposed layer designs positively affect tasks other than \n226 classification. We learn a U-Net [35] for binary semantic slice-based segmentation of Computed \n227 Tomography scans of livers comparing a standard 1x1 conv output layer with 64 parameters to both a \n228 fixed randomized and an ensemble layer. Due to the limited number of parameters, we omit $W ^ { s c a l e }$ \n229 and $W ^ { s p a r s e }$ here. Different to classification, the output of a U-Net itself can be interpreted as a 1-to-1 \n230 layer. One can still build an ensemble by treating each output channel as a head. Both $W ^ { r a n d o m }$ and \n231 W ensemble $H = 1 0$ ) are then applied to the CHAOS [21] and SLIVER [47] datasets. For CHAOS, ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
140,
|
| 709 |
+
814,
|
| 710 |
+
825,
|
| 711 |
+
912
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "table",
|
| 717 |
+
"img_path": "images/6e24e4fd1f52c2f93f88ac7dc28257b8bb8b6632248ec19d8dc5831115f0d98f.jpg",
|
| 718 |
+
"table_caption": [
|
| 719 |
+
"Table 3: Quadratic weighted kappa and accuracy (with significance) for different output layers in ResNet-50 for the APTOS dataset. $^ +$ denotes fine-tuning from IN. See Table 1 for other symbols. "
|
| 720 |
+
],
|
| 721 |
+
"table_footnote": [],
|
| 722 |
+
"table_body": "<table><tr><td></td><td>Kappa</td><td>Acc.</td></tr><tr><td>Wtrained</td><td>0.816</td><td>77.44</td></tr><tr><td>W scaled</td><td>0.818</td><td>78.38</td></tr><tr><td>Wrandom</td><td>0.848</td><td>79.32*</td></tr><tr><td>Wsparse</td><td>0.840</td><td>79.60*</td></tr><tr><td>Wltol</td><td>0.856</td><td>80.08*</td></tr><tr><td>Wensemble</td><td>0.866</td><td>80.78**</td></tr><tr><td>Wtrained+</td><td>0.909</td><td>85.02</td></tr><tr><td>W sparse+</td><td>0.910</td><td>85.17</td></tr><tr><td>Wensemble+</td><td>0.912</td><td>85.56</td></tr></table>",
|
| 723 |
+
"bbox": [
|
| 724 |
+
178,
|
| 725 |
+
165,
|
| 726 |
+
426,
|
| 727 |
+
334
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 7
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "table",
|
| 733 |
+
"img_path": "images/0b833a667fe5ec07eeabbbc6ea05f3ff97182307088fa791c8ded2ba404f0856.jpg",
|
| 734 |
+
"table_caption": [
|
| 735 |
+
"Table 4: Jaccard coefficients in segmentation "
|
| 736 |
+
],
|
| 737 |
+
"table_footnote": [],
|
| 738 |
+
"table_body": "<table><tr><td></td><td>CHAOS</td><td>SLIVER</td></tr><tr><td>Wtrained</td><td>0.77</td><td>0.83</td></tr><tr><td>Wrandom</td><td>0.80</td><td>0.85</td></tr><tr><td>Wensemble</td><td>0.78</td><td>0.86</td></tr></table>",
|
| 739 |
+
"bbox": [
|
| 740 |
+
511,
|
| 741 |
+
109,
|
| 742 |
+
758,
|
| 743 |
+
185
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 7
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "table",
|
| 749 |
+
"img_path": "images/fe81b089d45e3d1993d9285f5dcef7b0d2f2b0b06193b02857defcc12b24812d.jpg",
|
| 750 |
+
"table_caption": [
|
| 751 |
+
"Table 5: Regularization comparison "
|
| 752 |
+
],
|
| 753 |
+
"table_footnote": [],
|
| 754 |
+
"table_body": "<table><tr><td></td><td>STL</td><td>CUB</td><td>CUB+</td><td>Cars</td></tr><tr><td>Dropout [42]</td><td>82.73</td><td>63.20</td><td>80.26</td><td>83.98</td></tr><tr><td>Dropconn. [50]</td><td>86.15</td><td>61.48</td><td>80.41</td><td>85.06</td></tr><tr><td>Add. Noise [10]</td><td>82.51</td><td>52.74</td><td>80.91</td><td>76.77</td></tr><tr><td>Wtrained</td><td>81.36</td><td>57.18</td><td>80.91</td><td>81.20</td></tr><tr><td>Wsparse</td><td>87.23</td><td>66.27</td><td>80.38</td><td>85.47</td></tr><tr><td>Wensemble</td><td>87.94</td><td>62.98</td><td>82.22</td><td>85.76</td></tr></table>",
|
| 755 |
+
"bbox": [
|
| 756 |
+
446,
|
| 757 |
+
212,
|
| 758 |
+
823,
|
| 759 |
+
334
|
| 760 |
+
],
|
| 761 |
+
"page_idx": 7
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"type": "text",
|
| 765 |
+
"text": "we train on 15 randomly selected patients (2155 slices) and evaluate on the remaining 5 (719 slices). We then test for generalization by training on all 20 patients from CHAOS and evaluating on the external SLIVER dataset consisting of 20 patients (4159 slices). Table 4 shows improved results in both settings. ",
|
| 766 |
+
"bbox": [
|
| 767 |
+
161,
|
| 768 |
+
361,
|
| 769 |
+
825,
|
| 770 |
+
416
|
| 771 |
+
],
|
| 772 |
+
"page_idx": 7
|
| 773 |
+
},
|
| 774 |
+
{
|
| 775 |
+
"type": "text",
|
| 776 |
+
"text": "5.4 Other regularization techniques ",
|
| 777 |
+
"text_level": 1,
|
| 778 |
+
"bbox": [
|
| 779 |
+
171,
|
| 780 |
+
433,
|
| 781 |
+
434,
|
| 782 |
+
446
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 7
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "Table 5 compares our most competitive methods to other popular regularizers when applied to a standard output layer. Nodes/connections in dropout/dropconnect are both removed with $p = 0 . 7$ , and the noise layer adds a Gaussian with $\\mu = 0$ and $\\sigma = 0 . 1$ before applying the fc layer. In all cases, our variants perform better. Whereas noise does not benefit training here, dropout/-connect is supporting regularization. However, both of the latter methods come with two main disadvantages. First, they add complexity by changing states in each iteration and having different behavior during training and inference. Second, hyperparameter tuning is necessary, while our layers are either hyperparameter-free or stable to them. See the ablation study in Sect. 5.7 for evidence. ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
173,
|
| 791 |
+
457,
|
| 792 |
+
825,
|
| 793 |
+
568
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 7
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "5.5 Beyond output layers - block scaling and randomization ",
|
| 800 |
+
"text_level": 1,
|
| 801 |
+
"bbox": [
|
| 802 |
+
171,
|
| 803 |
+
583,
|
| 804 |
+
599,
|
| 805 |
+
598
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 7
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Activation scaling and randomization are techniques applicable to any layer and increase regularization further. This is demonstrated for ResNet-50 and DenseNet-169 in Table 1. Both architectures consist of multiple blocks, each holding groups of conv layer, batch normalization (BN) and activation function. For $W ^ { r a n d o m }$ block, all layers of the last block and the output layer are kept in their initialized state during training. Similarly, in $W ^ { s c a l e d }$ block, activations of all layer groups in the last block are scaled during training. In ResNet-50, block scaling outperforms output layer scaling in $3 / 4$ datasets by up to $3 \\%$ points, and block randomization increases performance in 3/4 datasets by up to $6 \\%$ points compared to output layer randomization. In DenseNet-169, block scaling outperforms output layer scaling in 2/4 datasets by up to $2 \\%$ points, and block randomization increases performance in 2/4 datasets by up to $4 \\%$ points compared to output layer randomization. Only in Food-101 and DenseNet, block randomization performs significantly worse than baseline because regularization is too strong leading to underfitting (tr $a i n l o s s = 0 . 4 7$ compared to 0.02 in $W ^ { r a n d o m }$ ). ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
173,
|
| 814 |
+
608,
|
| 815 |
+
825,
|
| 816 |
+
773
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 7
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "5.6 Computational efficiency ",
|
| 823 |
+
"text_level": 1,
|
| 824 |
+
"bbox": [
|
| 825 |
+
174,
|
| 826 |
+
790,
|
| 827 |
+
387,
|
| 828 |
+
805
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 7
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "The design of the head of deep CNNs has a great impact on computational efficiency. Standard output layers alone can contain a large amount of parameters, as CNNs typically hold more channels as they get deeper and the number of classes can become large. In ImageNet and a ResNet-50, for example, the output layer alone generates over 2 million parameters, which are saved in $W ^ { 1 t o 1 }$ and $W ^ { e n s e m b l e }$ . This problem compounds when using multiple fc layers. In a VGG-16, for instance, 3 fc layers are employed after the last conv layer. As Table 6 shows, omitting all fc layers saves up to $90 \\%$ in parameters, a considerable amount of memory, and time for a forward/backward pass while ",
|
| 835 |
+
"bbox": [
|
| 836 |
+
173,
|
| 837 |
+
814,
|
| 838 |
+
825,
|
| 839 |
+
911
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 7
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "table",
|
| 845 |
+
"img_path": "images/207951169f42b9b46861838692ebb93530d5aa4a96b4457463d196815c477319.jpg",
|
| 846 |
+
"table_caption": [
|
| 847 |
+
"Table 6: Computational efficiency comparison in CUB-200 highlighting that the number of trainable parameters can often be reduced while accuracy is improved. $^ +$ denotes fine-tuning from ImageNet. "
|
| 848 |
+
],
|
| 849 |
+
"table_footnote": [],
|
| 850 |
+
"table_body": "<table><tr><td>Architecture</td><td>#Params in M.</td><td>Mem.[GB]</td><td>GFLOPS</td><td>Time [ms/it.]</td><td>Accuracy</td></tr><tr><td>VGG16 Wtrained+</td><td>135.1</td><td>7.5</td><td>31.1</td><td>114</td><td>78.68</td></tr><tr><td>VGG16 W1to1+</td><td>13.5</td><td>5.9</td><td>30.4</td><td>106</td><td>79.27</td></tr><tr><td>VGG16 Wensemble+</td><td>14.7</td><td>5.9</td><td>30.8</td><td>106</td><td>81.15**</td></tr><tr><td>Res50 Wtrained</td><td>23.9</td><td>5.1</td><td>8.2</td><td>71</td><td>57.18</td></tr><tr><td> Res50 Wrandom block</td><td>8.5</td><td>5.0</td><td>8.2</td><td>67</td><td>67.21***</td></tr></table>",
|
| 851 |
+
"bbox": [
|
| 852 |
+
174,
|
| 853 |
+
122,
|
| 854 |
+
821,
|
| 855 |
+
234
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 8
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "image",
|
| 861 |
+
"img_path": "images/fe7727447bdb0dffda41c5653723499e8d22299b6bfed4abf9900ce522c38049.jpg",
|
| 862 |
+
"image_caption": [
|
| 863 |
+
"Figure 6: Ablation study showing stability and consistency of our output layer designs "
|
| 864 |
+
],
|
| 865 |
+
"image_footnote": [],
|
| 866 |
+
"bbox": [
|
| 867 |
+
173,
|
| 868 |
+
257,
|
| 869 |
+
825,
|
| 870 |
+
367
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 8
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "266 increasing accuracy. If a ResNet-50 is used, randomization of the last conv block next to the output \n267 layer yields savings of about $65 \\%$ in trainable parameters while increasing accuracy by $10 \\%$ points. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
148,
|
| 879 |
+
428,
|
| 880 |
+
826,
|
| 881 |
+
457
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 8
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "268 5.7 Ablation study ",
|
| 888 |
+
"text_level": 1,
|
| 889 |
+
"bbox": [
|
| 890 |
+
147,
|
| 891 |
+
483,
|
| 892 |
+
313,
|
| 893 |
+
498
|
| 894 |
+
],
|
| 895 |
+
"page_idx": 8
|
| 896 |
+
},
|
| 897 |
+
{
|
| 898 |
+
"type": "text",
|
| 899 |
+
"text": "269 Note that $W ^ { r a n d o m }$ and $W ^ { 1 t o 1 }$ are hyperparameter-free compared to other regularizers such as \n270 dropout/-connect, thus saving the cost of tuning them. Although other layer variants possess hyperpa \n271 rameters, we show in Fig. 6 for the ResNet backbone that they are stable (no large jumps in vicinity) \n272 and consistent (tend to monotonicity w.r.t. performance). In $W ^ { s p a r s e }$ , the maximum accuracy for \n273 both datasets is at $q = 0 . 9 9$ (20 nodes per class) and drops only slightly for $q = 0 . 9 9 5$ . Similarly, \n274 downscaling in $W ^ { s c a l e }$ improves performance at a small cost if the optimum is not hit. Also, more \n275 heads in $W ^ { \\bar { e } n s e m b l e }$ tend to increase performance. What is the result of adding more heads than \n276 given by the constraint $N = K H ?$ If $N < K H$ , which is the case for CUB-200 and $H > 1 0$ , we \n277 add an additional 1x1 conv layer, BN and ReLU with $K H$ nodes to adjust for the missing channels. \n278 Although this leads to a considerable increase in parameters ( $. N K H$ for the conv layer), it helps with \n279 generalization, contradicting the common belief that overparameterization leads to overfitting [48]. \n280 In contrast, dropout is not stable or consistent. With a dropout rate of 0.9, the network fails to train \n281 in both datasets. Furthermore, the optimum for CUB lies at 0.8, the same hyperparameter choice in \n282 STL would result in worse performance than baseline. ",
|
| 900 |
+
"bbox": [
|
| 901 |
+
140,
|
| 902 |
+
511,
|
| 903 |
+
826,
|
| 904 |
+
707
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 8
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "283 6 Conclusion ",
|
| 911 |
+
"text_level": 1,
|
| 912 |
+
"bbox": [
|
| 913 |
+
143,
|
| 914 |
+
736,
|
| 915 |
+
299,
|
| 916 |
+
752
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 8
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "284 In this work, we introduced neuron dependency and expressivity as factors contributing to overfitting. \n285 Then, different output layers were defined to optimize both and showed improved regularization in \n286 various settings while being efficient and robust to hyperparameters. Although these layers are simple, \n287 they have high practical relevance due to the importance of regularization and the ubiquity of output \n288 layers in deep nets. In addition to their application, they may also be useful as primitives in future \n289 (automatically created) architectures. Although improving regularization, we note that optimizing \n290 for neuron dependencies/expressivity does not solve overfitting. For example, an unknown or noisy \n291 instance may result in reduced activations in the majority of nodes in the penultimate layer. Finally, \n292 we speculate that overfitting may not just be a function of the number of parameters in the encoder. \n293 Instead, it might be more important how the extracted features are combined in the output layer. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
140,
|
| 925 |
+
772,
|
| 926 |
+
825,
|
| 927 |
+
911
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 8
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "References \n[1] Antreas Antoniou, Amos Storkey, and Harrison Edwards. Data augmentation generative adversarial networks. arXiv preprint arXiv:1711.04340, 2017. \n[2] Devansh Arpit, Stanisław Jastrz˛ebski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In International Conference on Machine Learning, pages 233–242. PMLR, 2017. \n[3] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. \n[4] David Baehrens, Timon Schroeter, Stefan Harmeling, Motoaki Kawanabe, Katja Hansen, and Klaus-Robert Müller. How to explain individual classification decisions. The Journal of Machine Learning Research, 11:1803–1831, 2010. \n[5] Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 – mining discriminative components with random forests. In European Conference on Computer Vision, 2014. \n[6] Rich Caruana. Multitask learning. Machine learning, 28(1):41–75, 1997. \n[7] Rich Caruana, Steve Lawrence, and Lee Giles. Overfitting in neural nets: Backpropagation, conjugate gradient, and early stopping. Advances in neural information processing systems, pages 402–408, 2001. \n[8] Soravit Changpinyo, Mark Sandler, and Andrey Zhmoginov. The power of sparsity in convolutional neural networks. arXiv preprint arXiv:1702.06257, 2017. \n[9] Adam Coates, Andrew $\\mathrm { N g }$ , and Honglak Lee. An analysis of single-layer networks in unsupervised feature learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pages 215–223. JMLR Workshop and Conference Proceedings, 2011. \n[10] Terrance DeVries and Graham W Taylor. Dataset augmentation in feature space. arXiv preprint arXiv:1702.05538, 2017. \n[11] Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. arXiv preprint arXiv:1803.03635, 2018. \n[12] Stuart Geman, Elie Bienenstock, and René Doursat. Neural networks and the bias/variance dilemma. Neural computation, 4(1):1–58, 1992. \n[13] Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pages 315–323. JMLR Workshop and Conference Proceedings, 2011. \n[14] Moritz Hardt and Tengyu Ma. Identity matters in deep learning. arXiv preprint arXiv:1611.04231, 2016. \n[15] 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. \n[16] Elad Hoffer, Itay Hubara, and Daniel Soudry. Fix your classifier: the marginal value of training the last weight layer. arXiv preprint arXiv:1801.04540, 2018. \n[17] Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4700–4708, 2017. \n[18] Guang-Bin Huang, Qin-Yu Zhu, and Chee-Kheong Siew. Extreme learning machine: theory and applications. Neurocomputing, 70(1-3):489–501, 2006. \n[19] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International conference on machine learning, pages 448–456. PMLR, 2015. \n[20] Kaggle. Aptos 2019 blindness detection, 2019. URL https://www.kaggle.com/c/ aptos2019-blindness-detection. \n[21] A Emre Kavur, N Sinem Gezer, Mustafa Barı¸s, Sinem Aslan, Pierre-Henri Conze, Vladimir Groza, Duc Duy Pham, Soumick Chatterjee, Philipp Ernst, Sava¸s Özkan, et al. Chaos challengecombined (ct-mr) healthy abdominal organ segmentation. Medical Image Analysis, 69:101950, 2021. \n[22] Jonathan Krause, Michael Stark, Jia Deng, and Li Fei-Fei. 3d object representations for fine-grained categorization. In 4th International IEEE Workshop on 3D Representation and Recognition (3dRR-13), Sydney, Australia, 2013. \n[23] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009. \n[24] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25:1097– 1105, 2012. \n[25] Jan Kukacka, Vladimir Golkov, and Daniel Cremers. Regularization for deep learning: A ˇ taxonomy. arXiv preprint arXiv:1710.10686, 2017. \n[26] Yann A LeCun, Léon Bottou, Genevieve B Orr, and Klaus-Robert Müller. Efficient backprop. In Neural networks: Tricks of the trade, pages 9–48. Springer, 2012. \n[27] Namhoon Lee, Thalaiyasingam Ajanthan, and Philip HS Torr. Snip: Single-shot network pruning based on connection sensitivity. arXiv preprint arXiv:1810.02340, 2018. \n[28] Min Lin, Qiang Chen, and Shuicheng Yan. Network in network. arXiv preprint arXiv:1312.4400, 2013. \n[29] Baoyuan Liu, Min Wang, Hassan Foroosh, Marshall Tappen, and Marianna Pensky. Sparse convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 806–814, 2015. \n[30] Eran Malach, Gilad Yehudai, Shai Shalev-Schwartz, and Ohad Shamir. Proving the lottery ticket hypothesis: Pruning is all you need. In International Conference on Machine Learning, pages 6682–6691. PMLR, 2020. \n[31] Federico Pernici, Matteo Bruni, Claudio Baecchi, and Alberto Del Bimbo. Fix your features: Stationary and maximally discriminative embeddings using regular polytope (fixed classifier) networks. arXiv preprint arXiv:1902.10441, 2019. \n[32] David C Plaut, Steven J Nowlan, and Geoffrey E Hinton. Experiments on learning by back propagation. 1986. \n[33] Zhongchao Qian. Deep Convolutional Networks without Learning the Classifier Layer. PhD thesis, Rochester Institute of Technology, 2020. \n[34] Prajit Ramachandran, Niki Parmar, Ashish Vaswani, Irwan Bello, Anselm Levskaya, and Jonathon Shlens. Stand-alone self-attention in vision models. arXiv preprint arXiv:1906.05909, 2019. \n[35] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pages 234–241. Springer, 2015. \n[36] Amir Rosenfeld and John K Tsotsos. Intriguing properties of randomly weighted networks: Generalizing while learning next to nothing. In 2019 16th Conference on Computer and Robot Vision (CRV), pages 9–16. IEEE, 2019. \n[37] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision (IJCV), 115(3):211–252, 2015. doi: 10.1007/s11263-015-0816-y. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
166,
|
| 936 |
+
71,
|
| 937 |
+
828,
|
| 938 |
+
916
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 9
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "",
|
| 945 |
+
"bbox": [
|
| 946 |
+
158,
|
| 947 |
+
69,
|
| 948 |
+
828,
|
| 949 |
+
925
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 10
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "[38] Holger Schwenk and Yoshua Bengio. Boosting neural networks. Neural computation, 12(8): 1869–1887, 2000. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
168,
|
| 958 |
+
90,
|
| 959 |
+
825,
|
| 960 |
+
119
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 11
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "[39] Gabi Shalev, Gal-Lev Shalev, and Joseph Keshet. Redesigning the classification layer by randomizing the class representation vectors. arXiv preprint arXiv:2011.08704, 2020. \n[40] Connor Shorten and Taghi M Khoshgoftaar. A survey on image data augmentation for deep learning. Journal of Big Data, 6(1):1–48, 2019. \n[41] Jost Tobias Springenberg, Alexey Dosovitskiy, Thomas Brox, and Martin Riedmiller. Striving for simplicity: The all convolutional net. arXiv preprint arXiv:1412.6806, 2014. \n[42] 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. \n[43] Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going deeper with convolutions. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1–9, 2015. \n[44] Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning, pages 6105–6114. PMLR, 2019. \n[45] Hidenori Tanaka, Daniel Kunin, Daniel LK Yamins, and Surya Ganguli. Pruning neural networks without any data by iteratively conserving synaptic flow. arXiv preprint arXiv:2006.05467, 2020. \n[46] Robert Tibshirani. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society: Series B (Methodological), 58(1):267–288, 1996. \n[47] Bram Van Ginneken, Tobias Heimann, and Martin Styner. 3d segmentation in the clinic: A grand challenge. In MICCAI Workshop on 3D Segmentation in the Clinic: A Grand Challenge, volume 1, pages 7–15, 2007. \n[48] N Vapnik Vladimir and V Vapnik. Statistical learning theory. Xu JH and Zhang XG. translation. Beijing: Publishing House of Electronics Industry, 2O04, 1998. \n[49] C. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie. The Caltech-UCSD Birds-200-2011 Dataset. Technical Report CNS-TR-2011-001, California Institute of Technology, 2011. \n[50] Li Wan, Matthew Zeiler, Sixin Zhang, Yann Le Cun, and Rob Fergus. Regularization of neural networks using dropconnect. In International conference on machine learning, pages 1058–1066. PMLR, 2013. \n[51] Chaoqi Wang, Guodong Zhang, and Roger Grosse. Picking winning tickets before training by preserving gradient flow. arXiv preprint arXiv:2002.07376, 2020. \n[52] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. \n[53] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Michael C Mozer, and Yoram Singer. Identity crisis: Memorization and generalization under extreme overparameterization. arXiv preprint arXiv:1902.04698, 2019. ",
|
| 967 |
+
"bbox": [
|
| 968 |
+
169,
|
| 969 |
+
97,
|
| 970 |
+
828,
|
| 971 |
+
784
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 11
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "1. For all authors... ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
214,
|
| 980 |
+
118,
|
| 981 |
+
339,
|
| 982 |
+
132
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 12
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] See Sect. 3, 5 and the appendix. \n(b) Did you describe the limitations of your work? [Yes] See Sect. 4.5 $N = K$ constraint), Sect. 5.2 (some layers are not optimal for large-scale datasets and fine-tuning), Sect. 5.5 (strong regularization may lead to underfitting), and Sect. 6 (neuron dependency/expressivity are factors of overfitting, but this does not constitute all factors). \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] Focus is on architecture and technical, no particular application affecting society is targeted. Note that medical ML applications should be thoroughly evaluated, e.g., for bias and generalizability, before being used in practice. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
236,
|
| 991 |
+
138,
|
| 992 |
+
826,
|
| 993 |
+
315
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 12
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "2. If you are including theoretical results... ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
215,
|
| 1002 |
+
320,
|
| 1003 |
+
493,
|
| 1004 |
+
335
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 12
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [N/A] Only empirical results are included. \n(b) Did you include complete proofs of all theoretical results? [N/A] Only empirical results are included. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
238,
|
| 1013 |
+
340,
|
| 1014 |
+
825,
|
| 1015 |
+
400
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 12
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "3. If you ran experiments... ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
214,
|
| 1024 |
+
406,
|
| 1025 |
+
393,
|
| 1026 |
+
421
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 12
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"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] Code implementing the shown layer types and dataset descriptions are given in the supplemental material/appendix. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] We report the corresponding splits if not defined by the datasets themselves. Hyperparameters and information about the training are partly provided in the main text (e.g. architecture type, layer hyperparameters) and are detailed further in the appendix. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We indicate statistical significance for our classification results. \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 have not tracked CO2 due to missing awareness but some details about the setup are provided in the appendix. We plan to track CO2 in subsequent works. ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
236,
|
| 1035 |
+
426,
|
| 1036 |
+
825,
|
| 1037 |
+
657
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 12
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
215,
|
| 1046 |
+
664,
|
| 1047 |
+
823,
|
| 1048 |
+
679
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 12
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See Sect. 5. This is done after first mentioning the corresponding datasets in the main text. \n(b) Did you mention the license of the assets? [Yes] We mention asset licenses in the appendix. \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We provide code as supplemental material. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] The datasets in Sect. 5.3 are open source from past challenges and contain de-identified data to the best of our knowledge. Further details on data collection are provided in the corresponding references. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] All datasets are commonly used for benchmarks and/or do not contain obviously offensive content. However, ImageNet likely contains images showing persons. ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
238,
|
| 1057 |
+
685,
|
| 1058 |
+
825,
|
| 1059 |
+
891
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 12
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
212,
|
| 1068 |
+
897,
|
| 1069 |
+
705,
|
| 1070 |
+
911
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 12
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] No crowdsourcing or research with human subjects has been conducted. \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] See above. \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] See above. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
161,
|
| 1079 |
+
90,
|
| 1080 |
+
826,
|
| 1081 |
+
195
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 13
|
| 1084 |
+
}
|
| 1085 |
+
]
|
parse/train/mSAKhLYLSsl/mSAKhLYLSsl_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/r1lfF2NYvH/r1lfF2NYvH.md
ADDED
|
@@ -0,0 +1,374 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# INFOGRAPH: UNSUPERVISED AND SEMI-SUPERVISEDGRAPH-LEVEL REPRESENTATION LEARNING VIA MU-TUAL INFORMATION MAXIMIZATION
|
| 2 |
+
|
| 3 |
+
Fan-Yun $\mathbf { S u n ^ { 1 , 2 } }$ , Jordan Hoffmann2,4, Vikas Verma $^ { 2 , 3 }$ , Jian Tang2,5,6
|
| 4 |
+
|
| 5 |
+
1National Taiwan University,
|
| 6 |
+
2Mila-Quebec Institute for Learning Algorithms, Canada
|
| 7 |
+
3Aalto University, Finland
|
| 8 |
+
4Harvard University, USA
|
| 9 |
+
5HEC Montreal, Canada
|
| 10 |
+
6CIFAR AI Research Chair
|
| 11 |
+
|
| 12 |
+
b04902045@ntu.edu.tw jhoffmann@g.harvard.edu vikas.verma@aalto.fi jian.tang@hec.ca
|
| 13 |
+
|
| 14 |
+
# ABSTRACT
|
| 15 |
+
|
| 16 |
+
This paper studies learning the representations of whole graphs in both unsupervised and semi-supervised scenarios. Graph-level representations are critical in a variety of real-world applications such as predicting the properties of molecules and community analysis in social networks. Traditional graph kernel based methods are simple, yet effective for obtaining fixed-length representations for graphs but they suffer from poor generalization due to hand-crafted designs. There are also some recent methods based on language models (e.g. graph2vec) but they tend to only consider certain substructures (e.g. subtrees) as graph representatives. Inspired by recent progress of unsupervised representation learning, in this paper we proposed a novel method called InfoGraph for learning graph-level representations. We maximize the mutual information between the graph-level representation and the representations of substructures of different scales (e.g., nodes, edges, triangles). By doing so, the graph-level representations encode aspects of the data that are shared across different scales of substructures. Furthermore, we further propose InfoGraph\*, an extension of InfoGraph for semi-supervised scenarios. InfoGraph\* maximizes the mutual information between unsupervised graph representations learned by InfoGraph and the representations learned by existing supervised methods. As a result, the supervised encoder learns from unlabeled data while preserving the latent semantic space favored by the current supervised task. Experimental results on the tasks of graph classification and molecular property prediction show that InfoGraph is superior to state-of-the-art baselines and InfoGraph\* can achieve performance competitive with state-of-the-art semi-supervised models.
|
| 17 |
+
|
| 18 |
+
# 1 INTRODUCTION
|
| 19 |
+
|
| 20 |
+
Graphs have proven to be an effective way to represent very diverse types of data including social networks Newman & Girvan (2004), biological reaction networksPavlopoulos et al. (2011), proteinprotein interactions Krogan et al. (2006), the quantum mechanical properties of individual molecules Xie & Grossman (2018); Jin et al. (2018), and many more. Graphs provide explicit information about the coupling between individual units in a larger part along with a well defined framework for assigning properties to the nodes and the edges connecting them. There has been a significant amount of previous work done studying many aspects of graphs including link prediction Gao et al. (2011); Wang et al. (2011) and node prediction Blei et al. (2003). Due to its flexibility, graph-like data structures can capture rich information which is critical in many applications.
|
| 21 |
+
|
| 22 |
+
At the lowest level, much work has been done on learning node representations– low-dimensional vector embeddings of individual nodes Perozzi et al. (2014); Tang et al. (2015); Grover & Leskovec (2016). Another field that has attracted a large amount of attention recently is learning representations of entire graphs. Such a problem is critical in a variety of applications such as predicting the properties of molecular graphs in both drug discovery and material science Chen et al. (2019b;a). There has been some recent progress based on neural message passing algorithms Gilmer et al. (2017); Xie & Grossman (2018), which learn the representations of entire graphs in a supervised way. These methods have been shown achieving state-of-the-art results on a variety of different prediction tasks Kipf et al. (2018); Xie & Grossman (2018); Gilmer et al. (2017); Chen et al. (2019a).
|
| 23 |
+
|
| 24 |
+
However, one of the most difficult obstacles for supervised learning on graphs is that it is often very costly or even impossible to collect annotated labels. For example, in the chemical domain labels are typically produced with a costly Density Functional Theory (DFT) calculation. One option is to use semi-supervised methods which combine a small handful of labels with a larger, unlabeled, dataset. In real-world applications, partially labeled datasets are common, making tools that are able to efficiently utilize the present labels particularly useful.
|
| 25 |
+
|
| 26 |
+
Coming up with methods that are able to learn unsupervised representations of an entire graph, as opposed to nodes, is an important step in working with unlabeled or partially labeled graphs Narayanan et al. (2017); Hu et al. (2019); Nguyen et al. (2017). For example, there exists work that explores pre-training techniques for graphs to improve generalization Hu et al. (2019). Another common approach to unsupervised representation learning on graphs is through graph kernels Pržulj (2007); Kashima et al. (2003); Orsini et al. (2015). However, many of these methods do not provide explicit graph embeddings which many machine learning algorithms operate on. Furthermore, the handcrafted features of graph kernels lead to high dimensional, sparse or non-smooth representations and thus result in poor generalization performance, especially on large datasets Narayanan et al. (2017).
|
| 27 |
+
|
| 28 |
+
Unsupervised learning of latent representations is also an important problem in other domains, such as image generation Kingma & Welling (2013); Kim & Mnih (2018) and natural language processing Mikolov et al. (2013a). A recent work introduced Deep Infomax, a method that maximizes the mutual information content between the input data and the learned representation Hjelm et al. (2018). This method outperforms other methods on many unsupervised learning tasks. Motivated by Deep InfoMax Hjelm et al. (2018), we aim to use mutual information maximization for unsupervised representation learning on the entire graph. Specifically, our objective is to maximize the mutual information between the representations of entire graphs and the representations of substructures of different granularity. We name our model InfoGraph.
|
| 29 |
+
|
| 30 |
+
We also propose a semi-supervised learning model which we name InfoGraph\*. We employ a student-teacher framework similar to Mean-Teacher method Tarvainen & Valpola (2017). We maximize the mutual information between intermediate representations of the two models so that the student model learns from the teacher model. The student model is trained on the labeled data using a supervised objective function while the teacher model is trained on unlabeled data with InfoGraph. Using InfoGraph\*, we achieve performance competitive with state-of-the-art methods on molecular property prediction.
|
| 31 |
+
|
| 32 |
+
We summarize our contributions as follows:
|
| 33 |
+
|
| 34 |
+
• We propose InfoGraph, an unsupervised graph representation learning method based on Deep InfoMax (DIM) Hjelm et al. (2018). • We show that InfoGraph can be extended to semi-supervised prediction tasks on graphs. • We empirically show that InfoGraph surpasses state-of-the-art performance on graph classification tasks with unsupervised learning and obtains performance comparable with state-ofart methods on molecular property prediction tasks using semi-supervised learning.
|
| 35 |
+
|
| 36 |
+
# 2 RELATED WORK
|
| 37 |
+
|
| 38 |
+
Representation learning for graphs has mainly dealt with supervised learning tasks. Recently, however, researchers have proposed algorithms that learn graph-level representations in an unsupervised manner Narayanan et al. (2017); Adhikari et al. (2018).
|
| 39 |
+
|
| 40 |
+
Concurrently to this work, information maximizing graph neural networks (IGNN) was introduced which uses mutual information maximization between edge states and transform parameters to achieve state-of-the-art predictions on a variety of supervised molecule property prediction tasks Chen et al. (2019b). In this work, our focus is on unsupervised and semi-supervised scenarios.
|
| 41 |
+
|
| 42 |
+
Graph Kernels. Constructing graph kernels is a common unsupervised task in learning graph representations. These kernels are typically evaluated on node classification tasks. In graph kernels, a graph $G$ is decomposed into (possibly different) $\{ G _ { s } \}$ sub-structures. The graph kernel $K ( G _ { 1 } , G _ { 2 } )$ is defined based on the frequency of each sub-structure appearing in $G _ { 1 }$ and $G _ { 2 }$ respectively. Namely, $K ( G _ { 1 } , G _ { 2 } ) = \langle f _ { G _ { s _ { 1 } } } , f _ { G _ { s _ { 2 } } } \rangle$ , where $f _ { G _ { s } }$ is the vector containing frequencies of $\{ G _ { s } \}$ sub-structures, and $\langle , \rangle$ is an inner product in an appropriately normalized vector space. Much work has been devoted to deciding which sub-structures are more suitable than others (refer to appendix A.1). Instead of defining hand crafted similarity measures between substructures, InfoGraph adopts a more principled metric – mutual information.
|
| 43 |
+
|
| 44 |
+
Contrastive methods. An important approach for unsupervised representation learning is to train an encoder to be contrastive between representations that capture statistical dependencies of interest and those that do not. For example, a contrastive approach may employ a scoring function, training the encoder to increase the score on “real” input (a.k.a, positive examples) and decrease the score on “fake” input (a.k.a., negative samples). For more detailed discussion, refer to appendix A.2.
|
| 45 |
+
|
| 46 |
+
Deep Graph InfoMax (DGI) Velickovi ˇ c et al. (2018) also belongs to this category, which aims to train ´ a node encoder that maximizes mutual information between node representations and the pooled global graph representation. Although we built upon a similar methodology, our aim is different than theirs as our goal is to obtain embeddings at the whole graph level for unsupervised and semisupervised learning whereas DGI only evaluates node level embeddings. In order to differentiate our method with Deep Graph Infomax (Velickovi ˇ c et al. (2018)), we term our model InfoGraph. ´
|
| 47 |
+
|
| 48 |
+
Semi-supervised Learning. A comprehensive overview of semi-supervised learning (SSL) methods is out of the scope of this paper. We refer readers to Appendix B for a short overview or Zhu et al. (2003); Chapelle et al. (2006); Oliver et al. (2018) for more comprehensive discussions. Here, we discuss a state-of-the-art method applicable for regression tasks – Mean Teacher Tarvainen & Valpola (2017).Mean Teacher adds a loss term which encourages the distance between the original network’s output and the teacher’s output to be small. The teacher’s predictions are made using an exponential moving average of parameters from previous training steps. Inspired by the “studentteacher” framework in Mean Teacher model, our semi-supervised model (InfoGraph\*) deploys two separate encoders but instead of explicitly encouraging the output of the student model to be similar to the teacher model’s output, we enable the student model to learn from the teacher model by maximizing mutual information between intermediate representations learned by two models.
|
| 49 |
+
|
| 50 |
+
# 3 METHODOLOGY
|
| 51 |
+
|
| 52 |
+
Most recent work on graphs focus on supervised learning tasks or learning node representations. However, many graph analytic tasks such as graph classification, regression, and clustering require representing entire graphs as fixed-length feature vectors. Though graph-level representations can be obtained through the node-level representations implicitly, explicitly extracting the graph can be more straightforward and optimal for graph-oriented tasks.
|
| 53 |
+
|
| 54 |
+
Another scenario that is important, yet attracts comparatively less attention in the graph related literature is semi-supervised learning. One of the biggest challenges in prediction tasks in biology Yan et al. (2017); Yang et al. (2014) or molecular machine learning Duvenaud et al. (2015); Gilmer et al. (2017); Jia & Liang (2017) is the extreme scarcity of labeled data. Therefore, semi-supervised learning, in which a large number of unlabeled samples are incorporated with a small number of labeled samples to enhance accuracy of models, will play a key role in these areas.
|
| 55 |
+
|
| 56 |
+
In this section, we first formulate an unsupervised whole graph representation learning problem and a semi-supervised prediction task on graphs. Then, we present our method to learn graph-level representations. Afterwards we present our proposed model for the semi-supervised learning scenario.
|
| 57 |
+
|
| 58 |
+

|
| 59 |
+
Figure 1: Illustration of InfoGraph. N.A. denotes neighborhood aggregation. An input graph is encoded into a feature map by graph convolutions and jumping concatenation. The discriminator takes a (global representation, patch representation) pair as input and decides whether they are from the same graph. InfoGraph uses a batch-wise fashion to generate all possible positive and negative samples. For example, consider the toy example with 2 input graphs in the batch and 7 nodes (or patch representations) in total. For the global representation of the blue graph, there will be 7 input pairs to the discriminator and same for the red graph. Thus, the discriminator will take 14 (global representation, patch representation) pairs as input in this case.
|
| 60 |
+
|
| 61 |
+
# 3.1 PROBLEM DEFINITION
|
| 62 |
+
|
| 63 |
+
Unsupervised Graph Representation Learning. Given a set of graphs $\mathbb { G } = \{ G _ { 1 } , G _ { 2 } , . . . \}$ and a positive integer $\delta$ (the expected embedding size), our goal is to learn a $\delta$ -dimensional distributed representation of every graph $G _ { i } \in \mathbb { G }$ . We denote the number of nodes in $G _ { i }$ as $| G _ { i } |$ . We denote the matrix of representations of all graphs as Φ ∈ R|G|×δ.
|
| 64 |
+
|
| 65 |
+
Semi-supervied Graph Prediction Tasks. Given a set of labeled graphs $\mathbb { G } ^ { L } = \{ G _ { 1 } , \cdot \cdot \cdot , G _ { | \mathbb { G } ^ { L } | } \}$ with corresponding output $\{ o _ { 1 } , \cdots , o _ { | \mathbb { G } ^ { L } | } \}$ , and a set of unlabeled samples $\begin{array} { r l } { \mathbb { G } ^ { U } } & { { } = } \end{array}$ $\{ G _ { | \mathbb { G } ^ { L } | + 1 } , \cdot \cdot \cdot , G _ { | \mathbb { G } ^ { L } | + | \mathbb { G } ^ { U } | } \}$ , our goal is to learn a model that can make predictions for unseen graphs. Note that in most cases $\left| \mathbb { G } ^ { U } \right| \gg \left| \mathbb { G } ^ { L } \right|$ .
|
| 66 |
+
|
| 67 |
+
# 3.2 INFOGRAPH
|
| 68 |
+
|
| 69 |
+
We focus on graph neural networks (GNNs)—a flexible class of embedding architectures which generate node representations by repeated aggregation over local node neighborhoods. The representations of nodes are learned by aggregating the features of their neighborhood nodes, so we refer to these as patch representations. GNNs utilize a READOUT function to summarize all the obtained patch representations into a fixed length graph-level representation.
|
| 70 |
+
|
| 71 |
+
Formally, the $k$ -th layer of a GNN is
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
h _ { v } ^ { ( k ) } = \mathrm { C O M B I N E } ^ { ( k ) } \left( h _ { v } ^ { ( k - 1 ) } , \mathrm { A G G R E G A T E } ^ { ( k ) } \left( \left\{ \left( h _ { v } ^ { ( k - 1 ) } , h _ { u } ^ { ( k - 1 ) } , e _ { u v } \right) : u \in \mathcal { N } ( v ) \right\} \right) \right) ,
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
where $h _ { v } ^ { ( k ) }$ is the feature vector of node $v$ at the $k$ -th iteration/layer (or patch representation centered at node $i$ ), $e _ { u v }$ is the feature vector of the edge between $u$ and $v$ , and $\mathcal { N } ( v )$ are neighborhoods to node v. h(0)v is often initialized as node features. READOUT can be a simple permutation invariant function such as averaging or a more sophisticated graph-level pooling function Ying et al. (2018); Zhang et al. (2018).
|
| 78 |
+
|
| 79 |
+
We seek to obtain graph representations by maximizing the mutual information between graph-level and patch-level representations. By doing so, the graph representations can learn to encode aspects of the data that are shared across all substructures. Assume that we are given a set of training samples $\mathbf { G } : = \{ G _ { j } \in \mathbb { G } \} _ { j = 1 } ^ { N }$ with empirical probability distribution $\mathbb { P }$ on the input space. Let $\phi$ denote the set of parameters of a $K$ -layer graph neural network. After the first $k$ layers of the graph neural network, the input graph will be encoded into a set of patch representations $\{ h _ { i } ^ { ( k ) } \} _ { i = 1 } ^ { N }$ . Next, we summarize feature vectors at all depths of the graph neural network into a single feature vector that captures patch information at different scales centered at every node. Inspired by $\mathrm { X u }$ et al. (2018b), we use
|
| 80 |
+
|
| 81 |
+
concatenation. That is,
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\begin{array} { r } { h _ { \phi } ^ { i } = \mathrm { C O N C A T } ( \{ h _ { i } ^ { ( k ) } \} _ { k = 1 } ^ { K } ) } \\ { H _ { \phi } ( G ) = \mathrm { R E A D O U T } ( \{ h _ { \phi } ^ { i } \} _ { i = 1 } ^ { N } ) } \end{array}
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
where $h _ { \phi } ^ { i }$ is the summarized patch representation centered at node $i$ and $H _ { \phi } ( G )$ is the global representation after applying READOUT. Note that here we slightly abuse the notation of $h$ .
|
| 88 |
+
|
| 89 |
+
We define our mutual information (MI) estimator on global/local pairs, maximizing the estimated MI over the given dataset $\mathbf { G } : = \{ G _ { j } \in \mathbb { G } \} _ { j = 1 } ^ { N }$ :
|
| 90 |
+
|
| 91 |
+
$$
|
| 92 |
+
\hat { \phi } , \hat { \psi } = \underset { \phi , \psi } { \arg \operatorname* { m a x } } \sum _ { G \in \mathbf { G } } \frac { 1 } { | G | } \sum _ { u \in G } I _ { \phi , \psi } ( \vec { h } _ { \phi } ^ { u } ; H _ { \phi } ( G ) ) .
|
| 93 |
+
$$
|
| 94 |
+
|
| 95 |
+
$I _ { \phi , \psi }$ is the mutual information estimator modeled by discriminator $T _ { \psi }$ and parameterized by a neural network with parameters $\psi$ . We use the Jensen-Shannon MI estimator (following the formulation of Nowozin et al. (2016)),
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\begin{array} { r l } & { I _ { \phi , \psi } ( h _ { \phi } ^ { i } ( G ) ; H _ { \phi } ( G ) ) : = } \\ & { \quad \quad \quad \mathbb { E } _ { \mathbb { P } } [ - \mathrm { s p } ( - T _ { \phi , \psi } ( \vec { h } _ { \phi } ^ { i } ( x ) , H _ { \phi } ( x ) ) ) ] - \mathbb { E } _ { \mathbb { P } \times \mathbb { \tilde { P } } } [ \mathrm { s p } ( T _ { \phi , \psi } ( \vec { h } _ { \phi } ^ { i } ( x ^ { \prime } ) , H _ { \phi } ( x ) ) ) ] } \end{array}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where $x$ is an input sample, $x ^ { \prime }$ (negative sample) is an input sampled from $\tilde { \mathbb { P } } = \mathbb { P }$ , a distribution identical to the empirical probability distribution of the input space, and $\operatorname { s p } ( z ) = \log ( 1 + e ^ { z } )$ is the softplus function. In practice, we generate negative samples using all possible combinations of global and local patch representations across all graph instances in a batch.
|
| 102 |
+
|
| 103 |
+
Since $H _ { \phi } ( G )$ is encouraged to have high MI with patches that contain information at all scales, this favours encoding aspects of the data that are shared across patches and aspects that are shared across scales. The algorithm is illustrated in Fig. 1.
|
| 104 |
+
|
| 105 |
+
It should be noted that our model is similar to Deep Graph Infomax (DGI) Velickovi ˇ c et al. (2018), a ´ model proposed for learning unsupervised node embeddings. However, there are important design differences due to the different problems that we are focusing on. First, in DGI they use random sampling to obtain negative samples due to the fact that they are mainly focusing on learning node embeddings on a graph. However, contrastive methods require a large number of negative samples to be competitive Hjelm et al. (2018), thus the use of batch-wise generation of negative samples is crucial as we are trying to learn graph embeddings given many graph instances. Second, the choice of graph convolution encoders is also crucial. We use GIN Xu et al. (2018a) while DGI uses GCN Kipf & Welling (2016) as GIN provides a better inductive bias for graph level applications. Graph neural network designs should be considered carefully so that graph representations can be discriminative towards other graph instances. For example, we use sum over mean for READOUT and that can provide important information regarding the size of the graph.
|
| 106 |
+
|
| 107 |
+
# 3.3 SEMI-SUPERVISED INFOGRAPH
|
| 108 |
+
|
| 109 |
+
Based on the previous unsupervised model, a straightforward way to do semi-supervised property prediction on graphs is to combine the purely supervised loss and the unsupervised objective function which acts as a regularization term. In doing so, the model is trained to predict properties for the labeled dataset while keeping a rich discriminative intermediate representation learned from both the labeled and the unlabeled dataset. That is, we try to minimize the following objective function:
|
| 110 |
+
|
| 111 |
+
$$
|
| 112 |
+
L _ { \mathrm { t o t a l } } = \sum _ { i = 1 } ^ { | \mathbb { G } ^ { L } | } L _ { \mathrm { s u p e r v i s e d } } ( y _ { \phi } ( G _ { i } ) , o _ { i } ) + \lambda \sum _ { j = 1 } ^ { | \mathbb { G } ^ { L } | + | \mathbb { G } ^ { U } | } L _ { \mathrm { u n s u p e r v i s e d } } ( h _ { \phi } ( G _ { j } ) ; H _ { \phi } ( G _ { j } ) )
|
| 113 |
+
$$
|
| 114 |
+
|
| 115 |
+
where ${ \cal L } _ { \mathrm { s u p e r v i s e d } } ( y _ { \phi } ( G _ { i } ) , o _ { i } )$ is defined as the loss function of graph $G _ { i }$ that measures the discrepancy between the classifier output $y _ { \phi } ( G _ { i } )$ and the true output $o _ { i }$ . $\bar { L } _ { \mathrm { u n s u p e r v i s e d } } ( h _ { \phi } ( G _ { j } ) ; H _ { \phi } ( G _ { j } )$ is the unsupervised InfoGraph loss term as defined in eq. equation 4 that can be optimized using both labeled and unlabeled data. The hyper-parameter $\lambda$ controls the relative weight between the purely supervised and the unsupervised loss. The intuition behind this is that the model will benefit from learning a good representation from the large amount of unlabeled data while learning to predict the corresponding supervised label.
|
| 116 |
+
|
| 117 |
+

|
| 118 |
+
Figure 2: Illustration of the semi-supervised version of InfoGraph (InfoGraph\*). There are two separate encoders with the same architecture, one for the supervised task and the other trained using both labeled and unlabeled data with an unsupervised objective (eq. equation 4). We encourage the mutual information of the two representations learned by the two encoders to be high by deploying a discriminator that takes a pair of representation as input and determines whether they are from the same input graph.
|
| 119 |
+
|
| 120 |
+
However, supervised tasks and unsupervised tasks may favor different information or a different semantic space. Simply combining the two loss functions using the same encoder may lead to “negative transfer” 1 (Pan & Yang, 2009; Rosenstein et al., 2005). We propose a simple way to alleviate this problem: we deploy two encoder models: the encoder on the labelled data (supervised encoder) and the encoder on the unlabelled data (unsupervised encoder). For transferring the learned representations from the unsupervised encoder to the supervised encoder, we define a loss term that encourages the representations learned by the two encoders to have high mutual information, at all levels of representations (third term of Eq. 8). Formally, let $\varphi$ denote the set of parameters of another $K$ -layered graph neural network, identical to the one parameterized by $\phi$ , and let $\lambda$ be a tunable hyper-parameter, $H _ { \phi } ^ { k } ( G )$ , $H _ { \varphi } ^ { k } ( G )$ be global encoder representations of the graph $G$ at encoder layer $k$ , then total loss function can be defined as follows:
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
\begin{array} { r l } & { { \cal L } _ { \mathrm { t o t a l } } = \displaystyle \sum _ { i = 1 } ^ { | \mathbb { G } ^ { L } | } { \cal L } _ { \mathrm { s u p e r v i s e d } } ( y _ { \phi } ( G _ { i } ) , o _ { i } ) + \displaystyle \sum _ { j = 1 } ^ { | \mathbb { G } ^ { L } | + | \mathbb { G } ^ { U } | } { \cal L } _ { \mathrm { u n s u p e r v i s e d } } ( h _ { \varphi } ( G _ { j } ) ; H _ { \varphi } ( G _ { j } ) ) } \\ & { ~ - ~ \lambda ~ \displaystyle \sum _ { j = 1 } ^ { | \mathbb { G } ^ { L } | + | \mathbb { G } ^ { U } | } \frac { 1 } { | G _ { j } | } \displaystyle \sum _ { k = 1 } ^ { K } I ( H _ { \phi } ^ { k } ( G _ { j } ) ; H _ { \varphi } ^ { k } ( G _ { j } ) . } \end{array}
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
Notice that this formulation can be seen as a special instance of the student-teacher framework. However, unlike the recent student-teacher methods for semi-supervised learning (Laine & Aila, 2016; Tarvainen & Valpola, 2017; Verma et al., 2019b), which enforce the predictions of the student model to be similar to the teacher model, we enforce the transfer of knowledge from the teacher model to the student model via mutual-information maximization at various levels of representations. In practice, to reduce the computation overhead introduced by the third term of $\operatorname { E q } 8$ , instead of enforcing the mutual-information maximization over all the layers of the encoders, at each training update, we enforce mutual-information maximization on a randomly chosen layer of the encoder (Verma et al., 2019a).
|
| 127 |
+
|
| 128 |
+
In our semi-supervised experiments, we refer to the naive method using the objective function given in eq. equation 6 as InfoGraph. We refer to the method that uses two separate encoders and employ the objective function given in eq. equation 8 as InfoGraph\*. InfoGraph\* is fully summarized in Figure 3.
|
| 129 |
+
|
| 130 |
+
# 4 EXPERIMENTS
|
| 131 |
+
|
| 132 |
+
We evaluate the effectiveness of the graph-level representation learned by InfoGraph on downstream graph classification tasks and on semi-supervised molecular property prediction tasks.
|
| 133 |
+
|
| 134 |
+
# 4.1 DATASETS
|
| 135 |
+
|
| 136 |
+
For graph classification, we conduct experiments on 6 well-known benchmark datasets: MUTAG, PTC, REDDIT-BINARY, REDDIT-MULTI-5K, IMDB-BINARY, and IMDB-MULTI (Yanardag & Vishwanathan (2015)). For semi-supervised learning tasks, we use the publicly available QM9 dataset Ramakrishnan et al. (2014). Additional details of the datasets can be found in Appendix B.
|
| 137 |
+
|
| 138 |
+
# 4.2 BASELINES
|
| 139 |
+
|
| 140 |
+
For graph classification, we used 6 state-of-the-art graph kernels for comparison: Random Walk (RW) Gärtner et al. (2003), Shortest Path Kernel (SP) Borgwardt & Kriegel (2005), Graphlet Kernel (GK) Shervashidze et al. (2009), Weisfeiler-Lehman Sub-tree Kernel (WL) Shervashidze et al. (2011), Deep Graph Kernels (DGK) Yanardag & Vishwanathan (2015), and Multi-Scale Laplacian Kernel (MLG) Kondor & Pan (2016). Aside from graph kernels, we also compare with 3 unsupervised graph-level representation learning methods: node2vec Grover & Leskovec (2016), sub2vec Adhikari et al. (2018), and graph2vec Narayanan et al. (2017). Node2vec is a neural embedding framework that learns feature representations of individual nodes in graphs and we aggregate node embeddings to obtain graph embeddings.
|
| 141 |
+
|
| 142 |
+
For semi-supervised tasks, aside from comparing the results with the fully supervised results, we also compare our results with a state-of-the-art semi-supervised method: Mean Teachers Tarvainen & Valpola (2017).
|
| 143 |
+
|
| 144 |
+
# 4.3 EXPERIMENT CONFIGURATION
|
| 145 |
+
|
| 146 |
+
For graph classification tasks, we adopt the same procedure of previous works Niepert et al. (2016); Verma & Zhang (2017); Yanardag & Vishwanathan (2015); Zhang et al. (2018) to make a fair comparison and used 10-fold cross validation accuracy to report the classification performance. Experiments are repeated 5 times. We report results from previous papers with the same experimental setup if available. If results are not previously reported, we implement them and conduct a hyperparameter search according to the original paper. For node2vec Grover & Leskovec (2016), we took the result from Narayanan et al. (2017) but we did not run it on all datasets as the implementation details are not clear in the paper. For Deep Graph Kernels, we report the best result out of Deep WL Kernels, Deep GK Kernels, and Deep RW Kernels. For sub2vec, we report the best result out of its two variants: sub2vec-N and sub2vec-S. For all methods, the embedding dimension is set to 512 and parameters of downstream classifiers are independently tuned using cross validation on training folds of data. The best average classification accuracy is reported for each method. The classification accuracies are computed using LIBSVM Chang & Lin (2011), and the $C$ parameter was selected from $\{ 1 0 ^ { - 3 } , 1 0 ^ { - 2 } , \dot { ~ } . ~ . ~ , 1 0 ^ { 2 } , \dot { 1 0 ^ { 3 } } \}$ .
|
| 147 |
+
|
| 148 |
+
The QM9 dataset has 130462 molecules in it. We adopt similar experimental settings as traditional semi-supervised methods Tarvainen & Valpola (2017); Laine & Aila (2016); Miyato et al. (2018). We randomly chose 5000 samples as labeled samples for training and another 10000 as validation samples, 10000 samples for testing, and use the rest as unlabeled training samples. Note that we use the exact same split when running the supervised model and the semi-supervised model. We use the validation set to do model selection and we report scores on the test set. All targets were normalized
|
| 149 |
+
|
| 150 |
+
Graph Kernels
|
| 151 |
+
|
| 152 |
+
<table><tr><td>Dataset</td><td>MUTAG</td><td>PTC-MR</td><td>RDT-B</td><td>RDT-M5K</td><td>IMDB-B</td><td>IMDB-M</td></tr><tr><td>(No.Graphs)</td><td>188</td><td>344</td><td>2000</td><td>4999</td><td>1000</td><td>1500</td></tr><tr><td>(No.classes)</td><td>2</td><td>2</td><td>2</td><td>5</td><td>2</td><td>3</td></tr><tr><td>(Avg. Graph Size)</td><td>17.93</td><td>14.29</td><td>429.63</td><td>508.52</td><td>19.77</td><td>13.00</td></tr></table>
|
| 153 |
+
|
| 154 |
+
Other Unsupervised Methods
|
| 155 |
+
|
| 156 |
+
<table><tr><td rowspan=1 colspan=1>RW</td><td rowspan=1 colspan=1>83.72 ± 1.50</td><td rowspan=1 colspan=1>57.85±1.30</td><td rowspan=1 colspan=1>OMR</td><td rowspan=1 colspan=1>OMR</td><td rowspan=1 colspan=1>50.68±0.26</td><td rowspan=1 colspan=1>34.65± 0.19</td></tr><tr><td rowspan=1 colspan=1>SP</td><td rowspan=1 colspan=1>85.22± 2.43</td><td rowspan=1 colspan=1>58.24±2.44</td><td rowspan=1 colspan=1>64.11 ± 0.14</td><td rowspan=1 colspan=1>39.55± 0.22</td><td rowspan=1 colspan=1>55.60±0.22</td><td rowspan=1 colspan=1>37.99 ± 0.30</td></tr><tr><td rowspan=1 colspan=1>GK</td><td rowspan=1 colspan=1>81.66± 2.11</td><td rowspan=1 colspan=1>57.26 ± 1.41</td><td rowspan=1 colspan=1>77.34±0.18</td><td rowspan=1 colspan=1>41.01 ± 0.17</td><td rowspan=1 colspan=1>65.87±0.98</td><td rowspan=1 colspan=1>43.89±0.38</td></tr><tr><td rowspan=1 colspan=1>WL</td><td rowspan=1 colspan=1>80.72±3.00</td><td rowspan=1 colspan=1>57.97 ± 0.49</td><td rowspan=1 colspan=1>68.82 ±0.41</td><td rowspan=1 colspan=1>46.06±0.21</td><td rowspan=1 colspan=1>72.30 ± 3.44</td><td rowspan=1 colspan=1>46.95 ±0.46</td></tr><tr><td rowspan=1 colspan=1>DGK</td><td rowspan=1 colspan=1>87.44± 2.72</td><td rowspan=1 colspan=1>60.08± 2.55</td><td rowspan=1 colspan=1>78.04±0.39</td><td rowspan=1 colspan=1>41.27±0.18</td><td rowspan=1 colspan=1>66.96±0.56</td><td rowspan=1 colspan=1>44.55± 0.52</td></tr><tr><td rowspan=1 colspan=1>MLG</td><td rowspan=1 colspan=1>87.94 ± 1.61</td><td rowspan=1 colspan=1>63.26±1.48</td><td rowspan=1 colspan=1>>1Day</td><td rowspan=1 colspan=1>>1Day</td><td rowspan=1 colspan=1>66.55±0.25</td><td rowspan=1 colspan=1>41.17 ± 0.03</td></tr></table>
|
| 157 |
+
|
| 158 |
+
<table><tr><td rowspan=1 colspan=1>node2vec</td><td rowspan=1 colspan=1>72.63±10.20</td><td rowspan=1 colspan=1>58.58±8.00</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td><td rowspan=1 colspan=1>-</td></tr><tr><td rowspan=1 colspan=1>sub2vec</td><td rowspan=1 colspan=1>61.05± 15.80</td><td rowspan=1 colspan=1>59.99±6.38</td><td rowspan=1 colspan=1>71.48 ± 0.41</td><td rowspan=1 colspan=1>36.68± 0.42</td><td rowspan=1 colspan=1>55.26±1.54</td><td rowspan=1 colspan=1>36.67±0.83</td></tr><tr><td rowspan=1 colspan=1>graph2vec</td><td rowspan=1 colspan=1>83.15±9.25</td><td rowspan=1 colspan=1>60.17±6.86</td><td rowspan=1 colspan=1>75.78±1.03</td><td rowspan=1 colspan=1>47.86±0.26</td><td rowspan=1 colspan=1>71.1 ± 0.54</td><td rowspan=1 colspan=1>50.44±0.87</td></tr><tr><td rowspan=1 colspan=1>InfoGraph</td><td rowspan=1 colspan=1>89.01±1.13</td><td rowspan=1 colspan=1>61.65±1.43</td><td rowspan=1 colspan=1>82.50±1.42</td><td rowspan=1 colspan=1>53.46±1.03</td><td rowspan=1 colspan=1>73.03± 0.87</td><td rowspan=1 colspan=1>49.69±0.53</td></tr></table>
|
| 159 |
+
|
| 160 |
+
Table 1: Classification accuracy on 6 datasets. The result in bold indicates the best reported classification accuracy. The top half of the table compares results with various graph kernel approaches while bottom half compares results with other state-of-the-art unsupervised graph representation learning methods. $ { \mathbf { \hat { \cdot } } } > 1$ day’ represents that the computation exceeds 24 hours. ‘OMR’ is out of memory error.
|
| 161 |
+
|
| 162 |
+
<table><tr><td rowspan=1 colspan=1>Target</td><td rowspan=1 colspan=1>Mu (0)</td><td rowspan=1 colspan=1>Alpha(1)</td><td rowspan=1 colspan=1>HOMO(2)</td><td rowspan=1 colspan=1>LUMO(3)</td><td rowspan=1 colspan=1>Gap(4)</td><td rowspan=1 colspan=1>R2(5)</td><td rowspan=1 colspan=1>ZPVE(6)</td><td rowspan=1 colspan=1>U0(7</td><td rowspan=1 colspan=1>U(8)</td><td rowspan=1 colspan=1>H(9)</td><td rowspan=1 colspan=1>G(10)</td><td rowspan=1 colspan=1>Cv (11)</td></tr><tr><td rowspan=1 colspan=1>MAE</td><td rowspan=1 colspan=1>.3201</td><td rowspan=1 colspan=1>0.5792</td><td rowspan=1 colspan=1>0.0060</td><td rowspan=1 colspan=1>0.0062</td><td rowspan=1 colspan=1>0.0091</td><td rowspan=1 colspan=1>10.0469</td><td rowspan=1 colspan=1>0.0007</td><td rowspan=1 colspan=1>0.3204</td><td rowspan=1 colspan=1>0.2934</td><td rowspan=1 colspan=1>0.2722</td><td rowspan=1 colspan=1>0.2948</td><td rowspan=1 colspan=1>0.2368</td></tr></table>
|
| 163 |
+
|
| 164 |
+
<table><tr><td rowspan=1 colspan=1>Semi-Supervised</td><td rowspan=1 colspan=12>Error Ratio</td></tr><tr><td rowspan=1 colspan=1>Mean-Teachers</td><td rowspan=1 colspan=1>1.09</td><td rowspan=1 colspan=1>1.00</td><td rowspan=1 colspan=1>0.99</td><td rowspan=1 colspan=1>1.00</td><td rowspan=1 colspan=1>0.97</td><td rowspan=1 colspan=1>0.52</td><td rowspan=1 colspan=1>0.77</td><td rowspan=1 colspan=1>1.16</td><td rowspan=1 colspan=1>0.93</td><td rowspan=1 colspan=1>0.79</td><td rowspan=1 colspan=1>0.86</td><td rowspan=1 colspan=1>0.86</td></tr><tr><td rowspan=1 colspan=1>InfoGraph</td><td rowspan=1 colspan=1>1.02</td><td rowspan=1 colspan=1>0.97</td><td rowspan=1 colspan=1>1.02</td><td rowspan=1 colspan=1>0.99</td><td rowspan=1 colspan=1>1.01</td><td rowspan=1 colspan=1>0.71</td><td rowspan=1 colspan=1>0.96</td><td rowspan=1 colspan=1>0.85</td><td rowspan=1 colspan=1>0.93</td><td rowspan=1 colspan=1>0.93</td><td rowspan=1 colspan=1>0.99</td><td rowspan=1 colspan=1>1.00</td></tr><tr><td rowspan=1 colspan=1>InfoGraph*</td><td rowspan=1 colspan=1>0.99</td><td rowspan=1 colspan=1>0.94</td><td rowspan=1 colspan=1>0.99</td><td rowspan=1 colspan=1>0.99</td><td rowspan=1 colspan=1>0.98</td><td rowspan=1 colspan=1>0.49</td><td rowspan=1 colspan=1>0.52</td><td rowspan=1 colspan=1>0.44</td><td rowspan=1 colspan=1>0.58</td><td rowspan=1 colspan=1>0.57</td><td rowspan=1 colspan=1>0.54</td><td rowspan=1 colspan=1>0.83</td></tr></table>
|
| 165 |
+
|
| 166 |
+
Table 2: Results of semi-supervised experiments on QM9 dataset. The result in bold indicates the best performance. The top half of the table shows the mean absolute error (MAE) of the supervised model. The bottom half shows the error ratio (with respect to supervised result) of the semi-supervised models using the same underlying model. Lower scores are better and values less than 1.0 indicate better performance than the supervised baseline.
|
| 167 |
+
|
| 168 |
+
to have mean 0 and variance 1. We minimize the mean squared error between the model output and the target, although we evaluate mean absolute error.
|
| 169 |
+
|
| 170 |
+
# 4.4 MODEL CONFIGURATION
|
| 171 |
+
|
| 172 |
+
For the unsupervised experiments, we use the Graph Isomorphism Network (GIN) Xu et al. (2018a). For the semi-supervised experiments, we adopt the same model as in Gilmer et al. (2017) (enn-s2s). As recommended in Oliver et al. (2018), we use the exact same underlying model architecture when comparing semi-supervised learning approaches as our goal is not to produce state-of-the-art results, but instead to provide a rigorous comparative analysis in a common framework. In both scenarios, models were trained using SGD with the Adam optimizer. We use Pytorch Paszke et al. (2017) and the Pytorch Geometric Fey & Lenssen (2019) libraries for all our experiments. For detailed hyper-parameter settings and architecture detail of the discriminator, see Appendix C.
|
| 173 |
+
|
| 174 |
+
# 5 RESULTS
|
| 175 |
+
|
| 176 |
+
The results of evaluating unsupervised graph level representations using downstream graph classification tasks are presented in Table 1. We show results from six methods including three state-of-the-art graph kernel methods: WL Shervashidze et al. (2011), DGK Yanardag & Vishwanathan (2015), and MLG Kondor & Pan (2016). While these kernel methods perform well on individual datasets, none of them are competitive across all of the datasets. Additionally, MLG suffers from a long run time and take more than 24 hours to run on the two larger benchmark datasets. We find that InfoGraph outperforms all of these baselines on 4 out of 6 of the datasets. In the other 2 datasets, InfoGraph still has very competitive performance.
|
| 177 |
+
|
| 178 |
+
The results of the semi-supervised learning experiments on the molecular property prediction task are presented in Table 2. We observe that by simply combining the supervised objective with the unsupervised infomax objective (InfoGraph) obtains better performance compared to the purely supervised models on 7 out of 12 of the targets. However, in 1 out of 12 targets it does not obtain better performance and in 4 out of 12 targets, it results in poorer performance. This “negative transfer” effect may be caused by the fact that the supervised objective and the unsupervised objective favor different information or different latent semantic space. This effect is alleviated with InfoGraph\*, our modified version of InfoGraph for semi-supervised learning. InfoGraph\* improves over the supervised model in all the 12 targets. InfoGraph\* obtains the best result on 11 targets while the Mean Teacher method obtains the best results on 2 targets (with one overlap). However, the Mean Teacher model yields worse performance on 2 targets when compared to the supervised result.
|
| 179 |
+
|
| 180 |
+
# 6 CONCLUSION AND FUTURE WORK
|
| 181 |
+
|
| 182 |
+
In this paper, we propose InfoGraph to learn unsupervised graph-level representations and InfoGraph\* for semi-supervised learning. We conduct experiments on graph classification and molecular property prediction tasks to evaluate these two methods. Experimental results show that InfoGraph and InfoGraph\* are both very competitive with state-of-the-art methods. There are many research works on semi-supervised learning on image data, but few of them focus on semi-supervised learning for graph structured data. In the future, we aim to explore semi-supervised frameworks designed specifically for graphs.
|
| 183 |
+
|
| 184 |
+
# ACKNOWLEDGMENTS
|
| 185 |
+
|
| 186 |
+
We would like to thank Shengchao Liu and Weihua Hu for the extremely helpful discussions and comments.
|
| 187 |
+
|
| 188 |
+
# REFERENCES
|
| 189 |
+
|
| 190 |
+
Bijaya Adhikari, Yao Zhang, Naren Ramakrishnan, and B Aditya Prakash. Sub2vec: Feature learning for subgraphs. In Pacific-Asia Conference on Knowledge Discovery and Data Mining, pp. 170–182. Springer, 2018.
|
| 191 |
+
David M Blei, Andrew $\mathrm { ~ Y ~ N ~ g ~ }$ , and Michael I Jordan. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993–1022, 2003.
|
| 192 |
+
Karsten M Borgwardt and Hans-Peter Kriegel. Shortest-path kernels on graphs. In Fifth IEEE international conference on data mining (ICDM’05), pp. 8–pp. IEEE, 2005.
|
| 193 |
+
Chih-Chung Chang and Chih-Jen Lin. Libsvm: A library for support vector machines. ACM transactions on intelligent systems and technology (TIST), 2(3):27, 2011.
|
| 194 |
+
Olivier Chapelle, Bernhard Schölkopf, Alexander Zien, et al. Semi-supervised learning, vol. 2. Cambridge: MIT Press. Cortes, C., & Mohri, M.(2014). Domain adaptation and sample bias correction theory and algorithm for regression. Theoretical Computer Science, 519:103126, 2006.
|
| 195 |
+
Chi Chen, Weike Ye, Yunxing Zuo, Chen Zheng, and Shyue Ping Ong. Graph networks as a universal machine learning framework for molecules and crystals. Chemistry of Materials, 31(9):3564–3572, 2019a.
|
| 196 |
+
Pengfei Chen, Weiwen Liu, Chang-Yu Hsieh, Guangyong Chen, and Shengyu Zhang. Utilizing edge features in graph neural networks via variational information maximization. arXiv preprint arXiv:1906.05488, 2019b.
|
| 197 |
+
Ronan Collobert and Jason Weston. A unified architecture for natural language processing: Deep neural networks with multitask learning. In Proceedings of the 25th international conference on Machine learning, pp. 160–167. ACM, 2008.
|
| 198 |
+
|
| 199 |
+
Gerben KD de Vries. A fast approximation of the weisfeiler-lehman graph kernel for rdf data. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 606–621. Springer, 2013.
|
| 200 |
+
|
| 201 |
+
David K Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in neural information processing systems, pp. 2224–2232, 2015.
|
| 202 |
+
|
| 203 |
+
Aasa Feragen, Niklas Kasenburg, Jens Petersen, Marleen de Bruijne, and Karsten Borgwardt. Scalable kernels for graphs with continuous attributes. In Advances in Neural Information Processing Systems, pp. 216–224, 2013.
|
| 204 |
+
|
| 205 |
+
Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. arXiv preprint arXiv:1903.02428, 2019.
|
| 206 |
+
|
| 207 |
+
Sheng Gao, Ludovic Denoyer, and Patrick Gallinari. Temporal link prediction by integrating content and structure information. In Proceedings of the 20th ACM international conference on Information and knowledge management, pp. 1169–1174. ACM, 2011.
|
| 208 |
+
|
| 209 |
+
Thomas Gärtner, Peter Flach, and Stefan Wrobel. On graph kernels: Hardness results and efficient alternatives. In Learning theory and kernel machines, pp. 129–143. Springer, 2003.
|
| 210 |
+
|
| 211 |
+
Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1263–1272. JMLR. org, 2017.
|
| 212 |
+
|
| 213 |
+
Yves Grandvalet and Yoshua Bengio. Semi-supervised learning by entropy minimization. In Advances in neural information processing systems, pp. 529–536, 2005.
|
| 214 |
+
|
| 215 |
+
Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 855–864. ACM, 2016.
|
| 216 |
+
|
| 217 |
+
R Devon Hjelm, Alex Fedorov, Samuel Lavoie-Marchildon, Karan Grewal, Adam Trischler, and Yoshua Bengio. Learning deep representations by mutual information estimation and maximization. arXiv preprint arXiv:1808.06670, 2018.
|
| 218 |
+
|
| 219 |
+
Weihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik, Percy Liang, Vijay Pande, and Jure Leskovec. Pre-training graph neural networks. arXiv preprint arXiv:1905.12265, 2019.
|
| 220 |
+
|
| 221 |
+
Sergey Ivanov and Evgeny Burnaev. Anonymous walk embeddings. arXiv preprint arXiv:1805.11921, 2018.
|
| 222 |
+
|
| 223 |
+
Robin Jia and Percy Liang. Adversarial examples for evaluating reading comprehension systems. arXiv preprint arXiv:1707.07328, 2017.
|
| 224 |
+
|
| 225 |
+
Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molecular graph generation. arXiv preprint arXiv:1802.04364, 2018.
|
| 226 |
+
|
| 227 |
+
Hisashi Kashima, Koji Tsuda, and Akihiro Inokuchi. Marginalized kernels between labeled graphs. In Proceedings of the 20th international conference on machine learning (ICML-03), pp. 321–328, 2003.
|
| 228 |
+
|
| 229 |
+
Hyunjik Kim and Andriy Mnih. Disentangling by factorising. arXiv preprint arXiv:1802.05983, 2018.
|
| 230 |
+
|
| 231 |
+
Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
|
| 232 |
+
|
| 233 |
+
Thomas Kipf, Ethan Fetaya, Kuan-Chieh Wang, Max Welling, and Richard Zemel. Neural relational inference for interacting systems. arXiv preprint arXiv:1802.04687, 2018.
|
| 234 |
+
|
| 235 |
+
Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
|
| 236 |
+
|
| 237 |
+
Risi Kondor and Horace Pan. The multiscale laplacian graph kernel. In Advances in Neural Information Processing Systems, pp. 2990–2998, 2016.
|
| 238 |
+
|
| 239 |
+
Nils M Kriege, Pierre-Louis Giscard, and Richard Wilson. On valid optimal assignment kernels and applications to graph classification. In Advances in Neural Information Processing Systems, pp. 1623–1631, 2016.
|
| 240 |
+
|
| 241 |
+
Nevan J Krogan, Gerard Cagney, Haiyuan Yu, Gouqing Zhong, Xinghua Guo, Alexandr Ignatchenko, Joyce Li, Shuye Pu, Nira Datta, Aaron P Tikuisis, et al. Global landscape of protein complexes in the yeast saccharomyces cerevisiae. Nature, 440(7084):637, 2006.
|
| 242 |
+
|
| 243 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. arXiv preprint arXiv:1610.02242, 2016.
|
| 244 |
+
|
| 245 |
+
Quoc Le and Tomas Mikolov. Distributed representations of sentences and documents. In International conference on machine learning, pp. 1188–1196, 2014.
|
| 246 |
+
|
| 247 |
+
Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on Challenges in Representation Learning, ICML, volume 3, pp. 2, 2013.
|
| 248 |
+
|
| 249 |
+
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013a.
|
| 250 |
+
|
| 251 |
+
Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pp. 3111–3119, 2013b.
|
| 252 |
+
|
| 253 |
+
Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence, 41(8):1979–1993, 2018.
|
| 254 |
+
|
| 255 |
+
Andriy Mnih and Koray Kavukcuoglu. Learning word embeddings efficiently with noise-contrastive estimation. In Advances in neural information processing systems, pp. 2265–2273, 2013.
|
| 256 |
+
|
| 257 |
+
Annamalai Narayanan, Mahinthan Chandramohan, Rajasekar Venkatesan, Lihui Chen andvYang Liu, and Shantanu Jaiswal. graph2vec: Learning distributed representations of graphs. CoRR, abs/1707.05005, 2017. URL http://arxiv.org/abs/1707.05005.
|
| 258 |
+
|
| 259 |
+
Marion Neumann, Novi Patricia, Roman Garnett, and Kristian Kersting. Efficient graph kernels by randomization. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases, pp. 378–393. Springer, 2012.
|
| 260 |
+
|
| 261 |
+
Mark EJ Newman and Michelle Girvan. Finding and evaluating community structure in networks. Physical review E, 69(2):026113, 2004.
|
| 262 |
+
|
| 263 |
+
Hai Nguyen, Shin-ichi Maeda, and Kenta Oono. Semi-supervised learning of hierarchical representations of molecules using neural message passing. arXiv preprint arXiv:1711.10168, 2017.
|
| 264 |
+
|
| 265 |
+
Mathias Niepert, Mohamed Ahmed, and Konstantin Kutzkov. Learning convolutional neural networks for graphs. In International conference on machine learning, pp. 2014–2023, 2016.
|
| 266 |
+
|
| 267 |
+
Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in neural information processing systems, pp. 271–279, 2016.
|
| 268 |
+
|
| 269 |
+
Avital Oliver, Augustus Odena, Colin A Raffel, Ekin Dogus Cubuk, and Ian Goodfellow. Realistic evaluation of deep semi-supervised learning algorithms. In Advances in Neural Information Processing Systems, pp. 3235–3246, 2018.
|
| 270 |
+
|
| 271 |
+
Francesco Orsini, Paolo Frasconi, and Luc De Raedt. Graph invariant kernels. In Twenty-Fourth International Joint Conference on Artificial Intelligence, 2015.
|
| 272 |
+
|
| 273 |
+
Sinno Jialin Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on knowledge and data engineering, 22(10):1345–1359, 2009.
|
| 274 |
+
|
| 275 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. 2017.
|
| 276 |
+
|
| 277 |
+
Georgios A Pavlopoulos, Maria Secrier, Charalampos N Moschopoulos, Theodoros G Soldatos, Sophia Kossida, Jan Aerts, Reinhard Schneider, and Pantelis G Bagos. Using graph theory to analyze biological networks. BioData mining, 4(1):10, 2011.
|
| 278 |
+
|
| 279 |
+
Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 701–710. ACM, 2014.
|
| 280 |
+
|
| 281 |
+
Nataša Pržulj. Biological network comparison using graphlet degree distribution. Bioinformatics, 23 (2):e177–e183, 2007.
|
| 282 |
+
|
| 283 |
+
Raghunathan Ramakrishnan, Pavlo O Dral, Matthias Rupp, and O Anatole Von Lilienfeld. Quantum chemistry structures and properties of 134 kilo molecules. Scientific data, 1:140022, 2014.
|
| 284 |
+
|
| 285 |
+
Michael T Rosenstein, Zvika Marx, Leslie Pack Kaelbling, and Thomas G Dietterich. To transfer or not to transfer. In NIPS 2005 workshop on transfer learning, volume 898, pp. 3, 2005.
|
| 286 |
+
|
| 287 |
+
Mehdi Sajjadi, Mehran Javanmardi, and Tolga Tasdizen. Mutual exclusivity loss for semi-supervised deep learning. In 2016 IEEE International Conference on Image Processing (ICIP), pp. 1908–1912. IEEE, 2016.
|
| 288 |
+
|
| 289 |
+
Nino Shervashidze, SVN Vishwanathan, Tobias Petri, Kurt Mehlhorn, and Karsten Borgwardt. Efficient graphlet kernels for large graph comparison. In Artificial Intelligence and Statistics, pp. 488–495, 2009.
|
| 290 |
+
|
| 291 |
+
Nino Shervashidze, Pascal Schweitzer, Erik Jan van Leeuwen, Kurt Mehlhorn, and Karsten M Borgwardt. Weisfeiler-lehman graph kernels. Journal of Machine Learning Research, 12(Sep): 2539–2561, 2011.
|
| 292 |
+
|
| 293 |
+
Jian Tang, Meng Qu, Mingzhe Wang, Ming Zhang, Jun Yan, and Qiaozhu Mei. Line: Large-scale information network embedding. In Proceedings of the 24th international conference on world wide web, pp. 1067–1077. International World Wide Web Conferences Steering Committee, 2015.
|
| 294 |
+
|
| 295 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In Advances in neural information processing systems, pp. 1195–1204, 2017.
|
| 296 |
+
|
| 297 |
+
Petar Velickovi ˇ c, William Fedus, William L Hamilton, Pietro Liò, Yoshua Bengio, and R Devon ´ Hjelm. Deep graph infomax. arXiv preprint arXiv:1809.10341, 2018.
|
| 298 |
+
|
| 299 |
+
Saurabh Verma and Zhi-Li Zhang. Hunt for the unique, stable, sparse and fast feature learning on graphs. In Advances in Neural Information Processing Systems, pp. 88–98, 2017.
|
| 300 |
+
|
| 301 |
+
Vikas Verma, Alex Lamb, Christopher Beckham, Amir Najafi, Ioannis Mitliagkas, David LopezPaz, and Yoshua Bengio. Manifold mixup: Better representations by interpolating hidden states. In Kamalika Chaudhuri and Ruslan Salakhutdinov (eds.), Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 6438–6447, Long Beach, California, USA, 09–15 Jun 2019a. PMLR. URL http://proceedings.mlr.press/v97/verma19a.html.
|
| 302 |
+
|
| 303 |
+
Vikas Verma, Alex Lamb, Kannala Juho, Yoshua Bengio, and David Lopez-Paz. Interpolation consistency training for semi-supervised learning. In Sarit Kraus (ed.), Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI 2019, Macao, China, August 10-16, 2019. ijcai.org, 2019b. doi: 10.24963/ijcai.2019. URL https://doi. org/10.24963/ijcai.2019.
|
| 304 |
+
|
| 305 |
+
Fei Wang, Tao Li, Xin Wang, Shenghuo Zhu, and Chris Ding. Community discovery using nonnegative matrix factorization. Data Mining and Knowledge Discovery, 22(3):493–521, 2011.
|
| 306 |
+
|
| 307 |
+
Boris Weisfeiler and Andrei A Lehman. A reduction of a graph to a canonical form and an algebra arising during this reduction. Nauchno-Technicheskaya Informatsia, 2(9):12–16, 1968.
|
| 308 |
+
|
| 309 |
+
Tian Xie and Jeffrey C Grossman. Crystal graph convolutional neural networks for an accurate and interpretable prediction of material properties. Physical review letters, 120(14):145301, 2018.
|
| 310 |
+
|
| 311 |
+
Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018a.
|
| 312 |
+
|
| 313 |
+
Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. arXiv preprint arXiv:1806.03536, 2018b.
|
| 314 |
+
|
| 315 |
+
Yan Yan, Shangzhao Qiu, Zhuxuan Jin, Sihong Gong, Yun Bai, Jianwei Lu, and Tianwei Yu. Detecting subnetwork-level dynamic correlations. Bioinformatics, 33(2):256–265, 2017.
|
| 316 |
+
|
| 317 |
+
Pinar Yanardag and SVN Vishwanathan. Deep graph kernels. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 1365–1374. ACM, 2015.
|
| 318 |
+
|
| 319 |
+
Rendong Yang, Yun Bai, Zhaohui Qin, and Tianwei Yu. Egonet: identification of human disease ego-network modules. BMC genomics, 15(1):314, 2014.
|
| 320 |
+
|
| 321 |
+
Zhitao Ying, Jiaxuan You, Christopher Morris, Xiang Ren, Will Hamilton, and Jure Leskovec. Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, pp. 4800–4810, 2018.
|
| 322 |
+
|
| 323 |
+
Muhan Zhang, Zhicheng Cui, Marion Neumann, and Yixin Chen. An end-to-end deep learning architecture for graph classification. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 324 |
+
|
| 325 |
+
Xiaojin Zhu, Zoubin Ghahramani, and John D Lafferty. Semi-supervised learning using gaussian fields and harmonic functions. In Proceedings of the 20th International conference on Machine learning (ICML-03), pp. 912–919, 2003.
|
| 326 |
+
|
| 327 |
+
# A RELATED WORK
|
| 328 |
+
|
| 329 |
+
# A.1 GRAPH KERNELS
|
| 330 |
+
|
| 331 |
+
Popular graph kernels are graphlets Pržulj (2007); Shervashidze et al. (2009), random walk and shortest path kernels Kashima et al. (2003); Borgwardt & Kriegel (2005), and the Weisfeiler-Lehman subtree kernel Shervashidze et al. (2011). Furthermore, deep graph kernels Yanardag & Vishwanathan (2015), graph invariant kernels Orsini et al. (2015), optimal assignment graph kernels Kriege et al. (2016) and multiscale Laplacian graph kernels Kondor & Pan (2016) have been proposed with the goal to redefine kernel functions to appropriately capture sub-structural similarity at different levels. Another line of research in this area focuses on efficiently computing these kernels either through exploiting certain structural dependencies, or via approximations/randomization Feragen et al. (2013); de Vries (2013); Neumann et al. (2012).
|
| 332 |
+
|
| 333 |
+
# A.2 CONTRASTIVE METHODS
|
| 334 |
+
|
| 335 |
+
Contrastive methods are central many popular word-embedding methods Collobert & Weston (2008); Mnih & Kavukcuoglu (2013); Mikolov et al. (2013b). Word2vec Mikolov et al. (2013a) is an unsupervised algorithm which obtains word representations by using the representations to predict context words (the words that surround it). Doc2vec Le & Mikolov (2014) is an extension of the continuous Skip-gram model that predicts representations of words from that of a document containing them. Researchers extended many of these unsupervised language models to learn representations of graph-structured input Adhikari et al. (2018); Narayanan et al. (2017). For example, graph2vec Narayanan et al. (2017) extends Doc2vec to arbitrary graphs. Intuitively, for graph2vec a graph and the rooted subgraphs in it correspond to a document and words in a paragraph vector, respectively. One of the technical contributions of the paper is using the Weisfeiler-Lehman relabelling algorithm Weisfeiler & Lehman (1968); Shervashidze et al. (2011) to enumerate all rooted subgraphs up to a specified depth. AWE (Anonymous Walk Embeddings) Ivanov & Burnaev (2018) is another method based on CBOW framework. instead of using rooted subgraphs as words like graph2vec, AWE considers anonymous walk embeddings for the same source node as co-occurring words. InfoGraph has the two advantages when compared with these methods. First, InfoGraph learns representations directly from data instead of utilizing hand-crafted procedures (i.e. Weisfeiler-Lehman relabelling algorithm in graph2vec and random walkw in AWE). Second, InfoGraph has a clear objective that can be easily combined with other objectives. For example, InfoGraph\*, the semi-supervised method that we proposed.
|
| 336 |
+
|
| 337 |
+
# B SEMI-SUPERVISED LEARNING
|
| 338 |
+
|
| 339 |
+
Here we discuss the most common class of SSL methods which involve adding an additional loss term to the training of a neural network as they are pragmatic and are currently the state-of-the-art on image classification datasets.
|
| 340 |
+
|
| 341 |
+
Entropy Minimization (EntMin): EntMin Grandvalet & Bengio (2005) adds a loss term applied that encourages the network to make “confident” (low-entropy) predictions for all unlabeled examples, regardless of their class.
|
| 342 |
+
|
| 343 |
+
Pseudo-Labeling: Pseudo-labeling Lee (2013) proceeds by producing “pseudo-labels” for unlabeled input data points using the prediction function itself over the course of training. Pseudo-labels which have a corresponding class probability that is larger than a predefined threshold are used as targets for a the standard supervised loss function.
|
| 344 |
+
|
| 345 |
+
Π-Model: Neural networks can produce different outputs for the same input while common regularization techniques such as data augmentation, dropout, and adding noise are applied. Π-Model Laine & Aila (2016); Sajjadi et al. (2016) adds a loss term which encourages the distance between a network’s output for different passes of unlabeled data through the network to be small.
|
| 346 |
+
|
| 347 |
+
Virtual Adversarial Training: Instead of relying on the built-in stochasticity as in Π-Model, Virtual Adversarial Training (VAT) Miyato et al. (2018) directly approximates a tiny perturbation to add to the input which would most significantly affect the output of the prediction function. This pertubation can be approximated with an extra back-propagation for each optimization step.
|
| 348 |
+
|
| 349 |
+
Mean Teacher: A difficulty with the $\Pi$ -model approach is that it relies on a potentially unstable “target” prediction, namely the second stochastic network prediction which can rapidly change over the course of training. As a result, Tarvainen & Valpola (2017) proposed to obtain a more stable target output for unlabeled data by setting the target to predictions made using an exponential moving average of parameters from previous training steps.
|
| 350 |
+
|
| 351 |
+
# C DATASETS
|
| 352 |
+
|
| 353 |
+
# C.1 GRAPH CLASSIFICATION DATASETS
|
| 354 |
+
|
| 355 |
+
MUTAG contains 188 mutagenic aromatic and heteroaromatic nitro compounds with 7 different discrete labels. PTC is a dataset of 344 different chemical compounds that have been tested for carcinogenicity in male and female rats. This dataset has 19 discrete labels. IMDB-BINARY and IMDB-MULTI are movie collaboration datasets. Each graph corresponds to an ego-network for each actor/actress, where nodes correspond to actors/actresses and an edge is drawn between two actors/actresses if they appear in the same movie. Each graph is derived from a pre-specified genre of movies, and the task is to classify the genre graph it is derived from. REDDIT-BINARY and REDDIT-MULTI5K are balanced datasets where each graph corresponds to an online discussion thread and nodes correspond to users. An edge was drawn between two nodes if at least one of them responded to another’s comment. The task is to classify each graph to the community or subreddit that it belongs to.
|
| 356 |
+
|
| 357 |
+
# C.2 QM9
|
| 358 |
+
|
| 359 |
+
All molecules in the dataset consist of Hydrogen (H), Carbon (C), Oxygen (O), Nitrogen $( \Nu )$ , and Flourine (F) atoms and contain up to 9 non-Hydrogen atoms. In all, this results in about 134,000 drug-like organic molecules that span a wide range of chemical compositions and properties. A total of 12 interesting and fundamental chemical properties are pre-computed for each molecule. For a detailed description of the properties in the QM9 dataset, see section 10.2 of Gilmer et al. (2017).
|
| 360 |
+
|
| 361 |
+
# D MODEL CONFIGURATION
|
| 362 |
+
|
| 363 |
+
For the unsupervised experiments, we use the Graph Isomorphism Network (GIN) Xu et al. (2018a). GNN layers are chosen from $\{ 4 , 8 , 1 2 \}$ . Initial learning rate is chosen from the set $\{ 1 0 ^ { - 2 } , 1 0 ^ { - 3 } , 1 0 ^ { - 4 } \}$ . The number of epochs are chosen from $\{ 1 0 , 2 0 , 1 0 0 \}$ . The batch size is set to 128.
|
| 364 |
+
|
| 365 |
+
For the semi-supervised experiments, the number of set2set computations is set to 3. Model were trained with an initial learning rate 0.001 for 500 epochs with a batch size 20. For the supervised case, the weight decay is chosen from $\{ 0 , 1 0 ^ { - 3 } , 1 0 ^ { - \bar { 4 } } \}$ . For InfoGraph and InfoGraph\*, $\lambda$ is chosen from $\{ 1 0 ^ { - 3 } , \bar { 1 } 0 ^ { - 4 } , 1 \bar { 0 } ^ { - 5 } \}$ .
|
| 366 |
+
|
| 367 |
+
The discriminator scores global-patch representation pairs by passing two representations to different non-linear transformations and then takes the dot product of the two transformed representations. Both non-linear transformations are parameterized by 3-layered feed-forward neural networks with jumping connections. Following each linear layer is a ReLU activation function.
|
| 368 |
+
|
| 369 |
+
# E CONVERGENCE PLOT
|
| 370 |
+
|
| 371 |
+
To prove that the objective Eq.8 with multiple loss terms can be optimized, we provide a convergence plot of InfoGraph\*. We can see that the three loss terms all converge after around 150 epochs of training.
|
| 372 |
+
|
| 373 |
+

|
| 374 |
+
Figure 3: Convergence plot of InfoGraph\* on QM9 target 7.
|
parse/train/r1lfF2NYvH/r1lfF2NYvH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|