Datasets:
Add files using upload-large-folder tool
Browse files- parse/train/H1e572A5tQ/H1e572A5tQ.md +233 -0
- parse/train/H1e572A5tQ/H1e572A5tQ_content_list.json +1239 -0
- parse/train/H1e572A5tQ/H1e572A5tQ_middle.json +0 -0
- parse/train/H1e572A5tQ/H1e572A5tQ_model.json +0 -0
- parse/train/H1xQVn09FX/H1xQVn09FX_content_list.json +1379 -0
- parse/train/Hyl5V0EYvB/Hyl5V0EYvB.md +416 -0
- parse/train/Hyl5V0EYvB/Hyl5V0EYvB_content_list.json +2109 -0
- parse/train/Hyl5V0EYvB/Hyl5V0EYvB_model.json +0 -0
- parse/train/S1g2V3Cct7/S1g2V3Cct7.md +256 -0
- parse/train/S1g2V3Cct7/S1g2V3Cct7_content_list.json +1414 -0
- parse/train/S1g2V3Cct7/S1g2V3Cct7_middle.json +0 -0
- parse/train/S1g2V3Cct7/S1g2V3Cct7_model.json +0 -0
- parse/train/S1gBz2C9tX/S1gBz2C9tX.md +410 -0
- parse/train/S1gBz2C9tX/S1gBz2C9tX_content_list.json +0 -0
- parse/train/S1gBz2C9tX/S1gBz2C9tX_middle.json +0 -0
- parse/train/S1gBz2C9tX/S1gBz2C9tX_model.json +0 -0
- parse/train/rJxDkvqee/rJxDkvqee.md +279 -0
- parse/train/rJxDkvqee/rJxDkvqee_content_list.json +1510 -0
- parse/train/rJxDkvqee/rJxDkvqee_middle.json +0 -0
- parse/train/rJxDkvqee/rJxDkvqee_model.json +0 -0
parse/train/H1e572A5tQ/H1e572A5tQ.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TARMAC: TARGETED MULTI-AGENT COMMUNICATION
|
| 2 |
+
|
| 3 |
+
# Anonymous authors
|
| 4 |
+
|
| 5 |
+
Paper under double-blind review
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
We explore a collaborative multi-agent reinforcement learning setting where a team of agents attempts to solve cooperative tasks in partially-observable environments. In this scenario, learning an effective communication protocol is key. We propose a communication architecture that allows for targeted communication, where agents learn both what messages to send and who to send them to, solely from downstream task-specific reward without any communication supervision.
|
| 10 |
+
|
| 11 |
+
Additionally, we introduce a multi-stage communication approach where the agents co-ordinate via multiple rounds of communication before taking actions in the environment. We evaluate our approach on a diverse set of cooperative multi-agent tasks, of varying difficulties, with varying number of agents, in a variety of environments ranging from 2D grid layouts of shapes and simulated traffic junctions to complex 3D indoor environments. We demonstrate the benefits of targeted as well as multi-stage communication. Moreover, we show that the targeted communication strategies learned by agents are both interpretable and intuitive.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Effective communication is a key ability for collaborative multi-agents systems. Indeed, intelligent agents (humans or artificial) in real-world scenarios can significantly benefit from exchanging information that enables them to coordinate, strategize, and utilize their combined sensory experiences to act in the physical world. The ability to communicate has wide-ranging applications for artificial agents – from multi-player gameplay in simulated games (e.g. DoTA, Quake, StarCraft) or physical worlds (e.g. robot soccer), to networks of self-driving cars communicating with each other to achieve safe and swift transport, to teams of robots on search-and-rescue missions deployed in hostile and fast-evolving environments.
|
| 16 |
+
|
| 17 |
+
A salient property of human communication is the ability to hold targeted interactions. Rather than the ‘one-size-fits-all’ approach of broadcasting messages to all participating agents, as has been previously explored (Sukhbaatar et al., 2016; Foerster et al., 2016), it can be useful to direct certain messages to specific recipients. This enables a more flexible collaboration strategy in complex environments. For example, within a team of search-and-rescue robots with a diverse set of roles and goals, a message for a fire-fighter (“smoke is coming from the kitchen”) is largely meaningless for a bomb-defuser.
|
| 18 |
+
|
| 19 |
+
In this work we develop a collaborative multi-agent deep reinforcement learning approach that supports targeted communication. Crucially, each individual agent actively selects which other agents to send messages to. This targeted communication behavior is operationalized via a simple signaturebased soft attention mechanism: along with the message, the sender broadcasts a key which encodes properties of agents the message is intended for, and is used by receivers to gauge the relevance of the message. This communication mechanism is learned implicitly, without any attention supervision, as a result of end-to-end training using a downstream task-specific team reward.
|
| 20 |
+
|
| 21 |
+
The inductive bias provided by soft attention in the communication architecture is sufficient to enable agents to 1) communicate agent-goal-specific messages (e.g. guide fire-fighter towards fire, bomb-defuser towards bomb, etc.), 2) be adaptive to variable team sizes (e.g. the size of the local neighborhood a self-driving car can communicate with changes as it moves), and 3) be interpretable through predicted attention probabilities that allow for inspection of which agent is communicating what message and to whom.
|
| 22 |
+
|
| 23 |
+
Our results however show that just using targeted communication is not enough. Complex realworld tasks might require large populations of agents to go through multiple stages of collaborative communication and reasoning, involving large amounts of information to be persistent in memory and exchanged via high-bandwidth communication channels. To this end, our actor-critic framework combines centralized training with decentralized execution (Lowe et al., 2017), thus enabling scaling to a large number of agents. In this context, our inter-agent communication architecture supports multiple stages of targeted interactions at every time-step, and the agents’ recurrent policies support persistent relevant information in internal states.
|
| 24 |
+
|
| 25 |
+
While natural language, i.e. a finite set of discrete tokens with pre-specified human-conventionalized meanings, may seem like an intuitive protocol for inter-agent communication – one that enables human-interpretability of interactions – forcing machines to communicate among themselves in discrete tokens presents additional training challenges. Since our work focuses on machine-only multi-agent teams, we allow agents to communicate via continuous vectors (rather than discrete symbols), and via the learning process, agents have the flexibility to discover and optimize their communication protocol as per task requirements.
|
| 26 |
+
|
| 27 |
+
We provide extensive empirical demonstration of the efficacy of our approach across a range of tasks, environments, and team sizes. We begin by benchmarking multi-agent communication with and without attention on a cooperative navigation task derived from the SHAPES environment (Andreas et al., 2016). We show that agents learn intuitive attention behavior across a spectrum of task difficulties. Next, we evaluate the same targeted multi-agent communication architecture on the traffic junction environment (Sukhbaatar et al., 2016), and show that agents are able to adaptively focus on ‘active’ agents in the case of varying team sizes. Finally, we demonstrate effective multi-agent communication in 3D environments on a cooperative first-person point-goal navigation task in the rich House3D environment (Wu et al., 2018).
|
| 28 |
+
|
| 29 |
+
# 2 RELATED WORK
|
| 30 |
+
|
| 31 |
+
Multi-agent systems fall at the intersection of game theory, distributed systems, and Artificial Intelligence in general (Shoham & Leyton-Brown, 2008), and thus have a rich and diverse literature. Our work builds on and is related to prior work in deep multi-agent reinforcement learning, the centralized training and decentralized execution paradigm, and emergent communication protocols.
|
| 32 |
+
|
| 33 |
+
Multi-Agent Reinforcement Learning (MARL). Within MARL (see Busoniu et al. (2008) for a survey), our work is related to recent efforts on using recurrent neural networks to approximate agent policies (Hausknecht & Stone, 2015), algorithms stabilizing multi-agent training (Lowe et al., 2017; Foerster et al., 2018), and tasks in novel application domains such as coordination and navigation in 3D simulated environments (Peng et al., 2017; OpenAI, 2018; Jaderberg et al., 2018).
|
| 34 |
+
|
| 35 |
+
Centralized Training & Decentralized Execution. Both Sukhbaatar et al. (2016) and Hoshen (2017) adopt a fully centralized framework at both training and test time – a central controller processes local observations from all agents and outputs a probability distribution over joint actions. In this setting, any controller (e.g. a fully-connected network) can be viewed as implicitly encoding communication. Sukhbaatar et al. (2016) present an efficient architecture to learn a centralized controller invariant to agent permutations – by sharing weights and averaging as in Zaheer et al. (2017). Meanwhile Hoshen (2017) proposes to replace averaging by an attentional mechanism to allow targeted interactions between agents. While closely related to our communication architecture, his work only considers fully supervised one-next-step prediction tasks, while we tackle the full reinforcement learning problem with tasks requiring planning over long time horizons.
|
| 36 |
+
|
| 37 |
+
Moreover, a centralized controller quickly becomes intractable in real-world tasks with many agents and high-dimensional observation spaces (e.g. navigation in House3D (Wu et al., 2018)). To address these weaknesses, we adopt the framework of centralized learning but decentralized execution (following Foerster et al. (2016); Lowe et al. (2017)) and further relax it by allowing agents to communicate. While agents can use extra information during training, at test time, they pick actions solely based on local observations and communication messages received from other agents.
|
| 38 |
+
|
| 39 |
+
Finally, we note that fully decentralized execution at test time without communication is very restrictive. It means 1) each agent must act myopically based solely on its local observation and 2) agents cannot coordinate their actions. In our setting, communication between agents offers a reasonable trade-off between allowing agents to globally coordinate while retaining tractability (since the communicated messages are much lower-dimensional than the observation space).
|
| 40 |
+
|
| 41 |
+
<table><tr><td></td><td>Decentralized Execution</td><td>Targeted Communication</td><td>Multi-Stage Decisions</td><td>Reinforcement Learning</td></tr><tr><td>DIAL (Foerster et al., 2016)</td><td>Yes</td><td>No</td><td>No</td><td>Yes (Q-Learning)</td></tr><tr><td>CommNets (Sukhbaatar et al., 2016)</td><td>No</td><td>No</td><td>Yes</td><td>Yes (REINFORCE)</td></tr><tr><td>VAIN (Hoshen, 2017)</td><td>No</td><td>Yes</td><td>Yes</td><td>No (Supervised)</td></tr><tr><td>ATOC (Jiang & Lu,2018)</td><td>Yes</td><td>No</td><td>No</td><td>Yes (Actor-Critic)</td></tr><tr><td>TarMAC (this paper)</td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes (Actor-Critic)</td></tr></table>
|
| 42 |
+
|
| 43 |
+
Table 1: Comparison with previous work on collaborative multi-agent communication with continuous vectors.
|
| 44 |
+
|
| 45 |
+
Emergent Communication Protocols. Our work is also related to recent work on learning communication protocols in a completely end-to-end manner with reinforcement learning – from perceptual input (e.g. pixels) to communication symbols (discrete or continuous) to actions (e.g. navigating in an environment). While (Foerster et al., 2016; Jorge et al., 2016; Das et al., 2017; Kottur et al., 2017; Mordatch & Abbeel, 2017; Lazaridou et al., 2017) constrain agents to communicate with discrete symbols with the explicit goal to study emergence of language, our work operates in the paradigm of learning a continuous communication protocol in order to solve a downstream task (Sukhbaatar et al., 2016; Hoshen, 2017; Jiang & Lu, 2018). While (Jiang & Lu, 2018) also operate in a decentralized execution setting and use an attentional communication mechanism, their setup is significantly different from ours as they use attention to decide when to communicate, not who to communicate with (‘who’ depends on a hand-tuned neighborhood parameter in their work). Table 1 summarizes the main axes of comparison between our work and previous efforts in this exciting space.
|
| 46 |
+
|
| 47 |
+
# 3 TECHNICAL BACKGROUND
|
| 48 |
+
|
| 49 |
+
Decentralized Partially Observable Markov Decision Processes (Dec-POMDPs). A DecPOMDP is a cooperative multi-agent extension of a partially observable Markov decision process (Oliehoek (2012)). For $N$ agents, it is defined by a set of states $S$ describing possible configurations of all agents, a global reward function $R$ , a transition probability function $T$ , and for each agent $i \in { 1 , . . . , N }$ a set of allowed actions $A _ { i }$ , a set of possible observations $\Omega _ { i }$ and an observation function $O _ { i }$ . Operationally, at each time step every agent picks an action $a _ { i }$ based on its local observation $\omega _ { i }$ following its own stochastic policy $\pi _ { \boldsymbol { \theta } _ { i } } ( a _ { i } | \omega _ { i } )$ . The system randomly transitions to the next state $s ^ { \prime }$ given the current state and joint action $T ( s ^ { \prime } | s , a _ { 1 } , . . . , a _ { N } )$ . The agent team receives a global reward $r = R ( s , a _ { 1 } , . . . , a _ { N } )$ while each agent receives a local observation of the new state ř $O _ { i } ( \omega _ { i } | s ^ { \prime } )$ . gents aim to maximize the total expected return $\begin{array} { r } { J = \sum _ { t = 0 } ^ { T } \gamma ^ { t } r _ { t } } \end{array}$ where $\gamma$ is a discount factor and $T$
|
| 50 |
+
|
| 51 |
+
Actor-Critic Algorithms. Policy gradient methods directly adjust the parameters $\theta$ of the policy in order to maximize the objective $\begin{array} { r } { \dot { J ( \theta ) } = \mathbb { E } _ { s \sim p _ { \pi } , a \sim \pi _ { \theta } ( s ) } \left[ \dot { R ( s , a ) } \right] } \end{array}$ by taking steps in the direction of $\nabla J ( \theta )$ . We can write the gradient with respect to the policy parameters as
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\nabla _ { \theta } J ( \theta ) = \mathbb { E } _ { s \sim p _ { \pi } , a \sim \pi _ { \theta } ( s ) } \left[ \nabla _ { \theta } \log \pi _ { \theta } ( a | s ) Q _ { \pi } ( s , a ) \right] ,
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $Q _ { \pi } ( s , a )$ is called the action-value, it is the expected remaining discounted reward if we take action $a$ in state $s$ and follow policy $\pi$ thereafter. Actor-Critic algorithms learn an approximation of the unknown true action-value function $\hat { Q } ( s , a )$ by e.g. temporal-difference learning (Sutton & Barto, 1998). This $\hat { Q } ( s , a )$ is called the Critic while the policy $\pi _ { \theta }$ is called the Actor.
|
| 58 |
+
|
| 59 |
+
Multi-Agent Actor-Critic. Lowe et al. (2017) propose a multi-agent Actor-Critic algorithm adapted to centralized learning and decentralized execution. Each agent learns its own individual policy $\pi _ { \theta _ { i } } ( a _ { i } | \omega _ { i } )$ conditioned on local observation $\omega _ { i }$ , using a centralized Critic which estimates the joint action-value $\hat { Q } ( s , a _ { 1 } , . . . , a _ { N } )$ .
|
| 60 |
+
|
| 61 |
+
# 4 TARMAC: TARGETED MULTI-AGENT COMMUNICATION
|
| 62 |
+
|
| 63 |
+
We now describe our multi-agent communication architecture in detail. Recall that we have $N$ agents with policies $\left\{ \pi _ { 1 } , . . . , \pi _ { N } \right\}$ , respectively parameterized by $\big \{ \theta _ { 1 } , . . . , \theta _ { N } \big \}$ , jointly performing a cooperative task. At every timestep $t$ , the ith agent for all $i \in \{ 1 , . . . , N \}$ sees a local observation $\omega _ { i } ^ { t }$ , and must select a discrete environment action $\bar { \boldsymbol { a } } _ { i } ^ { t } \sim \pi _ { \boldsymbol { \theta } _ { i } }$ and a continuous communication message $m _ { i } ^ { t }$ , received by other agents at the next timestep, in order to maximize global reward $r _ { t } \sim R$ . Since no agent has access to the underlying state of the environment $s _ { t }$ , there is incentive in communicating with each other and being mutually helpful to do better as a team.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 1: Overview of our multi-agent architecture with targeted communication. Left: At every timestep, each agent policy gets a local observation $\boldsymbol { \omega } _ { i } ^ { t }$ and aggregated message $c _ { i } ^ { t }$ as input, and predicts an environment action $a _ { i } ^ { \overline { { t } } }$ and a targeted communication message $m _ { i } ^ { \bar { t } }$ . Right: Targeted communication between agents is implemented as a signature-based soft attention mechanism. Each agent broadcasts a message $m _ { i } ^ { t }$ consisting of a signature $k _ { i } ^ { t }$ , which can be used to encode agent-specific information and a value $\boldsymbol { v } _ { i } ^ { t }$ , which contains the actual message. At the next timestep, each receiving agent gets as input a convex combination of message values, where the attention weights are obtained by a dot product between sender’s signature $k _ { i } ^ { t }$ and a query vector $\boldsymbol q _ { j } ^ { t + 1 }$ predicted from the receiver’s hidden state.
|
| 67 |
+
|
| 68 |
+
Policies and Decentralized Execution. Each agent is essentially modeled as a Dec-POMDP augmented with communication. Each agent’s policy $\pi _ { \boldsymbol { \theta } _ { i } }$ is implemented as a 1-layer Gated Recurrent Unit (Cho et al., 2014). At every timestep, the local observation $\omega _ { i } ^ { t }$ and a vector $c _ { i } ^ { t }$ aggregating messages sent by all agents at the previous timestep (described in more detail below) are used to update the hidden state $h _ { i } ^ { t }$ of the GRU, which encodes the entire message-action-observation history up to time $t$ . From this internal state representation, the agent’s policy $\pi _ { \theta _ { i } } \left( a _ { i } ^ { t } | h _ { i } ^ { t } \right)$ predicts a categorical distribution over the space of actions, and another output head produces an outgoing message vector $m _ { i } ^ { t }$ . Note that for all our experiments, agents are symmetric and policies are instantiated from the same set of shared parameters; i.e. $\theta _ { 1 } = \ldots = \theta _ { N }$ . This considerably speeds up learning.
|
| 69 |
+
|
| 70 |
+
Centralized Critic. Following prior work (Lowe et al., 2017; Foerster et al., 2018), we operate under the centralized learning and decentralized execution paradigm wherein during training, a centralized critic guides the optimization of individual agent policies. The centralized Critic takes as input predicted actions $\{ a _ { 1 } ^ { \bar { t } } , . . . , a _ { N } ^ { t } \}$ and internal state representations $\{ h _ { 1 } ^ { t } , . . . , h _ { N } ^ { t } \}$ from all agents to estimate the joint action-value $\hat { Q } _ { t }$ at every timestep. The centralized Critic is learned by temporal difference (Sutton $\&$ Barto, 1998) and the gradient of the expected return $J ( \theta _ { i } ) = \mathbb { E } [ R ]$ with respect to policy parameters is approximated by:
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
\nabla _ { \theta _ { i } } J ( \theta _ { i } ) = \mathbb { E } \left[ \nabla _ { \theta _ { i } } \log \pi _ { \theta _ { i } } ( a _ { i } ^ { t } | h _ { i } ^ { t } ) \ \hat { Q } _ { t } ( h _ { 1 } ^ { t } , . . . , h _ { N } ^ { t } , a _ { t } ^ { 1 } , . . . , a _ { t } ^ { N } ) \right] .
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
Note that compared to an individual critic $\hat { Q } _ { i } ( h _ { i } ^ { t } , a _ { i } ^ { t } )$ for each agent, having a centralized critic leads to considerably lower variance in policy gradient estimates since it takes into account actions from all agents. At test time, the critic is not needed anymore and policy execution is fully decentralized.
|
| 77 |
+
|
| 78 |
+
Targeted, Multi-Stage Communication. Establishing complex collaboration strategies requires targeted communication i.e. the ability to send specific messages to specific agents, as well as multi
|
| 79 |
+
|
| 80 |
+
stage communication i.e. multiple rounds of back-and-forth interactions between agents. We use a signature-based soft-attention mechanism in our communication structure to enable targeting. Each message $m _ { i } ^ { t }$ consists of 2 parts – a signature $k _ { i } ^ { t } \in \mathbb { R } ^ { d _ { k } }$ to target recipients, and a value $\mathcal { \mathbf { v } } _ { i } ^ { t } \in \mathbb { \breve { R } } ^ { d _ { v } }$ :
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
m _ { i } ^ { t } = \big [ \begin{array} { c c } { { \frac { \mathrm { s i g n a t u r e } } { k _ { i } ^ { t } } } } & { { } } \\ { { } } & { { \frac { v _ { i } ^ { t } } { \mathrm { v a l u e } } } } \end{array} \big ] .
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
At the receiving end, each agent (indexed by $j$ ) predicts a query vector $q _ { j } ^ { t + 1 } \in \mathbb { R } ^ { d _ { k } }$ from its hidden state ? $h _ { j } ^ { t + 1 }$ and uses it to compute a dot product with signatures of all $N$ messages. This is scaled by $1 / \sqrt { d _ { k } }$ followed by a softmax to obtain attention weight $\alpha _ { j i }$ for each message value vector:
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\alpha _ { j } = \mathrm { s o f t m a x } \left[ \frac { { q _ { j } ^ { t + 1 } } ^ { T } k _ { 1 } ^ { t } } { \sqrt { d _ { k } } } \dots \frac { { q _ { j } ^ { t + 1 } } ^ { T } k _ { i } ^ { t } } { \hdots \hdots \hdots } \hdots \frac { { q _ { j } ^ { t + 1 } } ^ { T } k _ { N } ^ { t } } { \sqrt { d _ { k } } } \right]
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
c _ { j } ^ { t + 1 } = \sum _ { i = 1 } ^ { N } \alpha _ { j i } v _ { i } ^ { t } .
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
Note that equation 2 also includes $\alpha _ { i i }$ corresponding to the ability to self-attend (Vaswani et al., 2017), which we empirically found to improve performance, especially in situations when an agent has found the goal in a coordinated navigation task and all it is required to do is stay at the goal, so others benefit from attending to this agent’s message but return communication is not needed.
|
| 97 |
+
|
| 98 |
+
For multiple stages of communication, aggregated message vector $c _ { j } ^ { t + 1 }$ and internal state $h _ { j } ^ { t }$ are first used to predict the next internal state ${ h ^ { \prime } } _ { j } ^ { t }$ taking into account a first round of communication:
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
{ h ^ { \prime } } _ { j } ^ { t } = \operatorname { t a n h } ( W _ { h h ^ { \prime } } [ \ c _ { j } ^ { t + 1 } \ \parallel \ h _ { j } ^ { t } \ ] ) .
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
Next, ${ h ^ { \prime } } _ { j } ^ { t }$ is used to predict signature, query, value followed by repeating Eqns 1-4 for multiple rounds until we get a final aggregated message vector $c _ { j } ^ { t + 1 }$ to be used as input at the next timestep.
|
| 105 |
+
|
| 106 |
+
# 5 EXPERIMENTS
|
| 107 |
+
|
| 108 |
+
We evaluate our targeted multi-agent communication architecture on a variety of tasks and environments. All our models were trained with a batched synchronous version of the multi-agent ActorCritic described above, using RMSProp with a learning rate of $7 \times 1 0 ^ { - 4 }$ and $\alpha = 0 . 9 9$ , batch size 16, discount factor $\gamma = 0 . 9 9$ and entropy regularization coefficient 0.01 for agent policies. All our agent policies are instantiated from the same set of shared parameters; i.e. $\theta _ { 1 } = \ldots = \theta _ { N }$ . Each agent’s GRU hidden state is 128-d, message signature/query is 16-d, and message value is 32-d (unless specified otherwise). All results are averaged over 5 independent runs with different seeds.
|
| 109 |
+
|
| 110 |
+
# 5.1 SHAPES
|
| 111 |
+
|
| 112 |
+
The SHAPES dataset was introduced by Andreas et al. $\left( 2 0 1 6 \right)$ , and originally created for testing compositional visual reasoning for the task of visual question answering. It consists of synthetic images of 2D colored shapes arranged in a grid ( $3 \times 3$ cells in the original dataset) along with corresponding question-answer pairs. There are 3 shapes (circle, square, triangle), 3 colors (red, green, blue), and 2 sizes (small, big) in total (see Figure 2).
|
| 113 |
+
|
| 114 |
+
We convert each image from SHAPES into an active environment where agents can now be spawned at different regions of the image, observe a $5 \times 5$ local patch around them and their coordinates, and take actions to move around – tup, down, left, right, stayu. Each agent is tasked with navigating to a specified goal state in the environment – t‘red’, ‘blue square’, ‘small green circle’, etc. $\} -$ and the reward for each agent at every timestep is based on team performance i.e. $\begin{array} { r } { r _ { t } = \frac { \# \mathrm { a g e n t s ~ o n ~ g o a l } } { \# \mathrm { a g e n t s } } } \end{array}$
|
| 115 |
+
|
| 116 |
+

|
| 117 |
+
(a) 4 agents have to find rred, red, green, blues respectively. $t = 1$ : inital spawn locations; $t = 2$ : 4 was on red at $t = 1$ so 1 and 2 attend to messages from 4 since they have to find red. 3 has found its goal (green) and is self-attending; $t = 6$ : 4 attends to messages from 2 as 2 is on $4$ ’s target – blue; $t = 8$ : 1 finds red, so 1 and 2 shift attention to 1; $t = 2 1$ : all agents are at their respective goal locations and primarily self-attending.
|
| 118 |
+
|
| 119 |
+

|
| 120 |
+
|
| 121 |
+
(b) 8 agents have to find red on a large $1 0 0 \times 1 0 0$ environment. $t = 7$ : Agent 2 finds red and signals all other agents; $t = 7$ to $t = 1 5 0$ : All agents make their way to 2’s location and eventually converge around red.
|
| 122 |
+
|
| 123 |
+
Figure 2: Visualizations of learned targeted communication in SHAPES. Figure best viewed in color.
|
| 124 |
+
|
| 125 |
+
<table><tr><td></td><td></td><td></td><td>30 × 30,4agents,find[red]50 × 50,4agents,find[red]50 × 50,4agents,find[red,red,green,blue]</td></tr><tr><td>No communication</td><td>95.3±2.8%</td><td>83.6±3.3%</td><td>69.1±4.6%</td></tr><tr><td>No attention</td><td>99.7±0.8%</td><td>89.5±1.4%</td><td>82.4±2.1%</td></tr><tr><td>TarMAC</td><td>99.8±0.9%</td><td>89.5±1.7%</td><td>85.8±2.5%</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Table 2: Success rates on 3 different settings of cooperative navigation in the SHAPES environment.
|
| 128 |
+
|
| 129 |
+
Having a symmetric, team-based reward incentivizes agents to cooperate with each other in finding each agent’s goal. For example, as shown in Figure 2a, if agent 2’s goal is to find red and agent 4’s goal is to find blue, it is in agent 4’s interest to let agent 2 know if it passes by red $( t = 2$ ) during its exploration / quest for blue and vice versa $( t = 6$ ). SHAPES serves as a flexible testbed for carefully controlling and analyzing the effect of changing the size of the environment, no. of agents, goal configurations, etc. Figure 2 visualizes learned protocols from two different configurations, and Table 2 reports quantitative evaluation for three different configurations. Benefits of communication and attention increase with task complexity ( $3 0 \times 3 0 \to 5 0 \times 5 0$ & findrreds findrred,red,green,blues).
|
| 130 |
+
|
| 131 |
+
How does targeting work in the communication learnt by TarMAC? Recall that each agent predicts a signature and value vector as part of the message it sends, and a query vector to attend to incoming messages. The communication is targeted because the attention probabilities are a function of both the sender’s signature and receiver’s query vectors. So it is not just the receiver deciding how much of each message to listen to. The sender also sends out signatures that affects how much of each message is sent to each receiver. The sender’s signature could encode parts of its observation most relevant to other agents’ goals (for example, it would be futile to convey coordinates in the signature), and the message value could contain the agent’s own location. For example, in Figure 2a, at $t = 6$ , we see that when agent 2 passes by blue, agent 4 starts attending to agent 2. Here, agent 2’s signature encodes the color it observes (which is blue), and agent 4’s query encodes its goal (which is also blue) leading to high attention probability. Agent 2’s message value encodes coordinates agent 4 has to navigate to, as can be seen at $t = 2 1$ when agent 4 reaches there.
|
| 132 |
+
|
| 133 |
+
# 5.2 TRAFFIC JUNCTION
|
| 134 |
+
|
| 135 |
+
<table><tr><td></td><td>Easy</td><td>Hard</td></tr><tr><td>No communication</td><td>84.9±4.3%</td><td>74.1±3.9%</td></tr><tr><td>CommNets (Sukhbaatar et al., 2016)</td><td>99.7±0.1%</td><td>78.9±3.4%</td></tr><tr><td>TarMAC 1-stage</td><td>99.9±0.1%</td><td>84.6±3.2%</td></tr><tr><td>TarMAC 2-stage</td><td>99.9±0.1%</td><td>97.1±1.6%</td></tr></table>
|
| 136 |
+
|
| 137 |
+
Table 3: Success rates on traffic junction. Our targeted 2-stage communication architecture gets a success rate of $9 7 . 1 \%$ on the ‘hard’ variant of the task, significantly outperforming Sukhbaatar et al. (2016). Note that $1 \mathrm { - }$ and 2-stage refer to the number of rounds of communication between actions (Equation 4).
|
| 138 |
+
|
| 139 |
+

|
| 140 |
+
Figure 3: Success rates for 1 vs. 2-stage vs. message size on Hard. Performance does not decrease significantly even when the message vector is a single scalar, and 2 rounds of back-and-forth communication before taking an environment action leads to a significant improvement over 1-stage.
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
(c) No. of cars being attended to. 1) is positively correlated with total cars, indicating that TarMAC is adaptive to dynamic team sizes, and 2) is slightly right-shifted, since it takes few steps of communication to adapt.
|
| 144 |
+
|
| 145 |
+
(a) Brake probabilities at dif- (b) Attention probabilities at ferent locations on the hard different locations. Cars are traffic junction environment. most attended to in the ‘interCars tend to brake close to or nal grid’ – right after the 1st right before entering junctions. junction and before the 2nd.
|
| 146 |
+
|
| 147 |
+

|
| 148 |
+
Figure 4: Results on the traffic junction environment.
|
| 149 |
+
|
| 150 |
+
Environment and Task. The simulated traffic junction environments from Sukhbaatar et al. (2016) consist of cars moving along pre-assigned, potentially intersecting routes on one or more road junctions. The total number of cars is fixed at $N _ { \mathrm { m a x } }$ and at every timestep, new cars get added to the environment with probability $p _ { \mathrm { a r r i v e } }$ . Once a car completes its route, it becomes available to be sampled and added back to the environment with a different route assignment. Each car has a limited visibility of a $3 \times 3$ region around it, but is free to communicate with all other cars. The action space for each car at every timestep is gas and brake, and the reward consists of a linear time penalty $- 0 . 0 1 \tau$ , where $\tau$ is the number of timesteps since car has been active, and a collision penalty $r _ { \mathrm { c o l l i s i o n } } = - 1 0$ .
|
| 151 |
+
|
| 152 |
+
Quantitative Results. We compare our approach with CommNets (Sukhbaatar et al., 2016) on the easy and hard difficulties of the traffic junction environment. The easy task has one junction of two one-way roads on a $7 \times 7$ grid with $N _ { \mathrm { m a x } } ~ = ~ 5$ and $p _ { \mathrm { a r r i v e } } ~ = ~ 0 . 3 0$ , while the hard task has four connected junctions of two-way roads on a $1 8 \times 1 8$ grid with $N _ { \mathrm { m a x } } = 2 0$ and $p _ { \mathrm { a r r i v e } } = 0 . 0 5$ .
|
| 153 |
+
|
| 154 |
+
See Figure 4a, 4b for an example of the four two-way junctions in the hard task. As shown in Table 3, a no communication baseline has success rates of $8 4 . 9 \%$ and $7 4 . 1 \%$ on easy and hard respectively. On easy, both CommNets and TarMAC get close to $1 0 0 \%$ . On hard, TarMAC with 1-stage communication significantly outperforms CommNets with a success rate of $8 4 . 6 \%$ , while 2- stage further improves on this at $9 7 . 1 \%$ , which is an $\sim 1 8 \%$ absolute improvement over CommNets.
|
| 155 |
+
|
| 156 |
+
Model Interpretation. Interpreting the learned policies, Figure 4a shows braking probabilities at different locations: cars tend to brake close to or right before entering traffic junctions, which is reasonable since junctions have the highest chances for collisions.
|
| 157 |
+
|
| 158 |
+
Turning our attention to attention probabilities (Figure $4 \mathrm { b }$ ), we can see that cars are most-attended to when in the ‘internal grid’ – right after crossing the 1st junction and before hitting the 2nd junction. These attention probabilities are intuitive: cars learn to attentively attend to specific sensitive locations with the most relevant local observations to avoid collisions.
|
| 159 |
+
|
| 160 |
+
Finally, Figure 4c compares total number of cars in the environment vs. number of cars being attended to with probability $> 0 . 1$ at any time. Interestingly, these are (loosely) positively correlated, with Spearman’s $\sigma = 0 . 4 9$ , which shows that TarMAC is able to adapt to variable number of agents. Crucially, agents learn this dynamic targeting behavior purely from task rewards with no handcoding! Note that the right shift between the two curves is expected, as it takes a few timesteps of communication for team size changes to propagate. At a relative time shift of 3, the Spearman’s rank correlation between the two curves goes up to 0.53.
|
| 161 |
+
|
| 162 |
+
Message size vs. multi-stage communication. We study performance of TarMAC with varying message value size and number of rounds of communication on the ‘hard’ variant of the traffic junction task. As can be seen in Figure 3, multiple rounds of communication leads to significantly higher performance than simply increasing message size, demonstrating the advantage of multistage communication. In fact, decreasing message size to a single scalar performs almost as well as 64-d, perhaps because even a single real number can be sufficiently partitioned to cover the space of meanings/messages that need to be conveyed for this task.
|
| 163 |
+
|
| 164 |
+
# 5.3 HOUSE3D
|
| 165 |
+
|
| 166 |
+
Finally, we benchmark TarMAC on a cooperative point-goal navigation task in House3D (Wu et al., 2018). House3D provides a rich and diverse set of publicly-available2 3D indoor environments, wherein agents do not have access to the top-down map and must navigate purely from first-person vision. Similar to SHAPES, the agents are tasked with finding a specified goal (such as ‘fireplace’), spawned at random locations in the environment and allowed to communicate with each other and move around. Each agent gets a shaped reward based on progress towards the specified target. An episode is successful if all agents end within $0 . 5 \mathrm { m }$ of the target object in 50 navigation steps.
|
| 167 |
+
|
| 168 |
+
Table 4 shows success rates on a find[fireplace] task in House3D. A no-communication navigation policy trained with the same reward structure gets a success rate of $6 2 . 1 \%$ . Mean-pooled communication (no attention) performs slightly better with a success rate of $6 4 . 3 \%$ , and TarMAC achieves the best success rate at $6 8 . 9 \%$ . Figure 5 visualizes predicted navigation trajectories of 4 agents. Note that the communication vectors are significantly more compact (32-d) than the high-dimensional observation space, making our approach particularly attractive for scaling to large teams.
|
| 169 |
+
|
| 170 |
+
<table><tr><td></td><td>Success rate</td></tr><tr><td>No communication</td><td>62.1±5.3%</td></tr><tr><td>No attention</td><td>64.3±2.3%</td></tr><tr><td>TarMAC</td><td>68.9±1.1%</td></tr></table>
|
| 171 |
+
|
| 172 |
+
Table 4: Success rates on a 4-agent cooperative find[fireplace] navigation task in House3D.
|
| 173 |
+
|
| 174 |
+
# 6 CONCLUSIONS AND FUTURE WORK
|
| 175 |
+
|
| 176 |
+
We introduced TarMAC, an architecture for multi-agent reinforcement learning which allows targeted interactions between agents and multiple stages of collaborative reasoning at every timestep.
|
| 177 |
+
|
| 178 |
+

|
| 179 |
+
Figure 5: Agents navigating to the fireplace in House3D (marked in yellow). Note in particular that agent 4 is spawned facing away from it. It communicates with others, turns to face the fireplace, and moves towards it.
|
| 180 |
+
|
| 181 |
+
Evaluation on three diverse environments show that our model is able to learn intuitive attention behavior and improves performance, with downstream task-specific team reward as sole supervision.
|
| 182 |
+
|
| 183 |
+
While multi-agent navigation experiments in House3D show promising performance, we aim to exhaustively benchmark TarMAC on more challenging 3D navigation tasks because we believe this is where decentralized targeted communication can have the most impact – as it allows scaling to a large number of agents with large observation spaces. Given that the 3D navigation problem is hard in and of itself, it would be particularly interesting to investigate combinations with recent advances orthogonal to our approach (e.g. spatial memory, planning networks) with the TarMAC framework.
|
| 184 |
+
|
| 185 |
+
# REFERENCES
|
| 186 |
+
|
| 187 |
+
Jacob Andreas, Marcus Rohrbach, Trevor Darrell, and Dan Klein. Neural Module Networks. In CVPR, 2016. 2, 5
|
| 188 |
+
|
| 189 |
+
L. Busoniu, R. Babuska, and B. De Schutter. A Comprehensive Survey of Multiagent Reinforcement Learning. Trans. Sys. Man Cyber Part C, 2008. 2
|
| 190 |
+
|
| 191 |
+
Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP, 2014. 4
|
| 192 |
+
|
| 193 |
+
Abhishek Das, Satwik Kottur, José M.F. Moura, Stefan Lee, and Dhruv Batra. Learning Cooperative Visual Dialog Agents with Deep Reinforcement Learning. In ICCV, 2017. 3
|
| 194 |
+
|
| 195 |
+
Jakob Foerster, Yannis M Assael, Nando de Freitas, and Shimon Whiteson. Learning to communicate with deep multi-agent reinforcement learning. In NIPS, 2016. 1, 2, 3
|
| 196 |
+
|
| 197 |
+
Jakob Foerster, Gregory Farquhar, Triantafyllos Afouras, Nantas Nardelli, and Shimon Whiteson. Counterfactual multi-agent policy gradients. In AAAI, 2018. 2, 4
|
| 198 |
+
|
| 199 |
+
Matthew Hausknecht and Peter Stone. Deep Recurrent Q-Learning for Partially Observable MDPs. In AAAI, 2015. 2
|
| 200 |
+
|
| 201 |
+
Yedid Hoshen. VAIN: Attentional multi-agent predictive modeling. In NIPS. 2017. 2, 3
|
| 202 |
+
|
| 203 |
+
Max Jaderberg, Wojciech M. Czarnecki, Iain Dunning, Luke Marris, Guy Lever, Antonio Garcia Castaneda, Charles Beattie, Neil C. Rabinowitz, Ari S. Morcos, Avraham Ruderman, Nicolas Sonnerat, Tim Green, Louise Deason, Joel Z. Leibo, David Silver, Demis Hassabis, Koray Kavukcuoglu, and Thore Graepel. Human-level performance in first-person multiplayer games with population-based deep reinforcement learning. arXiv preprint arXiv:1807.01281, 2018. 2
|
| 204 |
+
|
| 205 |
+
Jiechuan Jiang and Zongqing Lu. Learning attentional communication for multi-agent cooperation. CoRR, 2018. 3
|
| 206 |
+
|
| 207 |
+
Emilio Jorge, Mikael Kågebäck, and Emil Gustavsson. Learning to play guess who? and inventing a grounded language as a consequence. In NIPS workshop on Deep Reinforcement Learning, 2016. 3
|
| 208 |
+
|
| 209 |
+
Satwik Kottur, José MF Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge ‘naturally’ in multi-agent dialog. In EMNLP, 2017. 3
|
| 210 |
+
|
| 211 |
+
Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. In ICLR, 2017. 3
|
| 212 |
+
|
| 213 |
+
Ryan Lowe, Yi Wu, Aviv Tamar, Jean Harb, Pieter Abbeel, and Igor Mordatch. Multi-agent actorcritic for mixed cooperative-competitive environments. In NIPS, 2017. 2, 3, 4
|
| 214 |
+
|
| 215 |
+
Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent populations. arXiv preprint arXiv:1703.04908, 2017. 3
|
| 216 |
+
|
| 217 |
+
Frans A. Oliehoek. Decentralized POMDPs. In Reinforcement Learning: State of the Art. Springer Berlin Heidelberg, 2012. 3
|
| 218 |
+
|
| 219 |
+
OpenAI. OpenAI Five. https://blog.openai.com/openai-five/, 2018. 2
|
| 220 |
+
|
| 221 |
+
Peng Peng, Quan Yuan, Ying Wen, Yaodong Yang, Zhenkun Tang, Haitao Long, and Jun Wang. Multiagent bidirectionally-coordinated nets for learning to play starcraft combat games. arXiv preprint arXiv:1703.10069, 2017. 2
|
| 222 |
+
|
| 223 |
+
Yoav Shoham and Kevin Leyton-Brown. Multiagent Systems: Algorithmic, Game-Theoretic, and Logical Foundations. Cambridge University Press, 2008. 2
|
| 224 |
+
|
| 225 |
+
Sainbayar Sukhbaatar, Arthur Szlam, and Rob Fergus. Learning multiagent communication with backpropagation. In NIPS, 2016. 1, 2, 3, 7
|
| 226 |
+
|
| 227 |
+
Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, 1998. 3, 4
|
| 228 |
+
|
| 229 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, 2017. 5
|
| 230 |
+
|
| 231 |
+
Yi Wu, Yuxin Wu, Georgia Gkioxari, and Yuandong Tian. Building Generalizable Agents With a Realistic And Rich 3D Environment. arXiv preprint arXiv:1801.02209, 2018. 2, 8
|
| 232 |
+
|
| 233 |
+
Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Poczos, Ruslan R Salakhutdinov, and Alexander J Smola. Deep sets. In NIPS, 2017. 2
|
parse/train/H1e572A5tQ/H1e572A5tQ_content_list.json
ADDED
|
@@ -0,0 +1,1239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "TARMAC: TARGETED MULTI-AGENT COMMUNICATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
736,
|
| 10 |
+
118
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors ",
|
| 17 |
+
"text_level": 1,
|
| 18 |
+
"bbox": [
|
| 19 |
+
184,
|
| 20 |
+
143,
|
| 21 |
+
326,
|
| 22 |
+
156
|
| 23 |
+
],
|
| 24 |
+
"page_idx": 0
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"type": "text",
|
| 28 |
+
"text": "Paper under double-blind review ",
|
| 29 |
+
"bbox": [
|
| 30 |
+
184,
|
| 31 |
+
157,
|
| 32 |
+
398,
|
| 33 |
+
170
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "ABSTRACT ",
|
| 40 |
+
"text_level": 1,
|
| 41 |
+
"bbox": [
|
| 42 |
+
454,
|
| 43 |
+
207,
|
| 44 |
+
544,
|
| 45 |
+
222
|
| 46 |
+
],
|
| 47 |
+
"page_idx": 0
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"type": "text",
|
| 51 |
+
"text": "We explore a collaborative multi-agent reinforcement learning setting where a team of agents attempts to solve cooperative tasks in partially-observable environments. In this scenario, learning an effective communication protocol is key. We propose a communication architecture that allows for targeted communication, where agents learn both what messages to send and who to send them to, solely from downstream task-specific reward without any communication supervision. ",
|
| 52 |
+
"bbox": [
|
| 53 |
+
233,
|
| 54 |
+
243,
|
| 55 |
+
764,
|
| 56 |
+
327
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Additionally, we introduce a multi-stage communication approach where the agents co-ordinate via multiple rounds of communication before taking actions in the environment. We evaluate our approach on a diverse set of cooperative multi-agent tasks, of varying difficulties, with varying number of agents, in a variety of environments ranging from 2D grid layouts of shapes and simulated traffic junctions to complex 3D indoor environments. We demonstrate the benefits of targeted as well as multi-stage communication. Moreover, we show that the targeted communication strategies learned by agents are both interpretable and intuitive. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
233,
|
| 65 |
+
328,
|
| 66 |
+
764,
|
| 67 |
+
438
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "1 INTRODUCTION ",
|
| 74 |
+
"text_level": 1,
|
| 75 |
+
"bbox": [
|
| 76 |
+
176,
|
| 77 |
+
477,
|
| 78 |
+
336,
|
| 79 |
+
492
|
| 80 |
+
],
|
| 81 |
+
"page_idx": 0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "text",
|
| 85 |
+
"text": "Effective communication is a key ability for collaborative multi-agents systems. Indeed, intelligent agents (humans or artificial) in real-world scenarios can significantly benefit from exchanging information that enables them to coordinate, strategize, and utilize their combined sensory experiences to act in the physical world. The ability to communicate has wide-ranging applications for artificial agents – from multi-player gameplay in simulated games (e.g. DoTA, Quake, StarCraft) or physical worlds (e.g. robot soccer), to networks of self-driving cars communicating with each other to achieve safe and swift transport, to teams of robots on search-and-rescue missions deployed in hostile and fast-evolving environments. ",
|
| 86 |
+
"bbox": [
|
| 87 |
+
174,
|
| 88 |
+
512,
|
| 89 |
+
825,
|
| 90 |
+
625
|
| 91 |
+
],
|
| 92 |
+
"page_idx": 0
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"type": "text",
|
| 96 |
+
"text": "A salient property of human communication is the ability to hold targeted interactions. Rather than the ‘one-size-fits-all’ approach of broadcasting messages to all participating agents, as has been previously explored (Sukhbaatar et al., 2016; Foerster et al., 2016), it can be useful to direct certain messages to specific recipients. This enables a more flexible collaboration strategy in complex environments. For example, within a team of search-and-rescue robots with a diverse set of roles and goals, a message for a fire-fighter (“smoke is coming from the kitchen”) is largely meaningless for a bomb-defuser. ",
|
| 97 |
+
"bbox": [
|
| 98 |
+
174,
|
| 99 |
+
631,
|
| 100 |
+
825,
|
| 101 |
+
728
|
| 102 |
+
],
|
| 103 |
+
"page_idx": 0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"type": "text",
|
| 107 |
+
"text": "In this work we develop a collaborative multi-agent deep reinforcement learning approach that supports targeted communication. Crucially, each individual agent actively selects which other agents to send messages to. This targeted communication behavior is operationalized via a simple signaturebased soft attention mechanism: along with the message, the sender broadcasts a key which encodes properties of agents the message is intended for, and is used by receivers to gauge the relevance of the message. This communication mechanism is learned implicitly, without any attention supervision, as a result of end-to-end training using a downstream task-specific team reward. ",
|
| 108 |
+
"bbox": [
|
| 109 |
+
174,
|
| 110 |
+
736,
|
| 111 |
+
823,
|
| 112 |
+
833
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "The inductive bias provided by soft attention in the communication architecture is sufficient to enable agents to 1) communicate agent-goal-specific messages (e.g. guide fire-fighter towards fire, bomb-defuser towards bomb, etc.), 2) be adaptive to variable team sizes (e.g. the size of the local neighborhood a self-driving car can communicate with changes as it moves), and 3) be interpretable through predicted attention probabilities that allow for inspection of which agent is communicating what message and to whom. ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
840,
|
| 122 |
+
823,
|
| 123 |
+
922
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Our results however show that just using targeted communication is not enough. Complex realworld tasks might require large populations of agents to go through multiple stages of collaborative communication and reasoning, involving large amounts of information to be persistent in memory and exchanged via high-bandwidth communication channels. To this end, our actor-critic framework combines centralized training with decentralized execution (Lowe et al., 2017), thus enabling scaling to a large number of agents. In this context, our inter-agent communication architecture supports multiple stages of targeted interactions at every time-step, and the agents’ recurrent policies support persistent relevant information in internal states. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
103,
|
| 133 |
+
823,
|
| 134 |
+
214
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "While natural language, i.e. a finite set of discrete tokens with pre-specified human-conventionalized meanings, may seem like an intuitive protocol for inter-agent communication – one that enables human-interpretability of interactions – forcing machines to communicate among themselves in discrete tokens presents additional training challenges. Since our work focuses on machine-only multi-agent teams, we allow agents to communicate via continuous vectors (rather than discrete symbols), and via the learning process, agents have the flexibility to discover and optimize their communication protocol as per task requirements. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
222,
|
| 144 |
+
825,
|
| 145 |
+
319
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "We provide extensive empirical demonstration of the efficacy of our approach across a range of tasks, environments, and team sizes. We begin by benchmarking multi-agent communication with and without attention on a cooperative navigation task derived from the SHAPES environment (Andreas et al., 2016). We show that agents learn intuitive attention behavior across a spectrum of task difficulties. Next, we evaluate the same targeted multi-agent communication architecture on the traffic junction environment (Sukhbaatar et al., 2016), and show that agents are able to adaptively focus on ‘active’ agents in the case of varying team sizes. Finally, we demonstrate effective multi-agent communication in 3D environments on a cooperative first-person point-goal navigation task in the rich House3D environment (Wu et al., 2018). ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
327,
|
| 155 |
+
825,
|
| 156 |
+
452
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "2 RELATED WORK ",
|
| 163 |
+
"text_level": 1,
|
| 164 |
+
"bbox": [
|
| 165 |
+
176,
|
| 166 |
+
473,
|
| 167 |
+
344,
|
| 168 |
+
489
|
| 169 |
+
],
|
| 170 |
+
"page_idx": 1
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"type": "text",
|
| 174 |
+
"text": "Multi-agent systems fall at the intersection of game theory, distributed systems, and Artificial Intelligence in general (Shoham & Leyton-Brown, 2008), and thus have a rich and diverse literature. Our work builds on and is related to prior work in deep multi-agent reinforcement learning, the centralized training and decentralized execution paradigm, and emergent communication protocols. ",
|
| 175 |
+
"bbox": [
|
| 176 |
+
174,
|
| 177 |
+
506,
|
| 178 |
+
823,
|
| 179 |
+
561
|
| 180 |
+
],
|
| 181 |
+
"page_idx": 1
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"type": "text",
|
| 185 |
+
"text": "Multi-Agent Reinforcement Learning (MARL). Within MARL (see Busoniu et al. (2008) for a survey), our work is related to recent efforts on using recurrent neural networks to approximate agent policies (Hausknecht & Stone, 2015), algorithms stabilizing multi-agent training (Lowe et al., 2017; Foerster et al., 2018), and tasks in novel application domains such as coordination and navigation in 3D simulated environments (Peng et al., 2017; OpenAI, 2018; Jaderberg et al., 2018). ",
|
| 186 |
+
"bbox": [
|
| 187 |
+
174,
|
| 188 |
+
568,
|
| 189 |
+
823,
|
| 190 |
+
637
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "Centralized Training & Decentralized Execution. Both Sukhbaatar et al. (2016) and Hoshen (2017) adopt a fully centralized framework at both training and test time – a central controller processes local observations from all agents and outputs a probability distribution over joint actions. In this setting, any controller (e.g. a fully-connected network) can be viewed as implicitly encoding communication. Sukhbaatar et al. (2016) present an efficient architecture to learn a centralized controller invariant to agent permutations – by sharing weights and averaging as in Zaheer et al. (2017). Meanwhile Hoshen (2017) proposes to replace averaging by an attentional mechanism to allow targeted interactions between agents. While closely related to our communication architecture, his work only considers fully supervised one-next-step prediction tasks, while we tackle the full reinforcement learning problem with tasks requiring planning over long time horizons. ",
|
| 197 |
+
"bbox": [
|
| 198 |
+
174,
|
| 199 |
+
645,
|
| 200 |
+
825,
|
| 201 |
+
784
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "Moreover, a centralized controller quickly becomes intractable in real-world tasks with many agents and high-dimensional observation spaces (e.g. navigation in House3D (Wu et al., 2018)). To address these weaknesses, we adopt the framework of centralized learning but decentralized execution (following Foerster et al. (2016); Lowe et al. (2017)) and further relax it by allowing agents to communicate. While agents can use extra information during training, at test time, they pick actions solely based on local observations and communication messages received from other agents. ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
174,
|
| 210 |
+
791,
|
| 211 |
+
823,
|
| 212 |
+
875
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 1
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "Finally, we note that fully decentralized execution at test time without communication is very restrictive. It means 1) each agent must act myopically based solely on its local observation and 2) agents cannot coordinate their actions. In our setting, communication between agents offers a reasonable trade-off between allowing agents to globally coordinate while retaining tractability (since the communicated messages are much lower-dimensional than the observation space). ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
176,
|
| 221 |
+
882,
|
| 222 |
+
823,
|
| 223 |
+
924
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 1
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "table",
|
| 229 |
+
"img_path": "images/ee102ebaa7bcf39d7c1715a01c254061fd662d9f0556b3ad054de0727973c9f2.jpg",
|
| 230 |
+
"table_caption": [],
|
| 231 |
+
"table_footnote": [
|
| 232 |
+
"Table 1: Comparison with previous work on collaborative multi-agent communication with continuous vectors. "
|
| 233 |
+
],
|
| 234 |
+
"table_body": "<table><tr><td></td><td>Decentralized Execution</td><td>Targeted Communication</td><td>Multi-Stage Decisions</td><td>Reinforcement Learning</td></tr><tr><td>DIAL (Foerster et al., 2016)</td><td>Yes</td><td>No</td><td>No</td><td>Yes (Q-Learning)</td></tr><tr><td>CommNets (Sukhbaatar et al., 2016)</td><td>No</td><td>No</td><td>Yes</td><td>Yes (REINFORCE)</td></tr><tr><td>VAIN (Hoshen, 2017)</td><td>No</td><td>Yes</td><td>Yes</td><td>No (Supervised)</td></tr><tr><td>ATOC (Jiang & Lu,2018)</td><td>Yes</td><td>No</td><td>No</td><td>Yes (Actor-Critic)</td></tr><tr><td>TarMAC (this paper)</td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes (Actor-Critic)</td></tr></table>",
|
| 235 |
+
"bbox": [
|
| 236 |
+
176,
|
| 237 |
+
88,
|
| 238 |
+
825,
|
| 239 |
+
196
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "",
|
| 246 |
+
"bbox": [
|
| 247 |
+
176,
|
| 248 |
+
226,
|
| 249 |
+
821,
|
| 250 |
+
253
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Emergent Communication Protocols. Our work is also related to recent work on learning communication protocols in a completely end-to-end manner with reinforcement learning – from perceptual input (e.g. pixels) to communication symbols (discrete or continuous) to actions (e.g. navigating in an environment). While (Foerster et al., 2016; Jorge et al., 2016; Das et al., 2017; Kottur et al., 2017; Mordatch & Abbeel, 2017; Lazaridou et al., 2017) constrain agents to communicate with discrete symbols with the explicit goal to study emergence of language, our work operates in the paradigm of learning a continuous communication protocol in order to solve a downstream task (Sukhbaatar et al., 2016; Hoshen, 2017; Jiang & Lu, 2018). While (Jiang & Lu, 2018) also operate in a decentralized execution setting and use an attentional communication mechanism, their setup is significantly different from ours as they use attention to decide when to communicate, not who to communicate with (‘who’ depends on a hand-tuned neighborhood parameter in their work). Table 1 summarizes the main axes of comparison between our work and previous efforts in this exciting space. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
260,
|
| 260 |
+
825,
|
| 261 |
+
428
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "3 TECHNICAL BACKGROUND ",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
176,
|
| 271 |
+
446,
|
| 272 |
+
431,
|
| 273 |
+
463
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "Decentralized Partially Observable Markov Decision Processes (Dec-POMDPs). A DecPOMDP is a cooperative multi-agent extension of a partially observable Markov decision process (Oliehoek (2012)). For $N$ agents, it is defined by a set of states $S$ describing possible configurations of all agents, a global reward function $R$ , a transition probability function $T$ , and for each agent $i \\in { 1 , . . . , N }$ a set of allowed actions $A _ { i }$ , a set of possible observations $\\Omega _ { i }$ and an observation function $O _ { i }$ . Operationally, at each time step every agent picks an action $a _ { i }$ based on its local observation $\\omega _ { i }$ following its own stochastic policy $\\pi _ { \\boldsymbol { \\theta } _ { i } } ( a _ { i } | \\omega _ { i } )$ . The system randomly transitions to the next state $s ^ { \\prime }$ given the current state and joint action $T ( s ^ { \\prime } | s , a _ { 1 } , . . . , a _ { N } )$ . The agent team receives a global reward $r = R ( s , a _ { 1 } , . . . , a _ { N } )$ while each agent receives a local observation of the new state ř $O _ { i } ( \\omega _ { i } | s ^ { \\prime } )$ . gents aim to maximize the total expected return $\\begin{array} { r } { J = \\sum _ { t = 0 } ^ { T } \\gamma ^ { t } r _ { t } } \\end{array}$ where $\\gamma$ is a discount factor and $T$ ",
|
| 280 |
+
"bbox": [
|
| 281 |
+
173,
|
| 282 |
+
478,
|
| 283 |
+
825,
|
| 284 |
+
636
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "Actor-Critic Algorithms. Policy gradient methods directly adjust the parameters $\\theta$ of the policy in order to maximize the objective $\\begin{array} { r } { \\dot { J ( \\theta ) } = \\mathbb { E } _ { s \\sim p _ { \\pi } , a \\sim \\pi _ { \\theta } ( s ) } \\left[ \\dot { R ( s , a ) } \\right] } \\end{array}$ by taking steps in the direction of $\\nabla J ( \\theta )$ . We can write the gradient with respect to the policy parameters as ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
174,
|
| 293 |
+
641,
|
| 294 |
+
825,
|
| 295 |
+
685
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "equation",
|
| 301 |
+
"img_path": "images/de5fdb19c4a64c5fe0ff9c448e53201249c0b8ba312adeed8de3ebb0be33ecc1.jpg",
|
| 302 |
+
"text": "$$\n\\nabla _ { \\theta } J ( \\theta ) = \\mathbb { E } _ { s \\sim p _ { \\pi } , a \\sim \\pi _ { \\theta } ( s ) } \\left[ \\nabla _ { \\theta } \\log \\pi _ { \\theta } ( a | s ) Q _ { \\pi } ( s , a ) \\right] ,\n$$",
|
| 303 |
+
"text_format": "latex",
|
| 304 |
+
"bbox": [
|
| 305 |
+
325,
|
| 306 |
+
693,
|
| 307 |
+
671,
|
| 308 |
+
710
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 2
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "where $Q _ { \\pi } ( s , a )$ is called the action-value, it is the expected remaining discounted reward if we take action $a$ in state $s$ and follow policy $\\pi$ thereafter. Actor-Critic algorithms learn an approximation of the unknown true action-value function $\\hat { Q } ( s , a )$ by e.g. temporal-difference learning (Sutton & Barto, 1998). This $\\hat { Q } ( s , a )$ is called the Critic while the policy $\\pi _ { \\theta }$ is called the Actor. ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
717,
|
| 318 |
+
825,
|
| 319 |
+
779
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "Multi-Agent Actor-Critic. Lowe et al. (2017) propose a multi-agent Actor-Critic algorithm adapted to centralized learning and decentralized execution. Each agent learns its own individual policy $\\pi _ { \\theta _ { i } } ( a _ { i } | \\omega _ { i } )$ conditioned on local observation $\\omega _ { i }$ , using a centralized Critic which estimates the joint action-value $\\hat { Q } ( s , a _ { 1 } , . . . , a _ { N } )$ . ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
174,
|
| 328 |
+
785,
|
| 329 |
+
825,
|
| 330 |
+
844
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "4 TARMAC: TARGETED MULTI-AGENT COMMUNICATION ",
|
| 337 |
+
"text_level": 1,
|
| 338 |
+
"bbox": [
|
| 339 |
+
173,
|
| 340 |
+
863,
|
| 341 |
+
673,
|
| 342 |
+
881
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 2
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "We now describe our multi-agent communication architecture in detail. Recall that we have $N$ agents with policies $\\left\\{ \\pi _ { 1 } , . . . , \\pi _ { N } \\right\\}$ , respectively parameterized by $\\big \\{ \\theta _ { 1 } , . . . , \\theta _ { N } \\big \\}$ , jointly performing a cooperative task. At every timestep $t$ , the ith agent for all $i \\in \\{ 1 , . . . , N \\}$ sees a local observation $\\omega _ { i } ^ { t }$ , and must select a discrete environment action $\\bar { \\boldsymbol { a } } _ { i } ^ { t } \\sim \\pi _ { \\boldsymbol { \\theta } _ { i } }$ and a continuous communication message $m _ { i } ^ { t }$ , received by other agents at the next timestep, in order to maximize global reward $r _ { t } \\sim R$ . Since no agent has access to the underlying state of the environment $s _ { t }$ , there is incentive in communicating with each other and being mutually helpful to do better as a team. ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
173,
|
| 351 |
+
895,
|
| 352 |
+
823,
|
| 353 |
+
924
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 2
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "image",
|
| 359 |
+
"img_path": "images/bc395e5a5aab975be313e2a5d3bd2a0e1cdee750a7a411855df61900ec279d8a.jpg",
|
| 360 |
+
"image_caption": [
|
| 361 |
+
"Figure 1: Overview of our multi-agent architecture with targeted communication. Left: At every timestep, each agent policy gets a local observation $\\boldsymbol { \\omega } _ { i } ^ { t }$ and aggregated message $c _ { i } ^ { t }$ as input, and predicts an environment action $a _ { i } ^ { \\overline { { t } } }$ and a targeted communication message $m _ { i } ^ { \\bar { t } }$ . Right: Targeted communication between agents is implemented as a signature-based soft attention mechanism. Each agent broadcasts a message $m _ { i } ^ { t }$ consisting of a signature $k _ { i } ^ { t }$ , which can be used to encode agent-specific information and a value $\\boldsymbol { v } _ { i } ^ { t }$ , which contains the actual message. At the next timestep, each receiving agent gets as input a convex combination of message values, where the attention weights are obtained by a dot product between sender’s signature $k _ { i } ^ { t }$ and a query vector $\\boldsymbol q _ { j } ^ { t + 1 }$ predicted from the receiver’s hidden state. "
|
| 362 |
+
],
|
| 363 |
+
"image_footnote": [],
|
| 364 |
+
"bbox": [
|
| 365 |
+
171,
|
| 366 |
+
102,
|
| 367 |
+
825,
|
| 368 |
+
338
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 3
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "",
|
| 375 |
+
"bbox": [
|
| 376 |
+
173,
|
| 377 |
+
487,
|
| 378 |
+
825,
|
| 379 |
+
558
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "Policies and Decentralized Execution. Each agent is essentially modeled as a Dec-POMDP augmented with communication. Each agent’s policy $\\pi _ { \\boldsymbol { \\theta } _ { i } }$ is implemented as a 1-layer Gated Recurrent Unit (Cho et al., 2014). At every timestep, the local observation $\\omega _ { i } ^ { t }$ and a vector $c _ { i } ^ { t }$ aggregating messages sent by all agents at the previous timestep (described in more detail below) are used to update the hidden state $h _ { i } ^ { t }$ of the GRU, which encodes the entire message-action-observation history up to time $t$ . From this internal state representation, the agent’s policy $\\pi _ { \\theta _ { i } } \\left( a _ { i } ^ { t } | h _ { i } ^ { t } \\right)$ predicts a categorical distribution over the space of actions, and another output head produces an outgoing message vector $m _ { i } ^ { t }$ . Note that for all our experiments, agents are symmetric and policies are instantiated from the same set of shared parameters; i.e. $\\theta _ { 1 } = \\ldots = \\theta _ { N }$ . This considerably speeds up learning. ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
173,
|
| 388 |
+
564,
|
| 389 |
+
825,
|
| 390 |
+
690
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "Centralized Critic. Following prior work (Lowe et al., 2017; Foerster et al., 2018), we operate under the centralized learning and decentralized execution paradigm wherein during training, a centralized critic guides the optimization of individual agent policies. The centralized Critic takes as input predicted actions $\\{ a _ { 1 } ^ { \\bar { t } } , . . . , a _ { N } ^ { t } \\}$ and internal state representations $\\{ h _ { 1 } ^ { t } , . . . , h _ { N } ^ { t } \\}$ from all agents to estimate the joint action-value $\\hat { Q } _ { t }$ at every timestep. The centralized Critic is learned by temporal difference (Sutton $\\&$ Barto, 1998) and the gradient of the expected return $J ( \\theta _ { i } ) = \\mathbb { E } [ R ]$ with respect to policy parameters is approximated by: ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
173,
|
| 399 |
+
695,
|
| 400 |
+
825,
|
| 401 |
+
797
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "equation",
|
| 407 |
+
"img_path": "images/ab6f8d2e2d86e3e9aa799a236a0121356d089d609b85cc2d5e2aef89c816aab1.jpg",
|
| 408 |
+
"text": "$$\n\\nabla _ { \\theta _ { i } } J ( \\theta _ { i } ) = \\mathbb { E } \\left[ \\nabla _ { \\theta _ { i } } \\log \\pi _ { \\theta _ { i } } ( a _ { i } ^ { t } | h _ { i } ^ { t } ) \\ \\hat { Q } _ { t } ( h _ { 1 } ^ { t } , . . . , h _ { N } ^ { t } , a _ { t } ^ { 1 } , . . . , a _ { t } ^ { N } ) \\right] .\n$$",
|
| 409 |
+
"text_format": "latex",
|
| 410 |
+
"bbox": [
|
| 411 |
+
289,
|
| 412 |
+
803,
|
| 413 |
+
709,
|
| 414 |
+
830
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 3
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "text",
|
| 420 |
+
"text": "Note that compared to an individual critic $\\hat { Q } _ { i } ( h _ { i } ^ { t } , a _ { i } ^ { t } )$ for each agent, having a centralized critic leads to considerably lower variance in policy gradient estimates since it takes into account actions from all agents. At test time, the critic is not needed anymore and policy execution is fully decentralized. ",
|
| 421 |
+
"bbox": [
|
| 422 |
+
174,
|
| 423 |
+
844,
|
| 424 |
+
825,
|
| 425 |
+
888
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "Targeted, Multi-Stage Communication. Establishing complex collaboration strategies requires targeted communication i.e. the ability to send specific messages to specific agents, as well as multi",
|
| 432 |
+
"bbox": [
|
| 433 |
+
173,
|
| 434 |
+
895,
|
| 435 |
+
821,
|
| 436 |
+
924
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "stage communication i.e. multiple rounds of back-and-forth interactions between agents. We use a signature-based soft-attention mechanism in our communication structure to enable targeting. Each message $m _ { i } ^ { t }$ consists of 2 parts – a signature $k _ { i } ^ { t } \\in \\mathbb { R } ^ { d _ { k } }$ to target recipients, and a value $\\mathcal { \\mathbf { v } } _ { i } ^ { t } \\in \\mathbb { \\breve { R } } ^ { d _ { v } }$ : ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
174,
|
| 445 |
+
103,
|
| 446 |
+
825,
|
| 447 |
+
147
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 4
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "equation",
|
| 453 |
+
"img_path": "images/92c7b9058b518a592b94aacedd5daaa75e00070f76cb70fd51a7f6dfa684254b.jpg",
|
| 454 |
+
"text": "$$\nm _ { i } ^ { t } = \\big [ \\begin{array} { c c } { { \\frac { \\mathrm { s i g n a t u r e } } { k _ { i } ^ { t } } } } & { { } } \\\\ { { } } & { { \\frac { v _ { i } ^ { t } } { \\mathrm { v a l u e } } } } \\end{array} \\big ] .\n$$",
|
| 455 |
+
"text_format": "latex",
|
| 456 |
+
"bbox": [
|
| 457 |
+
411,
|
| 458 |
+
154,
|
| 459 |
+
586,
|
| 460 |
+
203
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "At the receiving end, each agent (indexed by $j$ ) predicts a query vector $q _ { j } ^ { t + 1 } \\in \\mathbb { R } ^ { d _ { k } }$ from its hidden state ? $h _ { j } ^ { t + 1 }$ and uses it to compute a dot product with signatures of all $N$ messages. This is scaled by $1 / \\sqrt { d _ { k } }$ followed by a softmax to obtain attention weight $\\alpha _ { j i }$ for each message value vector: ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
209,
|
| 470 |
+
825,
|
| 471 |
+
260
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "equation",
|
| 477 |
+
"img_path": "images/7987936737ae30dbf9c99fcb85196cb1b4457397ea26f7a9d987631346340505.jpg",
|
| 478 |
+
"text": "$$\n\\alpha _ { j } = \\mathrm { s o f t m a x } \\left[ \\frac { { q _ { j } ^ { t + 1 } } ^ { T } k _ { 1 } ^ { t } } { \\sqrt { d _ { k } } } \\dots \\frac { { q _ { j } ^ { t + 1 } } ^ { T } k _ { i } ^ { t } } { \\hdots \\hdots \\hdots } \\hdots \\frac { { q _ { j } ^ { t + 1 } } ^ { T } k _ { N } ^ { t } } { \\sqrt { d _ { k } } } \\right]\n$$",
|
| 479 |
+
"text_format": "latex",
|
| 480 |
+
"bbox": [
|
| 481 |
+
292,
|
| 482 |
+
265,
|
| 483 |
+
655,
|
| 484 |
+
333
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "equation",
|
| 490 |
+
"img_path": "images/c7c4bd7d20e5d972a68ec125c84a74b25b5a1cd304169b853b3f604d3d179888.jpg",
|
| 491 |
+
"text": "$$\nc _ { j } ^ { t + 1 } = \\sum _ { i = 1 } ^ { N } \\alpha _ { j i } v _ { i } ^ { t } .\n$$",
|
| 492 |
+
"text_format": "latex",
|
| 493 |
+
"bbox": [
|
| 494 |
+
439,
|
| 495 |
+
338,
|
| 496 |
+
558,
|
| 497 |
+
380
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 4
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "Note that equation 2 also includes $\\alpha _ { i i }$ corresponding to the ability to self-attend (Vaswani et al., 2017), which we empirically found to improve performance, especially in situations when an agent has found the goal in a coordinated navigation task and all it is required to do is stay at the goal, so others benefit from attending to this agent’s message but return communication is not needed. ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
176,
|
| 506 |
+
388,
|
| 507 |
+
825,
|
| 508 |
+
445
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 4
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "For multiple stages of communication, aggregated message vector $c _ { j } ^ { t + 1 }$ and internal state $h _ { j } ^ { t }$ are first used to predict the next internal state ${ h ^ { \\prime } } _ { j } ^ { t }$ taking into account a first round of communication: ",
|
| 515 |
+
"bbox": [
|
| 516 |
+
174,
|
| 517 |
+
450,
|
| 518 |
+
823,
|
| 519 |
+
486
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 4
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "equation",
|
| 525 |
+
"img_path": "images/bf0d2903fd4bcd83577bb4a3f5636d249ed770428e819ab3d78e036ae9841867.jpg",
|
| 526 |
+
"text": "$$\n{ h ^ { \\prime } } _ { j } ^ { t } = \\operatorname { t a n h } ( W _ { h h ^ { \\prime } } [ \\ c _ { j } ^ { t + 1 } \\ \\parallel \\ h _ { j } ^ { t } \\ ] ) .\n$$",
|
| 527 |
+
"text_format": "latex",
|
| 528 |
+
"bbox": [
|
| 529 |
+
380,
|
| 530 |
+
493,
|
| 531 |
+
619,
|
| 532 |
+
515
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 4
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "Next, ${ h ^ { \\prime } } _ { j } ^ { t }$ is used to predict signature, query, value followed by repeating Eqns 1-4 for multiple rounds until we get a final aggregated message vector $c _ { j } ^ { t + 1 }$ to be used as input at the next timestep. ",
|
| 539 |
+
"bbox": [
|
| 540 |
+
173,
|
| 541 |
+
523,
|
| 542 |
+
826,
|
| 543 |
+
558
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 4
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "5 EXPERIMENTS ",
|
| 550 |
+
"text_level": 1,
|
| 551 |
+
"bbox": [
|
| 552 |
+
176,
|
| 553 |
+
575,
|
| 554 |
+
328,
|
| 555 |
+
592
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 4
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "We evaluate our targeted multi-agent communication architecture on a variety of tasks and environments. All our models were trained with a batched synchronous version of the multi-agent ActorCritic described above, using RMSProp with a learning rate of $7 \\times 1 0 ^ { - 4 }$ and $\\alpha = 0 . 9 9$ , batch size 16, discount factor $\\gamma = 0 . 9 9$ and entropy regularization coefficient 0.01 for agent policies. All our agent policies are instantiated from the same set of shared parameters; i.e. $\\theta _ { 1 } = \\ldots = \\theta _ { N }$ . Each agent’s GRU hidden state is 128-d, message signature/query is 16-d, and message value is 32-d (unless specified otherwise). All results are averaged over 5 independent runs with different seeds. ",
|
| 562 |
+
"bbox": [
|
| 563 |
+
173,
|
| 564 |
+
606,
|
| 565 |
+
825,
|
| 566 |
+
705
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "5.1 SHAPES ",
|
| 573 |
+
"text_level": 1,
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
722,
|
| 577 |
+
281,
|
| 578 |
+
736
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 4
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "The SHAPES dataset was introduced by Andreas et al. $\\left( 2 0 1 6 \\right)$ , and originally created for testing compositional visual reasoning for the task of visual question answering. It consists of synthetic images of 2D colored shapes arranged in a grid ( $3 \\times 3$ cells in the original dataset) along with corresponding question-answer pairs. There are 3 shapes (circle, square, triangle), 3 colors (red, green, blue), and 2 sizes (small, big) in total (see Figure 2). ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
747,
|
| 588 |
+
825,
|
| 589 |
+
818
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 4
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "We convert each image from SHAPES into an active environment where agents can now be spawned at different regions of the image, observe a $5 \\times 5$ local patch around them and their coordinates, and take actions to move around – tup, down, left, right, stayu. Each agent is tasked with navigating to a specified goal state in the environment – t‘red’, ‘blue square’, ‘small green circle’, etc. $\\} -$ and the reward for each agent at every timestep is based on team performance i.e. $\\begin{array} { r } { r _ { t } = \\frac { \\# \\mathrm { a g e n t s ~ o n ~ g o a l } } { \\# \\mathrm { a g e n t s } } } \\end{array}$ ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
173,
|
| 598 |
+
824,
|
| 599 |
+
825,
|
| 600 |
+
897
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 4
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "image",
|
| 606 |
+
"img_path": "images/4576e03e27c2832c081c391c28c88faecf612a0969853f4bbfb04e6b85fbf912.jpg",
|
| 607 |
+
"image_caption": [
|
| 608 |
+
"(a) 4 agents have to find rred, red, green, blues respectively. $t = 1$ : inital spawn locations; $t = 2$ : 4 was on red at $t = 1$ so 1 and 2 attend to messages from 4 since they have to find red. 3 has found its goal (green) and is self-attending; $t = 6$ : 4 attends to messages from 2 as 2 is on $4$ ’s target – blue; $t = 8$ : 1 finds red, so 1 and 2 shift attention to 1; $t = 2 1$ : all agents are at their respective goal locations and primarily self-attending. "
|
| 609 |
+
],
|
| 610 |
+
"image_footnote": [],
|
| 611 |
+
"bbox": [
|
| 612 |
+
178,
|
| 613 |
+
99,
|
| 614 |
+
825,
|
| 615 |
+
313
|
| 616 |
+
],
|
| 617 |
+
"page_idx": 5
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"type": "image",
|
| 621 |
+
"img_path": "images/a5b777d28b1efa0d622687ea099c17e88ae1f39400c36192a6b9de31d75798b7.jpg",
|
| 622 |
+
"image_caption": [],
|
| 623 |
+
"image_footnote": [],
|
| 624 |
+
"bbox": [
|
| 625 |
+
181,
|
| 626 |
+
378,
|
| 627 |
+
825,
|
| 628 |
+
640
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 5
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "(b) 8 agents have to find red on a large $1 0 0 \\times 1 0 0$ environment. $t = 7$ : Agent 2 finds red and signals all other agents; $t = 7$ to $t = 1 5 0$ : All agents make their way to 2’s location and eventually converge around red. ",
|
| 635 |
+
"bbox": [
|
| 636 |
+
176,
|
| 637 |
+
648,
|
| 638 |
+
821,
|
| 639 |
+
676
|
| 640 |
+
],
|
| 641 |
+
"page_idx": 5
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"type": "table",
|
| 645 |
+
"img_path": "images/1478d00053184ca9eee6902d2c407db53d92fcaf989a971370d4965ed8e873a4.jpg",
|
| 646 |
+
"table_caption": [
|
| 647 |
+
"Figure 2: Visualizations of learned targeted communication in SHAPES. Figure best viewed in color. "
|
| 648 |
+
],
|
| 649 |
+
"table_footnote": [
|
| 650 |
+
"Table 2: Success rates on 3 different settings of cooperative navigation in the SHAPES environment. "
|
| 651 |
+
],
|
| 652 |
+
"table_body": "<table><tr><td></td><td></td><td></td><td>30 × 30,4agents,find[red]50 × 50,4agents,find[red]50 × 50,4agents,find[red,red,green,blue]</td></tr><tr><td>No communication</td><td>95.3±2.8%</td><td>83.6±3.3%</td><td>69.1±4.6%</td></tr><tr><td>No attention</td><td>99.7±0.8%</td><td>89.5±1.4%</td><td>82.4±2.1%</td></tr><tr><td>TarMAC</td><td>99.8±0.9%</td><td>89.5±1.7%</td><td>85.8±2.5%</td></tr></table>",
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
713,
|
| 656 |
+
843,
|
| 657 |
+
795
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 5
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "Having a symmetric, team-based reward incentivizes agents to cooperate with each other in finding each agent’s goal. For example, as shown in Figure 2a, if agent 2’s goal is to find red and agent 4’s goal is to find blue, it is in agent 4’s interest to let agent 2 know if it passes by red $( t = 2$ ) during its exploration / quest for blue and vice versa $( t = 6$ ). SHAPES serves as a flexible testbed for carefully controlling and analyzing the effect of changing the size of the environment, no. of agents, goal configurations, etc. Figure 2 visualizes learned protocols from two different configurations, and Table 2 reports quantitative evaluation for three different configurations. Benefits of communication and attention increase with task complexity ( $3 0 \\times 3 0 \\to 5 0 \\times 5 0$ & findrreds findrred,red,green,blues). ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
173,
|
| 666 |
+
813,
|
| 667 |
+
826,
|
| 668 |
+
924
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 5
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "How does targeting work in the communication learnt by TarMAC? Recall that each agent predicts a signature and value vector as part of the message it sends, and a query vector to attend to incoming messages. The communication is targeted because the attention probabilities are a function of both the sender’s signature and receiver’s query vectors. So it is not just the receiver deciding how much of each message to listen to. The sender also sends out signatures that affects how much of each message is sent to each receiver. The sender’s signature could encode parts of its observation most relevant to other agents’ goals (for example, it would be futile to convey coordinates in the signature), and the message value could contain the agent’s own location. For example, in Figure 2a, at $t = 6$ , we see that when agent 2 passes by blue, agent 4 starts attending to agent 2. Here, agent 2’s signature encodes the color it observes (which is blue), and agent 4’s query encodes its goal (which is also blue) leading to high attention probability. Agent 2’s message value encodes coordinates agent 4 has to navigate to, as can be seen at $t = 2 1$ when agent 4 reaches there. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
173,
|
| 677 |
+
103,
|
| 678 |
+
825,
|
| 679 |
+
270
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 6
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "5.2 TRAFFIC JUNCTION ",
|
| 686 |
+
"text_level": 1,
|
| 687 |
+
"bbox": [
|
| 688 |
+
174,
|
| 689 |
+
292,
|
| 690 |
+
349,
|
| 691 |
+
306
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 6
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "table",
|
| 697 |
+
"img_path": "images/28ad059aed1b166bde01554a2402a2d2c88626de8f5e2bf638e3f774b0449da6.jpg",
|
| 698 |
+
"table_caption": [],
|
| 699 |
+
"table_footnote": [],
|
| 700 |
+
"table_body": "<table><tr><td></td><td>Easy</td><td>Hard</td></tr><tr><td>No communication</td><td>84.9±4.3%</td><td>74.1±3.9%</td></tr><tr><td>CommNets (Sukhbaatar et al., 2016)</td><td>99.7±0.1%</td><td>78.9±3.4%</td></tr><tr><td>TarMAC 1-stage</td><td>99.9±0.1%</td><td>84.6±3.2%</td></tr><tr><td>TarMAC 2-stage</td><td>99.9±0.1%</td><td>97.1±1.6%</td></tr></table>",
|
| 701 |
+
"bbox": [
|
| 702 |
+
176,
|
| 703 |
+
361,
|
| 704 |
+
557,
|
| 705 |
+
446
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 6
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Table 3: Success rates on traffic junction. Our targeted 2-stage communication architecture gets a success rate of $9 7 . 1 \\%$ on the ‘hard’ variant of the task, significantly outperforming Sukhbaatar et al. (2016). Note that $1 \\mathrm { - }$ and 2-stage refer to the number of rounds of communication between actions (Equation 4). ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
173,
|
| 714 |
+
449,
|
| 715 |
+
558,
|
| 716 |
+
513
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 6
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "image",
|
| 722 |
+
"img_path": "images/42c7b922f493e22504b75c747cefd681495b7fc95cebf19d4767eacbe462fc43.jpg",
|
| 723 |
+
"image_caption": [
|
| 724 |
+
"Figure 3: Success rates for 1 vs. 2-stage vs. message size on Hard. Performance does not decrease significantly even when the message vector is a single scalar, and 2 rounds of back-and-forth communication before taking an environment action leads to a significant improvement over 1-stage. "
|
| 725 |
+
],
|
| 726 |
+
"image_footnote": [],
|
| 727 |
+
"bbox": [
|
| 728 |
+
576,
|
| 729 |
+
303,
|
| 730 |
+
813,
|
| 731 |
+
422
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 6
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "image",
|
| 737 |
+
"img_path": "images/484b7250cf4ef991db8bb33f64c548095baaf4a169dd981655636de939bfa65f.jpg",
|
| 738 |
+
"image_caption": [
|
| 739 |
+
"(c) No. of cars being attended to. 1) is positively correlated with total cars, indicating that TarMAC is adaptive to dynamic team sizes, and 2) is slightly right-shifted, since it takes few steps of communication to adapt. "
|
| 740 |
+
],
|
| 741 |
+
"image_footnote": [],
|
| 742 |
+
"bbox": [
|
| 743 |
+
179,
|
| 744 |
+
521,
|
| 745 |
+
540,
|
| 746 |
+
651
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 6
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "(a) Brake probabilities at dif- (b) Attention probabilities at ferent locations on the hard different locations. Cars are traffic junction environment. most attended to in the ‘interCars tend to brake close to or nal grid’ – right after the 1st right before entering junctions. junction and before the 2nd. ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
173,
|
| 755 |
+
655,
|
| 756 |
+
549,
|
| 757 |
+
719
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 6
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "image",
|
| 763 |
+
"img_path": "images/187ff4300ed4c435b4a7b5a33a4739e5aee142e7ad4153d00b44202b62550544.jpg",
|
| 764 |
+
"image_caption": [
|
| 765 |
+
"Figure 4: Results on the traffic junction environment. "
|
| 766 |
+
],
|
| 767 |
+
"image_footnote": [],
|
| 768 |
+
"bbox": [
|
| 769 |
+
570,
|
| 770 |
+
542,
|
| 771 |
+
803,
|
| 772 |
+
642
|
| 773 |
+
],
|
| 774 |
+
"page_idx": 6
|
| 775 |
+
},
|
| 776 |
+
{
|
| 777 |
+
"type": "text",
|
| 778 |
+
"text": "Environment and Task. The simulated traffic junction environments from Sukhbaatar et al. (2016) consist of cars moving along pre-assigned, potentially intersecting routes on one or more road junctions. The total number of cars is fixed at $N _ { \\mathrm { m a x } }$ and at every timestep, new cars get added to the environment with probability $p _ { \\mathrm { a r r i v e } }$ . Once a car completes its route, it becomes available to be sampled and added back to the environment with a different route assignment. Each car has a limited visibility of a $3 \\times 3$ region around it, but is free to communicate with all other cars. The action space for each car at every timestep is gas and brake, and the reward consists of a linear time penalty $- 0 . 0 1 \\tau$ , where $\\tau$ is the number of timesteps since car has been active, and a collision penalty $r _ { \\mathrm { c o l l i s i o n } } = - 1 0$ . ",
|
| 779 |
+
"bbox": [
|
| 780 |
+
173,
|
| 781 |
+
750,
|
| 782 |
+
825,
|
| 783 |
+
861
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 6
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "Quantitative Results. We compare our approach with CommNets (Sukhbaatar et al., 2016) on the easy and hard difficulties of the traffic junction environment. The easy task has one junction of two one-way roads on a $7 \\times 7$ grid with $N _ { \\mathrm { m a x } } ~ = ~ 5$ and $p _ { \\mathrm { a r r i v e } } ~ = ~ 0 . 3 0$ , while the hard task has four connected junctions of two-way roads on a $1 8 \\times 1 8$ grid with $N _ { \\mathrm { m a x } } = 2 0$ and $p _ { \\mathrm { a r r i v e } } = 0 . 0 5$ . ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
174,
|
| 792 |
+
867,
|
| 793 |
+
825,
|
| 794 |
+
924
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 6
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "See Figure 4a, 4b for an example of the four two-way junctions in the hard task. As shown in Table 3, a no communication baseline has success rates of $8 4 . 9 \\%$ and $7 4 . 1 \\%$ on easy and hard respectively. On easy, both CommNets and TarMAC get close to $1 0 0 \\%$ . On hard, TarMAC with 1-stage communication significantly outperforms CommNets with a success rate of $8 4 . 6 \\%$ , while 2- stage further improves on this at $9 7 . 1 \\%$ , which is an $\\sim 1 8 \\%$ absolute improvement over CommNets. ",
|
| 801 |
+
"bbox": [
|
| 802 |
+
174,
|
| 803 |
+
103,
|
| 804 |
+
825,
|
| 805 |
+
174
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 7
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Model Interpretation. Interpreting the learned policies, Figure 4a shows braking probabilities at different locations: cars tend to brake close to or right before entering traffic junctions, which is reasonable since junctions have the highest chances for collisions. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
176,
|
| 814 |
+
180,
|
| 815 |
+
821,
|
| 816 |
+
222
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 7
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "Turning our attention to attention probabilities (Figure $4 \\mathrm { b }$ ), we can see that cars are most-attended to when in the ‘internal grid’ – right after crossing the 1st junction and before hitting the 2nd junction. These attention probabilities are intuitive: cars learn to attentively attend to specific sensitive locations with the most relevant local observations to avoid collisions. ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
174,
|
| 825 |
+
229,
|
| 826 |
+
825,
|
| 827 |
+
285
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 7
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "Finally, Figure 4c compares total number of cars in the environment vs. number of cars being attended to with probability $> 0 . 1$ at any time. Interestingly, these are (loosely) positively correlated, with Spearman’s $\\sigma = 0 . 4 9$ , which shows that TarMAC is able to adapt to variable number of agents. Crucially, agents learn this dynamic targeting behavior purely from task rewards with no handcoding! Note that the right shift between the two curves is expected, as it takes a few timesteps of communication for team size changes to propagate. At a relative time shift of 3, the Spearman’s rank correlation between the two curves goes up to 0.53. ",
|
| 834 |
+
"bbox": [
|
| 835 |
+
173,
|
| 836 |
+
291,
|
| 837 |
+
825,
|
| 838 |
+
390
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 7
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "Message size vs. multi-stage communication. We study performance of TarMAC with varying message value size and number of rounds of communication on the ‘hard’ variant of the traffic junction task. As can be seen in Figure 3, multiple rounds of communication leads to significantly higher performance than simply increasing message size, demonstrating the advantage of multistage communication. In fact, decreasing message size to a single scalar performs almost as well as 64-d, perhaps because even a single real number can be sufficiently partitioned to cover the space of meanings/messages that need to be conveyed for this task. ",
|
| 845 |
+
"bbox": [
|
| 846 |
+
173,
|
| 847 |
+
397,
|
| 848 |
+
825,
|
| 849 |
+
494
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 7
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "5.3 HOUSE3D ",
|
| 856 |
+
"text_level": 1,
|
| 857 |
+
"bbox": [
|
| 858 |
+
174,
|
| 859 |
+
508,
|
| 860 |
+
287,
|
| 861 |
+
523
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 7
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Finally, we benchmark TarMAC on a cooperative point-goal navigation task in House3D (Wu et al., 2018). House3D provides a rich and diverse set of publicly-available2 3D indoor environments, wherein agents do not have access to the top-down map and must navigate purely from first-person vision. Similar to SHAPES, the agents are tasked with finding a specified goal (such as ‘fireplace’), spawned at random locations in the environment and allowed to communicate with each other and move around. Each agent gets a shaped reward based on progress towards the specified target. An episode is successful if all agents end within $0 . 5 \\mathrm { m }$ of the target object in 50 navigation steps. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
530,
|
| 871 |
+
825,
|
| 872 |
+
628
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 7
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "Table 4 shows success rates on a find[fireplace] task in House3D. A no-communication navigation policy trained with the same reward structure gets a success rate of $6 2 . 1 \\%$ . Mean-pooled communication (no attention) performs slightly better with a success rate of $6 4 . 3 \\%$ , and TarMAC achieves the best success rate at $6 8 . 9 \\%$ . Figure 5 visualizes predicted navigation trajectories of 4 agents. Note that the communication vectors are significantly more compact (32-d) than the high-dimensional observation space, making our approach particularly attractive for scaling to large teams. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
174,
|
| 881 |
+
635,
|
| 882 |
+
825,
|
| 883 |
+
719
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 7
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "table",
|
| 889 |
+
"img_path": "images/90792fae6324696f0adf1bfd7f7d85993bb5ff8a7c501d9f8024edbd11702871.jpg",
|
| 890 |
+
"table_caption": [],
|
| 891 |
+
"table_footnote": [
|
| 892 |
+
"Table 4: Success rates on a 4-agent cooperative find[fireplace] navigation task in House3D. "
|
| 893 |
+
],
|
| 894 |
+
"table_body": "<table><tr><td></td><td>Success rate</td></tr><tr><td>No communication</td><td>62.1±5.3%</td></tr><tr><td>No attention</td><td>64.3±2.3%</td></tr><tr><td>TarMAC</td><td>68.9±1.1%</td></tr></table>",
|
| 895 |
+
"bbox": [
|
| 896 |
+
372,
|
| 897 |
+
726,
|
| 898 |
+
624,
|
| 899 |
+
806
|
| 900 |
+
],
|
| 901 |
+
"page_idx": 7
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"type": "text",
|
| 905 |
+
"text": "6 CONCLUSIONS AND FUTURE WORK ",
|
| 906 |
+
"text_level": 1,
|
| 907 |
+
"bbox": [
|
| 908 |
+
173,
|
| 909 |
+
835,
|
| 910 |
+
504,
|
| 911 |
+
853
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 7
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "We introduced TarMAC, an architecture for multi-agent reinforcement learning which allows targeted interactions between agents and multiple stages of collaborative reasoning at every timestep. ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
176,
|
| 920 |
+
864,
|
| 921 |
+
823,
|
| 922 |
+
892
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 7
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "image",
|
| 928 |
+
"img_path": "images/f196b2ffbc786f91e8cbfc725e81b5f6b5171e6de9fdeaaa94ccbb8e898f5059.jpg",
|
| 929 |
+
"image_caption": [
|
| 930 |
+
"Figure 5: Agents navigating to the fireplace in House3D (marked in yellow). Note in particular that agent 4 is spawned facing away from it. It communicates with others, turns to face the fireplace, and moves towards it. "
|
| 931 |
+
],
|
| 932 |
+
"image_footnote": [],
|
| 933 |
+
"bbox": [
|
| 934 |
+
181,
|
| 935 |
+
102,
|
| 936 |
+
821,
|
| 937 |
+
199
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 8
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Evaluation on three diverse environments show that our model is able to learn intuitive attention behavior and improves performance, with downstream task-specific team reward as sole supervision. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
173,
|
| 946 |
+
253,
|
| 947 |
+
821,
|
| 948 |
+
281
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 8
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "While multi-agent navigation experiments in House3D show promising performance, we aim to exhaustively benchmark TarMAC on more challenging 3D navigation tasks because we believe this is where decentralized targeted communication can have the most impact – as it allows scaling to a large number of agents with large observation spaces. Given that the 3D navigation problem is hard in and of itself, it would be particularly interesting to investigate combinations with recent advances orthogonal to our approach (e.g. spatial memory, planning networks) with the TarMAC framework. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
174,
|
| 957 |
+
287,
|
| 958 |
+
825,
|
| 959 |
+
372
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 8
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "REFERENCES ",
|
| 966 |
+
"text_level": 1,
|
| 967 |
+
"bbox": [
|
| 968 |
+
174,
|
| 969 |
+
393,
|
| 970 |
+
285,
|
| 971 |
+
409
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "Jacob Andreas, Marcus Rohrbach, Trevor Darrell, and Dan Klein. Neural Module Networks. In CVPR, 2016. 2, 5 ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
173,
|
| 980 |
+
416,
|
| 981 |
+
823,
|
| 982 |
+
445
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 8
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "L. Busoniu, R. Babuska, and B. De Schutter. A Comprehensive Survey of Multiagent Reinforcement Learning. Trans. Sys. Man Cyber Part C, 2008. 2 ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
173,
|
| 991 |
+
455,
|
| 992 |
+
823,
|
| 993 |
+
483
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 8
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP, 2014. 4 ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
173,
|
| 1002 |
+
492,
|
| 1003 |
+
821,
|
| 1004 |
+
536
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 8
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Abhishek Das, Satwik Kottur, José M.F. Moura, Stefan Lee, and Dhruv Batra. Learning Cooperative Visual Dialog Agents with Deep Reinforcement Learning. In ICCV, 2017. 3 ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
173,
|
| 1013 |
+
545,
|
| 1014 |
+
823,
|
| 1015 |
+
575
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 8
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "Jakob Foerster, Yannis M Assael, Nando de Freitas, and Shimon Whiteson. Learning to communicate with deep multi-agent reinforcement learning. In NIPS, 2016. 1, 2, 3 ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
174,
|
| 1024 |
+
583,
|
| 1025 |
+
821,
|
| 1026 |
+
613
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 8
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Jakob Foerster, Gregory Farquhar, Triantafyllos Afouras, Nantas Nardelli, and Shimon Whiteson. Counterfactual multi-agent policy gradients. In AAAI, 2018. 2, 4 ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
174,
|
| 1035 |
+
622,
|
| 1036 |
+
821,
|
| 1037 |
+
651
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 8
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "Matthew Hausknecht and Peter Stone. Deep Recurrent Q-Learning for Partially Observable MDPs. In AAAI, 2015. 2 ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
173,
|
| 1046 |
+
661,
|
| 1047 |
+
823,
|
| 1048 |
+
689
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 8
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "Yedid Hoshen. VAIN: Attentional multi-agent predictive modeling. In NIPS. 2017. 2, 3 ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
171,
|
| 1057 |
+
699,
|
| 1058 |
+
750,
|
| 1059 |
+
714
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 8
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "Max Jaderberg, Wojciech M. Czarnecki, Iain Dunning, Luke Marris, Guy Lever, Antonio Garcia Castaneda, Charles Beattie, Neil C. Rabinowitz, Ari S. Morcos, Avraham Ruderman, Nicolas Sonnerat, Tim Green, Louise Deason, Joel Z. Leibo, David Silver, Demis Hassabis, Koray Kavukcuoglu, and Thore Graepel. Human-level performance in first-person multiplayer games with population-based deep reinforcement learning. arXiv preprint arXiv:1807.01281, 2018. 2 ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
174,
|
| 1068 |
+
724,
|
| 1069 |
+
825,
|
| 1070 |
+
795
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 8
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "Jiechuan Jiang and Zongqing Lu. Learning attentional communication for multi-agent cooperation. CoRR, 2018. 3 ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
171,
|
| 1079 |
+
804,
|
| 1080 |
+
821,
|
| 1081 |
+
833
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 8
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "text",
|
| 1087 |
+
"text": "Emilio Jorge, Mikael Kågebäck, and Emil Gustavsson. Learning to play guess who? and inventing a grounded language as a consequence. In NIPS workshop on Deep Reinforcement Learning, 2016. 3 ",
|
| 1088 |
+
"bbox": [
|
| 1089 |
+
174,
|
| 1090 |
+
843,
|
| 1091 |
+
821,
|
| 1092 |
+
883
|
| 1093 |
+
],
|
| 1094 |
+
"page_idx": 8
|
| 1095 |
+
},
|
| 1096 |
+
{
|
| 1097 |
+
"type": "text",
|
| 1098 |
+
"text": "Satwik Kottur, José MF Moura, Stefan Lee, and Dhruv Batra. Natural language does not emerge ‘naturally’ in multi-agent dialog. In EMNLP, 2017. 3 ",
|
| 1099 |
+
"bbox": [
|
| 1100 |
+
174,
|
| 1101 |
+
895,
|
| 1102 |
+
820,
|
| 1103 |
+
924
|
| 1104 |
+
],
|
| 1105 |
+
"page_idx": 8
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"type": "text",
|
| 1109 |
+
"text": "Angeliki Lazaridou, Alexander Peysakhovich, and Marco Baroni. Multi-agent cooperation and the emergence of (natural) language. In ICLR, 2017. 3 ",
|
| 1110 |
+
"bbox": [
|
| 1111 |
+
171,
|
| 1112 |
+
103,
|
| 1113 |
+
823,
|
| 1114 |
+
132
|
| 1115 |
+
],
|
| 1116 |
+
"page_idx": 9
|
| 1117 |
+
},
|
| 1118 |
+
{
|
| 1119 |
+
"type": "text",
|
| 1120 |
+
"text": "Ryan Lowe, Yi Wu, Aviv Tamar, Jean Harb, Pieter Abbeel, and Igor Mordatch. Multi-agent actorcritic for mixed cooperative-competitive environments. In NIPS, 2017. 2, 3, 4 ",
|
| 1121 |
+
"bbox": [
|
| 1122 |
+
173,
|
| 1123 |
+
140,
|
| 1124 |
+
823,
|
| 1125 |
+
170
|
| 1126 |
+
],
|
| 1127 |
+
"page_idx": 9
|
| 1128 |
+
},
|
| 1129 |
+
{
|
| 1130 |
+
"type": "text",
|
| 1131 |
+
"text": "Igor Mordatch and Pieter Abbeel. Emergence of grounded compositional language in multi-agent populations. arXiv preprint arXiv:1703.04908, 2017. 3 ",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
173,
|
| 1134 |
+
179,
|
| 1135 |
+
823,
|
| 1136 |
+
208
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 9
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "Frans A. Oliehoek. Decentralized POMDPs. In Reinforcement Learning: State of the Art. Springer Berlin Heidelberg, 2012. 3 ",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
173,
|
| 1145 |
+
215,
|
| 1146 |
+
823,
|
| 1147 |
+
246
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 9
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "OpenAI. OpenAI Five. https://blog.openai.com/openai-five/, 2018. 2 ",
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
173,
|
| 1156 |
+
253,
|
| 1157 |
+
658,
|
| 1158 |
+
270
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 9
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "text",
|
| 1164 |
+
"text": "Peng Peng, Quan Yuan, Ying Wen, Yaodong Yang, Zhenkun Tang, Haitao Long, and Jun Wang. Multiagent bidirectionally-coordinated nets for learning to play starcraft combat games. arXiv preprint arXiv:1703.10069, 2017. 2 ",
|
| 1165 |
+
"bbox": [
|
| 1166 |
+
176,
|
| 1167 |
+
277,
|
| 1168 |
+
825,
|
| 1169 |
+
320
|
| 1170 |
+
],
|
| 1171 |
+
"page_idx": 9
|
| 1172 |
+
},
|
| 1173 |
+
{
|
| 1174 |
+
"type": "text",
|
| 1175 |
+
"text": "Yoav Shoham and Kevin Leyton-Brown. Multiagent Systems: Algorithmic, Game-Theoretic, and Logical Foundations. Cambridge University Press, 2008. 2 ",
|
| 1176 |
+
"bbox": [
|
| 1177 |
+
171,
|
| 1178 |
+
329,
|
| 1179 |
+
825,
|
| 1180 |
+
359
|
| 1181 |
+
],
|
| 1182 |
+
"page_idx": 9
|
| 1183 |
+
},
|
| 1184 |
+
{
|
| 1185 |
+
"type": "text",
|
| 1186 |
+
"text": "Sainbayar Sukhbaatar, Arthur Szlam, and Rob Fergus. Learning multiagent communication with backpropagation. In NIPS, 2016. 1, 2, 3, 7 ",
|
| 1187 |
+
"bbox": [
|
| 1188 |
+
171,
|
| 1189 |
+
367,
|
| 1190 |
+
823,
|
| 1191 |
+
397
|
| 1192 |
+
],
|
| 1193 |
+
"page_idx": 9
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"type": "text",
|
| 1197 |
+
"text": "Richard S. Sutton and Andrew G. Barto. Introduction to Reinforcement Learning. MIT Press, 1998. 3, 4 ",
|
| 1198 |
+
"bbox": [
|
| 1199 |
+
173,
|
| 1200 |
+
405,
|
| 1201 |
+
823,
|
| 1202 |
+
435
|
| 1203 |
+
],
|
| 1204 |
+
"page_idx": 9
|
| 1205 |
+
},
|
| 1206 |
+
{
|
| 1207 |
+
"type": "text",
|
| 1208 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NIPS, 2017. 5 ",
|
| 1209 |
+
"bbox": [
|
| 1210 |
+
169,
|
| 1211 |
+
443,
|
| 1212 |
+
823,
|
| 1213 |
+
472
|
| 1214 |
+
],
|
| 1215 |
+
"page_idx": 9
|
| 1216 |
+
},
|
| 1217 |
+
{
|
| 1218 |
+
"type": "text",
|
| 1219 |
+
"text": "Yi Wu, Yuxin Wu, Georgia Gkioxari, and Yuandong Tian. Building Generalizable Agents With a Realistic And Rich 3D Environment. arXiv preprint arXiv:1801.02209, 2018. 2, 8 ",
|
| 1220 |
+
"bbox": [
|
| 1221 |
+
171,
|
| 1222 |
+
479,
|
| 1223 |
+
823,
|
| 1224 |
+
510
|
| 1225 |
+
],
|
| 1226 |
+
"page_idx": 9
|
| 1227 |
+
},
|
| 1228 |
+
{
|
| 1229 |
+
"type": "text",
|
| 1230 |
+
"text": "Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Poczos, Ruslan R Salakhutdinov, and Alexander J Smola. Deep sets. In NIPS, 2017. 2 ",
|
| 1231 |
+
"bbox": [
|
| 1232 |
+
171,
|
| 1233 |
+
518,
|
| 1234 |
+
823,
|
| 1235 |
+
547
|
| 1236 |
+
],
|
| 1237 |
+
"page_idx": 9
|
| 1238 |
+
}
|
| 1239 |
+
]
|
parse/train/H1e572A5tQ/H1e572A5tQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1e572A5tQ/H1e572A5tQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H1xQVn09FX/H1xQVn09FX_content_list.json
ADDED
|
@@ -0,0 +1,1379 @@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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "GANSYNTH: ADVERSARIAL NEURAL AUDIO SYNTHESIS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
696,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jesse Engel, Kumar Krishna Agrawal, Shuo Chen, Ishaan Gulrajani, Chris Donahue, \n& Adam Roberts \nGoogle AI \nMountain View, CA 94043, USA ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
779,
|
| 21 |
+
226
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
262,
|
| 32 |
+
544,
|
| 33 |
+
277
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Efficient audio synthesis is an inherently difficult machine learning task, as human perception is sensitive to both global structure and fine-scale waveform coherence. Autoregressive models, such as WaveNet, model local structure but have slow iterative sampling and lack global latent structure. In contrast, Generative Adversarial Networks (GANs) have global latent conditioning and efficient parallel sampling, but struggle to generate locally-coherent audio waveforms. Herein, we demonstrate that GANs can in fact generate high-fidelity and locally-coherent audio by modeling log magnitudes and instantaneous frequencies with sufficient frequency resolution in the spectral domain. Through extensive empirical investigations on the NSynth dataset, we demonstrate that GANs are able to outperform strong WaveNet baselines on automated and human evaluation metrics, and efficiently generate audio several orders of magnitude faster than their autoregressive counterparts.1 ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
296,
|
| 43 |
+
764,
|
| 44 |
+
477
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
508,
|
| 55 |
+
336,
|
| 56 |
+
525
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Neural audio synthesis, training generative models to efficiently produce audio with both highfidelity and global structure, is a challenging open problem as it requires modeling temporal scales over at least five orders of magnitude ( ${ \\sim } 0 . 1 \\mathrm { m s }$ to ${ \\sim } 1 0 0 \\mathrm { s } ,$ ). Large advances in the state-of-the art have been pioneered almost exclusively by autoregressive models, such as WaveNet, which solve the scale problem by focusing on the finest scale possible (a single audio sample) and rely upon external conditioning signals for global structure (van den Oord et al., 2016). This comes at the cost of slow sampling speed, since they rely on inefficient ancestral sampling to generate waveforms one audio sample at a time. Due to their high quality, a lot of research has gone into speeding up generation, but the methods introduce significant overhead such as training a secondary student network or writing highly customized low-level kernels (van den Oord et al., 2018; Paine et al., 2016). Furthermore, since these large models operate at a fine timescale, their autoencoder variants are restricted to only modeling local latent structure due to memory constraints (Engel et al., 2017). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
542,
|
| 66 |
+
825,
|
| 67 |
+
709
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "On the other end of the spectrum, Generative Adversarial Networks (GANs) (Goodfellow et al., 2014) have seen great recent success at generating high resolution images (Radford et al., 2016; Arjovsky et al., 2017; Gulrajani et al., 2017; Berthelot et al., 2017; Kodali et al., 2017; Karras et al., 2018a; Miyato et al., 2018). Typical GANs achieve both efficient parallel sampling and global latent control by conditioning a stack of transposed convolutions on a latent vector, The potential for audio GANs extends further, as adversarial costs have unlocked intriguing domain transformations for images that could possibly have analogues in audio (Isola et al., 2017; Zhu et al., 2017; Wolf et al., 2017; Jin et al., 2017). However, attempts to adapt image GAN architectures to generate waveforms in a straightforward manner (Donahue et al., 2019) fail to reach the same level of perceptual fidelity as their image counterparts. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
717,
|
| 77 |
+
825,
|
| 78 |
+
856
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/accf3d02b14949732afe525ce95cfafbfdb1ac012f0ed8ef2a6ebd8e9c9e47c1.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: Frame-based estimation of audio waveforms. Much of sound is made up of locallycoherent waves with a local periodicity, pictured as the red-yellow sinusoid with black dots at the start of each cycle. Frame-based techniques, whether they be transposed convolutions or STFTs, have a given frame size and stride, here depicted as equal with boundaries at the dotted lines. The alignment between the two (phase, indicated by the solid black line and yellow boxes), precesses in time since the periodicity of the audio and the output stride are not exactly the same. Transposed convolutional filters thus have the difficult task of covering all the necessary frequencies and all possible phase alignments to preserve phase coherence. For an STFT, we can unwrap the phase over the $2 \\pi$ boundary (orange boxes) and take its derivative to get the instantaneous radial frequency (red boxes), which expresses the constant relationship between audio frequency and frame frequency. The spectra are shown for an example trumpet note from the NSynth dataset. "
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
174,
|
| 91 |
+
104,
|
| 92 |
+
821,
|
| 93 |
+
387
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "1.1 GENERATING INSTRUMENT TIMBRES",
|
| 100 |
+
"text_level": 1,
|
| 101 |
+
"bbox": [
|
| 102 |
+
178,
|
| 103 |
+
582,
|
| 104 |
+
472,
|
| 105 |
+
594
|
| 106 |
+
],
|
| 107 |
+
"page_idx": 1
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"type": "text",
|
| 111 |
+
"text": "GAN researchers have made rapid progress in image modeling by evaluating models on focused datasets with limited degrees of freedom, and gradually stepping up to less constrained domains. For example, the popular CelebA dataset (Liu et al., 2015) is restricted to faces that have been centered and cropped, removing variance in posture and pose, and providing a common reference for qualitative improvements (Radford et al., 2016; Karras et al., 2018a) in generating realistic texture and fine-scale features. Later models then built on that foundation to generalize to broader domains (Karras et al., 2018b; Brock et al., 2019). ",
|
| 112 |
+
"bbox": [
|
| 113 |
+
174,
|
| 114 |
+
607,
|
| 115 |
+
825,
|
| 116 |
+
704
|
| 117 |
+
],
|
| 118 |
+
"page_idx": 1
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"type": "text",
|
| 122 |
+
"text": "The NSynth dataset (Engel et al., $2 0 1 7 ) ^ { 2 }$ was introduced with similar motivation for audio. Rather than containing all types of audio, NSynth consists solely of individual notes from musical instruments across a range of pitches, timbres, and volumes. Similar to CelebA, all the data is aligned and cropped to reduce variance and focus on fine-scale details, which in audio corresponds to timbre and fidelity. Further, each note is also accompanied by an array of attribute labels to enable exploring conditional generation. ",
|
| 123 |
+
"bbox": [
|
| 124 |
+
174,
|
| 125 |
+
710,
|
| 126 |
+
825,
|
| 127 |
+
795
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "The original NSynth paper introduced both autoregressive WaveNet autoencoders and bottleneck spectrogram autoencoders, but without the ability to unconditionally sample from a prior. Follow up work has explored diverse approaches including frame-based regression models (Defossez et al., 2018), inverse scattering networks (Andreux & Mallat, 2018), VAEs with perceptual priors (Esling et al., 2018), and adversarial regularization for domain transfer (Mor et al., 2019). This work builds on these efforts by introducing adversarial training and exploring effective representations for noncausal convolutional generation as typical found in GANs. ",
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
801,
|
| 137 |
+
825,
|
| 138 |
+
900
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "1.2 EFFECTIVE AUDIO REPRESENTATIONS FOR GANS ",
|
| 145 |
+
"text_level": 1,
|
| 146 |
+
"bbox": [
|
| 147 |
+
174,
|
| 148 |
+
103,
|
| 149 |
+
562,
|
| 150 |
+
117
|
| 151 |
+
],
|
| 152 |
+
"page_idx": 2
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"type": "text",
|
| 156 |
+
"text": "Unlike images, most audio waveforms—such as speech and music—are highly periodic. Convolutional filters trained for different tasks on this data commonly learn to form logarithmically-scaled frequency selective filter banks spanning the range of human hearing (Dieleman & Schrauwen, 2014; Zhu et al., 2016). Human perception is also highly sensitive to discontinuities and irregularities in periodic waveforms, so maintaining the regularity of periodic signals over short to intermediate timescales $( 1 \\mathrm { { m s } - 1 0 0 \\mathrm { { m s } ) } }$ is crucial. Figure 1 shows that when the stride of the frames does not exactly equal a waveform’s periodicity, the alignment (phase) of the two precesses over time. This condition is assured as at any time there are typically many different frequencies in a given signal. This is a challenge for a synthesis network, as it must learn all the appropriate frequency and phase combinations and activate them in just the right combination to produce a coherent waveform. This phase precession is exactly the same phenomena observed with a short-time Fourier transform (STFT), which is composed of strided filterbanks just like convolutional networks. Phase precession also occurs in situations where filterbanks overlap (window or kernel size $<$ stride). ",
|
| 157 |
+
"bbox": [
|
| 158 |
+
174,
|
| 159 |
+
130,
|
| 160 |
+
825,
|
| 161 |
+
310
|
| 162 |
+
],
|
| 163 |
+
"page_idx": 2
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"type": "text",
|
| 167 |
+
"text": "In the middle of Figure 1, we diagram another approach to generating coherent waveforms loosely inspired by the phase vocoder (Dolson, 1986). A pure tone produces a phase that precesses. Unwrapping the phase, by adding $2 \\pi$ whenever it crosses a phase discontinuity, causes the precessing phase to grow linearly. We then observe that the derivative of the unwrapped phase with respect to time remains constant and is equal to the angular difference between the frame stride and signal periodicity. This is commonly referred to as the instantaneous angular frequency, and is a time varying measure of the true signal oscillation. With a slight abuse of terminology we will simply refer to it as the instantaneous frequency (IF) (Boashash, 1992). Note that for the spectra at the bottom of Figure 1, the pure harmonic frequencies of a trumpet cause the wrapped phase spectra to oscillate at different rates while the unwrapped phase smoothly diverges and the IF spectra forms solid bands where the harmonic frequencies are present. ",
|
| 168 |
+
"bbox": [
|
| 169 |
+
173,
|
| 170 |
+
318,
|
| 171 |
+
825,
|
| 172 |
+
470
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 2
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "1.3 CONTRIBUTIONS ",
|
| 179 |
+
"text_level": 1,
|
| 180 |
+
"bbox": [
|
| 181 |
+
176,
|
| 182 |
+
488,
|
| 183 |
+
333,
|
| 184 |
+
502
|
| 185 |
+
],
|
| 186 |
+
"page_idx": 2
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"type": "text",
|
| 190 |
+
"text": "In this paper, we investigate the interplay of architecture and representation in synthesizing coherent audio with GANs. Our key findings include: ",
|
| 191 |
+
"bbox": [
|
| 192 |
+
174,
|
| 193 |
+
515,
|
| 194 |
+
823,
|
| 195 |
+
542
|
| 196 |
+
],
|
| 197 |
+
"page_idx": 2
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"type": "text",
|
| 201 |
+
"text": "• Generating log-magnitude spectrograms and phases directly with GANs can produce more coherent waveforms than directly generating waveforms with strided convolutions. \n• Estimating IF spectra leads to more coherent audio still than estimating phase. \n• It is important to keep harmonics from overlapping. Both increasing the STFT frame size and switching to mel frequency scale improve performance by creating more separation between the lower harmonic frequencies. Harmonic frequencies are multiples of the fundamental, so low pitches have tightly-spaced harmonics, which can cause blurring and overlap. \n• On the NSynth dataset, GANs can outperform a strong WaveNet baseline in automatic and human evaluations, and generate examples ${ \\sim } 5 4 { , } 0 0 0$ times faster. \n• Global conditioning on latent and pitch vectors allow GANs to generate perceptually smooth interpolation in timbre, and consistent timbral identity across pitch. ",
|
| 202 |
+
"bbox": [
|
| 203 |
+
215,
|
| 204 |
+
555,
|
| 205 |
+
825,
|
| 206 |
+
747
|
| 207 |
+
],
|
| 208 |
+
"page_idx": 2
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"type": "text",
|
| 212 |
+
"text": "2 EXPERIMENTAL DETAILS ",
|
| 213 |
+
"text_level": 1,
|
| 214 |
+
"bbox": [
|
| 215 |
+
176,
|
| 216 |
+
767,
|
| 217 |
+
415,
|
| 218 |
+
784
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 2
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "2.1 DATASET ",
|
| 225 |
+
"text_level": 1,
|
| 226 |
+
"bbox": [
|
| 227 |
+
174,
|
| 228 |
+
799,
|
| 229 |
+
279,
|
| 230 |
+
814
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "We focus our study on the NSynth dataset, which contains 300,000 musical notes from 1,000 different instruments aligned and recorded in isolation. NSynth is a difficult dataset composed of highly diverse timbres and pitches, but it is also highly structured with labels for pitch, velocity, instrument, and acoustic qualities (Liu et al., 2015; Engel et al., 2017). Each sample is four seconds long, and sampled at 16kHz, giving 64,000 dimensions. As we wanted to included human evaluations on audio quality, we restricted ourselves to training on the subset of acoustic instruments and fundamental pitches ranging from MIDI 24-84 (∼32-1000Hz), as those timbres are most likely to sound natural to an average listener. This left us with 70,379 examples from instruments that are mostly strings, brass, woodwinds, and mallets. We created a new test/train 80/20 split from shuffled data, as the original split was divided along instrument type, which isn’t desirable for this task. ",
|
| 237 |
+
"bbox": [
|
| 238 |
+
174,
|
| 239 |
+
825,
|
| 240 |
+
823,
|
| 241 |
+
924
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "",
|
| 248 |
+
"bbox": [
|
| 249 |
+
176,
|
| 250 |
+
103,
|
| 251 |
+
823,
|
| 252 |
+
146
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 3
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "2.2 ARCHITECTURE AND REPRESENTATIONS ",
|
| 259 |
+
"text_level": 1,
|
| 260 |
+
"bbox": [
|
| 261 |
+
178,
|
| 262 |
+
170,
|
| 263 |
+
495,
|
| 264 |
+
184
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 3
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "text",
|
| 270 |
+
"text": "Taking inspiration from successes in image generation, we adapt the progressive training methods of Karras et al. (2018a) to instead generate audio spectra 3. While e search over a variety of hyperparameter configurations and learning rates, we direct readers to the original paper for an in-depth analysis (Karras et al., 2018a), and the appendix for complete details. ",
|
| 271 |
+
"bbox": [
|
| 272 |
+
174,
|
| 273 |
+
199,
|
| 274 |
+
823,
|
| 275 |
+
253
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 3
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "Briefly, the model samples a random vector $\\mathbf { z }$ from a spherical Gaussian, and runs it through a stack of transposed convolutions to upsample and generate output data $x = G ( \\mathbf { z } )$ , which is fed into a discriminator network of downsampling convolutions (whose architecture mirrors the generator’s) to estimate a divergence measure between the real and generated distributions (Arjovsky et al., 2017). As in Karras et al. (2018a), we use a gradient penalty (Gulrajani et al., 2017) to promote Lipschitz continuity, and pixel normalization at each layer. We also try training both progressive and nonprogressive variants, and see comparable quality in both. While it is not essential for success, we do see slightly better convergence time and sample diversity for progressive training, so for the remainder of the paper, all models are compared with progressive training. ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
174,
|
| 284 |
+
261,
|
| 285 |
+
825,
|
| 286 |
+
387
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 3
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "Unlike Progressive GAN, our method involves conditioning on an additional source of information. Specifically, we append a one-hot representation of musical pitch to the latent vector, with the musically-desirable goal of achieving independent control of pitch and timbre. To encourage the generator to use the pitch information, we also add an auxiliary classification (Odena et al., 2017) loss to the discriminator that tries to predict the pitch label. ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
174,
|
| 295 |
+
393,
|
| 296 |
+
823,
|
| 297 |
+
463
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "text",
|
| 303 |
+
"text": "For spectral representations, we compute STFT magnitudes and phase angles using TensorFlow’s built-in implementation. We use an STFT with 256 stride and 1024 frame size, resulting in $7 5 \\%$ frame overlap and 513 frequency bins. We trim the Nyquist frequency and pad in time to get an “image” of size (256, 512, 2). The two channel dimension correspond to magnitude and phase. We take the log of the magnitude to better constrain the range and then scale the magnitudes to be between -1 and 1 to match the tanh output nonlinearity of the generator network. The phase angle is also scaled to between -1 and 1 and we refer to these variants as “phase” models. We optionally unwrap the phase angle and take the finite difference as in Figure 1; we call the resulting models “instantaneous frequency” (“IF”) models. We also find performance is sensitive to having sufficient frequency resolution at the lower frequency range. Maintaining $7 5 \\%$ overlap we are able to double the STFT frame size and stride, resulting in spectral images with size (128, 1024, 2), which we refer to as high frequency resolution, $\\mathbf { \\ddot { \\mathbf { \\mathbf { \\mathbf { \\mathbf { \\mathbf { \\mathbf { \\mathbf } } } } } } } } + \\mathbf { \\mathbf { \\mathbf { H } } } \\mathbf { \\boldsymbol { \\mathbf { \\boldsymbol { \\mathbf { \\mathit { \\mathbf { \\mathbf { \\mathbf } } } } } } } }$ , variants. Lastly, to provide even more separation of lower frequencies we transform both the log magnitudes and instantaneous frequencies to a mel frequency scale without dimensional compression (1024 bins), which we refer to as “IF-Mel” variants. To convert back to linear STFTs we just use the approximate inverse linear transformation, which, perhaps surprisingly does not harm audio quality significantly. ",
|
| 304 |
+
"bbox": [
|
| 305 |
+
174,
|
| 306 |
+
470,
|
| 307 |
+
825,
|
| 308 |
+
693
|
| 309 |
+
],
|
| 310 |
+
"page_idx": 3
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"type": "text",
|
| 314 |
+
"text": "It is important for us to compare against strong baselines, so we adapt WaveGAN (Donahue et al., 2019), the current state of the art in waveform generation with GANs, to accept pitch conditioning and retrain it on our subset of the NSynth dataset. We also independently train our own waveform generating GANs off the progressive codebase and our best models achieve similar performance to WaveGAN without progressive training, so we opt to primarily show numbers from WaveGAN instead (see appendix Table 2 for more details). ",
|
| 315 |
+
"bbox": [
|
| 316 |
+
174,
|
| 317 |
+
699,
|
| 318 |
+
825,
|
| 319 |
+
784
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 3
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "Beyond GANs, WaveNet (van den Oord et al., 2016) is currently the state of the art in generative modeling of audio. Prior work on the NSynth dataset used an WaveNet autoencoder to interpolate between sounds (Engel et al., 2017), but is not a generative model as it requires conditioning on the original audio. Thus, we create strong WaveNet baselines by adapting the architecture to accept the same one-hot pitch conditioning signal as the GANs. We train variants using both a categorical 8-bit mu law and 16-bit mixture of logistics for the output distributions, but find that the 8-bit model is more stable and outperforms the 16-bit model (see appendix Table 2 for more details). ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
174,
|
| 328 |
+
790,
|
| 329 |
+
825,
|
| 330 |
+
887
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 3
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "3 METRICS ",
|
| 337 |
+
"text_level": 1,
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
102,
|
| 341 |
+
284,
|
| 342 |
+
118
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 4
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Evaluating generative models is itself a difficult problem: because our goals (perceptually-realistic audio generation) are hard to formalize, the most common evaluation metrics tend to be heuristic and have “blind spots” (Theis et al., 2016). To mitigate this, we evaluate all of our models against a diverse set of metrics, each of which captures a distinct aspect of model performance. Our evaluation metrics are as follows: ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
176,
|
| 351 |
+
133,
|
| 352 |
+
825,
|
| 353 |
+
204
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 4
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "• Human Evaluation We use human evaluators as our gold standard of audio quality because it is notoriously hard to measure in an automated manner. In the end, we are interested in training networks to synthesize coherent waveforms, specifically because human perception is extremely sensitive to phase irregularities and these irregularities are disruptive to a listener. We used Amazon Mechanical Turk to perform a comparison test on examples from all models presented in Table 1 (this includes the hold-out dataset). The participants were presented with two 4s examples corresponding to the same pitch. On a five-level Likert scale, the participants evaluate the statement ”Sample A has better audio quality / has less audio distortions than Sample $B ^ { \\prime \\prime }$ . For the study, we collected 3600 ratings and each model is involved in 800 comparisons. \n• Number of Statistically-Different Bins (NDB) We adopt the metric proposed by Richardson & Weiss (2018) to measure the diversity of generated examples: the training examples are clustered into $k = 5 0$ Voronoi cells by $k$ -means in log-spectrogram space, the generated examples are also mapped into the same space and are assigned to the nearest cell. NDB is reported as the number of cells where the number of training examples is statistically significantly different from the number of generated examples by a two-sample Binomial test. \n• Inception Score (IS) (Salimans et al., 2016) propose a metric for evaluating GANs which has become a de-facto standard in GAN literature (Gulrajani et al., 2017; Miyato et al., 2018; Karras et al., 2018a). Generated examples are run through a pretrained Inception classifier and the Inception Score is defined as the mean KL divergence between the imageconditional output class probabilities and the marginal distribution of the same. IS penalizes models whose examples aren’t each easily classified into a single class, as well as models whose examples collectively belong to only a few of the possible classes. Though we still call our metric “IS” for consistency, we replace the Inception features with features from a pitch classifier trained on spectrograms of our acoustic NSynth dataset. \n• Pitch Accuracy (PA) and Pitch Entropy (PE) Because the Inception Score can conflate models which don’t produce distinct pitches and models which produce only a few pitches, we also separately measure the accuracy of the same pretrained pitch classifier on generated examples (PA) and the entropy of its output distribution (PE). \n• Frechet Inception Distance (FID) ´ (Heusel et al., 2017) propose a metric for evaluating GANs based on the 2-Wasserstein (or Frechet) distance between multivariate Gaussians fit ´ to features extracted from a pretrained Inception classifier and show that this metric correlates with perceptual quality and diversity on synthetic distributions. As with Inception Score, we use pitch-classifier features instead of Inception features. ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
215,
|
| 362 |
+
204,
|
| 363 |
+
825,
|
| 364 |
+
732
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 4
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "text",
|
| 370 |
+
"text": "4 RESULTS ",
|
| 371 |
+
"text_level": 1,
|
| 372 |
+
"bbox": [
|
| 373 |
+
174,
|
| 374 |
+
744,
|
| 375 |
+
281,
|
| 376 |
+
761
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 4
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "Table 1 presents a summary of our results on all model and representation variants. Our most discerning measure of audio quality, human evaluation, shows a clear trend, summarized in Figure 2. Quality decreases as output representations move from IF-Mel, IF, Phase, to Waveform. The highest quality model, IF-Mel, was judged comparably but slightly inferior to real data. The WaveNet baseline produces high-fidelity sounds, but occasionally breaks down into feedback and self oscillation, resulting in a score that is comparable to the IF GANs. ",
|
| 383 |
+
"bbox": [
|
| 384 |
+
174,
|
| 385 |
+
776,
|
| 386 |
+
823,
|
| 387 |
+
861
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 4
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "While there is no a priori reason that sample diversity should correlate with audio quality, we indeed find that NDB follows the same trend as the human evaluation. Additionally, high frequency resolution improves the NDB score across models types. The WaveNet baseline receives the worst NDB score. Even though the generative model assigns high likelihood to all the training data, the autoregressive sampling itself has a tendency gravitate to the same type of oscillation for each given pitch conditioning, leading to an extreme lack of diversity. Histograms of the sample distributions showing peaky distributions for the different models can be found in the appendix. ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
867,
|
| 397 |
+
823,
|
| 398 |
+
924
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "table",
|
| 404 |
+
"img_path": "images/0ce4b37e2e619fc66faefb95841b41a43a5dd06250e8c1c26ee032e50053eea3.jpg",
|
| 405 |
+
"table_caption": [
|
| 406 |
+
"Table 1: Metrics for different models. $\\tilde { \\mathbf { \\Gamma } } + \\mathrm { H } ^ { \\prime \\prime }$ stands for higher frequency resolution, and ”Real Data” is drawn from the test set. "
|
| 407 |
+
],
|
| 408 |
+
"table_footnote": [],
|
| 409 |
+
"table_body": "<table><tr><td colspan=\"6\">Human Eval</td></tr><tr><td>Examples</td><td>(wins)</td><td>NDB</td><td>FID</td><td>IS</td><td>PA</td><td>PE</td></tr><tr><td>Real Data</td><td>549</td><td>2.2</td><td>13</td><td>47.1</td><td>98.2</td><td>0.22</td></tr><tr><td>IF-Mel + H</td><td>485</td><td>29.3</td><td>167</td><td>38.1</td><td>97.9</td><td>0.40</td></tr><tr><td>IF+H</td><td>308</td><td>36.0</td><td>104</td><td>41.6</td><td>98.3</td><td>0.32</td></tr><tr><td>Phase +H</td><td>225</td><td>37.6</td><td>592</td><td>36.2</td><td>97.6</td><td>0.44</td></tr><tr><td>IF-Mel</td><td>479</td><td>37.0</td><td>600</td><td>29.6</td><td>94.1</td><td>0.63</td></tr><tr><td>IF</td><td>283</td><td>37.0</td><td>708</td><td>36.3</td><td>96.8</td><td>0.44</td></tr><tr><td>Phase</td><td>203</td><td>41.4</td><td>687</td><td>24.4</td><td>94.4</td><td>0.77</td></tr><tr><td>WaveNet</td><td>359</td><td>45.9</td><td>320</td><td>29.1</td><td>92.7</td><td>0.70</td></tr><tr><td>WaveGAN</td><td>216</td><td>43.0</td><td>461</td><td>13.7</td><td>82.7</td><td>1.40</td></tr></table>",
|
| 410 |
+
"bbox": [
|
| 411 |
+
261,
|
| 412 |
+
155,
|
| 413 |
+
730,
|
| 414 |
+
330
|
| 415 |
+
],
|
| 416 |
+
"page_idx": 5
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"type": "image",
|
| 420 |
+
"img_path": "images/5c79b8177204bb26d801ee19df8fafbb20f52480114e5262b09047b8ca9bab06.jpg",
|
| 421 |
+
"image_caption": [
|
| 422 |
+
"Figure 2: Number of wins on pair-wise comparison across different output representations and baselines. Ablation comparing highest performing models of each type. Higher scores represent better perceptual quality to participants. The ranking observed here correlates well with the evaluation on quantitative metrics as in Table 1. "
|
| 423 |
+
],
|
| 424 |
+
"image_footnote": [],
|
| 425 |
+
"bbox": [
|
| 426 |
+
176,
|
| 427 |
+
347,
|
| 428 |
+
823,
|
| 429 |
+
510
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 5
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "",
|
| 436 |
+
"bbox": [
|
| 437 |
+
176,
|
| 438 |
+
604,
|
| 439 |
+
821,
|
| 440 |
+
647
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 5
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "FID provides a similar story to the first two metrics with significantly lower scores for for IF models with high frequency resolution. Comparatively, Mel scaling has much less of an effect on the FID then it does in the listener study. Phase models have high FID, even at high frequency resolution, reflecting their poor sample quality. ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
174,
|
| 449 |
+
654,
|
| 450 |
+
825,
|
| 451 |
+
710
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 5
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "Many of the models do quite well on the classifier metrics of IS, Pitch Accuracy, and Pitch Entropy, because they have explicit conditioning telling them what pitches to generate. All of the high-resolution models actually generate examples classified with similar accuracy to the real data. As this accuracy and entropy can be a strong function of the distribution of generated examples, which most certainly does not match the training distribution due to mode collapse and other issues, there is little discriminative information to gain about sample quality from differences among such high scores. The metrics do provide a rough measure of which models are less reliably generating classifiable pitches, which seems to be the low frequency models to some extent and the baselines. ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
174,
|
| 460 |
+
717,
|
| 461 |
+
825,
|
| 462 |
+
829
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 5
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "5 QUALITATIVE ANALYSIS ",
|
| 469 |
+
"text_level": 1,
|
| 470 |
+
"bbox": [
|
| 471 |
+
176,
|
| 472 |
+
849,
|
| 473 |
+
410,
|
| 474 |
+
866
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 5
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "While we do our best to visualize qualitative audio concepts, we highly recommend the reader to listen to the accompanying audio examples provided at https://goo.gl/magenta/ gansynth-examples. ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
176,
|
| 483 |
+
882,
|
| 484 |
+
825,
|
| 485 |
+
924
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 5
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "image",
|
| 491 |
+
"img_path": "images/fc64b1b727defb1a0bb619b511a6b99b0a1e06fc4af6257c01419b3b480e8021.jpg",
|
| 492 |
+
"image_caption": [
|
| 493 |
+
"Figure 3: Phase coherence. Examples are selected to be roughly similar between the models for illustrative purposes. The top row shows the waveform modulo the fundamental periodicity of the note (MIDI C60), for 1028 examples taken in the middle of the note. Notice that the real data completely overlaps itself as the waveform is extremely periodic. The WaveGAN and PhaseGAN, however, have many phase irregularities, creating a blurry web of lines. The IFGAN is much more coherent, having only small variations from cycle-to-cycle. In the Rainbowgrams below, the real data and IF models have coherent waveforms that result in strong consistent colors for each harmonic, while the PhaseGAN has many speckles due to phase discontinuities, and the WaveGAN model is quite irregular. "
|
| 494 |
+
],
|
| 495 |
+
"image_footnote": [],
|
| 496 |
+
"bbox": [
|
| 497 |
+
178,
|
| 498 |
+
104,
|
| 499 |
+
820,
|
| 500 |
+
364
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 6
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "5.1 PHASE COHERENCE ",
|
| 507 |
+
"text_level": 1,
|
| 508 |
+
"bbox": [
|
| 509 |
+
176,
|
| 510 |
+
531,
|
| 511 |
+
352,
|
| 512 |
+
545
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 6
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "Figure 3 visualizes the phase coherence of examples from different GAN variants. It is clear from the waveforms at the top, which are wrapped at the fundamental frequency, that the real data and IF models produce waveforms that are consistent from cycle-to-cycle. The PhaseGAN has some phase discontinuities, while the WaveGAN is quite irregular. Below we use Rainbowgrams (Engel et al., 2017) to depict the log magnitude of the frequencies as brightness and the IF as the color on a rainbow color map. This visualization helps to see clear phase coherence of the harmonics in the real data and IFGAN by the strong consistent colors. In contrast, the PhaseGAN discontinuities appear as speckled noise, and the WaveGAN appears largely incoherent. ",
|
| 519 |
+
"bbox": [
|
| 520 |
+
174,
|
| 521 |
+
558,
|
| 522 |
+
825,
|
| 523 |
+
669
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 6
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "5.2 INTERPOLATION ",
|
| 530 |
+
"text_level": 1,
|
| 531 |
+
"bbox": [
|
| 532 |
+
176,
|
| 533 |
+
686,
|
| 534 |
+
328,
|
| 535 |
+
700
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 6
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "As discussed in the introduction, GANs also allow conditioning on the same latent vector the entire sequence, as opposed to only short subsequences for memory intensive autoregressive models like WaveNet. WaveNet autoencoders, such as ones in (Engel et al., 2017), learn local latent codes that control generation on the scale of milliseconds but have limited scope, and have a structure of their own that must be modelled and does not fit a compact prior. In Figure 4 we take a pretrained WaveNet autoencoder 5 and compare interpolating between examples in the raw waveform (top), the distributed latent code of a WaveNet autoencoder, and the global code of an IF-Mel GAN. ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
174,
|
| 544 |
+
712,
|
| 545 |
+
825,
|
| 546 |
+
810
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 6
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "Interpolating the waveform is perceptually equivalent to mixing between the amplitudes of two distinct sounds. WaveNet improves upon this for the two notes by mixing in the space of timbre, but the linear interpolation does not correspond to the complex prior on latents, and the intermediate sounds have a tendency to fall apart, oscillate and whistle, which are the natural failure modes for a WaveNet model. However, the GAN model has a spherical gaussian prior which is decoded to produce the entire sound, and spherical interpolation stays well-aligned with the prior. Thus, the perceptual change during interpolation is smooth and all intermediate latent vectors are decoded to produce sounds without additional artifacts. As a more musical example, in the audio examples, we interpolate the timbre between 15 random points in latent space while using the pitches from the prelude to Bach’s Suite No. 1 in G major 6. As seen in appendix Figure 7, the timbre of the sounds morph smoothly between many instruments while the pitches consistently follow the composed piece. ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
174,
|
| 555 |
+
816,
|
| 556 |
+
823,
|
| 557 |
+
886
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 6
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "image",
|
| 563 |
+
"img_path": "images/25dc0d5e17ebb314d71d4e5cf63cedff4e2f3bee062c8a20902a3af0ac6213bf.jpg",
|
| 564 |
+
"image_caption": [
|
| 565 |
+
"Figure 4: Global interpolation. Examples available for listening4. Interpolating between waveforms perceptually results in crossfading the volumes of two distinct sounds (rainbowgrams at top). The WaveNet autoencoder (middle) only has local conditioning distributed in time, and no compact prior over those time series, so linear interpolation ventures off the true prior / data manifold, and produces in-between sounds that are less realistic examples and feature the default failure mode of autoregressive wavenets (feedback harmonics). Meanwhile, the IF-Mel GAN (bottom) has global conditioning so interpolating in perceptual attributes while staying along the prior at all intermediate points, so they produce high-fidelity audio examples like the endpoints. "
|
| 566 |
+
],
|
| 567 |
+
"image_footnote": [],
|
| 568 |
+
"bbox": [
|
| 569 |
+
176,
|
| 570 |
+
106,
|
| 571 |
+
823,
|
| 572 |
+
428
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 7
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "",
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
582,
|
| 582 |
+
825,
|
| 583 |
+
679
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 7
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "5.3 CONSISTENT TIMBRE ACROSS PITCH ",
|
| 590 |
+
"text_level": 1,
|
| 591 |
+
"bbox": [
|
| 592 |
+
176,
|
| 593 |
+
696,
|
| 594 |
+
473,
|
| 595 |
+
712
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 7
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "text",
|
| 601 |
+
"text": "While timbre slightly varies for a natural instrument across register, on the whole it remains consistent, giving the instrument its unique character. In the audio examples 7, we fix the latent conditioning variable and generate examples by varying the pitch conditioning over five octaves. It’s clear that the timbral identity of the GAN remains largely intact, creating a unique instrument identity for the given point in latent space. As seen in appendix Figure 7, the Bach prelude rendered with a single latent vector has a consistent harmonic structure across a range of pitches. ",
|
| 602 |
+
"bbox": [
|
| 603 |
+
174,
|
| 604 |
+
723,
|
| 605 |
+
825,
|
| 606 |
+
806
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 7
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "6 FAST GENERATION ",
|
| 613 |
+
"text_level": 1,
|
| 614 |
+
"bbox": [
|
| 615 |
+
176,
|
| 616 |
+
827,
|
| 617 |
+
364,
|
| 618 |
+
842
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 7
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "One of the advantages of GANs with upsampling convolutions over autoregressive models is that the both the training and generation can be processed in parallel for the entire audio sample. This is quite amenable to modern GPU hardware which is often I/O bound with iterative autoregressive algorithms. This can be seen when we synthesize a single four second audio sample on a TitanX GPU and the latency to completion drops from 1077.53 seconds for the WaveNet baseline to 20 milliseconds for the IF-Mel GAN making it around 53,880 times faster. Previous applications of WaveNet autoencoders trained on the NSynth dataset for music performance relied on prerendering all possible sounds for playback due to the long synthesis latency 8. This work opens up the intriguing possibility for realtime neural network audio synthesis on device, allowing users to explore a much broader pallete of expressive sounds. ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
176,
|
| 627 |
+
858,
|
| 628 |
+
823,
|
| 629 |
+
886
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 7
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
103,
|
| 639 |
+
825,
|
| 640 |
+
215
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 8
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "7 RELATED WORK ",
|
| 647 |
+
"text_level": 1,
|
| 648 |
+
"bbox": [
|
| 649 |
+
176,
|
| 650 |
+
244,
|
| 651 |
+
344,
|
| 652 |
+
261
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 8
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "Much of the work on deep generative models for audio tends to focus on speech synthesis (van den Oord et al., 2018; Sotelo et al., 2017; Wang et al., 2017). These datasets require handling variable length conditioning (phonemes/text) and audio, and often rely on recurrent and/or autoregressive models for variable length inputs and outputs. It would be interesting to compare adversarial audio synthesis to these methods, but we leave this to future work as adapting GANs to use variable-length conditioning or recurrent generators is a non-trivial extension of the current work. ",
|
| 659 |
+
"bbox": [
|
| 660 |
+
174,
|
| 661 |
+
281,
|
| 662 |
+
823,
|
| 663 |
+
366
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 8
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "In comparison to speech, audio generation for music is relatively under-explored. van den Oord et al. (2016) and Mehri et al. (2017) propose autoregressive models and demonstrate their ability to synthesize musical instrument sounds, but these suffer from the aforementioned slow generation. Donahue et al. (2019) first applied GANs to audio generation with coherent results, but fell short of the audio fidelity of autoregressive likelihood models. ",
|
| 670 |
+
"bbox": [
|
| 671 |
+
174,
|
| 672 |
+
372,
|
| 673 |
+
825,
|
| 674 |
+
443
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 8
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "text",
|
| 680 |
+
"text": "Our work also builds on multiple recent advances in GAN literature. Gulrajani et al. (2017) propose a modification to the loss function of GANs and demonstrate improved training stability and architectural robustness. Karras et al. (2018a) further introduce progressive training, in which successive layers of the generator and discriminator are learned in a curriculum, leading to improved generation quality given a limited training time. They also propose a number of architectural tricks to further improve quality, which we employ in our best models. ",
|
| 681 |
+
"bbox": [
|
| 682 |
+
174,
|
| 683 |
+
449,
|
| 684 |
+
825,
|
| 685 |
+
534
|
| 686 |
+
],
|
| 687 |
+
"page_idx": 8
|
| 688 |
+
},
|
| 689 |
+
{
|
| 690 |
+
"type": "text",
|
| 691 |
+
"text": "The NSynth dataset was first introduced as a “CelebA of audio” (Liu et al., 2015; Engel et al., 2017), and used WaveNet autoencoders to interpolate between timbres of musical instruments, but with very slow sampling speeds. Mor et al. (2019) expanded on this work by incoporating an adversarial domain confusion loss to achieve timbre transformations between a wide range of audio sources. Defossez et al. (2018) achieve significant sampling speedups $( \\sim 2 , 5 0 0 \\mathrm { x } )$ over wavenet autoencoders by training a frame-based regression model to map from pitch and instrument labels to raw waveforms. They consider a unimodal likelihood regression loss in log spectrograms and backpropagate through the STFT, which yeilds good frequency estimation, but provides no incentive to learn phase coherency or handle multimodal distributions. Their architecture also requires a large amount of channels, slowing down sample generation and training. ",
|
| 692 |
+
"bbox": [
|
| 693 |
+
174,
|
| 694 |
+
540,
|
| 695 |
+
825,
|
| 696 |
+
679
|
| 697 |
+
],
|
| 698 |
+
"page_idx": 8
|
| 699 |
+
},
|
| 700 |
+
{
|
| 701 |
+
"type": "text",
|
| 702 |
+
"text": "8 CONCLUSION ",
|
| 703 |
+
"text_level": 1,
|
| 704 |
+
"bbox": [
|
| 705 |
+
176,
|
| 706 |
+
708,
|
| 707 |
+
318,
|
| 708 |
+
724
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 8
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "By carefully controlling the audio representation used for generative modeling, we have demonstrated high-quality audio generation with GANs on the NSynth dataset, exceeding the fidelity of a strong WaveNet baseline while generating samples tens of thousands of times faster. While this is a major advance for audio generation with GANs, this study focused on a specific controlled dataset, and further work is needed to validate and expand it to a broader class of signals including speech and other types of natural sound. This work also opens up possible avenues for domain transfer and other exciting applications of adversarial losses to audio. Issues of mode collapse and diversity common to GANs exist for audio as well, and we leave it to further work to consider combining adversarial losses with encoders or more straightforward regression losses to better capture the full data distribution. ",
|
| 715 |
+
"bbox": [
|
| 716 |
+
174,
|
| 717 |
+
746,
|
| 718 |
+
825,
|
| 719 |
+
885
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 8
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
176,
|
| 729 |
+
104,
|
| 730 |
+
328,
|
| 731 |
+
117
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 9
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "We would like to thank Rif A. Saurous and David Berthelot for fruitful discussions and help in reviewing the manuscript. ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
174,
|
| 740 |
+
127,
|
| 741 |
+
823,
|
| 742 |
+
156
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 9
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "text",
|
| 748 |
+
"text": "REFERENCES ",
|
| 749 |
+
"text_level": 1,
|
| 750 |
+
"bbox": [
|
| 751 |
+
174,
|
| 752 |
+
178,
|
| 753 |
+
285,
|
| 754 |
+
193
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 9
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "Mathieu Andreux and Stephane Mallat. Music generation and transformation with moment matching-scattering inverse networks. In International Society for Music Information Retrevial Conference, 2018. URL http://ismir2018.ircam.fr/doc/pdfs/131_Paper.pdf. ",
|
| 761 |
+
"bbox": [
|
| 762 |
+
174,
|
| 763 |
+
200,
|
| 764 |
+
826,
|
| 765 |
+
242
|
| 766 |
+
],
|
| 767 |
+
"page_idx": 9
|
| 768 |
+
},
|
| 769 |
+
{
|
| 770 |
+
"type": "text",
|
| 771 |
+
"text": "Martin Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein generative adversarial networks. ´ In Doina Precup and Yee Whye Teh (eds.), Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 214–223, International Convention Centre, Sydney, Australia, 06–11 Aug 2017. PMLR. URL http:// proceedings.mlr.press/v70/arjovsky17a.html. ",
|
| 772 |
+
"bbox": [
|
| 773 |
+
173,
|
| 774 |
+
252,
|
| 775 |
+
825,
|
| 776 |
+
321
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 9
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "text",
|
| 782 |
+
"text": "David Berthelot, Thomas Schumm, and Luke Metz. BEGAN: Boundary equilibrium generative adversarial networks. arXiv preprint arXiv:1703.10717, 2017. ",
|
| 783 |
+
"bbox": [
|
| 784 |
+
171,
|
| 785 |
+
330,
|
| 786 |
+
823,
|
| 787 |
+
361
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 9
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "Boualem Boashash. Estimating and interpreting the instantaneous frequency of a signal. Proceedings of the IEEE, 80(4):540–568, 1992. ",
|
| 794 |
+
"bbox": [
|
| 795 |
+
171,
|
| 796 |
+
368,
|
| 797 |
+
821,
|
| 798 |
+
397
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 9
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } =$ B1xsqj09Fm. ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
406,
|
| 808 |
+
825,
|
| 809 |
+
449
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 9
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "Alexandre Defossez, Neil Zeghidour, Nicolas Usunier, Leon Bottou, and Francis Bach. Sing: Symbol-to-instrument neural generator. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems 31, pp. 9041–9051. Curran Associates, Inc., 2018. URL http://papers.nips.cc/paper/ 8118-sing-symbol-to-instrument-neural-generator.pdf. ",
|
| 816 |
+
"bbox": [
|
| 817 |
+
174,
|
| 818 |
+
458,
|
| 819 |
+
825,
|
| 820 |
+
529
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 9
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "Sander Dieleman and Benjamin Schrauwen. End-to-end learning for music audio. In ICASSP, pp. 6964–6968, 2014. ",
|
| 827 |
+
"bbox": [
|
| 828 |
+
174,
|
| 829 |
+
537,
|
| 830 |
+
821,
|
| 831 |
+
566
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 9
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "text",
|
| 837 |
+
"text": "Mark Dolson. The phase vocoder: A tutorial. Computer Music Journal, 10(4):14–27, 1986. ",
|
| 838 |
+
"bbox": [
|
| 839 |
+
171,
|
| 840 |
+
575,
|
| 841 |
+
776,
|
| 842 |
+
590
|
| 843 |
+
],
|
| 844 |
+
"page_idx": 9
|
| 845 |
+
},
|
| 846 |
+
{
|
| 847 |
+
"type": "text",
|
| 848 |
+
"text": "Chris Donahue, Julian McAuley, and Miller Puckette. Adversarial audio synthesis. In ICLR, 2019. ",
|
| 849 |
+
"bbox": [
|
| 850 |
+
171,
|
| 851 |
+
599,
|
| 852 |
+
818,
|
| 853 |
+
614
|
| 854 |
+
],
|
| 855 |
+
"page_idx": 9
|
| 856 |
+
},
|
| 857 |
+
{
|
| 858 |
+
"type": "text",
|
| 859 |
+
"text": "Jesse Engel, Cinjon Resnick, Adam Roberts, Sander Dieleman, Douglas Eck, Karen Simonyan, and Mohammad Norouzi. Neural audio synthesis of musical notes with WaveNet autoencoders. In ICML, 2017. ",
|
| 860 |
+
"bbox": [
|
| 861 |
+
174,
|
| 862 |
+
623,
|
| 863 |
+
825,
|
| 864 |
+
665
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 9
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "Philippe Esling, Axel Chemla-Romeu-Santos, and Adrien Bitton. Bridging audio analysis, perception and synthesis with perceptually-regularized variational timbre spaces. In Proceedings of the 19th International Society for Music Information Retrieval Conference, ISMIR 2018, Paris, France, September 23-27, 2018, pp. 175–181, 2018. URL http://ismir2018.ircam.fr/ doc/pdfs/219_Paper.pdf. ",
|
| 871 |
+
"bbox": [
|
| 872 |
+
173,
|
| 873 |
+
674,
|
| 874 |
+
825,
|
| 875 |
+
744
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 9
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In NIPS, pp. 2672–2680, 2014. ",
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
753,
|
| 885 |
+
825,
|
| 886 |
+
796
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 9
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron C Courville. Improved training of Wasserstein GANs. In NIPS, pp. 5767–5777, 2017. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
171,
|
| 895 |
+
805,
|
| 896 |
+
823,
|
| 897 |
+
835
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 9
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local Nash equilibrium. In NIPS, pp. 6626–6637. 2017. ",
|
| 904 |
+
"bbox": [
|
| 905 |
+
173,
|
| 906 |
+
843,
|
| 907 |
+
823,
|
| 908 |
+
886
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 9
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-image translation with conditional adversarial networks. In CVPR, 2017. ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
173,
|
| 917 |
+
895,
|
| 918 |
+
821,
|
| 919 |
+
922
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 9
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "Yanghua Jin, Jiakai Zhang, Minjun Li, Yingtao Tian, Huachun Zhu, and Zhihao Fang. Towards the automatic anime characters creation with generative adversarial networks. arXiv preprint arXiv:1708.05509, 2017. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
174,
|
| 928 |
+
103,
|
| 929 |
+
823,
|
| 930 |
+
146
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 10
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "Tero Karras, Timo Aila, Samuli Laine, and Jaakko Lehtinen. Progressive growing of GANs for improved quality, stability, and variation. In ICLR, 2018a. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
173,
|
| 939 |
+
157,
|
| 940 |
+
821,
|
| 941 |
+
186
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 10
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. CoRR, abs/1812.04948, 2018b. URL http://arxiv.org/abs/1812. 04948. ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
173,
|
| 950 |
+
199,
|
| 951 |
+
823,
|
| 952 |
+
241
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 10
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2014. URL http://arxiv.org/abs/1412.6980. ",
|
| 959 |
+
"bbox": [
|
| 960 |
+
171,
|
| 961 |
+
253,
|
| 962 |
+
823,
|
| 963 |
+
284
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 10
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Naveen Kodali, Jacob Abernethy, James Hays, and Zsolt Kira. On convergence and stability of gans. arXiv preprint arXiv:1705.07215, 2017. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
173,
|
| 972 |
+
294,
|
| 973 |
+
821,
|
| 974 |
+
324
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 10
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "Ziwei Liu, Ping Luo, Xiaogang Wang, and Xiaoou Tang. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), 2015. ",
|
| 981 |
+
"bbox": [
|
| 982 |
+
171,
|
| 983 |
+
335,
|
| 984 |
+
820,
|
| 985 |
+
364
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 10
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "Soroush Mehri, Kundan Kumar, Ishaan Gulrajani, Rithesh Kumar, Shubham Jain, Jose Sotelo, Aaron Courville, and Yoshua Bengio. SampleRNN: An unconditional end-to-end neural audio generation model. In ICLR, 2017. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
174,
|
| 994 |
+
376,
|
| 995 |
+
821,
|
| 996 |
+
419
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 10
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Takeru Miyato, Toshiki Kataoka, Masanori Koyama, and Yuichi Yoshida. Spectral normalization for generative adversarial networks. In ICLR, 2018. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
171,
|
| 1005 |
+
430,
|
| 1006 |
+
823,
|
| 1007 |
+
460
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 10
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "Noam Mor, Lior Wolf, Adam Polyak, and Yaniv Taigman. Autoencoder-based music translation. In International Conference on Learning Representations, 2019. URL https://openreview. net/forum?id ${ . } = { }$ HJGkisCcKm. ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
173,
|
| 1016 |
+
470,
|
| 1017 |
+
825,
|
| 1018 |
+
515
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 10
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "Augustus Odena, Christopher Olah, and Jonathon Shlens. Conditional image synthesis with auxiliary classifier gans. In ICML, 2017. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
171,
|
| 1027 |
+
526,
|
| 1028 |
+
823,
|
| 1029 |
+
556
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 10
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "text",
|
| 1035 |
+
"text": "Tom Le Paine, Pooya Khorrami, Shiyu Chang, Yang Zhang, Prajit Ramachandran, Mark A Hasegawa-Johnson, and Thomas S Huang. Fast WaveNet generation algorithm. arXiv preprint arXiv:1611.09482, 2016. ",
|
| 1036 |
+
"bbox": [
|
| 1037 |
+
173,
|
| 1038 |
+
566,
|
| 1039 |
+
823,
|
| 1040 |
+
611
|
| 1041 |
+
],
|
| 1042 |
+
"page_idx": 10
|
| 1043 |
+
},
|
| 1044 |
+
{
|
| 1045 |
+
"type": "text",
|
| 1046 |
+
"text": "Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In ICLR, 2016. ",
|
| 1047 |
+
"bbox": [
|
| 1048 |
+
171,
|
| 1049 |
+
621,
|
| 1050 |
+
823,
|
| 1051 |
+
651
|
| 1052 |
+
],
|
| 1053 |
+
"page_idx": 10
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"type": "text",
|
| 1057 |
+
"text": "Eitan Richardson and Yair Weiss. On GANs and GMMs. CoRR, abs/1805.12462, 2018. URL http://arxiv.org/abs/1805.12462. ",
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
173,
|
| 1060 |
+
661,
|
| 1061 |
+
823,
|
| 1062 |
+
693
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 10
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. In NIPS, pp. 2234–2242, 2016. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
171,
|
| 1071 |
+
703,
|
| 1072 |
+
823,
|
| 1073 |
+
733
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 10
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Tim Salimans, Andrej Karpathy, Xi Chen, and Diederik P. Kingma. Pixelcnn $^ { + + }$ : Improving the pixelcnn with discretized logistic mixture likelihood and other modifications. CoRR, abs/1701.05517, 2017. URL http://arxiv.org/abs/1701.05517. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
173,
|
| 1082 |
+
744,
|
| 1083 |
+
825,
|
| 1084 |
+
787
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 10
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Jose Sotelo, Soroush Mehri, Kundan Kumar, Joao Felipe Santos, Kyle Kastner, Aaron Courville, and Yoshua Bengio. Char2wav: End-to-end speech synthesis. 2017. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
171,
|
| 1093 |
+
799,
|
| 1094 |
+
823,
|
| 1095 |
+
829
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 10
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "Lucas Theis, Aaron van den Oord, and Matthias Bethge. A note on the evaluation of generative ¨ models. In ICLR, 2016. ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
169,
|
| 1104 |
+
840,
|
| 1105 |
+
825,
|
| 1106 |
+
869
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 10
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, ¨ Nal Kalchbrenner, Andrew W Senior, and Koray Kavukcuoglu. Wavenet: A generative model for raw audio. In SSW, pp. 125, 2016. ",
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
174,
|
| 1115 |
+
882,
|
| 1116 |
+
825,
|
| 1117 |
+
924
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 10
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "Aaron van den Oord, Yazhe Li, Igor Babuschkin, Karen Simonyan, Oriol Vinyals, Koray Kavukcuoglu, George van den Driessche, Edward Lockhart, Luis Cobo, Florian Stimberg, Norman Casagrande, Dominik Grewe, Seb Noury, Sander Dieleman, Erich Elsen, Nal Kalchbrenner, Heiga Zen, Alex Graves, Helen King, Tom Walters, Dan Belov, and Demis Hassabis. Parallel WaveNet: Fast high-fidelity speech synthesis. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 3918–3926, Stockholmsmssan, Stockholm Sweden, 10–15 Jul 2018. PMLR. URL http://proceedings.mlr.press/v80/oord18a.html. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
176,
|
| 1126 |
+
103,
|
| 1127 |
+
825,
|
| 1128 |
+
215
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 11
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "text",
|
| 1134 |
+
"text": "Yuxuan Wang, RJ Skerry-Ryan, Daisy Stanton, Yonghui Wu, Ron J Weiss, Navdeep Jaitly, Zongheng Yang, Ying Xiao, Zhifeng Chen, Samy Bengio, et al. Tacotron: Towards end-to-end speech synthesis. In INTERSPEECH, 2017. ",
|
| 1135 |
+
"bbox": [
|
| 1136 |
+
174,
|
| 1137 |
+
224,
|
| 1138 |
+
823,
|
| 1139 |
+
267
|
| 1140 |
+
],
|
| 1141 |
+
"page_idx": 11
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"type": "text",
|
| 1145 |
+
"text": "Lior Wolf, Yaniv Taigman, and Adam Polyak. Unsupervised creation of parameterized avatars. CoRR, abs/1704.05693, 2017. ",
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
176,
|
| 1148 |
+
275,
|
| 1149 |
+
821,
|
| 1150 |
+
304
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 11
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networks. In ICCV, 2017. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
173,
|
| 1159 |
+
313,
|
| 1160 |
+
823,
|
| 1161 |
+
342
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 11
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "Zhenyao Zhu, Jesse H Engel, and Awni Y Hannun. Learning multiscale features directly fromwaveforms. CoRR, vol. abs/1603.09509, 2016. ",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
169,
|
| 1170 |
+
352,
|
| 1171 |
+
823,
|
| 1172 |
+
380
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 11
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "image",
|
| 1178 |
+
"img_path": "images/db57bbd09e2d44176addffb284990fd4bbc485158a2ac319388becbd9ad155a9.jpg",
|
| 1179 |
+
"image_caption": [
|
| 1180 |
+
"A MEASURING DIVERSITY ACROSS GENERATED EXAMPLES "
|
| 1181 |
+
],
|
| 1182 |
+
"image_footnote": [],
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
209,
|
| 1185 |
+
159,
|
| 1186 |
+
761,
|
| 1187 |
+
425
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 12
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "image",
|
| 1193 |
+
"img_path": "images/222a79b2ad32e269faae27441b4b98334300fafec679b2fc2fb77707f1eee842.jpg",
|
| 1194 |
+
"image_caption": [
|
| 1195 |
+
"Figure 5: NDB bin proportions for the IF-Mel $+ \\textrm { H }$ model and the WaveGAN baseline (evaluated with examples of pitch 60). ",
|
| 1196 |
+
"Figure 6: NDB bin proportions for the WaveNet baseline (evaluated with examples of pitch 60). "
|
| 1197 |
+
],
|
| 1198 |
+
"image_footnote": [],
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
215,
|
| 1201 |
+
536,
|
| 1202 |
+
764,
|
| 1203 |
+
796
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 12
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "B TIMBRAL SIMILARITY ACROSS PITCH ",
|
| 1210 |
+
"text_level": 1,
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
173,
|
| 1213 |
+
102,
|
| 1214 |
+
527,
|
| 1215 |
+
118
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 13
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "Bach Prelude -- Single Latent Vector ",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
372,
|
| 1224 |
+
151,
|
| 1225 |
+
627,
|
| 1226 |
+
166
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 13
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "image",
|
| 1232 |
+
"img_path": "images/7654cd0fadcb374b77e36efbaba7b697b7261985788cd5dd3775bc522c3e4059.jpg",
|
| 1233 |
+
"image_caption": [
|
| 1234 |
+
"Figure 7: The first 20 seconds (10 seconds per a row) of the prelude to Bach’s Suite No. 1 in G major 9, for pitches synthesized with a single latent vector (top), and with spherical interpolation in latent space (bottom). The timbre is constant for a single latent vector, shown by the consistency of the upper harmonic structure, while it varies dramatically as the latent vector changes. Listening examples are provided at https://goo.gl/magenta/gansynth-examples "
|
| 1235 |
+
],
|
| 1236 |
+
"image_footnote": [],
|
| 1237 |
+
"bbox": [
|
| 1238 |
+
171,
|
| 1239 |
+
160,
|
| 1240 |
+
825,
|
| 1241 |
+
484
|
| 1242 |
+
],
|
| 1243 |
+
"page_idx": 13
|
| 1244 |
+
},
|
| 1245 |
+
{
|
| 1246 |
+
"type": "text",
|
| 1247 |
+
"text": "C BASELINE MODEL COMPARISONS",
|
| 1248 |
+
"bbox": [
|
| 1249 |
+
174,
|
| 1250 |
+
102,
|
| 1251 |
+
491,
|
| 1252 |
+
118
|
| 1253 |
+
],
|
| 1254 |
+
"page_idx": 14
|
| 1255 |
+
},
|
| 1256 |
+
{
|
| 1257 |
+
"type": "table",
|
| 1258 |
+
"img_path": "images/32e7c5e1b18d5571724ccf317da8244049c3402eaa7a55b1cf4ca7ca71e85611.jpg",
|
| 1259 |
+
"table_caption": [
|
| 1260 |
+
"Table 2: Comparison of models generating waveforms directly. Our Waveform GAN baseline performs similar to the WaveGAN baseline, but the progressive training does not improve performance, so we only compare to the WaveGAN baseline for the paper. The 8-bit categorical WaveNet outperforms the 16-bit mixture of logistics, likely due to the decreased stability of the 16-bit model with only pitch conditioning, despite the increased fidelity. "
|
| 1261 |
+
],
|
| 1262 |
+
"table_footnote": [],
|
| 1263 |
+
"table_body": "<table><tr><td>Examples</td><td>NDB</td><td>FID</td><td>IS</td><td>PA</td><td>PE</td></tr><tr><td>WaveGAN</td><td>43.0</td><td>461</td><td>13.7</td><td>82.7</td><td>1.40</td></tr><tr><td>Waveform NoProg</td><td>48.2</td><td>447</td><td>14.8</td><td>96.3</td><td>1.61</td></tr><tr><td>Waveform Prog</td><td>45.0</td><td>375</td><td>2.5</td><td>56.7</td><td>3.59</td></tr><tr><td>WaveNet 8-bit</td><td>44.8</td><td>320</td><td>29.1</td><td>92.7</td><td>0.70</td></tr><tr><td>WaveNet 16-bit</td><td>45.9</td><td>656</td><td>9.5</td><td>64.6</td><td>1.71</td></tr></table>",
|
| 1264 |
+
"bbox": [
|
| 1265 |
+
300,
|
| 1266 |
+
232,
|
| 1267 |
+
691,
|
| 1268 |
+
332
|
| 1269 |
+
],
|
| 1270 |
+
"page_idx": 14
|
| 1271 |
+
},
|
| 1272 |
+
{
|
| 1273 |
+
"type": "text",
|
| 1274 |
+
"text": "D TRAINING DETAILS ",
|
| 1275 |
+
"text_level": 1,
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
174,
|
| 1278 |
+
101,
|
| 1279 |
+
374,
|
| 1280 |
+
118
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 15
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "GAN architectures were directly adapted from an open source implementation in Tensorflow 10. Full details are given in Table 3, including adding a pitch classifier to the end of the discriminator as in AC-GAN. All models were trained with the ADAM optimizer (Kingma & Ba, 2014). We sweep over learning rates (2e-4, 4e-4, 8e-4) and weights of the auxiliary classifier loss (0.1, 1.0, 10), and find that for all variants (spectral representation, progressive/no progressive, frequency resolution) a learning rate of 8e-4 and classifier loss of 10 perform the best. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
174,
|
| 1289 |
+
132,
|
| 1290 |
+
825,
|
| 1291 |
+
218
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 15
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "As in the original progressive GAN paper, both networks use box upscaling/downscaling and the generators use pixel normalization, ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
174,
|
| 1300 |
+
223,
|
| 1301 |
+
823,
|
| 1302 |
+
252
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 15
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "equation",
|
| 1308 |
+
"img_path": "images/aa6927570bf434ee0036b1b6536c363295bf0da75be466db51fb957d874c3618.jpg",
|
| 1309 |
+
"text": "$$\nx = x _ { n h w c } / ( \\frac { 1 } { C } \\sum _ { c } x _ { n h w c } ^ { 2 } ) ^ { 0 . 5 }\n$$",
|
| 1310 |
+
"text_format": "latex",
|
| 1311 |
+
"bbox": [
|
| 1312 |
+
398,
|
| 1313 |
+
268,
|
| 1314 |
+
599,
|
| 1315 |
+
306
|
| 1316 |
+
],
|
| 1317 |
+
"page_idx": 15
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"type": "text",
|
| 1321 |
+
"text": "where $n , h , w$ , and $c$ refer to the batch, height, width, and channel dimensions respectively, $x$ is the activations, and $C$ is the total number of channels. The discriminator also appends the standard deviation of the minibatch activations as a scalar channel near the end of the convolutional stack as seen in Table 3. ",
|
| 1322 |
+
"bbox": [
|
| 1323 |
+
174,
|
| 1324 |
+
314,
|
| 1325 |
+
825,
|
| 1326 |
+
371
|
| 1327 |
+
],
|
| 1328 |
+
"page_idx": 15
|
| 1329 |
+
},
|
| 1330 |
+
{
|
| 1331 |
+
"type": "text",
|
| 1332 |
+
"text": "Since we find it helpful to use a Tanh output nonlinearity for the generator, we normalize real data before passing to the discriminator. We measure the maximum range over 100 examples and independently shift and scale the log-magnitudes and phases to [-0.8, 0.8] to allow for outliers and use more of the linear regime of the Tanh nonlinearity. ",
|
| 1333 |
+
"bbox": [
|
| 1334 |
+
174,
|
| 1335 |
+
377,
|
| 1336 |
+
823,
|
| 1337 |
+
435
|
| 1338 |
+
],
|
| 1339 |
+
"page_idx": 15
|
| 1340 |
+
},
|
| 1341 |
+
{
|
| 1342 |
+
"type": "text",
|
| 1343 |
+
"text": "We train each GAN variant for 4.5 days on a single V100 GPU, with a batch size of 8. For nonprogressive models, this equates to training on ${ \\sim } 5 \\mathbf { M }$ examples. For progressive models, we train on 1.6M examples per a stage (7 stages), 800k during alpha blending and $8 0 0 \\mathrm { k }$ after blending. At the last stage we continue training until the 4.5 days completes. Because the earlier stages train faster, the progressive models train on ${ \\sim } 1 1 \\mathbf { M }$ examples. ",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
174,
|
| 1346 |
+
440,
|
| 1347 |
+
825,
|
| 1348 |
+
511
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 15
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "For the WaveNet baseline, we also adapt the open source Tensorflow implementation 11. The decoder is composed of 30 layers of dilated convolution, each of 512 channels and receptive field of 3, and each with a 1x1 convolution skip connection to the output. The layers are divided into 3 stacks of 10, with dilation in each stack increasing from $2 ^ { 0 }$ to $2 ^ { 9 }$ , and then repeating. We replace the audio encoder stack with a conditioning stack operating on a one-hot pitch conditioning signal distributed in time (3 seconds on, 1 second off). The conditioning stack is 5 layers of dilated convolution, increasing to $2 ^ { 5 }$ , and then 3 layers of regular convolution, all with 512 channels. This conditioning signal is then passed through a 1x1 convolution for each layer of the decoder and added to the output of each layer, as in other implementations of WaveNet conditioning. For the 8-bit model we use mulaw encoding of the audio and a categorical loss, while for the 16-bit model we use a quantized mixture of 10 logistics (Salimans et al., 2017). WaveNets converged to $1 5 0 \\mathrm { k }$ iterations in 2 days with 32 V100 GPUs trained with synchronous SGD with batch size 1 per GPU, for a total batch size of 32. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
173,
|
| 1357 |
+
517,
|
| 1358 |
+
825,
|
| 1359 |
+
699
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 15
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "table",
|
| 1365 |
+
"img_path": "images/d5949e4912d7b7733fe9da6fed27451344ed6ad63c7dd4858c317ada0825b060.jpg",
|
| 1366 |
+
"table_caption": [
|
| 1367 |
+
"Table 3: Model architecture for hi-frequency resolution. Low frequency resolution starts with a width of 4, and height of 8, but is otherwise the same. ”PN” stands for pixel norm, and ”LReLU” stands for leaky rectified linear unit, with a slope of 0.2. The latent vector Z has 256 dimensions and the pitch conditioning is a 61 dimensional one-hot vector. "
|
| 1368 |
+
],
|
| 1369 |
+
"table_footnote": [],
|
| 1370 |
+
"table_body": "<table><tr><td>Generator</td><td>Output Size</td><td>kwidth</td><td>kHeight</td><td>kFilters</td><td>Nonlinearity</td></tr><tr><td>concat(Z, Pitch)</td><td>(1,1,317)</td><td>1</td><td>1</td><td>1</td><td>1</td></tr><tr><td>conv2d</td><td>(2,16,256)</td><td>2</td><td>16</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(2, 16,256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>upsample 2x2</td><td>(4,32,256)</td><td></td><td></td><td></td><td></td></tr><tr><td>conv2d</td><td>(4, 32, 256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(4, 32,256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>upsample 2x2</td><td>(8, 64,256)</td><td>1</td><td></td><td></td><td></td></tr><tr><td>conv2d</td><td>(8, 64,256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(8, 64,256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>upsample 2x2</td><td>(16,128, 256)</td><td></td><td></td><td>-</td><td></td></tr><tr><td>conv2d</td><td>(16,128, 256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(16,128,256)</td><td>3</td><td>3</td><td>256</td><td>PN(LReLU)</td></tr><tr><td>upsample 2x2</td><td>(32, 256,256)</td><td>=</td><td>1</td><td></td><td></td></tr><tr><td>conv2d</td><td>(32,256, 128)</td><td>3</td><td>3</td><td>128</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(32,256, 128)</td><td>3</td><td>3</td><td>128</td><td>PN(LReLU)</td></tr><tr><td>upsample 2x2</td><td>(64,512, 128)</td><td></td><td></td><td></td><td></td></tr><tr><td>conv2d</td><td>(64, 512, 64)</td><td>3</td><td>3</td><td>64</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(64,512, 64)</td><td>3</td><td>3</td><td>64</td><td>PN(LReLU)</td></tr><tr><td>upsample 2x2</td><td>(128,1024, 64)</td><td>=</td><td>■</td><td>1</td><td></td></tr><tr><td>conv2d</td><td>(128,1024,32)</td><td>3</td><td>3</td><td>32</td><td>PN(LReLU)</td></tr><tr><td>conv2d</td><td>(128,1024,32)</td><td>3</td><td>3</td><td>32</td><td>PN(LReLU)</td></tr><tr><td>generator output</td><td>(128,1024,2)</td><td>1</td><td>1</td><td>2</td><td>Tanh</td></tr><tr><td>Discriminator</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>image</td><td>(128,1024,2)</td><td>1</td><td></td><td>1</td><td></td></tr><tr><td>conv2d</td><td>(128,1024,32)</td><td>1</td><td>1</td><td>32</td><td></td></tr><tr><td>conv2d</td><td>(128,1024,32)</td><td>3</td><td>3</td><td>32</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(128,1024, 32)</td><td>3</td><td>3</td><td>32</td><td>LReLU</td></tr><tr><td>downsample 2x2</td><td>(64,512,32)</td><td></td><td></td><td>1</td><td></td></tr><tr><td>conv2d</td><td>(64, 512, 64)</td><td>3</td><td>3</td><td>64</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(64, 512, 64)</td><td>3</td><td>3</td><td>64</td><td>LReLU</td></tr><tr><td>downsample 2x2</td><td>(32,256,64)</td><td>■</td><td></td><td>=</td><td></td></tr><tr><td>conv2d</td><td>(32, 256,128)</td><td>3</td><td>3</td><td>128</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(32,256, 128)</td><td>3</td><td>3</td><td>128</td><td>LReLU</td></tr><tr><td>downsample 2x2</td><td>(16,128, 128)</td><td>1</td><td></td><td>1</td><td></td></tr><tr><td>conv2d</td><td>(16,128,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(16,128, 256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>downsample 2x2</td><td>(8, 64,256)</td><td>-</td><td>1</td><td>1</td><td></td></tr><tr><td>conv2d</td><td>(8,64,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(8, 64,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>downsample 2x2</td><td>(4,32,256)</td><td></td><td>1</td><td></td><td></td></tr><tr><td>conv2d</td><td>(4,32,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(4,32,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>downsample 2x2</td><td>(2, 16,256)</td><td>1</td><td>■</td><td>1</td><td>1</td></tr><tr><td>concat(x,minibatch std.)</td><td>(2,16,257)</td><td></td><td></td><td>1</td><td></td></tr><tr><td>conv2d</td><td>(2,16,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>conv2d</td><td>(2,16,256)</td><td>3</td><td>3</td><td>256</td><td>LReLU</td></tr><tr><td>pitch classifier</td><td>(1,1,61)</td><td></td><td></td><td>61</td><td>Softmax</td></tr><tr><td>discriminator output</td><td>(1, 1, 1)</td><td></td><td></td><td>1</td><td>1</td></tr></table>",
|
| 1371 |
+
"bbox": [
|
| 1372 |
+
189,
|
| 1373 |
+
174,
|
| 1374 |
+
805,
|
| 1375 |
+
931
|
| 1376 |
+
],
|
| 1377 |
+
"page_idx": 16
|
| 1378 |
+
}
|
| 1379 |
+
]
|
parse/train/Hyl5V0EYvB/Hyl5V0EYvB.md
ADDED
|
@@ -0,0 +1,416 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TESTING ROBUSTNESS AGAINST UNFORESEEN ADVERSARIES
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Most existing defenses against adversarial attacks only consider robustness to $L _ { p }$ - bounded distortions. In reality, the specific attack is rarely known in advance and adversaries are free to modify images in ways which lie outside any fixed distortion model; for example, image rotations lie outside the set of $L _ { p }$ -bounded distortions. In this work, we advocate measuring robustness against a much broader range of unforeseen attacks, attacks whose precise form is unknown during defense design.
|
| 8 |
+
|
| 9 |
+
We propose several new attacks and a methodology for evaluating a defense against a diverse range of unforeseen distortions. First, we construct novel adversarial JPEG, Fog, Gabor, and Snow distortions to simulate more diverse adversaries. We then introduce UAR, a summary metric that measures the robustness of a defense against a given distortion. Using UAR to assess robustness against existing and novel attacks, we perform an extensive study of adversarial robustness. We find that evaluation against existing $L _ { p }$ attacks yields redundant information which does not generalize to other attacks; we instead recommend evaluating against our significantly more diverse set of attacks. We further find that adversarial training against either one or multiple distortions fails to confer robustness to attacks with other distortion types. These results underscore the need to evaluate and study robustness against unforeseen distortions.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Neural networks perform well on many benchmark tasks (He et al., 2016) yet can be fooled by adversarial examples (Goodfellow et al., 2014) or inputs designed to subvert a given model. Adversaries are usually assumed to be constrained by an $L _ { \infty }$ budget (Goodfellow et al., 2014; Madry et al., 2017; Xie et al., 2018), while other modifications such as adversarial geometric transformations, patches, and even 3D-printed objects have also been considered (Engstrom et al., 2017; Brown et al., 2017; Athalye et al., 2017). However, most work on adversarial robustness assumes that the adversary is fixed and known in advance. Defenses against adversarial attacks are often constructed in view of this specific assumption (Madry et al., 2017).
|
| 14 |
+
|
| 15 |
+
In practice, adversaries can modify and adapt their attacks so that they are unforeseen. In this work, we propose novel attacks which enable the diverse assessment of robustness to unforeseen attacks. Our attacks are varied ( 2) and qualitatively distinct from current attacks. We propose adversarial JPEG, Fog, Gabor, and Snow attacks (sample images in Figure 1).
|
| 16 |
+
|
| 17 |
+
We propose an unforeseen attack evaluation methodology (§3) that involves evaluating a defense against a diverse set of held-out distortions decoupled from the defense design. For a fixed, held-out distortion, we then evaluate the defense against the distortion for a calibrated range of distortion sizes whose strength is roughly comparable across distortions. For each fixed distortion, we summarize the robustness of a defense against that distortion relative to a model adversarially trained on that distortion, a measure we call UAR. We provide code and calibrations to easily evaluate a defense against our suite of attacks at https://github.com/iclr-2020-submission/ advex-uar.
|
| 18 |
+
|
| 19 |
+
By applying our method to 87 adversarially trained models and 8 different distortion types (§4), we find that existing defenses and evaluation practices have marked weaknesses. Our results show that existing defenses based on adversarial training do not generalize to unforeseen adversaries, even when restricted to the 8 distortions in Figure 1. This adds to the mounting evidence that achieving robustness against a single distortion type is insufficient to impart robustness to unforeseen attacks (Jacobsen et al., 2019; Jordan et al., 2019; Tramer & Boneh, 2019). \`
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Attacked images (label “espresso maker”) against adversarially trained models with large $\varepsilon$ . Each of the adversarial images above are optimized to maximize the classification loss.
|
| 23 |
+
|
| 24 |
+
Turning to evaluation, our results demonstrate that accuracy against different $L _ { p }$ distortions is highly correlated relative to the other distortions we consider. This suggest that the common practice of evaluating only against $L _ { p }$ distortions to test a model’s adversarial robustness can give a misleading account. Our analysis demonstrates that our full suite of attacks adds substantive attack diversity and gives a more complete picture of a model’s robustness to unforeseen attacks.
|
| 25 |
+
|
| 26 |
+
A natural approach is to defend against multiple distortion types simultaneously in the hope that seeing a larger space of distortions provides greater transfer to unforeseen distortions. Unfortunately, we find that defending against even two different distortion types via joint adversarial training is difficult (§5). Specifically, joint adversarial training leads to overfitting at moderate distortion sizes.
|
| 27 |
+
|
| 28 |
+
In summary, we propose a metric UAR to assess robustness of defenses against unforeseen adversaries. We introduce a total of 4 novel attacks. We apply UAR to assess how robustness transfers to existing attacks and our novel attacks. Our results demonstrate that existing defense and evaluation methods do not generalize well to unforeseen attacks.
|
| 29 |
+
|
| 30 |
+
# 2 A SET OF DIVERSE AND NOVEL ADVERSARIAL ATTACKS
|
| 31 |
+
|
| 32 |
+
We consider distortions (attacks) applied to an image $x \in \mathbb { R } ^ { 3 \times 2 2 4 \times 2 2 4 }$ , represented as a vector of RGB values. Let $f : \mathbb { R } ^ { 3 \times 2 2 4 \times 2 2 4 } \stackrel { \bullet \star } { \to } \mathbb { R } ^ { 1 0 0 }$ ∈ be a model mapping images to logits1, and let $\ell ( f ( x ) , y )$ denote the cross-entropy loss. For an input $x$ with true label $y$ and a target class $y ^ { \prime } \ne y$ , our adversarial attacks attempt to find $x ^ { \prime }$ such that
|
| 33 |
+
|
| 34 |
+
1. the attacked image $x ^ { \prime }$ is obtained by applying a constrained distortion to $x$ , and
|
| 35 |
+
2. the loss $\ell ( f ( x ^ { \prime } ) , y ^ { \prime } )$ is minimized (targeted attack).
|
| 36 |
+
|
| 37 |
+
Adversarial training (Goodfellow et al., 2014) is a strong defense baseline against a fixed attack (Madry et al., 2017; Xie et al., 2018) which updates using an attacked image $x ^ { \prime }$ instead of the clean image $x$ at each training iteration.
|
| 38 |
+
|
| 39 |
+
We consider 8 attacks: $L _ { \infty }$ (Goodfellow et al., 2014), $L _ { 2 }$ (Szegedy et al., 2013; Carlini & Wagner, 2017), $L _ { 1 }$ (Chen et al., 2018), Elastic (Xiao et al., 2018), JPEG, Fog, Gabor, and Snow. We show sample attacked images in Figure 1 and the corresponding distortions in Figure 2. The JPEG, Fog,
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 2: Scaled pixel-level differences between original and attacked images for each attack (label “espresso maker”). The $L _ { 1 }$ , $L _ { 2 }$ , and $L _ { \infty }$ norms of the difference are shown after the attack name. Our novel attacks display behavior which is qualitatively different from that of the $L _ { p }$ attacks. Attacked images are shown in Figure 1, and unscaled differences are shown in Figure 9, Appendix B.1.
|
| 43 |
+
|
| 44 |
+
Gabor, and Snow attacks are new to this paper, and the $L _ { 1 }$ attack uses the Frank-Wolfe algorithm to improve on previous $L _ { 1 }$ attacks. We now describe the attacks, whose distortion sizes are controlled by a parameter $\varepsilon$ . We clamp output pixel values to [0, 255].
|
| 45 |
+
|
| 46 |
+
Existing attacks. The $L _ { p }$ attacks with $p \in \{ 1 , 2 , \infty \}$ modify an image $x$ to an attacked image $\boldsymbol { x } ^ { \prime } = \boldsymbol { x } + \boldsymbol { \delta }$ . We optimize $\delta$ under the constraint $\| \delta \| _ { p } \leq \varepsilon$ , where $\| \cdot \| _ { p }$ is the $L _ { p }$ -norm on $\mathbb { R } ^ { 3 \times 2 2 4 \times 2 2 4 }$ .
|
| 47 |
+
|
| 48 |
+
The Elastic attack warps the image by allowing distortions $\begin{array} { r } { \begin{array} { r c l } { x ^ { \prime } } & { = } & { \mathsf { F l o w } ( x , V ) } \end{array} } \end{array}$ , where $V :$ $\{ 1 , . . . , 2 2 4 \} ^ { 2 } \mathbb { R } ^ { 2 }$ is a vector field on pixel space, and Flow sets the value of pixel $( i , j )$ to the bilinearly interpolated original value at $( i , j ) + V ( i , j )$ . We construct $V$ by smoothing a vector field $W$ by a Gaussian kernel (size $2 5 \times 2 5$ , std. dev. 3 for a $2 2 4 \times 2 2 4$ image) and optimize $W$ under $\| W ( i , j ) \| _ { \infty } \leq \varepsilon$ for all $i , j$ . This differs in details from Xiao et al. (2018) but is similar in spirit.
|
| 49 |
+
|
| 50 |
+
Novel attacks. As discussed in Shin & Song (2017) for defense, JPEG compression applies a lossy linear transformation JPEG based on the discrete cosine transform to image space, followed by quantization. The JPEG attack imposes the $L _ { \infty }$ -constraint $\| \mathsf { J P E G } ( x ) - \mathsf { J P E G } ( x ^ { \prime } ) \| _ { \infty } \leq \varepsilon$ on the attacked image $x ^ { \prime }$ . We optimize $z = \mathsf { J P E G } ( x ^ { \prime } )$ and apply a right inverse of JPEG to obtain $x ^ { \prime }$ .
|
| 51 |
+
|
| 52 |
+
Our novel Fog, Gabor, and Snow attacks are adversarial versions of non-adversarial distortions proposed in the literature. Fog and Snow introduce adversarially chosen partial occlusions of the image resembling the effect of mist and snowflakes, respectively; stochastic versions of Fog and Snow appeared in Hendrycks & Dietterich (2019). Gabor superimposes adversarially chosen additive Gabor noise (Lagae et al., 2009) onto the image; a stochastic version appeared in
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
Figure 3: Snow before and after optimization.
|
| 56 |
+
|
| 57 |
+
Co et al. (2019). These attacks work by optimizing a set of parameters controlling the distortion over an $L _ { \infty }$ -bounded set. Specifically, values for the diamond-square algorithm, sparse noise, and snowflake brightness (Figure 3) are chosen adversarially for Fog, Gabor, and Snow, respectively.
|
| 58 |
+
|
| 59 |
+
Optimization. To handle $L _ { \infty }$ and $L _ { 2 }$ constraints, we use randomly-initialized projected gradient descent (PGD), which optimizes the distortion $\delta$ by gradient descent and projection to the $L _ { \infty }$ and $L _ { 2 }$ balls (Madry et al., 2017). For $L _ { 1 }$ constraints, this projection is more difficult, and previous $L _ { 1 }$ attacks resort to heuristics (Chen et al., 2018; Tramer & Boneh, 2019). We use the randomly- \` initialized Frank-Wolfe algorithm (Frank & Wolfe, 1956), which replaces projection by a simpler optimization of a linear function at each step (pseudocode in Appendix B.2).
|
| 60 |
+
|
| 61 |
+

|
| 62 |
+
Figure 4: Accuracies of $L _ { 2 }$ and Elastic attacks at different distortion sizes against a ResNet-50 model adversarially trained against $L _ { 2 }$ at $\varepsilon = 9 6 0 0$ on ImageNet-100. At small distortion sizes, the model appears to defend well against Elastic, but large distortion sizes reveal a lack of transfer.
|
| 63 |
+
|
| 64 |
+
# 3 MOTIVATION AND DESCRIPTION OF OUR METHODOLOGY
|
| 65 |
+
|
| 66 |
+
We now propose a method to assess robustness against unforeseen distortions, which relies on evaluating a defense against a diverse set of attacks that were not used when designing the defense. Our method must address the following issues:
|
| 67 |
+
|
| 68 |
+
• The range of distortion sizes must be wide enough to avoid the misleading behavior in which robustness appears to transfer at low distortion sizes but not at high distortion sizes (Figure 4); • The set of attacks considered must be sufficiently diverse.
|
| 69 |
+
|
| 70 |
+
We first provide a method to calibrate distortion sizes and then use it to define a summary metric that assesses the robustness of a defense against a specific unforeseen attack. Using this metric, we are able to assess diversity and recommend a set of attacks to evaluate against.
|
| 71 |
+
|
| 72 |
+
Calibrate distortion size using adversarial training. As shown in Figure 4, the correlation between adversarial robustness against different distortion types may look different for different ranges of distortion sizes. It is therefore critical to evaluate on a wide enough range of distortion size $\varepsilon$ . We choose the minimum and maximum distortion sizes $\varepsilon$ using the following principles; sample images at $\varepsilon _ { \mathrm { { m i n } } }$ and $\varepsilon _ { \mathrm { m a x } }$ are shown in Figure 5b.
|
| 73 |
+
|
| 74 |
+
1. The minimum distortion size $\varepsilon _ { \mathrm { { m i n } } }$ is the largest $\varepsilon$ for which the adversarial validation accuracy against an adversarially trained model is comparable to that of a model trained and evaluated on unattacked data (for ImageNet-100, within 3 of 87).
|
| 75 |
+
2. The maximum distortion size $\varepsilon _ { \mathrm { m a x } }$ is the smallest $\varepsilon$ which either (a) yields images which confuse humans when applied against adversarially trained models or (b) reduces accuracy of adversarially trained models (ATA below) to below 25.
|
| 76 |
+
|
| 77 |
+
In practice, we select $\varepsilon _ { \mathrm { { m i n } } }$ and $\varepsilon _ { \mathrm { m a x } }$ according to these criteria from a sequence of $\varepsilon$ which is geometrically increasing with ratio 2. We choose to evaluate against adversarially trained models because attacking against strong defenses is necessary to produce strong visual distortions (Figure 5a). We introduce the constraint that humans recognize attacked images at $\varepsilon _ { \mathrm { m a x } }$ because we find cases for $L _ { 1 }$ , Fog, and Snow where adversarially trained models maintain non-zero accuracy for distortion sizes producing images incomprehensible to humans. An example for Snow is shown in Figure 5b.
|
| 78 |
+
|
| 79 |
+
UAR: an adversarial robustness metric. We measure a model’s robustness against a specific distortion type by comparing it to adversarially trained models, which represent an approximate ceiling on performance with prior knowledge of the distortion type. For distortion type $A$ and size $\varepsilon$ , let the Adversarial Training Accuracy $\mathsf { A T A } ( A , \varepsilon )$ be the best adversarial accuracy on the test set that can be achieved by adversarially training a specific architecture (ResNet-50 for ImageNet100, ResNet-56 for CIFAR-10) against $A$ .2 Even when evaluating a defense using an architecture
|
| 80 |
+
|
| 81 |
+
(a) The $L _ { \infty }$ attack at $\varepsilon = 3 2$ applied to undefended model and models adversarially trained against $L _ { \infty }$ at different distortion sizes. Attacking models trained against larger $\varepsilon$ produces greater visual distortion.
|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
(b) The JPEG, Gabor, and Snow attacks applied to adversarially trained models at $\varepsilon _ { \mathrm { { m i n } } }$ and $\varepsilon _ { \mathrm { m a x } }$ . Distortions are almost imperceptible at $\varepsilon _ { \mathrm { { m i n } } }$ , but make the image barely recognizable by humans at $\varepsilon _ { \mathrm { m a x } }$ .
|
| 85 |
+
|
| 86 |
+
Figure 5: Varying distortion size against adversarially trained models reveals full attack strength.
|
| 87 |
+
|
| 88 |
+
other than ResNet-50 or ResNet-56, we recommend using the ATA values computed with these architectures to allow for uniform comparisons.
|
| 89 |
+
|
| 90 |
+
Given a set of distortion sizes $\{ \varepsilon _ { 1 } , \ldots , \varepsilon _ { n } \}$ , we propose the summary metric UAR (Unforeseen Attack Robustness) normalizing the accuracy of a model $M$ against adversarial training accuracy:
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\mathsf { U A R } ( A , M ) : = 1 0 0 \cdot \left( \frac { 1 } { n } \sum _ { k = 1 } ^ { n } \mathsf { A c c } ( A , \varepsilon _ { k } , M ) \right) \Bigg / \left( \frac { 1 } { n } \sum _ { k = 1 } ^ { n } \mathsf { A T A } ( A , \varepsilon _ { k } ) \right) .
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
Here $\mathsf { A c c } ( A , \varepsilon , M )$ is the accuracy of $M$ against distortions of type $A$ and magnitude $\varepsilon$ . We expect most UAR scores to be lower than 100 against held-out distortion types, as an UAR score greater than 100 means that a defense is outperforming an adversarially trained model on that distortion. The normalizing factor in (1) is required to keep UAR scores roughly comparable between distortions, as different distortions can have different strengths as measured by ATA at the chosen distortion sizes.
|
| 97 |
+
|
| 98 |
+
Having too many or too few $\varepsilon _ { k }$ values in a certain range may cause an attack to appear artificially strong or weak because the functional relation between distortion size and attack strength (measured by ATA) varies between attacks. To make UAR roughly comparable between distortions, we evaluate at $\varepsilon$ increasing geometrically from $\varepsilon _ { \mathrm { { m i n } } }$ to $\varepsilon _ { \mathrm { m a x } }$ by factors of 2 and take the subset of $\varepsilon$ whose ATA values have minimum $\ell _ { 1 }$ -distance to the ATA values of the $L _ { \infty }$ attack at geometrically increasing $\varepsilon$ .
|
| 99 |
+
|
| 100 |
+
For example, when calibrating Elastic in Table 1, we start with $\varepsilon _ { \mathrm { m i n } } = 0 . 2 5$ and $\varepsilon _ { \operatorname* { m a x } } = 1 6$ based on our earlier criteria. We then compute the ATAs at the 7 geometrically increasing $\varepsilon$ values $\varepsilon \in$ $\{ 0 . 2 5 , 0 . 5 , 1 , 2 , 4 , 8 , 1 6 \}$ . We consider size-6 subsets of those ATA values, view them as vectors of length 6 in decreasing order, and compute the $\ell _ { 1 }$ -distance between these vectors and the vector for $L _ { \infty }$ shown in the first row of Table 1. Finally, we select the $\varepsilon$ values for Elastic in Table 1 as those corresponding to the size-6 subset with minimum $\ell _ { 1 }$ -distance to the vector for $L _ { \infty }$ .
|
| 101 |
+
|
| 102 |
+
For our 8 distortion types, we provide reference values of $\mathsf { A T A } ( A , \varepsilon )$ on this calibrated range of 6 distortion sizes on ImageNet-100 (Table 1, $\ S 4 )$ ) and CIFAR-10 (Table 3, Appendix C.3.2). This allows UAR computation for a new defense using 6 adversarial evaluations and no adversarial training, reducing computational cost from $^ { 1 9 2 + }$ to 6 NVIDIA V100 GPU-hours on ImageNet-100.
|
| 103 |
+
|
| 104 |
+
Evaluate against diverse distortion types. Since robustness against different distortion types may have low or no correlation (Figure 6b), measuring performance on different distortions is important to avoid overfitting to a specific type, especially when a defense is constructed with it in mind (as with adversarial training). Our results in $\ S 4$ demonstrate that choosing appropriate distortion types to evaluate against requires some care, as distortions such as $L _ { 1 }$ , $L _ { 2 }$ , and $L _ { \infty }$ that may seem different can actually have highly correlated scores against defenses (see Figure 6). We instead recommend evaluation against our more diverse attacks, taking the $L _ { \infty }$ , $L _ { 1 }$ , Elastic, Fog, and Snow attacks as a starting point.
|
| 105 |
+
|
| 106 |
+
Table 1: Calibrated distortion sizes and ATA values for different distortion types on ImageNet-100. ATA values for CIFAR-10 are shown in Table 3 (Appendix C.3.2).
|
| 107 |
+
|
| 108 |
+
<table><tr><td>Attack ε1</td><td></td><td>ε2</td><td>ε3</td><td>ε4</td><td>£5</td><td>6</td><td>ATA1</td><td>ATA2</td><td>ATA3</td><td>ATA4</td><td>ATA5</td><td>ATA6</td></tr><tr><td>L</td><td>1</td><td>2</td><td>4</td><td>8</td><td>16</td><td>32</td><td>84.6</td><td>82.1</td><td>76.2</td><td>66.9</td><td>40.1</td><td>12.9</td></tr><tr><td>L2</td><td>150</td><td>300</td><td>600</td><td>1200</td><td>2400</td><td>4800</td><td>85.0</td><td>83.5</td><td>79.6</td><td>72.6</td><td>59.1</td><td>19.9</td></tr><tr><td>L1</td><td>9562.5</td><td>19125</td><td>76500 1530001</td><td></td><td>306000 612000</td><td></td><td>84.4</td><td>82.7</td><td>76.3</td><td>68.9</td><td>56.4</td><td>36.1</td></tr><tr><td>Elastic</td><td>0.250</td><td>0.500</td><td>2</td><td>4</td><td>8</td><td>16</td><td>85.9</td><td>83.2</td><td>78.1</td><td>75.6</td><td>57.0</td><td>22.5</td></tr><tr><td>JPEG</td><td>0.062</td><td>0.125</td><td>0.250</td><td>0.500</td><td>1</td><td>2</td><td>85.0</td><td>83.2</td><td>79.3</td><td>72.8</td><td>34.8</td><td>1.1</td></tr><tr><td>Fog</td><td>128</td><td>256</td><td>512</td><td>2048</td><td>4096</td><td>8192</td><td>85.8</td><td>83.8</td><td>79.0</td><td>68.4</td><td>67.9</td><td>64.7</td></tr><tr><td>Snow</td><td>0.062</td><td>0.125</td><td>0.250</td><td>2</td><td>4</td><td>8</td><td>84.0</td><td>81.1</td><td>77.7</td><td>65.6</td><td>59.5</td><td>41.2</td></tr><tr><td>Gabor</td><td>6.250</td><td>12.500 25</td><td></td><td>400</td><td>800</td><td>1600</td><td>84.0</td><td>79.8</td><td>79.8</td><td>66.2</td><td>44.7</td><td>14.6</td></tr></table>
|
| 109 |
+
|
| 110 |
+
# 4 UAR REVEALS THE NEED TO EVALUATE AGAINST MORE DIVERSE ATTACKS
|
| 111 |
+
|
| 112 |
+
We apply our methodology to the 8 attacks in $\ S 2$ using models adversarially trained against these attacks. Our results reveal that evaluating against the commonly used $L _ { p }$ -attacks gives highly correlated information which does not generalize to other unforeseen attacks. Instead, they suggest that evaluating on diverse attacks is necessary and identify a set of 5 attacks with low pairwise robustness transfer which we suggest as a starting point when assessing robustness to unforeseen adversaries.
|
| 113 |
+
|
| 114 |
+
Dataset and model. We use two datasets: CIFAR-10 and ImageNet-100, the 100-class subset of ImageNet-1K (Deng et al., 2009) containing every $1 0 ^ { \mathrm { t h } }$ class by WordNet ID order. We use ResNet56 for CIFAR-10 and ResNet-50 as implemented in torchvision for ImageNet-100 (He et al., 2016). We give training hyperparameters in Appendix A.
|
| 115 |
+
|
| 116 |
+
Adversarial training and evaluation procedure. We construct hardened models using adversarial training (Madry et al., 2017). To train against attack $A$ , for each mini-batch of training images, we select a uniform random (incorrect) target class for each image. For maximum distortion size $\varepsilon$ , we apply the targeted attack $A$ to the current model with distortion size $\varepsilon ^ { \prime } \sim \mathrm { U n i f o r m } ( 0 , \varepsilon )$ and update the model with a step of stochastic gradient descent using only the resulting adversarial images (no clean images). The random size scaling improves performance especially against smaller distortions. We use 10 optimization steps for all attacks during training except for Elastic, where we use 30 steps due to its more difficult optimization problem. When PGD is used, we use step size $\varepsilon / \sqrt { \mathrm { s t e p s } }$ , the optimal scaling for non-smooth convex functions (Nemirovski & Yudin, 1978; 1983).
|
| 117 |
+
|
| 118 |
+
We adversarially train 87 models against the 8 attacks from $\ S 2$ at the distortion sizes described in $\ S 3$ and evaluate them on the ImageNet-100 and CIFAR-10 validation sets against 200-step targeted attacks with uniform random (incorrect) target class. This uses more steps for evaluation than train
|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
|
| 122 |
+
(a) UAR scores for adv. trained defenses (rows) against attacks (columns) on ImageNet-100. See Figure 12 for more $\varepsilon$ values and Appendix C.3.2 for CIFAR-10 results.
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
|
| 126 |
+
(b) Correlations between UAR scores in Figure 6a for each attack (rows and columns). Correlation was computed over adversarial defenses in Figure 6a trained without knowledge of the attacks (6 total per pair).
|
| 127 |
+
|
| 128 |
+
Figure 6: UAR scores demonstrate the need to evaluate against diverse attacks.
|
| 129 |
+
|
| 130 |
+
ing per best practices (Carlini et al., 2019). We use UAR to analyze the results in the remainder of this section, directing the reader to Figures 10 and 11 (Appendix C.2) for exhaustive results and to Appendix D for checks for robustness to random seed and number of attack steps.
|
| 131 |
+
|
| 132 |
+
Existing defense and evaluation methods do not generalize to unforeseen attacks. The many low off-diagonal UAR scores in Figure 6a make clear that while adversarial training is a strong baseline against a fixed distortion, it only rarely confers robustness to unforeseen distortions. Notably, we were not able to achieve a high UAR against Fog except by directly adversarially training against it. Despite the general lack of transfer in Figure 6a, the fairly strong transfer between the $L _ { p }$ -attacks is consistent with recent progress in simultaneous robustness to them (Croce & Hein, 2019).
|
| 133 |
+
|
| 134 |
+
Figure 6b shows correlations between UAR scores of pairs of attacks $A$ and $A ^ { \prime }$ against defenses adversarially trained without knowledge3 of $A$ or $A ^ { \prime }$ . The results demonstrate that defenses trained without knowledge of $L _ { p }$ -attacks have highly correlated UAR scores against the different $L _ { p }$ attacks, but this correlation does not extend to their evaluations against other attacks. This suggests that $L _ { p }$ - evaluations offer limited diversity and may not generalize to other unforeseen attacks.
|
| 135 |
+
|
| 136 |
+
The $L _ { \infty }$ , $L _ { 1 }$ , Elastic, Fog, and Snow attacks offer greater diversity. Our results on $L _ { p }$ -evaluation suggest that more diverse attack evaluation is necessary for generalization to unforeseen attacks. As the unexpected correlation between UAR scores against the pairs (Fog, Gabor) and $\left( \mathrm { J P E G } , L _ { 1 } \right)$ in Figure 6b demonstrates, even attacks with very different distortions may have correlated behaviors. Considering all attacks in Figure 6 together results in signficantly more diversity, which we suggest for evaluation against unforeseen attacks. We suggest the 5 attacks $( L _ { \infty } , L _ { 1 }$ , Elastic, Fog, and Snow) with low UAR against each other and low correlation between UAR scores as a good starting point.
|
| 137 |
+
|
| 138 |
+
# 5 JOINT ADVERSARIAL TRAINING: DEFENDING AGAINST TWO DISTORTIONS
|
| 139 |
+
|
| 140 |
+
A natural idea to improve robustness against unforeseen adversaries is to adversarially train the same model against two different types of distortions simultaneously, with the idea that this will cover a larger portion of the space of distortions. We refer to this as joint adversarial training (Jordan et al., 2019; Tramer & Boneh, 2019). For two attacks \` $A$ and $A ^ { \prime }$ , at each training step, we compute the attacked image under both $A$ and $A ^ { \prime }$ and backpropagate with respect to gradients induced by the image with greater loss. This corresponds to the “max” loss described in Tramer & Boneh (2019).\` We jointly train models for $( L _ { \infty } , L _ { 2 } )$ , $( L _ { \infty } , L _ { 1 } )$ , and $( L _ { \infty }$ , Elastic) using the same setup as before
|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
Figure 7: UAR scores for jointly adv. trained defenses (rows) against distortion types (columns).
|
| 144 |
+
|
| 145 |
+
Transfer for jointly trained models. Figure 7 reports UAR scores for jointly trained models using ResNet-50 on ImageNet-100; full evaluation accuracies are in Figure 19 (Appendix E). Comparing to Figure 6a and Figure 12 (Appendix E), we see that, relative to training against only $L _ { 2 }$ , joint training against $( L _ { \infty } , L _ { 2 } )$ slightly improves robustness against $L _ { 1 }$ without harming robustness against other attacks. In contrast, training against $( L _ { \infty } , L _ { 1 } )$ is worse than either training against $L _ { 1 }$ or $L _ { \infty }$ separately (except at small $\varepsilon$ for $L _ { 1 }$ ). Training against $( L _ { \infty }$ , Elastic) also performs poorly.
|
| 146 |
+
|
| 147 |
+
Joint training and overfitting. Jointly trained models achieve high training accuracy but poor validation accuracy (Figure 8) that fluctuates substantially for different random seeds (Table 4, Appendix E.2). Figure 8 shows the overfitting behavior for $L _ { \infty }$ , Elastic): $L _ { \infty }$ validation accuracy decreases significantly during training while training accuracy increases. This contrasts with standard adversarial training (Figure 8), where validation accuracy levels off as training accuracy increases.
|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
Figure 8: Left: train and validation curves for joint training against $L _ { \infty }$ , $\varepsilon = 8$ and Elastic, $\varepsilon = 4$ , Right: train and val curves for standard adversarial training for $L _ { \infty }$ , $\varepsilon = 8$ . The joint validation accuracy of $L _ { \infty }$ decreases as training progresses, indicating overfitting.
|
| 151 |
+
|
| 152 |
+
Overfitting primarily occurs when training against large distortions. We successfully trained against the $( L _ { \infty } , L _ { 1 } )$ and $( L _ { \infty }$ , Elastic) pairs for small distortion sizes with accuracies comparable to but slightly lower than observed in Figure 11 for training against each attack individually (Figure 18, Appendix E). This agrees with behavior reported by Tramer & Boneh (2019) on CIFAR-10. Our \` intuition is that harder training tasks (more diverse distortion types, larger $\varepsilon$ ) make overfitting more likely. We briefly investigate the relation between overfitting and model capacity in Appendix E.3; validation accuracy appears slightly increased for ResNet-101, but overfitting remains.
|
| 153 |
+
|
| 154 |
+
# 6 DISCUSSION AND RELATED WORK
|
| 155 |
+
|
| 156 |
+
We have seen that robustness to one attack provides limited information about robustness to other attacks, and moreover that adversarial training provides limited robustness to unforeseen attacks. These results suggest a need to modify or move beyond adversarial training. While joint adversarial training is one possible alternative, our results show it often leads to overfitting. Even ignoring this, it is not clear that joint training would confer robustness to attacks outside of those trained against.
|
| 157 |
+
|
| 158 |
+
Evaluating robustness has proven difficult, necessitating detailed study of best practices even for a single fixed attack (Papernot et al., 2017; Athalye et al., 2018). We build on these best practices by showing how to choose and calibrate a diverse set of unforeseen attacks. Our work is a supplement to existing practices, not a replacement–we strongly recommend following the guidelines in Papernot et al. (2017) and Athalye et al. (2018) in addition to our recommendations.
|
| 159 |
+
|
| 160 |
+
Some caution is necessary when interpreting specific numeric results in our paper. Many previous implementations of adversarial training fell prone to gradient masking (Papernot et al., 2017; Engstrom et al., 2018), with apparently successful training occurring only recently (Madry et al., 2017; Xie et al., 2018). While evaluating with moderately many PGD steps (200) helps guard against this, (Qian & Wegman, 2019) shows that an $L _ { \infty }$ -trained model that appeared robust against $L _ { 2 }$ actually had substantially less robustness when evaluating with $1 0 ^ { 6 }$ PGD steps. If this effect is pervasive, then there may be even less transfer between attacks than our current results suggest.
|
| 161 |
+
|
| 162 |
+
For evaluating against a fixed attack, DeepFool Moosavi-Dezfooli et al. (2015) and CLEVER Weng et al. (2018) can be seen as existing alternatives to UAR. They work by estimating “empirical robustness”, which is the expected minimum $\varepsilon$ needed to successfully attack an image. However, these apply only to attacks which optimize over an $L _ { p }$ -ball of radius $\varepsilon$ , and CLEVER can be susceptible to gradient masking Goodfellow (2018). In addition, empirical robustness is equivalent to linearly averaging accuracy over $\varepsilon$ , which has smaller dynamic range than the geometric average in UAR.
|
| 163 |
+
|
| 164 |
+
Our results add to a growing line of evidence that evaluating against a single known attack type provides a misleading picture of the robustness of a model (Sharma & Chen, 2017; Engstrom et al., 2017; Jordan et al., 2019; Tramer & Boneh, 2019; Jacobsen et al., 2019). Going one step further, \` we believe that robustness itself provides only a narrow window into model behavior; in addition to robustness, we should seek to build a diverse toolbox for understanding machine learning models, including visualization (Olah et al., 2018; Zhang & Zhu, 2019), disentanglement of relevant features (Geirhos et al., 2018), and measurement of extrapolation to different datasets (Torralba & Efros, 2011) or the long tail of natural but unusual inputs (Hendrycks et al., 2019). Together, these windows into model behavior can give us a clearer picture of how to make models reliable in the real world.
|
| 165 |
+
|
| 166 |
+
# REFERENCES
|
| 167 |
+
|
| 168 |
+
Anish Athalye, Logan Engstrom, Andrew Ilyas, and Kevin Kwok. Synthesizing robust adversarial examples. CoRR, abs/1707.07397, 2017. URL http://arxiv.org/abs/1707.07397.
|
| 169 |
+
|
| 170 |
+
Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. arXiv preprint arXiv:1802.00420, 2018.
|
| 171 |
+
|
| 172 |
+
Tom B. Brown, Dandelion Mane, Aurko Roy, Mart ´ ´ın Abadi, and Justin Gilmer. Adversarial patch. CoRR, abs/1712.09665, 2017. URL http://arxiv.org/abs/1712.09665.
|
| 173 |
+
|
| 174 |
+
Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pp. 39–57. IEEE, 2017.
|
| 175 |
+
|
| 176 |
+
Nicholas Carlini, Anish Athalye, Nicolas Papernot, Wieland Brendel, Jonas Rauber, Dimitris Tsipras, Ian J. Goodfellow, Aleksander Madry, and Alexey Kurakin. On evaluating adversarial robustness. CoRR, abs/1902.06705, 2019. URL http://arxiv.org/abs/1902.06705.
|
| 177 |
+
|
| 178 |
+
Pin-Yu Chen, Yash Sharma, Huan Zhang, Jinfeng Yi, and Cho-Jui Hsieh. EAD: Elastic-net attacks to deep neural networks via adversarial examples. In Thirty-second AAAI conference on artificial intelligence, 2018.
|
| 179 |
+
|
| 180 |
+
Kenneth T. Co, Luis Munoz-Gonz ˜ alez, and Emil C. Lupu. Sensitivity of deep convolutional net- ´ works to Gabor noise. CoRR, abs/1906.03455, 2019. URL http://arxiv.org/abs/ 1906.03455.
|
| 181 |
+
|
| 182 |
+
Francesco Croce and Matthias Hein. Provable robustness against all adversarial $l _ { p }$ -perturbations for $p \geq 1$ . CoRR, abs/1905.11213, 2019. URL http://arxiv.org/abs/1905.11213.
|
| 183 |
+
|
| 184 |
+
Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. IEEE, 2009.
|
| 185 |
+
|
| 186 |
+
Logan Engstrom, Brandon Tran, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. A rotation and a translation suffice: Fooling CNNs with simple transformations. arXiv preprint arXiv:1712.02779, 2017.
|
| 187 |
+
|
| 188 |
+
Logan Engstrom, Andrew Ilyas, and Anish Athalye. Evaluating and understanding the robustness of adversarial logit pairing. arXiv preprint arXiv:1807.10272, 2018.
|
| 189 |
+
|
| 190 |
+
Nic Ford, Justin Gilmer, Nicolas Carlini, and Dogus Cubuk. Adversarial examples are a natural consequence of test error in noise. arXiv preprint arXiv:1901.10513, 2019.
|
| 191 |
+
|
| 192 |
+
Marguerite Frank and Philip Wolfe. An algorithm for quadratic programming. Naval research logistics quarterly, 3(1-2):95–110, 1956.
|
| 193 |
+
|
| 194 |
+
Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A. Wichmann, and Wieland Brendel. ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. CoRR, abs/1811.12231, 2018. URL http://arxiv.org/ abs/1811.12231.
|
| 195 |
+
|
| 196 |
+
Ian Goodfellow. Gradient masking causes CLEVER to overestimate adversarial perturbation size. arXiv preprint arXiv:1804.07870, 2018.
|
| 197 |
+
|
| 198 |
+
Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014.
|
| 199 |
+
|
| 200 |
+
Priya Goyal, Piotr Dollar, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, An- ´ drew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
|
| 201 |
+
|
| 202 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pp. 630–645. Springer, 2016.
|
| 203 |
+
|
| 204 |
+
Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. In International Conference on Learning Representations, 2019.
|
| 205 |
+
|
| 206 |
+
Dan Hendrycks, Kevin Zhao, Steven Basart, Jacob Steinhardt, and Dawn Song. Natural adversarial examples. arXiv preprint arXiv:1907.07174, 2019.
|
| 207 |
+
|
| 208 |
+
Jrn-Henrik Jacobsen, Jens Behrmannn, Nicholas Carlini, Florian Tramr, and Nicolas Papernot. Exploiting excessive invariance caused by norm-bounded adversarial robustness, 2019.
|
| 209 |
+
|
| 210 |
+
Matt Jordan, Naren Manoj, Surbhi Goel, and Alexandros G. Dimakis. Quantifying perceptual distortion of adversarial examples. arXiv e-prints, art. arXiv:1902.08265, Feb 2019.
|
| 211 |
+
|
| 212 |
+
Ares Lagae, Sylvain Lefebvre, George Drettakis, and Philip Dutre. Procedural noise using sparse ´ Gabor convolution. ACM Trans. Graph., 28(3):54:1–54:10, July 2009. ISSN 0730-0301. doi: 10. 1145/1531326.1531360. URL http://doi.acm.org/10.1145/1531326.1531360.
|
| 213 |
+
|
| 214 |
+
Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017.
|
| 215 |
+
|
| 216 |
+
Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. DeepFool: a simple and accurate method to fool deep neural networks. arXiv preprint arXiv:1511.04599, 2015.
|
| 217 |
+
|
| 218 |
+
Arkadi Nemirovski and D Yudin. On Cezari’s convergence of the steepest descent method for approximating saddle point of convex-concave functions. In Soviet Math. Dokl, volume 19, pp. 258–269, 1978.
|
| 219 |
+
|
| 220 |
+
Arkadi Nemirovski and D Yudin. Problem Complexity and Method Efficiency in Optimization. Intersci. Ser. Discrete Math. Wiley, New York, 1983.
|
| 221 |
+
|
| 222 |
+
Chris Olah, Arvind Satyanarayan, Ian Johnson, Shan Carter, Ludwig Schubert, Katherine Ye, and Alexander Mordvintsev. The building blocks of interpretability. Distill, 2018. doi: 10.23915/ distill.00010. https://distill.pub/2018/building-blocks.
|
| 223 |
+
|
| 224 |
+
Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia conference on computer and communications security, pp. 506–519. ACM, 2017.
|
| 225 |
+
|
| 226 |
+
Haifeng Qian and Mark N. Wegman. $L _ { 2 }$ -nonexpansive neural networks. In International Conference on Learning Representations (ICLR), 2019. URL https://openreview.net/forum? id $=$ ByxGSsR9FQ.
|
| 227 |
+
|
| 228 |
+
Yash Sharma and Pin-Yu Chen. Attacking the Madry defense model with $L _ { 1 }$ -based adversarial examples. arXiv e-prints, art. arXiv:1710.10733, Oct 2017.
|
| 229 |
+
|
| 230 |
+
Richard Shin and Dawn Song. JPEG-resistant adversarial images. In NIPS 2017 Workshop on Machine Learning and Computer Security, 2017.
|
| 231 |
+
|
| 232 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
|
| 233 |
+
|
| 234 |
+
Antonio Torralba and Alexei A. Efros. Unbiased look at dataset bias. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2011.
|
| 235 |
+
|
| 236 |
+
Florian Tramer and Dan Boneh. Adversarial training and robustness for multiple perturbations. \` arXiv e-prints, art. arXiv:1904.13000, Apr 2019.
|
| 237 |
+
|
| 238 |
+
Igor Vasiljevic, Ayan Chakrabarti, and Gregory Shakhnarovich. Examining the impact of blur on recognition by convolutional networks. CoRR, abs/1611.05760, 2016. URL http://arxiv. org/abs/1611.05760.
|
| 239 |
+
|
| 240 |
+
Tsui-Wei Weng, Huan Zhang, Pin-Yu Chen, Jinfeng Yi, Dong Su, Yupeng Gao, Cho-Jui Hsieh, and Luca Daniel. Evaluating the robustness of neural networks: An extreme value theory approach. arXiv preprint arXiv:1801.10578, 2018.
|
| 241 |
+
|
| 242 |
+
Chaowei Xiao, Jun-Yan Zhu, Bo Li, Warren He, Mingyan Liu, and Dawn Song. Spatially transformed adversarial examples. arXiv preprint arXiv:1801.02612, 2018.
|
| 243 |
+
|
| 244 |
+
Cihang Xie, Yuxin Wu, Laurens van der Maaten, Alan Yuille, and Kaiming He. Feature denoising for improving adversarial robustness. arXiv preprint arXiv:1812.03411, 2018.
|
| 245 |
+
|
| 246 |
+
Tianyuan Zhang and Zhanxing Zhu. Interpreting adversarially trained convolutional neural networks. In International Conference on Machine Learning (ICML), 2019.
|
| 247 |
+
|
| 248 |
+
# A TRAINING HYPERPARAMETERS
|
| 249 |
+
|
| 250 |
+
For ImageNet-100, we trained on machines with 8 NVIDIA V100 GPUs using standard data augmentation He et al. (2016). Following best practices for multi-GPU training Goyal et al. (2017), we ran synchronized SGD for 90 epochs with batch size $3 2 \times 8$ and a learning rate schedule with 5 “warm-up” epochs and a decay at epochs 30, 60, and 80 by a factor of 10. Initial learning rate after warm-up was 0.1, momentum was 0.9, and weight decay was $1 0 ^ { - 4 }$ . For CIFAR-10, we trained on a single NVIDIA V100 GPU for 200 epochs with batch size 32, initial learning rate 0.1, momentum 0.9, and weight decay $1 0 ^ { - 4 }$ . We decayed the learning rate at epochs 100 and 150.
|
| 251 |
+
|
| 252 |
+
# B FURTHER ATTACK DETAILS
|
| 253 |
+
|
| 254 |
+
# B.1 FURTHER EXAMPLES OF ATTACKS
|
| 255 |
+
|
| 256 |
+
We show the images corresponding to the ones in Figure 2, with the exception that they are not scaled. The non-scaled images are shown in Figure 9.
|
| 257 |
+
|
| 258 |
+
# B.2 $L _ { 1 }$ ATTACK
|
| 259 |
+
|
| 260 |
+
We chose to use the Frank-Wolfe algorithm for optimizing the $L _ { 1 }$ attack, as Projected Gradient Descent would require projecting onto a truncated $L _ { 1 }$ ball, which is a complicated operation. In contrast, Frank-Wolfe only requires optimizing linear functions $g ^ { \top } x$ over a truncated $L _ { 1 }$ ball; this can be done by sorting coordinates by the magnitude of $g$ and moving the top $k$ coordinates to the boundary of their range (with $k$ chosen by binary search). This is detailed in Algorithm 1.
|
| 261 |
+
|
| 262 |
+
# C FULL EVALUATION RESULTS
|
| 263 |
+
|
| 264 |
+
# C.1 $L _ { 1 }$ -JPEG AND $L _ { 2 }$ -JPEG ATTACKS
|
| 265 |
+
|
| 266 |
+
We will present results with two additional versions of the JPEG attack which impose $L _ { 1 }$ or $L _ { 2 }$ constraints on the attack in JPEG-space instead of the $L _ { \infty }$ constraint discussed in Section 2. To avoid confusion, in this appendix, we denote the original JPEG attack by $L _ { \infty }$ -JPEG and these variants by $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG, respectively. Comparing the $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG attacks in Figure 10,
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
Figure 9: Differences of the attacked images and original image for different attacks (label “espresso maker”). The $L _ { 1 }$ , $L _ { 2 }$ , and $L _ { \infty }$ norms of the difference are shown in parentheses. As shown, our novel attacks display qualitatively different behavior and do not fall under the $L _ { p }$ threat model. These differences are not scaled and are normalized so that no difference corresponds to white.
|
| 270 |
+
|
| 271 |
+
1: Input: function $f$ , initial input $x \in [ 0 , 1 ] ^ { d }$ , $L _ { 1 }$ radius $\rho$ , number of steps $T$ .
|
| 272 |
+
2: Output: approximate maximizer $\bar { x }$ of $f$ over the truncated $L _ { 1 }$ ball $\mathring { B _ { 1 } } ( \rho ; x ) \cap [ 0 , 1 ] ^ { d }$ centered
|
| 273 |
+
at $x$ .
|
| 274 |
+
3:
|
| 275 |
+
4: $x ^ { ( 0 ) } \gets \mathrm { R a n d o m I n i t } ( x )$ . Random initialization
|
| 276 |
+
5: for $t = 1 , \dots , T$ do
|
| 277 |
+
6: g f (x(t−1)) . Obtain gradient
|
| 278 |
+
7: for $k = 1 , \ldots , d { \mathrm { } } $ do
|
| 279 |
+
8: $s _ { k } \gets$ index of the coordinate of $g$ by with $k ^ { \mathrm { { t h } } }$ largest norm
|
| 280 |
+
9: end for
|
| 281 |
+
10: $S _ { k } \gets \{ s _ { 1 } , \ldots , s _ { k } \} .$
|
| 282 |
+
11:
|
| 283 |
+
12: for $i = 1 , \ldots , d$ do . Compute move to boundary of $[ 0 , 1 ]$ for each coordinate.
|
| 284 |
+
13: if $g _ { i } > 0$ then
|
| 285 |
+
14: $b _ { i } \gets 1 - x _ { i }$
|
| 286 |
+
15: else
|
| 287 |
+
16: $b _ { i } \gets - x _ { i }$
|
| 288 |
+
17: end if
|
| 289 |
+
18: end for
|
| 290 |
+
19: $\begin{array} { r l } & { M _ { k } \gets \sum _ { i \in S _ { k } } | b _ { i } | } \\ & { k ^ { * } \gets \operatorname* { m a x } \{ k \mid M _ { k } \leq \rho \} } \end{array}$ . Compute $L _ { 1 }$ -perturbation of moving $k$ largest coordinates.
|
| 291 |
+
20: $\triangleright$ Choose largest $k$ satisfying $L _ { 1 }$ constraint.
|
| 292 |
+
21: for i = 1, . . . , d do $\triangleright$ Compute $\hat { x }$ maximizing $g ^ { \top } x$ over the $L _ { 1 }$ ball.
|
| 293 |
+
22: if $i \in S _ { k ^ { * } }$ then
|
| 294 |
+
23: xˆi ← xi + bi
|
| 295 |
+
24: else if $i = s _ { k ^ { * } + 1 }$ then
|
| 296 |
+
25: $\hat { x } _ { i } \gets x _ { i } + ( \rho - M _ { k ^ { * } } ) \operatorname { s i g n } ( g _ { i } )$
|
| 297 |
+
26: else
|
| 298 |
+
27: $\hat { x } _ { i } \gets x _ { i }$
|
| 299 |
+
28: end if
|
| 300 |
+
29: end for
|
| 301 |
+
30: $\begin{array} { r } { x ^ { ( t ) } ( 1 - \frac { 1 } { t } ) x ^ { ( t - 1 ) } + \frac { 1 } { t } \hat { x } } \end{array}$ . Average $\hat { x }$ with previous iterates
|
| 302 |
+
31: end for
|
| 303 |
+
32: x¯ x(T)
|
| 304 |
+
|
| 305 |
+
Algorithm 1 Pseudocode for the Frank-Wolfe algorithm for the $L _ { 1 }$ attack.
|
| 306 |
+
Table 2: ATA values for $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG on ImageNet-100.
|
| 307 |
+
|
| 308 |
+
<table><tr><td>Attack</td><td>E1</td><td>E2</td><td>3</td><td>E4</td><td>5</td><td>6</td><td>ATA1</td><td>ATA2</td><td>ATA3</td><td>ATA4</td><td>ATA5</td><td>ATA6</td></tr><tr><td>L2-JPEG</td><td>8</td><td>16</td><td>32</td><td>64</td><td>128</td><td>256</td><td>84.8</td><td>82.5</td><td>78.9</td><td>72.3</td><td>47.5</td><td>3.4</td></tr><tr><td>L1-JPEG</td><td>256</td><td></td><td>10244096</td><td>16384</td><td>65536</td><td>131072</td><td>84.8</td><td>81.8</td><td>76.2</td><td>67.1</td><td>46.4</td><td>41.8</td></tr></table>
|
| 309 |
+
|
| 310 |
+
we find that they have extremely similar results, so we omit $L _ { 1 }$ -JPEG in the full analysis for brevity and visibility. Calibration values for these attacks are shown in Table 2.
|
| 311 |
+
|
| 312 |
+
# C.2 FULL EVALUATION RESULTS AND ANALYSIS FOR IMAGENET-100
|
| 313 |
+
|
| 314 |
+
We show the full results of all adversarial attacks against all adversarial defenses for ImageNet-100 in Figure 11. As described, the $L _ { p }$ attacks and defenses give highly correlated information on heldout defenses and attacks respectively. Thus, we recommend evaluating on a wide range of distortion types. Full UAR scores are also provided for ImageNet-100 in Figure 12.
|
| 315 |
+
|
| 316 |
+
We further show selected results in Figure 13. As shown, a wide range of $\varepsilon$ is required to see the full behavior.
|
| 317 |
+
|
| 318 |
+

|
| 319 |
+
Figure 10: A comparison of $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG attacks.
|
| 320 |
+
|
| 321 |
+

|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
Figure 12: UAR scores (multiplied by 100) for adv. trained defenses (rows) against distortion types (columns) for ImageNet-100.
|
| 325 |
+
|
| 326 |
+

|
| 327 |
+
Figure 13: Adversarial accuracies of attacks on adversarially trained models for different distortion sizes on ImageNet-100. For a given attack $\varepsilon$ , the best $\varepsilon ^ { \prime }$ to train against satisfies $\varepsilon ^ { \prime } > \varepsilon$ because the random scaling of $\varepsilon ^ { \prime }$ during adversarial training ensures that a typical distortion during adversarial training has size smaller than $\varepsilon ^ { \prime }$ .
|
| 328 |
+
|
| 329 |
+
# C.3 FULL EVALUATION RESULTS AND ANALYSIS FOR CIFAR-10
|
| 330 |
+
|
| 331 |
+
# C.3.1 FULL RESULTS FOR CIFAR10
|
| 332 |
+
|
| 333 |
+
We show the results of adversarial attacks and defenses for CIFAR-10 in Figure 14. We experienced difficulty training the $L _ { 2 }$ and $L _ { 1 }$ attacks at distortion sizes greater than those shown and have omitted those runs, which we believe may be related to the small size of CIFAR-10 images.
|
| 334 |
+
|
| 335 |
+
# C.3.2 ATA AND UAR FOR CIFAR-10
|
| 336 |
+
|
| 337 |
+
The $\varepsilon$ calibration procedure for CIFAR-10 was similar to that used for ImageNet-100. We started with the perceptually small $\varepsilon _ { \mathrm { { m i n } } }$ values in Table 3 and increased $\varepsilon$ geometrically with ratio 2 until adversarial accuracy of an adversarially trained model dropped below 40. Note that this threshold is higher for CIFAR-10 because there are fewer classes. The resulting ATA and UAR values for CIFAR10 are shown in Table 3 and Figure 15. We omitted calibration for the $L _ { 2 }$ -JPEG attack because we chose too small a range of $\varepsilon$ for our initial training experiments, and we plan to address this issue in the future.
|
| 338 |
+
|
| 339 |
+
Table 3: Calibrated distortion sizes and ATA values for ResNet-56 on CIFAR-10
|
| 340 |
+
|
| 341 |
+
<table><tr><td>Attack</td><td>1</td><td>£2</td><td>3</td><td>E4</td><td>ε5</td><td>6</td><td>ATA1</td><td>ATA2</td><td>ATA3</td><td>ATA4</td><td>ATA5</td><td>ATA6</td></tr><tr><td>L8</td><td>1</td><td>2</td><td>4</td><td>8</td><td>16</td><td>32</td><td>91.0</td><td>87.8</td><td>81.6</td><td>71.3</td><td>46.5</td><td>23.1</td></tr><tr><td>L2</td><td>40</td><td>80</td><td>160</td><td>320</td><td>640</td><td>2560</td><td>90.1</td><td>86.4</td><td>79.6</td><td>67.3</td><td>49.9</td><td>17.3</td></tr><tr><td>L1</td><td>195</td><td>390</td><td>780</td><td>1560</td><td></td><td>6240 24960</td><td>92.2</td><td>90.0</td><td>83.2</td><td>73.8</td><td>47.4</td><td>35.3</td></tr><tr><td>L-JPEG 0.03125 0.0625 0.125 0.25</td><td></td><td></td><td></td><td></td><td>0.5</td><td>1</td><td>89.7</td><td>87.0</td><td>83.1</td><td>78.6</td><td>69.7</td><td>35.4</td></tr><tr><td>L1-JPEG</td><td>2</td><td>8</td><td>64</td><td>256</td><td>512</td><td>1024</td><td>91.4</td><td>88.1</td><td>80.2</td><td>68.9</td><td>56.3</td><td>37.7</td></tr><tr><td>Elastic</td><td>0.125</td><td>0.25</td><td>0.5</td><td>1</td><td>2</td><td>8</td><td>87.4</td><td>81.3</td><td>72.1</td><td>58.2</td><td>45.4</td><td>27.8</td></tr></table>
|
| 342 |
+
|
| 343 |
+
# D ROBUSTNESS OF OUR RESULTS
|
| 344 |
+
|
| 345 |
+
# D.1 REPLICATION
|
| 346 |
+
|
| 347 |
+
We replicated our results for the first three rows of Figure 11 with different random seeds to see the variation in our results. As shown in Figure 16, deviations in results are minor.
|
| 348 |
+
|
| 349 |
+
# D.2 CONVERGENCE
|
| 350 |
+
|
| 351 |
+
We replicated the results in Figure 11 with 50 instead of 200 steps to see how the results changed based on the number of steps in the attack. As shown in Figure 17, the deviations are minor.
|
| 352 |
+
|
| 353 |
+
# E FURTHER RESULTS FOR JOINT TRAINING
|
| 354 |
+
|
| 355 |
+
# E.1 FULL EXPERIMENTAL RESULTS
|
| 356 |
+
|
| 357 |
+
We show the evaluation accuracies of jointly trained models in Figure 18.
|
| 358 |
+
|
| 359 |
+
We show all the attacks against the jointly adversarially trained defenses in Figure 19.
|
| 360 |
+
|
| 361 |
+
# E.2 DEPENDENCE ON RANDOM SEED
|
| 362 |
+
|
| 363 |
+
In Table 4, we study the dependence of joint adversarial training to random seed. We find that at large distortion sizes, joint training for certain pairs of distortions does not produce consistent results over different random initializations.
|
| 364 |
+
|
| 365 |
+
Table 4: Train and val accuracies for joint adversarial training at large distortion are dependent on seed. For train and val, $\varepsilon ^ { \prime }$ is chosen uniformly at random between 0 and $\varepsilon$ , and we used 10 steps for $L _ { \infty }$ and $L _ { 1 }$ and 30 steps for elastic. Single adversarial training baselines are also shown.
|
| 366 |
+
|
| 367 |
+
<table><tr><td>Training parameters (ResNet-50)</td><td>Loo train</td><td>other train</td><td>Loval</td><td>other val</td></tr><tr><td>Lε=8,Elasticε=4,Seed1</td><td>90</td><td>89</td><td>35</td><td>74</td></tr><tr><td>Lε=8,Elastic ε=4,Seed 2</td><td>89</td><td>90</td><td>47</td><td>44</td></tr><tr><td>Lε=8,Elastic ε=4,Seed 3</td><td>90</td><td>89</td><td>29</td><td>63</td></tr><tr><td>Loε=16,L1ε=612000,Seed1</td><td>86</td><td>87</td><td>22</td><td>16</td></tr><tr><td>Loε=16,L1ε=612000,Seed 2</td><td>88</td><td>87</td><td>16</td><td>24</td></tr><tr><td>Lε=8</td><td>81</td><td>1</td><td>74</td><td>1</td></tr><tr><td>L∞ε=16</td><td>68</td><td>1</td><td>63</td><td>1</td></tr><tr><td>Elastic ε=4</td><td>1</td><td>88</td><td>1</td><td>76</td></tr><tr><td>L1ε= 612000</td><td>1</td><td>75</td><td>1</td><td>59</td></tr></table>
|
| 368 |
+
|
| 369 |
+
Table 5: Training and validation numbers for ResNet-101 and ResNet-50 for joint training against $L _ { \infty }$ , $\varepsilon = 8$ and elastic, $\varepsilon = 4$ .
|
| 370 |
+
|
| 371 |
+
<table><tr><td>Trainingparameters</td><td>L train</td><td>other train</td><td>Looval</td><td>other val</td></tr><tr><td>Lε= 8,Elastic ε = 4,ResNet-50 Seed 1</td><td>90</td><td>89</td><td>35</td><td>74</td></tr><tr><td>Lε= 8,Elastic ε = 4,ResNet-50 Seed 2</td><td>89</td><td>90</td><td>47</td><td>44</td></tr><tr><td>Lε= 8,Elastic ε= 4 ResNet-101</td><td>90</td><td>91</td><td>49</td><td>46</td></tr></table>
|
| 372 |
+
|
| 373 |
+
# E.3 OVERFITTING AND MODEL CAPACITY
|
| 374 |
+
|
| 375 |
+
As a first test to understand the relationship between model capacity and overfitting, we trained ResNet-101 models using the same procedure as in Section 5. Briefly, overfitting still occurs, but ResNet-101 achieves a few percentage points higher than ResNet-50.
|
| 376 |
+
|
| 377 |
+
We show the training curves in Figure 20 and the training and validation numbers in Table 5.
|
| 378 |
+
|
| 379 |
+
# F COMPARING ADVERSARIAL DISTORTIONS AND COMMON CORRUPTIONS
|
| 380 |
+
|
| 381 |
+
“Common” visual corruptions such as (non-adversarial) fog, blur, or pixelation have emerged as another avenue for measuring the robustness of computer vision models (Vasiljevic et al., 2016; Hendrycks & Dietterich, 2019; Geirhos et al., 2018). Recent work suggests that robustness to such common corruptions is linked to adversarial robustness and proposes corruption robustness as an easily computed indicator of adversarial robustness (Ford et al., 2019). We consider this alternative to our methodology by testing corruption robustness of our models on the ImageNet-C benchmark.
|
| 382 |
+
|
| 383 |
+
Experimental setup. We evaluate on the 100-class subset of the corruption robustness benchmark ImageNet-C introduced in (Hendrycks & Dietterich, 2019) with the same classes as ImageNet-100, which we call ImageNet-C-100. It is the ImageNet-100 validation set with 19 common corruptions at 5 severities. We use the JPEG files available at https://github.com/hendrycks/ robustness. We show average accuracies by distortion type in Figure 21.
|
| 384 |
+
|
| 385 |
+
Adversarial training against small distortions increases corruption robustness. The first column of each block in Figure 21 shows that training against small adversarial distortions generally increases average accuracy compared to an undefended model. However, training against larger distortions often decreases average accuracy, largely due to the resulting decrease in clean accuracy.
|
| 386 |
+
|
| 387 |
+
Adversarial distortions and common corruptions can affect defenses differently. Our $L _ { p }$ -JPEG and elastic attacks are adversarial versions of the corresponding common corruptions. While training against adversarial JPEG at larger $\varepsilon$ improves robustness against adversarial JPEG attacks (Figure 12 in Appendix C.2), Figure 21 shows that robustness against common JPEG corruptions decreases as we adversarially train against JPEG at larger $\varepsilon$ , though it remains better than for normally trained models. Similarly, adversarial Elastic training at large $\varepsilon$ begins to hurt robustness to its common counterpart. This is likely because common corruptions are easier than adversarial distortions, hence the increased robustness does not make up for the decreased clean accuracy.
|
| 388 |
+
|
| 389 |
+
# G ATTACKS AGAINST UNDEFENDED MODELS
|
| 390 |
+
|
| 391 |
+
We show sample images of our attacks against undefended models trained in the normal way in Figure 22.
|
| 392 |
+
|
| 393 |
+

|
| 394 |
+
|
| 395 |
+

|
| 396 |
+
Figure 15: UAR scores on CIFAR-10. Displayed UAR scores are multiplied by 100 for clarity.
|
| 397 |
+
|
| 398 |
+

|
| 399 |
+
Figure 16: Replica of the first three block rows of Figure 11 with different random seeds. Deviations in results are minor.
|
| 400 |
+
|
| 401 |
+

|
| 402 |
+
|
| 403 |
+

|
| 404 |
+
Figure 18: Evaluation accuracies of jointly trained models. Attack and training $\varepsilon$ values are equal.
|
| 405 |
+
|
| 406 |
+

|
| 407 |
+
Figure 19: All attacks (columns) vs. jointly adversarially trained defense (rows).
|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
Figure 20: Train and validation curves for joint training against $L _ { \infty }$ , $\varepsilon = 4$ and elastic, $\varepsilon = 8$ using ResNet-101. As shown, the validation accuracies decrease as training progresses, indicating overfitting.
|
| 411 |
+
|
| 412 |
+

|
| 413 |
+
Figure 21: Accuracies of defenses (rows) on ImageNet-C-100 corruptions (columns).
|
| 414 |
+
|
| 415 |
+

|
| 416 |
+
Figure 22: Adversarial attacks at low distortion sizes $\varepsilon$ against an undefended model. The pair of (ε, accuracy) is shown after the attack name. Visual differences between the original and attacked images are imperceptible for $L _ { \infty }$ , $L _ { 2 }$ , and JPEG, minor for $L _ { 1 }$ , Elastic, and Gabor, and weatherrelated for Fog and Snow.
|
parse/train/Hyl5V0EYvB/Hyl5V0E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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "TESTING ROBUSTNESS AGAINST UNFORESEEN ADVERSARIES ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
99,
|
| 9 |
+
566,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
236,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Most existing defenses against adversarial attacks only consider robustness to $L _ { p }$ - bounded distortions. In reality, the specific attack is rarely known in advance and adversaries are free to modify images in ways which lie outside any fixed distortion model; for example, image rotations lie outside the set of $L _ { p }$ -bounded distortions. In this work, we advocate measuring robustness against a much broader range of unforeseen attacks, attacks whose precise form is unknown during defense design. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
366
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We propose several new attacks and a methodology for evaluating a defense against a diverse range of unforeseen distortions. First, we construct novel adversarial JPEG, Fog, Gabor, and Snow distortions to simulate more diverse adversaries. We then introduce UAR, a summary metric that measures the robustness of a defense against a given distortion. Using UAR to assess robustness against existing and novel attacks, we perform an extensive study of adversarial robustness. We find that evaluation against existing $L _ { p }$ attacks yields redundant information which does not generalize to other attacks; we instead recommend evaluating against our significantly more diverse set of attacks. We further find that adversarial training against either one or multiple distortions fails to confer robustness to attacks with other distortion types. These results underscore the need to evaluate and study robustness against unforeseen distortions. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
368,
|
| 54 |
+
764,
|
| 55 |
+
534
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
178,
|
| 65 |
+
564,
|
| 66 |
+
336,
|
| 67 |
+
579
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Neural networks perform well on many benchmark tasks (He et al., 2016) yet can be fooled by adversarial examples (Goodfellow et al., 2014) or inputs designed to subvert a given model. Adversaries are usually assumed to be constrained by an $L _ { \\infty }$ budget (Goodfellow et al., 2014; Madry et al., 2017; Xie et al., 2018), while other modifications such as adversarial geometric transformations, patches, and even 3D-printed objects have also been considered (Engstrom et al., 2017; Brown et al., 2017; Athalye et al., 2017). However, most work on adversarial robustness assumes that the adversary is fixed and known in advance. Defenses against adversarial attacks are often constructed in view of this specific assumption (Madry et al., 2017). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
595,
|
| 77 |
+
825,
|
| 78 |
+
707
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In practice, adversaries can modify and adapt their attacks so that they are unforeseen. In this work, we propose novel attacks which enable the diverse assessment of robustness to unforeseen attacks. Our attacks are varied ( 2) and qualitatively distinct from current attacks. We propose adversarial JPEG, Fog, Gabor, and Snow attacks (sample images in Figure 1). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
176,
|
| 87 |
+
714,
|
| 88 |
+
825,
|
| 89 |
+
770
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We propose an unforeseen attack evaluation methodology (§3) that involves evaluating a defense against a diverse set of held-out distortions decoupled from the defense design. For a fixed, held-out distortion, we then evaluate the defense against the distortion for a calibrated range of distortion sizes whose strength is roughly comparable across distortions. For each fixed distortion, we summarize the robustness of a defense against that distortion relative to a model adversarially trained on that distortion, a measure we call UAR. We provide code and calibrations to easily evaluate a defense against our suite of attacks at https://github.com/iclr-2020-submission/ advex-uar. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
777,
|
| 99 |
+
825,
|
| 100 |
+
888
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "By applying our method to 87 adversarially trained models and 8 different distortion types (§4), we find that existing defenses and evaluation practices have marked weaknesses. Our results show that existing defenses based on adversarial training do not generalize to unforeseen adversaries, even when restricted to the 8 distortions in Figure 1. This adds to the mounting evidence that achieving robustness against a single distortion type is insufficient to impart robustness to unforeseen attacks (Jacobsen et al., 2019; Jordan et al., 2019; Tramer & Boneh, 2019). \\` ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
895,
|
| 110 |
+
823,
|
| 111 |
+
922
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/ae27e0b408151854ee1ac8545b5497c78e3d2093b17b785048cead2dcca9a7af.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Attacked images (label “espresso maker”) against adversarially trained models with large $\\varepsilon$ . Each of the adversarial images above are optimized to maximize the classification loss. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
209,
|
| 124 |
+
107,
|
| 125 |
+
790,
|
| 126 |
+
343
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
397,
|
| 136 |
+
825,
|
| 137 |
+
454
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "Turning to evaluation, our results demonstrate that accuracy against different $L _ { p }$ distortions is highly correlated relative to the other distortions we consider. This suggest that the common practice of evaluating only against $L _ { p }$ distortions to test a model’s adversarial robustness can give a misleading account. Our analysis demonstrates that our full suite of attacks adds substantive attack diversity and gives a more complete picture of a model’s robustness to unforeseen attacks. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
460,
|
| 147 |
+
825,
|
| 148 |
+
531
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "A natural approach is to defend against multiple distortion types simultaneously in the hope that seeing a larger space of distortions provides greater transfer to unforeseen distortions. Unfortunately, we find that defending against even two different distortion types via joint adversarial training is difficult (§5). Specifically, joint adversarial training leads to overfitting at moderate distortion sizes. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
537,
|
| 158 |
+
825,
|
| 159 |
+
593
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "In summary, we propose a metric UAR to assess robustness of defenses against unforeseen adversaries. We introduce a total of 4 novel attacks. We apply UAR to assess how robustness transfers to existing attacks and our novel attacks. Our results demonstrate that existing defense and evaluation methods do not generalize well to unforeseen attacks. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
599,
|
| 169 |
+
825,
|
| 170 |
+
656
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "2 A SET OF DIVERSE AND NOVEL ADVERSARIAL ATTACKS ",
|
| 177 |
+
"text_level": 1,
|
| 178 |
+
"bbox": [
|
| 179 |
+
176,
|
| 180 |
+
678,
|
| 181 |
+
669,
|
| 182 |
+
693
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "We consider distortions (attacks) applied to an image $x \\in \\mathbb { R } ^ { 3 \\times 2 2 4 \\times 2 2 4 }$ , represented as a vector of RGB values. Let $f : \\mathbb { R } ^ { 3 \\times 2 2 4 \\times 2 2 4 } \\stackrel { \\bullet \\star } { \\to } \\mathbb { R } ^ { 1 0 0 }$ ∈ be a model mapping images to logits1, and let $\\ell ( f ( x ) , y )$ denote the cross-entropy loss. For an input $x$ with true label $y$ and a target class $y ^ { \\prime } \\ne y$ , our adversarial attacks attempt to find $x ^ { \\prime }$ such that ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
707,
|
| 192 |
+
826,
|
| 193 |
+
763
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "1. the attacked image $x ^ { \\prime }$ is obtained by applying a constrained distortion to $x$ , and \n2. the loss $\\ell ( f ( x ^ { \\prime } ) , y ^ { \\prime } )$ is minimized (targeted attack). ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
209,
|
| 202 |
+
770,
|
| 203 |
+
751,
|
| 204 |
+
803
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "Adversarial training (Goodfellow et al., 2014) is a strong defense baseline against a fixed attack (Madry et al., 2017; Xie et al., 2018) which updates using an attacked image $x ^ { \\prime }$ instead of the clean image $x$ at each training iteration. ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
176,
|
| 213 |
+
809,
|
| 214 |
+
825,
|
| 215 |
+
851
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "text",
|
| 221 |
+
"text": "We consider 8 attacks: $L _ { \\infty }$ (Goodfellow et al., 2014), $L _ { 2 }$ (Szegedy et al., 2013; Carlini & Wagner, 2017), $L _ { 1 }$ (Chen et al., 2018), Elastic (Xiao et al., 2018), JPEG, Fog, Gabor, and Snow. We show sample attacked images in Figure 1 and the corresponding distortions in Figure 2. The JPEG, Fog, ",
|
| 222 |
+
"bbox": [
|
| 223 |
+
176,
|
| 224 |
+
857,
|
| 225 |
+
825,
|
| 226 |
+
900
|
| 227 |
+
],
|
| 228 |
+
"page_idx": 1
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"type": "image",
|
| 232 |
+
"img_path": "images/53126ea378587882c6a6dd9dde71609349f423ef460683bbbded70b29cec4e9c.jpg",
|
| 233 |
+
"image_caption": [
|
| 234 |
+
"Figure 2: Scaled pixel-level differences between original and attacked images for each attack (label “espresso maker”). The $L _ { 1 }$ , $L _ { 2 }$ , and $L _ { \\infty }$ norms of the difference are shown after the attack name. Our novel attacks display behavior which is qualitatively different from that of the $L _ { p }$ attacks. Attacked images are shown in Figure 1, and unscaled differences are shown in Figure 9, Appendix B.1. "
|
| 235 |
+
],
|
| 236 |
+
"image_footnote": [],
|
| 237 |
+
"bbox": [
|
| 238 |
+
173,
|
| 239 |
+
106,
|
| 240 |
+
815,
|
| 241 |
+
340
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "Gabor, and Snow attacks are new to this paper, and the $L _ { 1 }$ attack uses the Frank-Wolfe algorithm to improve on previous $L _ { 1 }$ attacks. We now describe the attacks, whose distortion sizes are controlled by a parameter $\\varepsilon$ . We clamp output pixel values to [0, 255]. ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
174,
|
| 250 |
+
445,
|
| 251 |
+
825,
|
| 252 |
+
488
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "Existing attacks. The $L _ { p }$ attacks with $p \\in \\{ 1 , 2 , \\infty \\}$ modify an image $x$ to an attacked image $\\boldsymbol { x } ^ { \\prime } = \\boldsymbol { x } + \\boldsymbol { \\delta }$ . We optimize $\\delta$ under the constraint $\\| \\delta \\| _ { p } \\leq \\varepsilon$ , where $\\| \\cdot \\| _ { p }$ is the $L _ { p }$ -norm on $\\mathbb { R } ^ { 3 \\times 2 2 4 \\times 2 2 4 }$ . ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
173,
|
| 261 |
+
497,
|
| 262 |
+
823,
|
| 263 |
+
529
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "The Elastic attack warps the image by allowing distortions $\\begin{array} { r } { \\begin{array} { r c l } { x ^ { \\prime } } & { = } & { \\mathsf { F l o w } ( x , V ) } \\end{array} } \\end{array}$ , where $V :$ $\\{ 1 , . . . , 2 2 4 \\} ^ { 2 } \\mathbb { R } ^ { 2 }$ is a vector field on pixel space, and Flow sets the value of pixel $( i , j )$ to the bilinearly interpolated original value at $( i , j ) + V ( i , j )$ . We construct $V$ by smoothing a vector field $W$ by a Gaussian kernel (size $2 5 \\times 2 5$ , std. dev. 3 for a $2 2 4 \\times 2 2 4$ image) and optimize $W$ under $\\| W ( i , j ) \\| _ { \\infty } \\leq \\varepsilon$ for all $i , j$ . This differs in details from Xiao et al. (2018) but is similar in spirit. ",
|
| 270 |
+
"bbox": [
|
| 271 |
+
174,
|
| 272 |
+
534,
|
| 273 |
+
825,
|
| 274 |
+
604
|
| 275 |
+
],
|
| 276 |
+
"page_idx": 2
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"type": "text",
|
| 280 |
+
"text": "Novel attacks. As discussed in Shin & Song (2017) for defense, JPEG compression applies a lossy linear transformation JPEG based on the discrete cosine transform to image space, followed by quantization. The JPEG attack imposes the $L _ { \\infty }$ -constraint $\\| \\mathsf { J P E G } ( x ) - \\mathsf { J P E G } ( x ^ { \\prime } ) \\| _ { \\infty } \\leq \\varepsilon$ on the attacked image $x ^ { \\prime }$ . We optimize $z = \\mathsf { J P E G } ( x ^ { \\prime } )$ and apply a right inverse of JPEG to obtain $x ^ { \\prime }$ . ",
|
| 281 |
+
"bbox": [
|
| 282 |
+
173,
|
| 283 |
+
613,
|
| 284 |
+
825,
|
| 285 |
+
671
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "Our novel Fog, Gabor, and Snow attacks are adversarial versions of non-adversarial distortions proposed in the literature. Fog and Snow introduce adversarially chosen partial occlusions of the image resembling the effect of mist and snowflakes, respectively; stochastic versions of Fog and Snow appeared in Hendrycks & Dietterich (2019). Gabor superimposes adversarially chosen additive Gabor noise (Lagae et al., 2009) onto the image; a stochastic version appeared in ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
174,
|
| 294 |
+
678,
|
| 295 |
+
490,
|
| 296 |
+
815
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "image",
|
| 302 |
+
"img_path": "images/5ff0aa838ad34a5b5fa0dc3edbdb19d1c3dcbb0d69aba19d8de22b5bb872a93a.jpg",
|
| 303 |
+
"image_caption": [
|
| 304 |
+
"Figure 3: Snow before and after optimization. "
|
| 305 |
+
],
|
| 306 |
+
"image_footnote": [],
|
| 307 |
+
"bbox": [
|
| 308 |
+
508,
|
| 309 |
+
680,
|
| 310 |
+
821,
|
| 311 |
+
776
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "Co et al. (2019). These attacks work by optimizing a set of parameters controlling the distortion over an $L _ { \\infty }$ -bounded set. Specifically, values for the diamond-square algorithm, sparse noise, and snowflake brightness (Figure 3) are chosen adversarially for Fog, Gabor, and Snow, respectively. ",
|
| 318 |
+
"bbox": [
|
| 319 |
+
174,
|
| 320 |
+
816,
|
| 321 |
+
825,
|
| 322 |
+
858
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "Optimization. To handle $L _ { \\infty }$ and $L _ { 2 }$ constraints, we use randomly-initialized projected gradient descent (PGD), which optimizes the distortion $\\delta$ by gradient descent and projection to the $L _ { \\infty }$ and $L _ { 2 }$ balls (Madry et al., 2017). For $L _ { 1 }$ constraints, this projection is more difficult, and previous $L _ { 1 }$ attacks resort to heuristics (Chen et al., 2018; Tramer & Boneh, 2019). We use the randomly- \\` initialized Frank-Wolfe algorithm (Frank & Wolfe, 1956), which replaces projection by a simpler optimization of a linear function at each step (pseudocode in Appendix B.2). ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
174,
|
| 331 |
+
867,
|
| 332 |
+
825,
|
| 333 |
+
924
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 2
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "image",
|
| 339 |
+
"img_path": "images/916798a6d45f2f7ac8d133393ba07b2aeabd5c72794268ae84bc26c050a0be67.jpg",
|
| 340 |
+
"image_caption": [
|
| 341 |
+
"Figure 4: Accuracies of $L _ { 2 }$ and Elastic attacks at different distortion sizes against a ResNet-50 model adversarially trained against $L _ { 2 }$ at $\\varepsilon = 9 6 0 0$ on ImageNet-100. At small distortion sizes, the model appears to defend well against Elastic, but large distortion sizes reveal a lack of transfer. "
|
| 342 |
+
],
|
| 343 |
+
"image_footnote": [],
|
| 344 |
+
"bbox": [
|
| 345 |
+
178,
|
| 346 |
+
99,
|
| 347 |
+
812,
|
| 348 |
+
215
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
299,
|
| 358 |
+
823,
|
| 359 |
+
328
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "3 MOTIVATION AND DESCRIPTION OF OUR METHODOLOGY ",
|
| 366 |
+
"text_level": 1,
|
| 367 |
+
"bbox": [
|
| 368 |
+
176,
|
| 369 |
+
349,
|
| 370 |
+
678,
|
| 371 |
+
364
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 3
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "We now propose a method to assess robustness against unforeseen distortions, which relies on evaluating a defense against a diverse set of attacks that were not used when designing the defense. Our method must address the following issues: ",
|
| 378 |
+
"bbox": [
|
| 379 |
+
178,
|
| 380 |
+
378,
|
| 381 |
+
823,
|
| 382 |
+
421
|
| 383 |
+
],
|
| 384 |
+
"page_idx": 3
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"type": "text",
|
| 388 |
+
"text": "• The range of distortion sizes must be wide enough to avoid the misleading behavior in which robustness appears to transfer at low distortion sizes but not at high distortion sizes (Figure 4); • The set of attacks considered must be sufficiently diverse. ",
|
| 389 |
+
"bbox": [
|
| 390 |
+
187,
|
| 391 |
+
429,
|
| 392 |
+
823,
|
| 393 |
+
473
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "We first provide a method to calibrate distortion sizes and then use it to define a summary metric that assesses the robustness of a defense against a specific unforeseen attack. Using this metric, we are able to assess diversity and recommend a set of attacks to evaluate against. ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
178,
|
| 402 |
+
479,
|
| 403 |
+
821,
|
| 404 |
+
522
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "Calibrate distortion size using adversarial training. As shown in Figure 4, the correlation between adversarial robustness against different distortion types may look different for different ranges of distortion sizes. It is therefore critical to evaluate on a wide enough range of distortion size $\\varepsilon$ . We choose the minimum and maximum distortion sizes $\\varepsilon$ using the following principles; sample images at $\\varepsilon _ { \\mathrm { { m i n } } }$ and $\\varepsilon _ { \\mathrm { m a x } }$ are shown in Figure 5b. ",
|
| 411 |
+
"bbox": [
|
| 412 |
+
174,
|
| 413 |
+
532,
|
| 414 |
+
825,
|
| 415 |
+
602
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 3
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "1. The minimum distortion size $\\varepsilon _ { \\mathrm { { m i n } } }$ is the largest $\\varepsilon$ for which the adversarial validation accuracy against an adversarially trained model is comparable to that of a model trained and evaluated on unattacked data (for ImageNet-100, within 3 of 87). \n2. The maximum distortion size $\\varepsilon _ { \\mathrm { m a x } }$ is the smallest $\\varepsilon$ which either (a) yields images which confuse humans when applied against adversarially trained models or (b) reduces accuracy of adversarially trained models (ATA below) to below 25. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
212,
|
| 424 |
+
613,
|
| 425 |
+
825,
|
| 426 |
+
699
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 3
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "In practice, we select $\\varepsilon _ { \\mathrm { { m i n } } }$ and $\\varepsilon _ { \\mathrm { m a x } }$ according to these criteria from a sequence of $\\varepsilon$ which is geometrically increasing with ratio 2. We choose to evaluate against adversarially trained models because attacking against strong defenses is necessary to produce strong visual distortions (Figure 5a). We introduce the constraint that humans recognize attacked images at $\\varepsilon _ { \\mathrm { m a x } }$ because we find cases for $L _ { 1 }$ , Fog, and Snow where adversarially trained models maintain non-zero accuracy for distortion sizes producing images incomprehensible to humans. An example for Snow is shown in Figure 5b. ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
174,
|
| 435 |
+
710,
|
| 436 |
+
825,
|
| 437 |
+
795
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 3
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "text",
|
| 443 |
+
"text": "UAR: an adversarial robustness metric. We measure a model’s robustness against a specific distortion type by comparing it to adversarially trained models, which represent an approximate ceiling on performance with prior knowledge of the distortion type. For distortion type $A$ and size $\\varepsilon$ , let the Adversarial Training Accuracy $\\mathsf { A T A } ( A , \\varepsilon )$ be the best adversarial accuracy on the test set that can be achieved by adversarially training a specific architecture (ResNet-50 for ImageNet100, ResNet-56 for CIFAR-10) against $A$ .2 Even when evaluating a defense using an architecture ",
|
| 444 |
+
"bbox": [
|
| 445 |
+
173,
|
| 446 |
+
804,
|
| 447 |
+
825,
|
| 448 |
+
888
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 3
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "(a) The $L _ { \\infty }$ attack at $\\varepsilon = 3 2$ applied to undefended model and models adversarially trained against $L _ { \\infty }$ at different distortion sizes. Attacking models trained against larger $\\varepsilon$ produces greater visual distortion. ",
|
| 455 |
+
"bbox": [
|
| 456 |
+
173,
|
| 457 |
+
285,
|
| 458 |
+
486,
|
| 459 |
+
337
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "image",
|
| 465 |
+
"img_path": "images/2c560ffed0c3962581881e9bc255b46c65314acabce0aa4fd9c400a3e18ca1c3.jpg",
|
| 466 |
+
"image_caption": [
|
| 467 |
+
"(b) The JPEG, Gabor, and Snow attacks applied to adversarially trained models at $\\varepsilon _ { \\mathrm { { m i n } } }$ and $\\varepsilon _ { \\mathrm { m a x } }$ . Distortions are almost imperceptible at $\\varepsilon _ { \\mathrm { { m i n } } }$ , but make the image barely recognizable by humans at $\\varepsilon _ { \\mathrm { m a x } }$ . "
|
| 468 |
+
],
|
| 469 |
+
"image_footnote": [],
|
| 470 |
+
"bbox": [
|
| 471 |
+
176,
|
| 472 |
+
101,
|
| 473 |
+
828,
|
| 474 |
+
277
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 4
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "Figure 5: Varying distortion size against adversarially trained models reveals full attack strength. ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
178,
|
| 483 |
+
347,
|
| 484 |
+
813,
|
| 485 |
+
363
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "other than ResNet-50 or ResNet-56, we recommend using the ATA values computed with these architectures to allow for uniform comparisons. ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
174,
|
| 494 |
+
382,
|
| 495 |
+
820,
|
| 496 |
+
411
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "Given a set of distortion sizes $\\{ \\varepsilon _ { 1 } , \\ldots , \\varepsilon _ { n } \\}$ , we propose the summary metric UAR (Unforeseen Attack Robustness) normalizing the accuracy of a model $M$ against adversarial training accuracy: ",
|
| 503 |
+
"bbox": [
|
| 504 |
+
173,
|
| 505 |
+
417,
|
| 506 |
+
823,
|
| 507 |
+
446
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "equation",
|
| 513 |
+
"img_path": "images/2bd0ab5ae2a993f6849835924ece22283669f58bf372d568fbb85a62c331e273.jpg",
|
| 514 |
+
"text": "$$\n\\mathsf { U A R } ( A , M ) : = 1 0 0 \\cdot \\left( \\frac { 1 } { n } \\sum _ { k = 1 } ^ { n } \\mathsf { A c c } ( A , \\varepsilon _ { k } , M ) \\right) \\Bigg / \\left( \\frac { 1 } { n } \\sum _ { k = 1 } ^ { n } \\mathsf { A T A } ( A , \\varepsilon _ { k } ) \\right) .\n$$",
|
| 515 |
+
"text_format": "latex",
|
| 516 |
+
"bbox": [
|
| 517 |
+
250,
|
| 518 |
+
452,
|
| 519 |
+
745,
|
| 520 |
+
496
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "Here $\\mathsf { A c c } ( A , \\varepsilon , M )$ is the accuracy of $M$ against distortions of type $A$ and magnitude $\\varepsilon$ . We expect most UAR scores to be lower than 100 against held-out distortion types, as an UAR score greater than 100 means that a defense is outperforming an adversarially trained model on that distortion. The normalizing factor in (1) is required to keep UAR scores roughly comparable between distortions, as different distortions can have different strengths as measured by ATA at the chosen distortion sizes. ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
174,
|
| 529 |
+
502,
|
| 530 |
+
825,
|
| 531 |
+
573
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 4
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "Having too many or too few $\\varepsilon _ { k }$ values in a certain range may cause an attack to appear artificially strong or weak because the functional relation between distortion size and attack strength (measured by ATA) varies between attacks. To make UAR roughly comparable between distortions, we evaluate at $\\varepsilon$ increasing geometrically from $\\varepsilon _ { \\mathrm { { m i n } } }$ to $\\varepsilon _ { \\mathrm { m a x } }$ by factors of 2 and take the subset of $\\varepsilon$ whose ATA values have minimum $\\ell _ { 1 }$ -distance to the ATA values of the $L _ { \\infty }$ attack at geometrically increasing $\\varepsilon$ . ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
174,
|
| 540 |
+
579,
|
| 541 |
+
825,
|
| 542 |
+
650
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "For example, when calibrating Elastic in Table 1, we start with $\\varepsilon _ { \\mathrm { m i n } } = 0 . 2 5$ and $\\varepsilon _ { \\operatorname* { m a x } } = 1 6$ based on our earlier criteria. We then compute the ATAs at the 7 geometrically increasing $\\varepsilon$ values $\\varepsilon \\in$ $\\{ 0 . 2 5 , 0 . 5 , 1 , 2 , 4 , 8 , 1 6 \\}$ . We consider size-6 subsets of those ATA values, view them as vectors of length 6 in decreasing order, and compute the $\\ell _ { 1 }$ -distance between these vectors and the vector for $L _ { \\infty }$ shown in the first row of Table 1. Finally, we select the $\\varepsilon$ values for Elastic in Table 1 as those corresponding to the size-6 subset with minimum $\\ell _ { 1 }$ -distance to the vector for $L _ { \\infty }$ . ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
174,
|
| 551 |
+
655,
|
| 552 |
+
825,
|
| 553 |
+
739
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "For our 8 distortion types, we provide reference values of $\\mathsf { A T A } ( A , \\varepsilon )$ on this calibrated range of 6 distortion sizes on ImageNet-100 (Table 1, $\\ S 4 )$ ) and CIFAR-10 (Table 3, Appendix C.3.2). This allows UAR computation for a new defense using 6 adversarial evaluations and no adversarial training, reducing computational cost from $^ { 1 9 2 + }$ to 6 NVIDIA V100 GPU-hours on ImageNet-100. ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
174,
|
| 562 |
+
746,
|
| 563 |
+
825,
|
| 564 |
+
803
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "Evaluate against diverse distortion types. Since robustness against different distortion types may have low or no correlation (Figure 6b), measuring performance on different distortions is important to avoid overfitting to a specific type, especially when a defense is constructed with it in mind (as with adversarial training). Our results in $\\ S 4$ demonstrate that choosing appropriate distortion types to evaluate against requires some care, as distortions such as $L _ { 1 }$ , $L _ { 2 }$ , and $L _ { \\infty }$ that may seem different can actually have highly correlated scores against defenses (see Figure 6). We instead recommend evaluation against our more diverse attacks, taking the $L _ { \\infty }$ , $L _ { 1 }$ , Elastic, Fog, and Snow attacks as a starting point. ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
174,
|
| 573 |
+
811,
|
| 574 |
+
825,
|
| 575 |
+
924
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 4
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "table",
|
| 581 |
+
"img_path": "images/921d31078c34df984403605dc8ddaaaa16e37182faed94bcec1860b719ab71ad.jpg",
|
| 582 |
+
"table_caption": [
|
| 583 |
+
"Table 1: Calibrated distortion sizes and ATA values for different distortion types on ImageNet-100. ATA values for CIFAR-10 are shown in Table 3 (Appendix C.3.2). "
|
| 584 |
+
],
|
| 585 |
+
"table_footnote": [],
|
| 586 |
+
"table_body": "<table><tr><td>Attack ε1</td><td></td><td>ε2</td><td>ε3</td><td>ε4</td><td>£5</td><td>6</td><td>ATA1</td><td>ATA2</td><td>ATA3</td><td>ATA4</td><td>ATA5</td><td>ATA6</td></tr><tr><td>L</td><td>1</td><td>2</td><td>4</td><td>8</td><td>16</td><td>32</td><td>84.6</td><td>82.1</td><td>76.2</td><td>66.9</td><td>40.1</td><td>12.9</td></tr><tr><td>L2</td><td>150</td><td>300</td><td>600</td><td>1200</td><td>2400</td><td>4800</td><td>85.0</td><td>83.5</td><td>79.6</td><td>72.6</td><td>59.1</td><td>19.9</td></tr><tr><td>L1</td><td>9562.5</td><td>19125</td><td>76500 1530001</td><td></td><td>306000 612000</td><td></td><td>84.4</td><td>82.7</td><td>76.3</td><td>68.9</td><td>56.4</td><td>36.1</td></tr><tr><td>Elastic</td><td>0.250</td><td>0.500</td><td>2</td><td>4</td><td>8</td><td>16</td><td>85.9</td><td>83.2</td><td>78.1</td><td>75.6</td><td>57.0</td><td>22.5</td></tr><tr><td>JPEG</td><td>0.062</td><td>0.125</td><td>0.250</td><td>0.500</td><td>1</td><td>2</td><td>85.0</td><td>83.2</td><td>79.3</td><td>72.8</td><td>34.8</td><td>1.1</td></tr><tr><td>Fog</td><td>128</td><td>256</td><td>512</td><td>2048</td><td>4096</td><td>8192</td><td>85.8</td><td>83.8</td><td>79.0</td><td>68.4</td><td>67.9</td><td>64.7</td></tr><tr><td>Snow</td><td>0.062</td><td>0.125</td><td>0.250</td><td>2</td><td>4</td><td>8</td><td>84.0</td><td>81.1</td><td>77.7</td><td>65.6</td><td>59.5</td><td>41.2</td></tr><tr><td>Gabor</td><td>6.250</td><td>12.500 25</td><td></td><td>400</td><td>800</td><td>1600</td><td>84.0</td><td>79.8</td><td>79.8</td><td>66.2</td><td>44.7</td><td>14.6</td></tr></table>",
|
| 587 |
+
"bbox": [
|
| 588 |
+
209,
|
| 589 |
+
141,
|
| 590 |
+
789,
|
| 591 |
+
258
|
| 592 |
+
],
|
| 593 |
+
"page_idx": 5
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"type": "text",
|
| 597 |
+
"text": "4 UAR REVEALS THE NEED TO EVALUATE AGAINST MORE DIVERSE ATTACKS ",
|
| 598 |
+
"text_level": 1,
|
| 599 |
+
"bbox": [
|
| 600 |
+
178,
|
| 601 |
+
291,
|
| 602 |
+
821,
|
| 603 |
+
306
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 5
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "We apply our methodology to the 8 attacks in $\\ S 2$ using models adversarially trained against these attacks. Our results reveal that evaluating against the commonly used $L _ { p }$ -attacks gives highly correlated information which does not generalize to other unforeseen attacks. Instead, they suggest that evaluating on diverse attacks is necessary and identify a set of 5 attacks with low pairwise robustness transfer which we suggest as a starting point when assessing robustness to unforeseen adversaries. ",
|
| 610 |
+
"bbox": [
|
| 611 |
+
174,
|
| 612 |
+
323,
|
| 613 |
+
825,
|
| 614 |
+
393
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "Dataset and model. We use two datasets: CIFAR-10 and ImageNet-100, the 100-class subset of ImageNet-1K (Deng et al., 2009) containing every $1 0 ^ { \\mathrm { t h } }$ class by WordNet ID order. We use ResNet56 for CIFAR-10 and ResNet-50 as implemented in torchvision for ImageNet-100 (He et al., 2016). We give training hyperparameters in Appendix A. ",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
404,
|
| 624 |
+
825,
|
| 625 |
+
460
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 5
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "Adversarial training and evaluation procedure. We construct hardened models using adversarial training (Madry et al., 2017). To train against attack $A$ , for each mini-batch of training images, we select a uniform random (incorrect) target class for each image. For maximum distortion size $\\varepsilon$ , we apply the targeted attack $A$ to the current model with distortion size $\\varepsilon ^ { \\prime } \\sim \\mathrm { U n i f o r m } ( 0 , \\varepsilon )$ and update the model with a step of stochastic gradient descent using only the resulting adversarial images (no clean images). The random size scaling improves performance especially against smaller distortions. We use 10 optimization steps for all attacks during training except for Elastic, where we use 30 steps due to its more difficult optimization problem. When PGD is used, we use step size $\\varepsilon / \\sqrt { \\mathrm { s t e p s } }$ , the optimal scaling for non-smooth convex functions (Nemirovski & Yudin, 1978; 1983). ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
173,
|
| 634 |
+
469,
|
| 635 |
+
825,
|
| 636 |
+
595
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 5
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "We adversarially train 87 models against the 8 attacks from $\\ S 2$ at the distortion sizes described in $\\ S 3$ and evaluate them on the ImageNet-100 and CIFAR-10 validation sets against 200-step targeted attacks with uniform random (incorrect) target class. This uses more steps for evaluation than train",
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
602,
|
| 646 |
+
825,
|
| 647 |
+
645
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 5
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "image",
|
| 653 |
+
"img_path": "images/0c5e02ee09998407bebd70a1c73ef4f1cba18d475d47a5d603828630625d98cf.jpg",
|
| 654 |
+
"image_caption": [],
|
| 655 |
+
"image_footnote": [],
|
| 656 |
+
"bbox": [
|
| 657 |
+
181,
|
| 658 |
+
679,
|
| 659 |
+
442,
|
| 660 |
+
854
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 5
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "(a) UAR scores for adv. trained defenses (rows) against attacks (columns) on ImageNet-100. See Figure 12 for more $\\varepsilon$ values and Appendix C.3.2 for CIFAR-10 results. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
173,
|
| 669 |
+
856,
|
| 670 |
+
468,
|
| 671 |
+
906
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 5
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "image",
|
| 677 |
+
"img_path": "images/4791a8dc6b07f45f5b9a2342974dc3da6bc806f48fe6fcd91da43e96f702927a.jpg",
|
| 678 |
+
"image_caption": [],
|
| 679 |
+
"image_footnote": [],
|
| 680 |
+
"bbox": [
|
| 681 |
+
496,
|
| 682 |
+
675,
|
| 683 |
+
797,
|
| 684 |
+
852
|
| 685 |
+
],
|
| 686 |
+
"page_idx": 5
|
| 687 |
+
},
|
| 688 |
+
{
|
| 689 |
+
"type": "text",
|
| 690 |
+
"text": "(b) Correlations between UAR scores in Figure 6a for each attack (rows and columns). Correlation was computed over adversarial defenses in Figure 6a trained without knowledge of the attacks (6 total per pair). ",
|
| 691 |
+
"bbox": [
|
| 692 |
+
488,
|
| 693 |
+
854,
|
| 694 |
+
820,
|
| 695 |
+
905
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 5
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "Figure 6: UAR scores demonstrate the need to evaluate against diverse attacks. ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
243,
|
| 704 |
+
911,
|
| 705 |
+
756,
|
| 706 |
+
926
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 5
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "text",
|
| 712 |
+
"text": "ing per best practices (Carlini et al., 2019). We use UAR to analyze the results in the remainder of this section, directing the reader to Figures 10 and 11 (Appendix C.2) for exhaustive results and to Appendix D for checks for robustness to random seed and number of attack steps. ",
|
| 713 |
+
"bbox": [
|
| 714 |
+
174,
|
| 715 |
+
103,
|
| 716 |
+
825,
|
| 717 |
+
146
|
| 718 |
+
],
|
| 719 |
+
"page_idx": 6
|
| 720 |
+
},
|
| 721 |
+
{
|
| 722 |
+
"type": "text",
|
| 723 |
+
"text": "Existing defense and evaluation methods do not generalize to unforeseen attacks. The many low off-diagonal UAR scores in Figure 6a make clear that while adversarial training is a strong baseline against a fixed distortion, it only rarely confers robustness to unforeseen distortions. Notably, we were not able to achieve a high UAR against Fog except by directly adversarially training against it. Despite the general lack of transfer in Figure 6a, the fairly strong transfer between the $L _ { p }$ -attacks is consistent with recent progress in simultaneous robustness to them (Croce & Hein, 2019). ",
|
| 724 |
+
"bbox": [
|
| 725 |
+
174,
|
| 726 |
+
156,
|
| 727 |
+
823,
|
| 728 |
+
239
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 6
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Figure 6b shows correlations between UAR scores of pairs of attacks $A$ and $A ^ { \\prime }$ against defenses adversarially trained without knowledge3 of $A$ or $A ^ { \\prime }$ . The results demonstrate that defenses trained without knowledge of $L _ { p }$ -attacks have highly correlated UAR scores against the different $L _ { p }$ attacks, but this correlation does not extend to their evaluations against other attacks. This suggests that $L _ { p }$ - evaluations offer limited diversity and may not generalize to other unforeseen attacks. ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
174,
|
| 737 |
+
246,
|
| 738 |
+
825,
|
| 739 |
+
316
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 6
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "text",
|
| 745 |
+
"text": "The $L _ { \\infty }$ , $L _ { 1 }$ , Elastic, Fog, and Snow attacks offer greater diversity. Our results on $L _ { p }$ -evaluation suggest that more diverse attack evaluation is necessary for generalization to unforeseen attacks. As the unexpected correlation between UAR scores against the pairs (Fog, Gabor) and $\\left( \\mathrm { J P E G } , L _ { 1 } \\right)$ in Figure 6b demonstrates, even attacks with very different distortions may have correlated behaviors. Considering all attacks in Figure 6 together results in signficantly more diversity, which we suggest for evaluation against unforeseen attacks. We suggest the 5 attacks $( L _ { \\infty } , L _ { 1 }$ , Elastic, Fog, and Snow) with low UAR against each other and low correlation between UAR scores as a good starting point. ",
|
| 746 |
+
"bbox": [
|
| 747 |
+
174,
|
| 748 |
+
327,
|
| 749 |
+
825,
|
| 750 |
+
424
|
| 751 |
+
],
|
| 752 |
+
"page_idx": 6
|
| 753 |
+
},
|
| 754 |
+
{
|
| 755 |
+
"type": "text",
|
| 756 |
+
"text": "5 JOINT ADVERSARIAL TRAINING: DEFENDING AGAINST TWO DISTORTIONS ",
|
| 757 |
+
"text_level": 1,
|
| 758 |
+
"bbox": [
|
| 759 |
+
173,
|
| 760 |
+
445,
|
| 761 |
+
818,
|
| 762 |
+
460
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 6
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "A natural idea to improve robustness against unforeseen adversaries is to adversarially train the same model against two different types of distortions simultaneously, with the idea that this will cover a larger portion of the space of distortions. We refer to this as joint adversarial training (Jordan et al., 2019; Tramer & Boneh, 2019). For two attacks \\` $A$ and $A ^ { \\prime }$ , at each training step, we compute the attacked image under both $A$ and $A ^ { \\prime }$ and backpropagate with respect to gradients induced by the image with greater loss. This corresponds to the “max” loss described in Tramer & Boneh (2019).\\` We jointly train models for $( L _ { \\infty } , L _ { 2 } )$ , $( L _ { \\infty } , L _ { 1 } )$ , and $( L _ { \\infty }$ , Elastic) using the same setup as before ",
|
| 769 |
+
"bbox": [
|
| 770 |
+
173,
|
| 771 |
+
476,
|
| 772 |
+
825,
|
| 773 |
+
575
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 6
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "image",
|
| 779 |
+
"img_path": "images/625170de299531c3cd1b867a34d1444b71f72f927a58c03e996320eda7d22cf6.jpg",
|
| 780 |
+
"image_caption": [
|
| 781 |
+
"Figure 7: UAR scores for jointly adv. trained defenses (rows) against distortion types (columns). "
|
| 782 |
+
],
|
| 783 |
+
"image_footnote": [],
|
| 784 |
+
"bbox": [
|
| 785 |
+
179,
|
| 786 |
+
593,
|
| 787 |
+
810,
|
| 788 |
+
704
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 6
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "Transfer for jointly trained models. Figure 7 reports UAR scores for jointly trained models using ResNet-50 on ImageNet-100; full evaluation accuracies are in Figure 19 (Appendix E). Comparing to Figure 6a and Figure 12 (Appendix E), we see that, relative to training against only $L _ { 2 }$ , joint training against $( L _ { \\infty } , L _ { 2 } )$ slightly improves robustness against $L _ { 1 }$ without harming robustness against other attacks. In contrast, training against $( L _ { \\infty } , L _ { 1 } )$ is worse than either training against $L _ { 1 }$ or $L _ { \\infty }$ separately (except at small $\\varepsilon$ for $L _ { 1 }$ ). Training against $( L _ { \\infty }$ , Elastic) also performs poorly. ",
|
| 795 |
+
"bbox": [
|
| 796 |
+
174,
|
| 797 |
+
736,
|
| 798 |
+
825,
|
| 799 |
+
820
|
| 800 |
+
],
|
| 801 |
+
"page_idx": 6
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"type": "text",
|
| 805 |
+
"text": "Joint training and overfitting. Jointly trained models achieve high training accuracy but poor validation accuracy (Figure 8) that fluctuates substantially for different random seeds (Table 4, Appendix E.2). Figure 8 shows the overfitting behavior for $L _ { \\infty }$ , Elastic): $L _ { \\infty }$ validation accuracy decreases significantly during training while training accuracy increases. This contrasts with standard adversarial training (Figure 8), where validation accuracy levels off as training accuracy increases. ",
|
| 806 |
+
"bbox": [
|
| 807 |
+
174,
|
| 808 |
+
829,
|
| 809 |
+
823,
|
| 810 |
+
900
|
| 811 |
+
],
|
| 812 |
+
"page_idx": 6
|
| 813 |
+
},
|
| 814 |
+
{
|
| 815 |
+
"type": "image",
|
| 816 |
+
"img_path": "images/58b2deb77fae4ade71fabd80f52f452df16aecef04abe171002af23557964b2e.jpg",
|
| 817 |
+
"image_caption": [
|
| 818 |
+
"Figure 8: Left: train and validation curves for joint training against $L _ { \\infty }$ , $\\varepsilon = 8$ and Elastic, $\\varepsilon = 4$ , Right: train and val curves for standard adversarial training for $L _ { \\infty }$ , $\\varepsilon = 8$ . The joint validation accuracy of $L _ { \\infty }$ decreases as training progresses, indicating overfitting. "
|
| 819 |
+
],
|
| 820 |
+
"image_footnote": [],
|
| 821 |
+
"bbox": [
|
| 822 |
+
235,
|
| 823 |
+
102,
|
| 824 |
+
753,
|
| 825 |
+
213
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 7
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "text",
|
| 831 |
+
"text": "Overfitting primarily occurs when training against large distortions. We successfully trained against the $( L _ { \\infty } , L _ { 1 } )$ and $( L _ { \\infty }$ , Elastic) pairs for small distortion sizes with accuracies comparable to but slightly lower than observed in Figure 11 for training against each attack individually (Figure 18, Appendix E). This agrees with behavior reported by Tramer & Boneh (2019) on CIFAR-10. Our \\` intuition is that harder training tasks (more diverse distortion types, larger $\\varepsilon$ ) make overfitting more likely. We briefly investigate the relation between overfitting and model capacity in Appendix E.3; validation accuracy appears slightly increased for ResNet-101, but overfitting remains. ",
|
| 832 |
+
"bbox": [
|
| 833 |
+
174,
|
| 834 |
+
282,
|
| 835 |
+
825,
|
| 836 |
+
381
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 7
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "6 DISCUSSION AND RELATED WORK ",
|
| 843 |
+
"text_level": 1,
|
| 844 |
+
"bbox": [
|
| 845 |
+
176,
|
| 846 |
+
412,
|
| 847 |
+
488,
|
| 848 |
+
428
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 7
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "text",
|
| 854 |
+
"text": "We have seen that robustness to one attack provides limited information about robustness to other attacks, and moreover that adversarial training provides limited robustness to unforeseen attacks. These results suggest a need to modify or move beyond adversarial training. While joint adversarial training is one possible alternative, our results show it often leads to overfitting. Even ignoring this, it is not clear that joint training would confer robustness to attacks outside of those trained against. ",
|
| 855 |
+
"bbox": [
|
| 856 |
+
174,
|
| 857 |
+
449,
|
| 858 |
+
825,
|
| 859 |
+
520
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 7
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "Evaluating robustness has proven difficult, necessitating detailed study of best practices even for a single fixed attack (Papernot et al., 2017; Athalye et al., 2018). We build on these best practices by showing how to choose and calibrate a diverse set of unforeseen attacks. Our work is a supplement to existing practices, not a replacement–we strongly recommend following the guidelines in Papernot et al. (2017) and Athalye et al. (2018) in addition to our recommendations. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
174,
|
| 868 |
+
526,
|
| 869 |
+
823,
|
| 870 |
+
597
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 7
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "Some caution is necessary when interpreting specific numeric results in our paper. Many previous implementations of adversarial training fell prone to gradient masking (Papernot et al., 2017; Engstrom et al., 2018), with apparently successful training occurring only recently (Madry et al., 2017; Xie et al., 2018). While evaluating with moderately many PGD steps (200) helps guard against this, (Qian & Wegman, 2019) shows that an $L _ { \\infty }$ -trained model that appeared robust against $L _ { 2 }$ actually had substantially less robustness when evaluating with $1 0 ^ { 6 }$ PGD steps. If this effect is pervasive, then there may be even less transfer between attacks than our current results suggest. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
603,
|
| 880 |
+
825,
|
| 881 |
+
702
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 7
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "For evaluating against a fixed attack, DeepFool Moosavi-Dezfooli et al. (2015) and CLEVER Weng et al. (2018) can be seen as existing alternatives to UAR. They work by estimating “empirical robustness”, which is the expected minimum $\\varepsilon$ needed to successfully attack an image. However, these apply only to attacks which optimize over an $L _ { p }$ -ball of radius $\\varepsilon$ , and CLEVER can be susceptible to gradient masking Goodfellow (2018). In addition, empirical robustness is equivalent to linearly averaging accuracy over $\\varepsilon$ , which has smaller dynamic range than the geometric average in UAR. ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
174,
|
| 890 |
+
708,
|
| 891 |
+
823,
|
| 892 |
+
791
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 7
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "Our results add to a growing line of evidence that evaluating against a single known attack type provides a misleading picture of the robustness of a model (Sharma & Chen, 2017; Engstrom et al., 2017; Jordan et al., 2019; Tramer & Boneh, 2019; Jacobsen et al., 2019). Going one step further, \\` we believe that robustness itself provides only a narrow window into model behavior; in addition to robustness, we should seek to build a diverse toolbox for understanding machine learning models, including visualization (Olah et al., 2018; Zhang & Zhu, 2019), disentanglement of relevant features (Geirhos et al., 2018), and measurement of extrapolation to different datasets (Torralba & Efros, 2011) or the long tail of natural but unusual inputs (Hendrycks et al., 2019). Together, these windows into model behavior can give us a clearer picture of how to make models reliable in the real world. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
173,
|
| 901 |
+
797,
|
| 902 |
+
825,
|
| 903 |
+
924
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 7
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "REFERENCES ",
|
| 910 |
+
"text_level": 1,
|
| 911 |
+
"bbox": [
|
| 912 |
+
176,
|
| 913 |
+
103,
|
| 914 |
+
285,
|
| 915 |
+
118
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 8
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "Anish Athalye, Logan Engstrom, Andrew Ilyas, and Kevin Kwok. Synthesizing robust adversarial examples. CoRR, abs/1707.07397, 2017. URL http://arxiv.org/abs/1707.07397. ",
|
| 922 |
+
"bbox": [
|
| 923 |
+
173,
|
| 924 |
+
126,
|
| 925 |
+
823,
|
| 926 |
+
155
|
| 927 |
+
],
|
| 928 |
+
"page_idx": 8
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"type": "text",
|
| 932 |
+
"text": "Anish Athalye, Nicholas Carlini, and David Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. arXiv preprint arXiv:1802.00420, 2018. ",
|
| 933 |
+
"bbox": [
|
| 934 |
+
174,
|
| 935 |
+
164,
|
| 936 |
+
823,
|
| 937 |
+
205
|
| 938 |
+
],
|
| 939 |
+
"page_idx": 8
|
| 940 |
+
},
|
| 941 |
+
{
|
| 942 |
+
"type": "text",
|
| 943 |
+
"text": "Tom B. Brown, Dandelion Mane, Aurko Roy, Mart ´ ´ın Abadi, and Justin Gilmer. Adversarial patch. CoRR, abs/1712.09665, 2017. URL http://arxiv.org/abs/1712.09665. ",
|
| 944 |
+
"bbox": [
|
| 945 |
+
171,
|
| 946 |
+
215,
|
| 947 |
+
823,
|
| 948 |
+
244
|
| 949 |
+
],
|
| 950 |
+
"page_idx": 8
|
| 951 |
+
},
|
| 952 |
+
{
|
| 953 |
+
"type": "text",
|
| 954 |
+
"text": "Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pp. 39–57. IEEE, 2017. ",
|
| 955 |
+
"bbox": [
|
| 956 |
+
171,
|
| 957 |
+
253,
|
| 958 |
+
825,
|
| 959 |
+
284
|
| 960 |
+
],
|
| 961 |
+
"page_idx": 8
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"type": "text",
|
| 965 |
+
"text": "Nicholas Carlini, Anish Athalye, Nicolas Papernot, Wieland Brendel, Jonas Rauber, Dimitris Tsipras, Ian J. Goodfellow, Aleksander Madry, and Alexey Kurakin. On evaluating adversarial robustness. CoRR, abs/1902.06705, 2019. URL http://arxiv.org/abs/1902.06705. ",
|
| 966 |
+
"bbox": [
|
| 967 |
+
174,
|
| 968 |
+
291,
|
| 969 |
+
825,
|
| 970 |
+
334
|
| 971 |
+
],
|
| 972 |
+
"page_idx": 8
|
| 973 |
+
},
|
| 974 |
+
{
|
| 975 |
+
"type": "text",
|
| 976 |
+
"text": "Pin-Yu Chen, Yash Sharma, Huan Zhang, Jinfeng Yi, and Cho-Jui Hsieh. EAD: Elastic-net attacks to deep neural networks via adversarial examples. In Thirty-second AAAI conference on artificial intelligence, 2018. ",
|
| 977 |
+
"bbox": [
|
| 978 |
+
171,
|
| 979 |
+
342,
|
| 980 |
+
825,
|
| 981 |
+
386
|
| 982 |
+
],
|
| 983 |
+
"page_idx": 8
|
| 984 |
+
},
|
| 985 |
+
{
|
| 986 |
+
"type": "text",
|
| 987 |
+
"text": "Kenneth T. Co, Luis Munoz-Gonz ˜ alez, and Emil C. Lupu. Sensitivity of deep convolutional net- ´ works to Gabor noise. CoRR, abs/1906.03455, 2019. URL http://arxiv.org/abs/ 1906.03455. ",
|
| 988 |
+
"bbox": [
|
| 989 |
+
171,
|
| 990 |
+
393,
|
| 991 |
+
823,
|
| 992 |
+
438
|
| 993 |
+
],
|
| 994 |
+
"page_idx": 8
|
| 995 |
+
},
|
| 996 |
+
{
|
| 997 |
+
"type": "text",
|
| 998 |
+
"text": "Francesco Croce and Matthias Hein. Provable robustness against all adversarial $l _ { p }$ -perturbations for $p \\geq 1$ . CoRR, abs/1905.11213, 2019. URL http://arxiv.org/abs/1905.11213. ",
|
| 999 |
+
"bbox": [
|
| 1000 |
+
171,
|
| 1001 |
+
445,
|
| 1002 |
+
823,
|
| 1003 |
+
477
|
| 1004 |
+
],
|
| 1005 |
+
"page_idx": 8
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"type": "text",
|
| 1009 |
+
"text": "Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. IEEE, 2009. ",
|
| 1010 |
+
"bbox": [
|
| 1011 |
+
173,
|
| 1012 |
+
484,
|
| 1013 |
+
823,
|
| 1014 |
+
527
|
| 1015 |
+
],
|
| 1016 |
+
"page_idx": 8
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"type": "text",
|
| 1020 |
+
"text": "Logan Engstrom, Brandon Tran, Dimitris Tsipras, Ludwig Schmidt, and Aleksander Madry. A rotation and a translation suffice: Fooling CNNs with simple transformations. arXiv preprint arXiv:1712.02779, 2017. ",
|
| 1021 |
+
"bbox": [
|
| 1022 |
+
171,
|
| 1023 |
+
536,
|
| 1024 |
+
823,
|
| 1025 |
+
579
|
| 1026 |
+
],
|
| 1027 |
+
"page_idx": 8
|
| 1028 |
+
},
|
| 1029 |
+
{
|
| 1030 |
+
"type": "text",
|
| 1031 |
+
"text": "Logan Engstrom, Andrew Ilyas, and Anish Athalye. Evaluating and understanding the robustness of adversarial logit pairing. arXiv preprint arXiv:1807.10272, 2018. ",
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
173,
|
| 1034 |
+
587,
|
| 1035 |
+
825,
|
| 1036 |
+
617
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 8
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "Nic Ford, Justin Gilmer, Nicolas Carlini, and Dogus Cubuk. Adversarial examples are a natural consequence of test error in noise. arXiv preprint arXiv:1901.10513, 2019. ",
|
| 1043 |
+
"bbox": [
|
| 1044 |
+
173,
|
| 1045 |
+
626,
|
| 1046 |
+
823,
|
| 1047 |
+
655
|
| 1048 |
+
],
|
| 1049 |
+
"page_idx": 8
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"type": "text",
|
| 1053 |
+
"text": "Marguerite Frank and Philip Wolfe. An algorithm for quadratic programming. Naval research logistics quarterly, 3(1-2):95–110, 1956. ",
|
| 1054 |
+
"bbox": [
|
| 1055 |
+
169,
|
| 1056 |
+
664,
|
| 1057 |
+
825,
|
| 1058 |
+
693
|
| 1059 |
+
],
|
| 1060 |
+
"page_idx": 8
|
| 1061 |
+
},
|
| 1062 |
+
{
|
| 1063 |
+
"type": "text",
|
| 1064 |
+
"text": "Robert Geirhos, Patricia Rubisch, Claudio Michaelis, Matthias Bethge, Felix A. Wichmann, and Wieland Brendel. ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustness. CoRR, abs/1811.12231, 2018. URL http://arxiv.org/ abs/1811.12231. ",
|
| 1065 |
+
"bbox": [
|
| 1066 |
+
173,
|
| 1067 |
+
702,
|
| 1068 |
+
825,
|
| 1069 |
+
758
|
| 1070 |
+
],
|
| 1071 |
+
"page_idx": 8
|
| 1072 |
+
},
|
| 1073 |
+
{
|
| 1074 |
+
"type": "text",
|
| 1075 |
+
"text": "Ian Goodfellow. Gradient masking causes CLEVER to overestimate adversarial perturbation size. arXiv preprint arXiv:1804.07870, 2018. ",
|
| 1076 |
+
"bbox": [
|
| 1077 |
+
169,
|
| 1078 |
+
767,
|
| 1079 |
+
823,
|
| 1080 |
+
796
|
| 1081 |
+
],
|
| 1082 |
+
"page_idx": 8
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
"type": "text",
|
| 1086 |
+
"text": "Ian J Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572, 2014. ",
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
169,
|
| 1089 |
+
805,
|
| 1090 |
+
823,
|
| 1091 |
+
835
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 8
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "Priya Goyal, Piotr Dollar, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, An- ´ drew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch SGD: Training ImageNet in 1 hour. arXiv preprint arXiv:1706.02677, 2017. ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
174,
|
| 1100 |
+
843,
|
| 1101 |
+
821,
|
| 1102 |
+
886
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 8
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identity mappings in deep residual networks. In European conference on computer vision, pp. 630–645. Springer, 2016. ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
174,
|
| 1111 |
+
895,
|
| 1112 |
+
821,
|
| 1113 |
+
924
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 8
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. In International Conference on Learning Representations, 2019. ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
173,
|
| 1122 |
+
103,
|
| 1123 |
+
823,
|
| 1124 |
+
133
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 9
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"text": "Dan Hendrycks, Kevin Zhao, Steven Basart, Jacob Steinhardt, and Dawn Song. Natural adversarial examples. arXiv preprint arXiv:1907.07174, 2019. ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
174,
|
| 1133 |
+
140,
|
| 1134 |
+
823,
|
| 1135 |
+
170
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 9
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "Jrn-Henrik Jacobsen, Jens Behrmannn, Nicholas Carlini, Florian Tramr, and Nicolas Papernot. Exploiting excessive invariance caused by norm-bounded adversarial robustness, 2019. ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
173,
|
| 1144 |
+
179,
|
| 1145 |
+
823,
|
| 1146 |
+
208
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 9
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"text": "Matt Jordan, Naren Manoj, Surbhi Goel, and Alexandros G. Dimakis. Quantifying perceptual distortion of adversarial examples. arXiv e-prints, art. arXiv:1902.08265, Feb 2019. ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
171,
|
| 1155 |
+
217,
|
| 1156 |
+
823,
|
| 1157 |
+
246
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 9
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Ares Lagae, Sylvain Lefebvre, George Drettakis, and Philip Dutre. Procedural noise using sparse ´ Gabor convolution. ACM Trans. Graph., 28(3):54:1–54:10, July 2009. ISSN 0730-0301. doi: 10. 1145/1531326.1531360. URL http://doi.acm.org/10.1145/1531326.1531360. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
178,
|
| 1166 |
+
255,
|
| 1167 |
+
823,
|
| 1168 |
+
297
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 9
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
174,
|
| 1177 |
+
306,
|
| 1178 |
+
825,
|
| 1179 |
+
348
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 9
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. DeepFool: a simple and accurate method to fool deep neural networks. arXiv preprint arXiv:1511.04599, 2015. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
173,
|
| 1188 |
+
357,
|
| 1189 |
+
821,
|
| 1190 |
+
387
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 9
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Arkadi Nemirovski and D Yudin. On Cezari’s convergence of the steepest descent method for approximating saddle point of convex-concave functions. In Soviet Math. Dokl, volume 19, pp. 258–269, 1978. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
174,
|
| 1199 |
+
395,
|
| 1200 |
+
825,
|
| 1201 |
+
439
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 9
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Arkadi Nemirovski and D Yudin. Problem Complexity and Method Efficiency in Optimization. Intersci. Ser. Discrete Math. Wiley, New York, 1983. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
173,
|
| 1210 |
+
446,
|
| 1211 |
+
823,
|
| 1212 |
+
477
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 9
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Chris Olah, Arvind Satyanarayan, Ian Johnson, Shan Carter, Ludwig Schubert, Katherine Ye, and Alexander Mordvintsev. The building blocks of interpretability. Distill, 2018. doi: 10.23915/ distill.00010. https://distill.pub/2018/building-blocks. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
174,
|
| 1221 |
+
484,
|
| 1222 |
+
826,
|
| 1223 |
+
529
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 9
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Nicolas Papernot, Patrick McDaniel, Ian Goodfellow, Somesh Jha, Z Berkay Celik, and Ananthram Swami. Practical black-box attacks against machine learning. In Proceedings of the 2017 ACM on Asia conference on computer and communications security, pp. 506–519. ACM, 2017. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
173,
|
| 1232 |
+
536,
|
| 1233 |
+
826,
|
| 1234 |
+
580
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 9
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Haifeng Qian and Mark N. Wegman. $L _ { 2 }$ -nonexpansive neural networks. In International Conference on Learning Representations (ICLR), 2019. URL https://openreview.net/forum? id $=$ ByxGSsR9FQ. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
173,
|
| 1243 |
+
588,
|
| 1244 |
+
823,
|
| 1245 |
+
631
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 9
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "Yash Sharma and Pin-Yu Chen. Attacking the Madry defense model with $L _ { 1 }$ -based adversarial examples. arXiv e-prints, art. arXiv:1710.10733, Oct 2017. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
171,
|
| 1254 |
+
640,
|
| 1255 |
+
823,
|
| 1256 |
+
670
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 9
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "Richard Shin and Dawn Song. JPEG-resistant adversarial images. In NIPS 2017 Workshop on Machine Learning and Computer Security, 2017. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
169,
|
| 1265 |
+
678,
|
| 1266 |
+
825,
|
| 1267 |
+
708
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 9
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
171,
|
| 1276 |
+
715,
|
| 1277 |
+
823,
|
| 1278 |
+
746
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 9
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Antonio Torralba and Alexei A. Efros. Unbiased look at dataset bias. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2011. ",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
169,
|
| 1287 |
+
753,
|
| 1288 |
+
823,
|
| 1289 |
+
784
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 9
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Florian Tramer and Dan Boneh. Adversarial training and robustness for multiple perturbations. \\` arXiv e-prints, art. arXiv:1904.13000, Apr 2019. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
168,
|
| 1298 |
+
791,
|
| 1299 |
+
823,
|
| 1300 |
+
821
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 9
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Igor Vasiljevic, Ayan Chakrabarti, and Gregory Shakhnarovich. Examining the impact of blur on recognition by convolutional networks. CoRR, abs/1611.05760, 2016. URL http://arxiv. org/abs/1611.05760. ",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
173,
|
| 1309 |
+
829,
|
| 1310 |
+
821,
|
| 1311 |
+
872
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 9
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "Tsui-Wei Weng, Huan Zhang, Pin-Yu Chen, Jinfeng Yi, Dong Su, Yupeng Gao, Cho-Jui Hsieh, and Luca Daniel. Evaluating the robustness of neural networks: An extreme value theory approach. arXiv preprint arXiv:1801.10578, 2018. ",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
176,
|
| 1320 |
+
881,
|
| 1321 |
+
825,
|
| 1322 |
+
924
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 9
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "Chaowei Xiao, Jun-Yan Zhu, Bo Li, Warren He, Mingyan Liu, and Dawn Song. Spatially transformed adversarial examples. arXiv preprint arXiv:1801.02612, 2018. ",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
171,
|
| 1331 |
+
103,
|
| 1332 |
+
823,
|
| 1333 |
+
132
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 10
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "Cihang Xie, Yuxin Wu, Laurens van der Maaten, Alan Yuille, and Kaiming He. Feature denoising for improving adversarial robustness. arXiv preprint arXiv:1812.03411, 2018. ",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
174,
|
| 1342 |
+
140,
|
| 1343 |
+
823,
|
| 1344 |
+
170
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 10
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "text",
|
| 1350 |
+
"text": "Tianyuan Zhang and Zhanxing Zhu. Interpreting adversarially trained convolutional neural networks. In International Conference on Machine Learning (ICML), 2019. ",
|
| 1351 |
+
"bbox": [
|
| 1352 |
+
173,
|
| 1353 |
+
179,
|
| 1354 |
+
821,
|
| 1355 |
+
208
|
| 1356 |
+
],
|
| 1357 |
+
"page_idx": 10
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "text",
|
| 1361 |
+
"text": "A TRAINING HYPERPARAMETERS ",
|
| 1362 |
+
"text_level": 1,
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
178,
|
| 1365 |
+
102,
|
| 1366 |
+
467,
|
| 1367 |
+
117
|
| 1368 |
+
],
|
| 1369 |
+
"page_idx": 11
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"type": "text",
|
| 1373 |
+
"text": "For ImageNet-100, we trained on machines with 8 NVIDIA V100 GPUs using standard data augmentation He et al. (2016). Following best practices for multi-GPU training Goyal et al. (2017), we ran synchronized SGD for 90 epochs with batch size $3 2 \\times 8$ and a learning rate schedule with 5 “warm-up” epochs and a decay at epochs 30, 60, and 80 by a factor of 10. Initial learning rate after warm-up was 0.1, momentum was 0.9, and weight decay was $1 0 ^ { - 4 }$ . For CIFAR-10, we trained on a single NVIDIA V100 GPU for 200 epochs with batch size 32, initial learning rate 0.1, momentum 0.9, and weight decay $1 0 ^ { - 4 }$ . We decayed the learning rate at epochs 100 and 150. ",
|
| 1374 |
+
"bbox": [
|
| 1375 |
+
174,
|
| 1376 |
+
133,
|
| 1377 |
+
825,
|
| 1378 |
+
231
|
| 1379 |
+
],
|
| 1380 |
+
"page_idx": 11
|
| 1381 |
+
},
|
| 1382 |
+
{
|
| 1383 |
+
"type": "text",
|
| 1384 |
+
"text": "B FURTHER ATTACK DETAILS ",
|
| 1385 |
+
"text_level": 1,
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
176,
|
| 1388 |
+
251,
|
| 1389 |
+
439,
|
| 1390 |
+
267
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 11
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "B.1 FURTHER EXAMPLES OF ATTACKS ",
|
| 1397 |
+
"text_level": 1,
|
| 1398 |
+
"bbox": [
|
| 1399 |
+
176,
|
| 1400 |
+
282,
|
| 1401 |
+
450,
|
| 1402 |
+
296
|
| 1403 |
+
],
|
| 1404 |
+
"page_idx": 11
|
| 1405 |
+
},
|
| 1406 |
+
{
|
| 1407 |
+
"type": "text",
|
| 1408 |
+
"text": "We show the images corresponding to the ones in Figure 2, with the exception that they are not scaled. The non-scaled images are shown in Figure 9. ",
|
| 1409 |
+
"bbox": [
|
| 1410 |
+
174,
|
| 1411 |
+
308,
|
| 1412 |
+
823,
|
| 1413 |
+
337
|
| 1414 |
+
],
|
| 1415 |
+
"page_idx": 11
|
| 1416 |
+
},
|
| 1417 |
+
{
|
| 1418 |
+
"type": "text",
|
| 1419 |
+
"text": "B.2 $L _ { 1 }$ ATTACK ",
|
| 1420 |
+
"text_level": 1,
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
176,
|
| 1423 |
+
353,
|
| 1424 |
+
297,
|
| 1425 |
+
368
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 11
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "We chose to use the Frank-Wolfe algorithm for optimizing the $L _ { 1 }$ attack, as Projected Gradient Descent would require projecting onto a truncated $L _ { 1 }$ ball, which is a complicated operation. In contrast, Frank-Wolfe only requires optimizing linear functions $g ^ { \\top } x$ over a truncated $L _ { 1 }$ ball; this can be done by sorting coordinates by the magnitude of $g$ and moving the top $k$ coordinates to the boundary of their range (with $k$ chosen by binary search). This is detailed in Algorithm 1. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
174,
|
| 1434 |
+
380,
|
| 1435 |
+
825,
|
| 1436 |
+
450
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 11
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "C FULL EVALUATION RESULTS ",
|
| 1443 |
+
"text_level": 1,
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
176,
|
| 1446 |
+
470,
|
| 1447 |
+
444,
|
| 1448 |
+
486
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 11
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "text",
|
| 1454 |
+
"text": "C.1 $L _ { 1 }$ -JPEG AND $L _ { 2 }$ -JPEG ATTACKS ",
|
| 1455 |
+
"text_level": 1,
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
176,
|
| 1458 |
+
501,
|
| 1459 |
+
452,
|
| 1460 |
+
516
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 11
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "We will present results with two additional versions of the JPEG attack which impose $L _ { 1 }$ or $L _ { 2 }$ constraints on the attack in JPEG-space instead of the $L _ { \\infty }$ constraint discussed in Section 2. To avoid confusion, in this appendix, we denote the original JPEG attack by $L _ { \\infty }$ -JPEG and these variants by $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG, respectively. Comparing the $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG attacks in Figure 10, ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
174,
|
| 1469 |
+
527,
|
| 1470 |
+
825,
|
| 1471 |
+
584
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 11
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "image",
|
| 1477 |
+
"img_path": "images/4ac5967c0d22dc79a6ede0c106dbea07c0ee35bc92400d42a1b2854bac17752a.jpg",
|
| 1478 |
+
"image_caption": [
|
| 1479 |
+
"Figure 9: Differences of the attacked images and original image for different attacks (label “espresso maker”). The $L _ { 1 }$ , $L _ { 2 }$ , and $L _ { \\infty }$ norms of the difference are shown in parentheses. As shown, our novel attacks display qualitatively different behavior and do not fall under the $L _ { p }$ threat model. These differences are not scaled and are normalized so that no difference corresponds to white. "
|
| 1480 |
+
],
|
| 1481 |
+
"image_footnote": [],
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
173,
|
| 1484 |
+
609,
|
| 1485 |
+
816,
|
| 1486 |
+
864
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 11
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "1: Input: function $f$ , initial input $x \\in [ 0 , 1 ] ^ { d }$ , $L _ { 1 }$ radius $\\rho$ , number of steps $T$ . \n2: Output: approximate maximizer $\\bar { x }$ of $f$ over the truncated $L _ { 1 }$ ball $\\mathring { B _ { 1 } } ( \\rho ; x ) \\cap [ 0 , 1 ] ^ { d }$ centered \nat $x$ . \n3: \n4: $x ^ { ( 0 ) } \\gets \\mathrm { R a n d o m I n i t } ( x )$ . Random initialization \n5: for $t = 1 , \\dots , T$ do \n6: g f (x(t−1)) . Obtain gradient \n7: for $k = 1 , \\ldots , d { \\mathrm { } } $ do \n8: $s _ { k } \\gets$ index of the coordinate of $g$ by with $k ^ { \\mathrm { { t h } } }$ largest norm \n9: end for \n10: $S _ { k } \\gets \\{ s _ { 1 } , \\ldots , s _ { k } \\} .$ \n11: \n12: for $i = 1 , \\ldots , d$ do . Compute move to boundary of $[ 0 , 1 ]$ for each coordinate. \n13: if $g _ { i } > 0$ then \n14: $b _ { i } \\gets 1 - x _ { i }$ \n15: else \n16: $b _ { i } \\gets - x _ { i }$ \n17: end if \n18: end for \n19: $\\begin{array} { r l } & { M _ { k } \\gets \\sum _ { i \\in S _ { k } } | b _ { i } | } \\\\ & { k ^ { * } \\gets \\operatorname* { m a x } \\{ k \\mid M _ { k } \\leq \\rho \\} } \\end{array}$ . Compute $L _ { 1 }$ -perturbation of moving $k$ largest coordinates. \n20: $\\triangleright$ Choose largest $k$ satisfying $L _ { 1 }$ constraint. \n21: for i = 1, . . . , d do $\\triangleright$ Compute $\\hat { x }$ maximizing $g ^ { \\top } x$ over the $L _ { 1 }$ ball. \n22: if $i \\in S _ { k ^ { * } }$ then \n23: xˆi ← xi + bi \n24: else if $i = s _ { k ^ { * } + 1 }$ then \n25: $\\hat { x } _ { i } \\gets x _ { i } + ( \\rho - M _ { k ^ { * } } ) \\operatorname { s i g n } ( g _ { i } )$ \n26: else \n27: $\\hat { x } _ { i } \\gets x _ { i }$ \n28: end if \n29: end for \n30: $\\begin{array} { r } { x ^ { ( t ) } ( 1 - \\frac { 1 } { t } ) x ^ { ( t - 1 ) } + \\frac { 1 } { t } \\hat { x } } \\end{array}$ . Average $\\hat { x }$ with previous iterates \n31: end for \n32: x¯ x(T) ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
173,
|
| 1495 |
+
121,
|
| 1496 |
+
826,
|
| 1497 |
+
588
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 12
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "table",
|
| 1503 |
+
"img_path": "images/ef5b12eaa3c30631bf8091efd9c431d7be2695ab234054c12b139eb9cc51c641.jpg",
|
| 1504 |
+
"table_caption": [
|
| 1505 |
+
"Algorithm 1 Pseudocode for the Frank-Wolfe algorithm for the $L _ { 1 }$ attack. ",
|
| 1506 |
+
"Table 2: ATA values for $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG on ImageNet-100. "
|
| 1507 |
+
],
|
| 1508 |
+
"table_footnote": [],
|
| 1509 |
+
"table_body": "<table><tr><td>Attack</td><td>E1</td><td>E2</td><td>3</td><td>E4</td><td>5</td><td>6</td><td>ATA1</td><td>ATA2</td><td>ATA3</td><td>ATA4</td><td>ATA5</td><td>ATA6</td></tr><tr><td>L2-JPEG</td><td>8</td><td>16</td><td>32</td><td>64</td><td>128</td><td>256</td><td>84.8</td><td>82.5</td><td>78.9</td><td>72.3</td><td>47.5</td><td>3.4</td></tr><tr><td>L1-JPEG</td><td>256</td><td></td><td>10244096</td><td>16384</td><td>65536</td><td>131072</td><td>84.8</td><td>81.8</td><td>76.2</td><td>67.1</td><td>46.4</td><td>41.8</td></tr></table>",
|
| 1510 |
+
"bbox": [
|
| 1511 |
+
223,
|
| 1512 |
+
643,
|
| 1513 |
+
771,
|
| 1514 |
+
685
|
| 1515 |
+
],
|
| 1516 |
+
"page_idx": 12
|
| 1517 |
+
},
|
| 1518 |
+
{
|
| 1519 |
+
"type": "text",
|
| 1520 |
+
"text": "we find that they have extremely similar results, so we omit $L _ { 1 }$ -JPEG in the full analysis for brevity and visibility. Calibration values for these attacks are shown in Table 2. ",
|
| 1521 |
+
"bbox": [
|
| 1522 |
+
174,
|
| 1523 |
+
733,
|
| 1524 |
+
823,
|
| 1525 |
+
762
|
| 1526 |
+
],
|
| 1527 |
+
"page_idx": 12
|
| 1528 |
+
},
|
| 1529 |
+
{
|
| 1530 |
+
"type": "text",
|
| 1531 |
+
"text": "C.2 FULL EVALUATION RESULTS AND ANALYSIS FOR IMAGENET-100 ",
|
| 1532 |
+
"text_level": 1,
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
176,
|
| 1535 |
+
799,
|
| 1536 |
+
666,
|
| 1537 |
+
814
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 12
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "We show the full results of all adversarial attacks against all adversarial defenses for ImageNet-100 in Figure 11. As described, the $L _ { p }$ attacks and defenses give highly correlated information on heldout defenses and attacks respectively. Thus, we recommend evaluating on a wide range of distortion types. Full UAR scores are also provided for ImageNet-100 in Figure 12. ",
|
| 1544 |
+
"bbox": [
|
| 1545 |
+
174,
|
| 1546 |
+
832,
|
| 1547 |
+
825,
|
| 1548 |
+
888
|
| 1549 |
+
],
|
| 1550 |
+
"page_idx": 12
|
| 1551 |
+
},
|
| 1552 |
+
{
|
| 1553 |
+
"type": "text",
|
| 1554 |
+
"text": "We further show selected results in Figure 13. As shown, a wide range of $\\varepsilon$ is required to see the full behavior. ",
|
| 1555 |
+
"bbox": [
|
| 1556 |
+
174,
|
| 1557 |
+
895,
|
| 1558 |
+
821,
|
| 1559 |
+
924
|
| 1560 |
+
],
|
| 1561 |
+
"page_idx": 12
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"type": "image",
|
| 1565 |
+
"img_path": "images/866c62ff7619934861f9400f7e14b3b781a41eb94b70cee2d5971c263865942b.jpg",
|
| 1566 |
+
"image_caption": [
|
| 1567 |
+
"Figure 10: A comparison of $L _ { 1 }$ -JPEG and $L _ { 2 }$ -JPEG attacks. "
|
| 1568 |
+
],
|
| 1569 |
+
"image_footnote": [],
|
| 1570 |
+
"bbox": [
|
| 1571 |
+
171,
|
| 1572 |
+
87,
|
| 1573 |
+
534,
|
| 1574 |
+
838
|
| 1575 |
+
],
|
| 1576 |
+
"page_idx": 13
|
| 1577 |
+
},
|
| 1578 |
+
{
|
| 1579 |
+
"type": "image",
|
| 1580 |
+
"img_path": "images/15ed640f6afd9cfaf42a569f89e9649ba332000d32eca1facb3c4af57d24a7cf.jpg",
|
| 1581 |
+
"image_caption": [],
|
| 1582 |
+
"image_footnote": [],
|
| 1583 |
+
"bbox": [
|
| 1584 |
+
19,
|
| 1585 |
+
190,
|
| 1586 |
+
897,
|
| 1587 |
+
916
|
| 1588 |
+
],
|
| 1589 |
+
"page_idx": 14
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"type": "image",
|
| 1593 |
+
"img_path": "images/f208902da7d75877a22d62981b6b41193b92a5ec6dc3950879f712a5112d524c.jpg",
|
| 1594 |
+
"image_caption": [
|
| 1595 |
+
"Figure 12: UAR scores (multiplied by 100) for adv. trained defenses (rows) against distortion types (columns) for ImageNet-100. "
|
| 1596 |
+
],
|
| 1597 |
+
"image_footnote": [],
|
| 1598 |
+
"bbox": [
|
| 1599 |
+
178,
|
| 1600 |
+
103,
|
| 1601 |
+
818,
|
| 1602 |
+
401
|
| 1603 |
+
],
|
| 1604 |
+
"page_idx": 15
|
| 1605 |
+
},
|
| 1606 |
+
{
|
| 1607 |
+
"type": "image",
|
| 1608 |
+
"img_path": "images/8521503b091168c4a6dbf8cb92a07c7ed673d88fd7aacaa4ce1797d67781bbff.jpg",
|
| 1609 |
+
"image_caption": [
|
| 1610 |
+
"Figure 13: Adversarial accuracies of attacks on adversarially trained models for different distortion sizes on ImageNet-100. For a given attack $\\varepsilon$ , the best $\\varepsilon ^ { \\prime }$ to train against satisfies $\\varepsilon ^ { \\prime } > \\varepsilon$ because the random scaling of $\\varepsilon ^ { \\prime }$ during adversarial training ensures that a typical distortion during adversarial training has size smaller than $\\varepsilon ^ { \\prime }$ . "
|
| 1611 |
+
],
|
| 1612 |
+
"image_footnote": [],
|
| 1613 |
+
"bbox": [
|
| 1614 |
+
171,
|
| 1615 |
+
457,
|
| 1616 |
+
813,
|
| 1617 |
+
648
|
| 1618 |
+
],
|
| 1619 |
+
"page_idx": 15
|
| 1620 |
+
},
|
| 1621 |
+
{
|
| 1622 |
+
"type": "text",
|
| 1623 |
+
"text": "C.3 FULL EVALUATION RESULTS AND ANALYSIS FOR CIFAR-10 ",
|
| 1624 |
+
"text_level": 1,
|
| 1625 |
+
"bbox": [
|
| 1626 |
+
176,
|
| 1627 |
+
744,
|
| 1628 |
+
632,
|
| 1629 |
+
758
|
| 1630 |
+
],
|
| 1631 |
+
"page_idx": 15
|
| 1632 |
+
},
|
| 1633 |
+
{
|
| 1634 |
+
"type": "text",
|
| 1635 |
+
"text": "C.3.1 FULL RESULTS FOR CIFAR10 ",
|
| 1636 |
+
"text_level": 1,
|
| 1637 |
+
"bbox": [
|
| 1638 |
+
176,
|
| 1639 |
+
771,
|
| 1640 |
+
439,
|
| 1641 |
+
785
|
| 1642 |
+
],
|
| 1643 |
+
"page_idx": 15
|
| 1644 |
+
},
|
| 1645 |
+
{
|
| 1646 |
+
"type": "text",
|
| 1647 |
+
"text": "We show the results of adversarial attacks and defenses for CIFAR-10 in Figure 14. We experienced difficulty training the $L _ { 2 }$ and $L _ { 1 }$ attacks at distortion sizes greater than those shown and have omitted those runs, which we believe may be related to the small size of CIFAR-10 images. ",
|
| 1648 |
+
"bbox": [
|
| 1649 |
+
174,
|
| 1650 |
+
796,
|
| 1651 |
+
825,
|
| 1652 |
+
838
|
| 1653 |
+
],
|
| 1654 |
+
"page_idx": 15
|
| 1655 |
+
},
|
| 1656 |
+
{
|
| 1657 |
+
"type": "text",
|
| 1658 |
+
"text": "C.3.2 ATA AND UAR FOR CIFAR-10 ",
|
| 1659 |
+
"text_level": 1,
|
| 1660 |
+
"bbox": [
|
| 1661 |
+
176,
|
| 1662 |
+
856,
|
| 1663 |
+
444,
|
| 1664 |
+
871
|
| 1665 |
+
],
|
| 1666 |
+
"page_idx": 15
|
| 1667 |
+
},
|
| 1668 |
+
{
|
| 1669 |
+
"type": "text",
|
| 1670 |
+
"text": "The $\\varepsilon$ calibration procedure for CIFAR-10 was similar to that used for ImageNet-100. We started with the perceptually small $\\varepsilon _ { \\mathrm { { m i n } } }$ values in Table 3 and increased $\\varepsilon$ geometrically with ratio 2 until adversarial accuracy of an adversarially trained model dropped below 40. Note that this threshold is higher for CIFAR-10 because there are fewer classes. The resulting ATA and UAR values for CIFAR10 are shown in Table 3 and Figure 15. We omitted calibration for the $L _ { 2 }$ -JPEG attack because we chose too small a range of $\\varepsilon$ for our initial training experiments, and we plan to address this issue in the future. ",
|
| 1671 |
+
"bbox": [
|
| 1672 |
+
176,
|
| 1673 |
+
881,
|
| 1674 |
+
825,
|
| 1675 |
+
924
|
| 1676 |
+
],
|
| 1677 |
+
"page_idx": 15
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"type": "table",
|
| 1681 |
+
"img_path": "images/a6b3e5c2d24edc588dc92be0a002bf365b134e50464a7db9479260fe81bc91ec.jpg",
|
| 1682 |
+
"table_caption": [
|
| 1683 |
+
"Table 3: Calibrated distortion sizes and ATA values for ResNet-56 on CIFAR-10 "
|
| 1684 |
+
],
|
| 1685 |
+
"table_footnote": [],
|
| 1686 |
+
"table_body": "<table><tr><td>Attack</td><td>1</td><td>£2</td><td>3</td><td>E4</td><td>ε5</td><td>6</td><td>ATA1</td><td>ATA2</td><td>ATA3</td><td>ATA4</td><td>ATA5</td><td>ATA6</td></tr><tr><td>L8</td><td>1</td><td>2</td><td>4</td><td>8</td><td>16</td><td>32</td><td>91.0</td><td>87.8</td><td>81.6</td><td>71.3</td><td>46.5</td><td>23.1</td></tr><tr><td>L2</td><td>40</td><td>80</td><td>160</td><td>320</td><td>640</td><td>2560</td><td>90.1</td><td>86.4</td><td>79.6</td><td>67.3</td><td>49.9</td><td>17.3</td></tr><tr><td>L1</td><td>195</td><td>390</td><td>780</td><td>1560</td><td></td><td>6240 24960</td><td>92.2</td><td>90.0</td><td>83.2</td><td>73.8</td><td>47.4</td><td>35.3</td></tr><tr><td>L-JPEG 0.03125 0.0625 0.125 0.25</td><td></td><td></td><td></td><td></td><td>0.5</td><td>1</td><td>89.7</td><td>87.0</td><td>83.1</td><td>78.6</td><td>69.7</td><td>35.4</td></tr><tr><td>L1-JPEG</td><td>2</td><td>8</td><td>64</td><td>256</td><td>512</td><td>1024</td><td>91.4</td><td>88.1</td><td>80.2</td><td>68.9</td><td>56.3</td><td>37.7</td></tr><tr><td>Elastic</td><td>0.125</td><td>0.25</td><td>0.5</td><td>1</td><td>2</td><td>8</td><td>87.4</td><td>81.3</td><td>72.1</td><td>58.2</td><td>45.4</td><td>27.8</td></tr></table>",
|
| 1687 |
+
"bbox": [
|
| 1688 |
+
189,
|
| 1689 |
+
132,
|
| 1690 |
+
808,
|
| 1691 |
+
233
|
| 1692 |
+
],
|
| 1693 |
+
"page_idx": 16
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"type": "text",
|
| 1697 |
+
"text": "",
|
| 1698 |
+
"bbox": [
|
| 1699 |
+
174,
|
| 1700 |
+
257,
|
| 1701 |
+
825,
|
| 1702 |
+
314
|
| 1703 |
+
],
|
| 1704 |
+
"page_idx": 16
|
| 1705 |
+
},
|
| 1706 |
+
{
|
| 1707 |
+
"type": "text",
|
| 1708 |
+
"text": "D ROBUSTNESS OF OUR RESULTS ",
|
| 1709 |
+
"text_level": 1,
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
174,
|
| 1712 |
+
338,
|
| 1713 |
+
465,
|
| 1714 |
+
354
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 16
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "text",
|
| 1720 |
+
"text": "D.1 REPLICATION ",
|
| 1721 |
+
"text_level": 1,
|
| 1722 |
+
"bbox": [
|
| 1723 |
+
174,
|
| 1724 |
+
372,
|
| 1725 |
+
313,
|
| 1726 |
+
387
|
| 1727 |
+
],
|
| 1728 |
+
"page_idx": 16
|
| 1729 |
+
},
|
| 1730 |
+
{
|
| 1731 |
+
"type": "text",
|
| 1732 |
+
"text": "We replicated our results for the first three rows of Figure 11 with different random seeds to see the variation in our results. As shown in Figure 16, deviations in results are minor. ",
|
| 1733 |
+
"bbox": [
|
| 1734 |
+
174,
|
| 1735 |
+
400,
|
| 1736 |
+
825,
|
| 1737 |
+
429
|
| 1738 |
+
],
|
| 1739 |
+
"page_idx": 16
|
| 1740 |
+
},
|
| 1741 |
+
{
|
| 1742 |
+
"type": "text",
|
| 1743 |
+
"text": "D.2 CONVERGENCE ",
|
| 1744 |
+
"text_level": 1,
|
| 1745 |
+
"bbox": [
|
| 1746 |
+
174,
|
| 1747 |
+
449,
|
| 1748 |
+
326,
|
| 1749 |
+
464
|
| 1750 |
+
],
|
| 1751 |
+
"page_idx": 16
|
| 1752 |
+
},
|
| 1753 |
+
{
|
| 1754 |
+
"type": "text",
|
| 1755 |
+
"text": "We replicated the results in Figure 11 with 50 instead of 200 steps to see how the results changed based on the number of steps in the attack. As shown in Figure 17, the deviations are minor. ",
|
| 1756 |
+
"bbox": [
|
| 1757 |
+
174,
|
| 1758 |
+
477,
|
| 1759 |
+
823,
|
| 1760 |
+
507
|
| 1761 |
+
],
|
| 1762 |
+
"page_idx": 16
|
| 1763 |
+
},
|
| 1764 |
+
{
|
| 1765 |
+
"type": "text",
|
| 1766 |
+
"text": "E FURTHER RESULTS FOR JOINT TRAINING ",
|
| 1767 |
+
"text_level": 1,
|
| 1768 |
+
"bbox": [
|
| 1769 |
+
174,
|
| 1770 |
+
530,
|
| 1771 |
+
552,
|
| 1772 |
+
547
|
| 1773 |
+
],
|
| 1774 |
+
"page_idx": 16
|
| 1775 |
+
},
|
| 1776 |
+
{
|
| 1777 |
+
"type": "text",
|
| 1778 |
+
"text": "E.1 FULL EXPERIMENTAL RESULTS ",
|
| 1779 |
+
"text_level": 1,
|
| 1780 |
+
"bbox": [
|
| 1781 |
+
176,
|
| 1782 |
+
565,
|
| 1783 |
+
431,
|
| 1784 |
+
579
|
| 1785 |
+
],
|
| 1786 |
+
"page_idx": 16
|
| 1787 |
+
},
|
| 1788 |
+
{
|
| 1789 |
+
"type": "text",
|
| 1790 |
+
"text": "We show the evaluation accuracies of jointly trained models in Figure 18. ",
|
| 1791 |
+
"bbox": [
|
| 1792 |
+
173,
|
| 1793 |
+
592,
|
| 1794 |
+
663,
|
| 1795 |
+
608
|
| 1796 |
+
],
|
| 1797 |
+
"page_idx": 16
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"type": "text",
|
| 1801 |
+
"text": "We show all the attacks against the jointly adversarially trained defenses in Figure 19. ",
|
| 1802 |
+
"bbox": [
|
| 1803 |
+
176,
|
| 1804 |
+
613,
|
| 1805 |
+
735,
|
| 1806 |
+
628
|
| 1807 |
+
],
|
| 1808 |
+
"page_idx": 16
|
| 1809 |
+
},
|
| 1810 |
+
{
|
| 1811 |
+
"type": "text",
|
| 1812 |
+
"text": "E.2 DEPENDENCE ON RANDOM SEED ",
|
| 1813 |
+
"text_level": 1,
|
| 1814 |
+
"bbox": [
|
| 1815 |
+
176,
|
| 1816 |
+
650,
|
| 1817 |
+
442,
|
| 1818 |
+
665
|
| 1819 |
+
],
|
| 1820 |
+
"page_idx": 16
|
| 1821 |
+
},
|
| 1822 |
+
{
|
| 1823 |
+
"type": "text",
|
| 1824 |
+
"text": "In Table 4, we study the dependence of joint adversarial training to random seed. We find that at large distortion sizes, joint training for certain pairs of distortions does not produce consistent results over different random initializations. ",
|
| 1825 |
+
"bbox": [
|
| 1826 |
+
174,
|
| 1827 |
+
678,
|
| 1828 |
+
823,
|
| 1829 |
+
719
|
| 1830 |
+
],
|
| 1831 |
+
"page_idx": 16
|
| 1832 |
+
},
|
| 1833 |
+
{
|
| 1834 |
+
"type": "table",
|
| 1835 |
+
"img_path": "images/2b8c0a56d91cb20cb8467da9b573abfc820910c9a1a5b527f39a5a3692900e60.jpg",
|
| 1836 |
+
"table_caption": [
|
| 1837 |
+
"Table 4: Train and val accuracies for joint adversarial training at large distortion are dependent on seed. For train and val, $\\varepsilon ^ { \\prime }$ is chosen uniformly at random between 0 and $\\varepsilon$ , and we used 10 steps for $L _ { \\infty }$ and $L _ { 1 }$ and 30 steps for elastic. Single adversarial training baselines are also shown. "
|
| 1838 |
+
],
|
| 1839 |
+
"table_footnote": [],
|
| 1840 |
+
"table_body": "<table><tr><td>Training parameters (ResNet-50)</td><td>Loo train</td><td>other train</td><td>Loval</td><td>other val</td></tr><tr><td>Lε=8,Elasticε=4,Seed1</td><td>90</td><td>89</td><td>35</td><td>74</td></tr><tr><td>Lε=8,Elastic ε=4,Seed 2</td><td>89</td><td>90</td><td>47</td><td>44</td></tr><tr><td>Lε=8,Elastic ε=4,Seed 3</td><td>90</td><td>89</td><td>29</td><td>63</td></tr><tr><td>Loε=16,L1ε=612000,Seed1</td><td>86</td><td>87</td><td>22</td><td>16</td></tr><tr><td>Loε=16,L1ε=612000,Seed 2</td><td>88</td><td>87</td><td>16</td><td>24</td></tr><tr><td>Lε=8</td><td>81</td><td>1</td><td>74</td><td>1</td></tr><tr><td>L∞ε=16</td><td>68</td><td>1</td><td>63</td><td>1</td></tr><tr><td>Elastic ε=4</td><td>1</td><td>88</td><td>1</td><td>76</td></tr><tr><td>L1ε= 612000</td><td>1</td><td>75</td><td>1</td><td>59</td></tr></table>",
|
| 1841 |
+
"bbox": [
|
| 1842 |
+
235,
|
| 1843 |
+
785,
|
| 1844 |
+
761,
|
| 1845 |
+
916
|
| 1846 |
+
],
|
| 1847 |
+
"page_idx": 16
|
| 1848 |
+
},
|
| 1849 |
+
{
|
| 1850 |
+
"type": "table",
|
| 1851 |
+
"img_path": "images/6eb25600f7c7e6f32d9f52e2df8fd6d51c5950bf5387e2d1e6f122778652dd53.jpg",
|
| 1852 |
+
"table_caption": [
|
| 1853 |
+
"Table 5: Training and validation numbers for ResNet-101 and ResNet-50 for joint training against $L _ { \\infty }$ , $\\varepsilon = 8$ and elastic, $\\varepsilon = 4$ . "
|
| 1854 |
+
],
|
| 1855 |
+
"table_footnote": [],
|
| 1856 |
+
"table_body": "<table><tr><td>Trainingparameters</td><td>L train</td><td>other train</td><td>Looval</td><td>other val</td></tr><tr><td>Lε= 8,Elastic ε = 4,ResNet-50 Seed 1</td><td>90</td><td>89</td><td>35</td><td>74</td></tr><tr><td>Lε= 8,Elastic ε = 4,ResNet-50 Seed 2</td><td>89</td><td>90</td><td>47</td><td>44</td></tr><tr><td>Lε= 8,Elastic ε= 4 ResNet-101</td><td>90</td><td>91</td><td>49</td><td>46</td></tr></table>",
|
| 1857 |
+
"bbox": [
|
| 1858 |
+
189,
|
| 1859 |
+
147,
|
| 1860 |
+
808,
|
| 1861 |
+
207
|
| 1862 |
+
],
|
| 1863 |
+
"page_idx": 17
|
| 1864 |
+
},
|
| 1865 |
+
{
|
| 1866 |
+
"type": "text",
|
| 1867 |
+
"text": "E.3 OVERFITTING AND MODEL CAPACITY ",
|
| 1868 |
+
"text_level": 1,
|
| 1869 |
+
"bbox": [
|
| 1870 |
+
176,
|
| 1871 |
+
229,
|
| 1872 |
+
473,
|
| 1873 |
+
244
|
| 1874 |
+
],
|
| 1875 |
+
"page_idx": 17
|
| 1876 |
+
},
|
| 1877 |
+
{
|
| 1878 |
+
"type": "text",
|
| 1879 |
+
"text": "As a first test to understand the relationship between model capacity and overfitting, we trained ResNet-101 models using the same procedure as in Section 5. Briefly, overfitting still occurs, but ResNet-101 achieves a few percentage points higher than ResNet-50. ",
|
| 1880 |
+
"bbox": [
|
| 1881 |
+
176,
|
| 1882 |
+
256,
|
| 1883 |
+
825,
|
| 1884 |
+
297
|
| 1885 |
+
],
|
| 1886 |
+
"page_idx": 17
|
| 1887 |
+
},
|
| 1888 |
+
{
|
| 1889 |
+
"type": "text",
|
| 1890 |
+
"text": "We show the training curves in Figure 20 and the training and validation numbers in Table 5. ",
|
| 1891 |
+
"bbox": [
|
| 1892 |
+
174,
|
| 1893 |
+
304,
|
| 1894 |
+
779,
|
| 1895 |
+
319
|
| 1896 |
+
],
|
| 1897 |
+
"page_idx": 17
|
| 1898 |
+
},
|
| 1899 |
+
{
|
| 1900 |
+
"type": "text",
|
| 1901 |
+
"text": "F COMPARING ADVERSARIAL DISTORTIONS AND COMMON CORRUPTIONS ",
|
| 1902 |
+
"text_level": 1,
|
| 1903 |
+
"bbox": [
|
| 1904 |
+
173,
|
| 1905 |
+
340,
|
| 1906 |
+
799,
|
| 1907 |
+
356
|
| 1908 |
+
],
|
| 1909 |
+
"page_idx": 17
|
| 1910 |
+
},
|
| 1911 |
+
{
|
| 1912 |
+
"type": "text",
|
| 1913 |
+
"text": "“Common” visual corruptions such as (non-adversarial) fog, blur, or pixelation have emerged as another avenue for measuring the robustness of computer vision models (Vasiljevic et al., 2016; Hendrycks & Dietterich, 2019; Geirhos et al., 2018). Recent work suggests that robustness to such common corruptions is linked to adversarial robustness and proposes corruption robustness as an easily computed indicator of adversarial robustness (Ford et al., 2019). We consider this alternative to our methodology by testing corruption robustness of our models on the ImageNet-C benchmark. ",
|
| 1914 |
+
"bbox": [
|
| 1915 |
+
174,
|
| 1916 |
+
371,
|
| 1917 |
+
825,
|
| 1918 |
+
454
|
| 1919 |
+
],
|
| 1920 |
+
"page_idx": 17
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"type": "text",
|
| 1924 |
+
"text": "Experimental setup. We evaluate on the 100-class subset of the corruption robustness benchmark ImageNet-C introduced in (Hendrycks & Dietterich, 2019) with the same classes as ImageNet-100, which we call ImageNet-C-100. It is the ImageNet-100 validation set with 19 common corruptions at 5 severities. We use the JPEG files available at https://github.com/hendrycks/ robustness. We show average accuracies by distortion type in Figure 21. ",
|
| 1925 |
+
"bbox": [
|
| 1926 |
+
174,
|
| 1927 |
+
464,
|
| 1928 |
+
825,
|
| 1929 |
+
535
|
| 1930 |
+
],
|
| 1931 |
+
"page_idx": 17
|
| 1932 |
+
},
|
| 1933 |
+
{
|
| 1934 |
+
"type": "text",
|
| 1935 |
+
"text": "Adversarial training against small distortions increases corruption robustness. The first column of each block in Figure 21 shows that training against small adversarial distortions generally increases average accuracy compared to an undefended model. However, training against larger distortions often decreases average accuracy, largely due to the resulting decrease in clean accuracy. ",
|
| 1936 |
+
"bbox": [
|
| 1937 |
+
174,
|
| 1938 |
+
545,
|
| 1939 |
+
823,
|
| 1940 |
+
601
|
| 1941 |
+
],
|
| 1942 |
+
"page_idx": 17
|
| 1943 |
+
},
|
| 1944 |
+
{
|
| 1945 |
+
"type": "text",
|
| 1946 |
+
"text": "Adversarial distortions and common corruptions can affect defenses differently. Our $L _ { p }$ -JPEG and elastic attacks are adversarial versions of the corresponding common corruptions. While training against adversarial JPEG at larger $\\varepsilon$ improves robustness against adversarial JPEG attacks (Figure 12 in Appendix C.2), Figure 21 shows that robustness against common JPEG corruptions decreases as we adversarially train against JPEG at larger $\\varepsilon$ , though it remains better than for normally trained models. Similarly, adversarial Elastic training at large $\\varepsilon$ begins to hurt robustness to its common counterpart. This is likely because common corruptions are easier than adversarial distortions, hence the increased robustness does not make up for the decreased clean accuracy. ",
|
| 1947 |
+
"bbox": [
|
| 1948 |
+
174,
|
| 1949 |
+
611,
|
| 1950 |
+
825,
|
| 1951 |
+
722
|
| 1952 |
+
],
|
| 1953 |
+
"page_idx": 17
|
| 1954 |
+
},
|
| 1955 |
+
{
|
| 1956 |
+
"type": "text",
|
| 1957 |
+
"text": "G ATTACKS AGAINST UNDEFENDED MODELS ",
|
| 1958 |
+
"text_level": 1,
|
| 1959 |
+
"bbox": [
|
| 1960 |
+
174,
|
| 1961 |
+
743,
|
| 1962 |
+
562,
|
| 1963 |
+
758
|
| 1964 |
+
],
|
| 1965 |
+
"page_idx": 17
|
| 1966 |
+
},
|
| 1967 |
+
{
|
| 1968 |
+
"type": "text",
|
| 1969 |
+
"text": "We show sample images of our attacks against undefended models trained in the normal way in Figure 22. ",
|
| 1970 |
+
"bbox": [
|
| 1971 |
+
176,
|
| 1972 |
+
773,
|
| 1973 |
+
825,
|
| 1974 |
+
803
|
| 1975 |
+
],
|
| 1976 |
+
"page_idx": 17
|
| 1977 |
+
},
|
| 1978 |
+
{
|
| 1979 |
+
"type": "image",
|
| 1980 |
+
"img_path": "images/b5b8f6b51871c6a0f11fb44cfefdc1dea2a5dd2db4a4d0c28fe23116677a6a26.jpg",
|
| 1981 |
+
"image_caption": [],
|
| 1982 |
+
"image_footnote": [],
|
| 1983 |
+
"bbox": [
|
| 1984 |
+
26,
|
| 1985 |
+
195,
|
| 1986 |
+
867,
|
| 1987 |
+
924
|
| 1988 |
+
],
|
| 1989 |
+
"page_idx": 18
|
| 1990 |
+
},
|
| 1991 |
+
{
|
| 1992 |
+
"type": "image",
|
| 1993 |
+
"img_path": "images/0c4e73dc2723aa7c3ff293a9a09c0b880a5c6c3f7550840ab4050ca4c424aaac.jpg",
|
| 1994 |
+
"image_caption": [
|
| 1995 |
+
"Figure 15: UAR scores on CIFAR-10. Displayed UAR scores are multiplied by 100 for clarity. "
|
| 1996 |
+
],
|
| 1997 |
+
"image_footnote": [],
|
| 1998 |
+
"bbox": [
|
| 1999 |
+
183,
|
| 2000 |
+
143,
|
| 2001 |
+
813,
|
| 2002 |
+
375
|
| 2003 |
+
],
|
| 2004 |
+
"page_idx": 19
|
| 2005 |
+
},
|
| 2006 |
+
{
|
| 2007 |
+
"type": "image",
|
| 2008 |
+
"img_path": "images/65f7ff576df4174255ea289276b086b77df68cad821a354c04d96e086f25d260.jpg",
|
| 2009 |
+
"image_caption": [
|
| 2010 |
+
"Figure 16: Replica of the first three block rows of Figure 11 with different random seeds. Deviations in results are minor. "
|
| 2011 |
+
],
|
| 2012 |
+
"image_footnote": [],
|
| 2013 |
+
"bbox": [
|
| 2014 |
+
176,
|
| 2015 |
+
574,
|
| 2016 |
+
787,
|
| 2017 |
+
840
|
| 2018 |
+
],
|
| 2019 |
+
"page_idx": 19
|
| 2020 |
+
},
|
| 2021 |
+
{
|
| 2022 |
+
"type": "image",
|
| 2023 |
+
"img_path": "images/6d1496d4291d97b42becddbf4d3547aa618349688b1e535c348aeaebda6c32e3.jpg",
|
| 2024 |
+
"image_caption": [],
|
| 2025 |
+
"image_footnote": [],
|
| 2026 |
+
"bbox": [
|
| 2027 |
+
19,
|
| 2028 |
+
190,
|
| 2029 |
+
906,
|
| 2030 |
+
917
|
| 2031 |
+
],
|
| 2032 |
+
"page_idx": 20
|
| 2033 |
+
},
|
| 2034 |
+
{
|
| 2035 |
+
"type": "image",
|
| 2036 |
+
"img_path": "images/ded149cae3872a9d542dd33f0b1c5c0b791035dd74d30e540c63c3cea29598ee.jpg",
|
| 2037 |
+
"image_caption": [
|
| 2038 |
+
"Figure 18: Evaluation accuracies of jointly trained models. Attack and training $\\varepsilon$ values are equal. "
|
| 2039 |
+
],
|
| 2040 |
+
"image_footnote": [],
|
| 2041 |
+
"bbox": [
|
| 2042 |
+
176,
|
| 2043 |
+
130,
|
| 2044 |
+
812,
|
| 2045 |
+
382
|
| 2046 |
+
],
|
| 2047 |
+
"page_idx": 21
|
| 2048 |
+
},
|
| 2049 |
+
{
|
| 2050 |
+
"type": "image",
|
| 2051 |
+
"img_path": "images/40e99c031d044efe49fd15d28bbe5c484490bfc2d61019c7bed9bf530aa7f0cc.jpg",
|
| 2052 |
+
"image_caption": [
|
| 2053 |
+
"Figure 19: All attacks (columns) vs. jointly adversarially trained defense (rows). "
|
| 2054 |
+
],
|
| 2055 |
+
"image_footnote": [],
|
| 2056 |
+
"bbox": [
|
| 2057 |
+
176,
|
| 2058 |
+
477,
|
| 2059 |
+
815,
|
| 2060 |
+
643
|
| 2061 |
+
],
|
| 2062 |
+
"page_idx": 21
|
| 2063 |
+
},
|
| 2064 |
+
{
|
| 2065 |
+
"type": "image",
|
| 2066 |
+
"img_path": "images/a7e7161e19fc6c98cc3b875c7e4cf96613fdeb7b1a7e9ce0a6a179944c8a7ed9.jpg",
|
| 2067 |
+
"image_caption": [
|
| 2068 |
+
"Figure 20: Train and validation curves for joint training against $L _ { \\infty }$ , $\\varepsilon = 4$ and elastic, $\\varepsilon = 8$ using ResNet-101. As shown, the validation accuracies decrease as training progresses, indicating overfitting. "
|
| 2069 |
+
],
|
| 2070 |
+
"image_footnote": [],
|
| 2071 |
+
"bbox": [
|
| 2072 |
+
269,
|
| 2073 |
+
739,
|
| 2074 |
+
728,
|
| 2075 |
+
838
|
| 2076 |
+
],
|
| 2077 |
+
"page_idx": 21
|
| 2078 |
+
},
|
| 2079 |
+
{
|
| 2080 |
+
"type": "image",
|
| 2081 |
+
"img_path": "images/aed8ae41d6c19ccf263818714ff2666fa1ad3c9fff93218a083dd2377626c5ac.jpg",
|
| 2082 |
+
"image_caption": [
|
| 2083 |
+
"Figure 21: Accuracies of defenses (rows) on ImageNet-C-100 corruptions (columns). "
|
| 2084 |
+
],
|
| 2085 |
+
"image_footnote": [],
|
| 2086 |
+
"bbox": [
|
| 2087 |
+
171,
|
| 2088 |
+
162,
|
| 2089 |
+
823,
|
| 2090 |
+
401
|
| 2091 |
+
],
|
| 2092 |
+
"page_idx": 22
|
| 2093 |
+
},
|
| 2094 |
+
{
|
| 2095 |
+
"type": "image",
|
| 2096 |
+
"img_path": "images/ba71eedb6d42fa3e008d3220da4fc4756004f0e059682f5d6fef415a5e30e90e.jpg",
|
| 2097 |
+
"image_caption": [
|
| 2098 |
+
"Figure 22: Adversarial attacks at low distortion sizes $\\varepsilon$ against an undefended model. The pair of (ε, accuracy) is shown after the attack name. Visual differences between the original and attacked images are imperceptible for $L _ { \\infty }$ , $L _ { 2 }$ , and JPEG, minor for $L _ { 1 }$ , Elastic, and Gabor, and weatherrelated for Fog and Snow. "
|
| 2099 |
+
],
|
| 2100 |
+
"image_footnote": [],
|
| 2101 |
+
"bbox": [
|
| 2102 |
+
178,
|
| 2103 |
+
574,
|
| 2104 |
+
834,
|
| 2105 |
+
799
|
| 2106 |
+
],
|
| 2107 |
+
"page_idx": 22
|
| 2108 |
+
}
|
| 2109 |
+
]
|
parse/train/Hyl5V0EYvB/Hyl5V0EYvB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1g2V3Cct7/S1g2V3Cct7.md
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# EXPERIENCE REPLAY FOR CONTINUAL LEARNING
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Continual learning is the problem of learning new tasks or knowledge while protecting old knowledge and ideally generalizing from old experience to learn new tasks faster. Neural networks trained by stochastic gradient descent often degrade on old tasks when trained successively on new tasks with different data distributions. This phenomenon, referred to as catastrophic forgetting, is considered a major hurdle to learning with non-stationary data or sequences of new tasks, and prevents networks from continually accumulating knowledge and skills. We examine this issue in the context of reinforcement learning, in a setting where an agent is exposed to tasks in a sequence. Unlike most other work, we do not provide an explicit indication to the model of task boundaries, which is the most general circumstance for a learning agent exposed to continuous experience. While various methods to counteract catastrophic forgetting have recently been proposed, we explore a straightforward, general, and seemingly overlooked solution – that of using experience replay buffers for all past events – with a mixture of on- and off-policy learning, leveraging behavioral cloning. We show that this strategy can still learn new tasks quickly yet can substantially reduce catastrophic forgetting in both Atari and DMLab domains, even matching the performance of methods that require task identities. When buffer storage is constrained, we confirm that a simple mechanism for randomly discarding data allows a limited size buffer to perform almost as well as an unbounded one.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Modern day reinforcement learning (RL) has benefited substantially from a massive influx of computational resources. In some instances, the number of data points to feed into RL algorithms has kept in step with computational feasibility. For example, in simulation environments or in self-play RL, it is possible to generate fresh data on the fly. In such settings, the continual learning problem (Ring, 1997) is often ignored because new experiences can be collected on demand, and the start states of the simulation can be controlled. When training on multiple tasks, it is possible to train on all environments simultaneously within the same data batch.
|
| 12 |
+
|
| 13 |
+
As RL is increasingly applied to problems in industry or other real-world settings, however, it is necessary to consider cases, such as robotics, where gathering new experience is expensive or difficult. In such examples, simultaneous training may be infeasible. Instead, an agent must be able to learn from only one task at a time. The time spent on different tasks and the sequence in which those tasks occur are not under the control of the agent. The boundaries between tasks, in fact, will often be unknown – or tasks will deform continuously and not have definite boundaries at all. Such a paradigm for training eliminates the possibility of simultaneously acting upon and learning from several tasks, and leads to the danger of catastrophic forgetting, wherein an agent forgets what it has learned previously when it encounters a new situation.
|
| 14 |
+
|
| 15 |
+
Here, we consider the setting of reinforcement learning where compute and memory resources are large, but the environment is not stationary: this may arise because an RL agent is encountering a task curriculum or sequence of unrelated tasks, engaged in a budgeted physical interaction within a robot, or learning from unstructured interaction with humans. In this setting, the problem of continual learning rears its head: the distribution over experiences is not controlled to facilitate the agent’s maintenance of previously acquired ability.
|
| 16 |
+
|
| 17 |
+
An ideal continual learning system should meet three requirements. First, it should retain previously learned capacities. When a previously encountered task or situation is encountered, performance should immediately be good – ideally as good as it was historically. Second, maintenance of old skills or knowledge should not inhibit further rapid acquisition of a new skill or knowledge. These two simultaneous constraints – maintaining the old while still adapting to the new – represent the challenge known as the stability-plasticity dilemma Grossberg (1982). Third, where possible, a continual learning system should learn new skills that are related to old ones faster than it would have de novo, a property known as constructive interference or positive transfer.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Separate, simultaneous, and sequential training: the $x$ -axis denotes environment steps summed across all tasks and the $y$ -axis episode score. In “Sequential”, thick line segments are used to denote the task currently being trained, while thin segments are plotted by evaluating performance without learning. In simultaneous training, performance on explore object locations small is higher than in separate training, an example of modest constructive interference. In sequential training, tasks that are not currently being learned exhibit very dramatic catastrophic forgetting. (See Appendix C for a different plot of these data.)
|
| 21 |
+
|
| 22 |
+
We here demonstrate the surprising power of a simple approach: Continual Learning with Experience And Replay (CLEAR). We show that training a network on a mixture of novel experience on-policy and replay experience off-policy allows for both maintenance of performance on earlier tasks and fast adaptation to new tasks. A significant further boost in performance and reduction in catastrophic forgetting is obtained by enforcing behavioral cloning between the current policy and its past self. While memory is rarely severely limited in modern RL, we show that small replay buffers filled with uniform samples from past experiences can be almost as effective as buffers of unbounded size. When comparing CLEAR against state-of-the-art approaches for reducing catastrophic forgetting, we obtain better or comparable results, despite the relative simplicity of our approach; yet, crucially, CLEAR requires no information about the identity of tasks or boundaries between them.
|
| 23 |
+
|
| 24 |
+
# 2 RELATED WORK
|
| 25 |
+
|
| 26 |
+
The problem of catastrophic forgetting in neural networks has long been recognized (Grossberg, 1982), and it is known that rehearsing past data can be a satisfactory antidote for some purposes (McClelland, 1998; French, 1999). Consequently, in the supervised setting that is the most common paradigm in machine learning, catastrophic forgetting has been accorded less attention than in cognitive science or neuroscience, since a fixed dataset can be reordered and replayed as necessary to ensure high performance on all samples.
|
| 27 |
+
|
| 28 |
+
In recent years, however, there has been renewed interest in overcoming catastrophic forgetting in RL contexts and in supervised learning from streaming data (Parisi et al., 2018). Current strategies for mitigating catastrophic forgetting have primarily focused on schemes for protecting the parameters inferred in one task while training on another. For example, in Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017), weights important for past tasks are constrained to change more slowly while learning new tasks. The Progressive Networks approach (Rusu et al., 2016) freezes subnetworks trained on individual tasks, and Progress & Compress (Schwarz et al., 2018) uses EWC to consolidate the network after each task has been learned. Kaplanis et al. (2018) treat individual synaptic weights as dynamical systems with latent dimensions / states that protect information. Outside of RL, Zenke et al. (2017) develop a method similar to EWC that maintains estimates of the importance of weights for past tasks, Li & Hoiem (2017) leverage a mixture of task-specific and shared parameters, and Milan et al. (2016) develop a rigorous Bayesian approach for estimating unknown task boundaries. Notably all these methods assume that task identities or boundaries are known, with the exception of Milan et al. (2016), for which the approach is likely not scalable to highly complex tasks.
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
Figure 2: Demonstration of CLEAR on three DMLab tasks, which are trained cyclically in sequence. CLEAR reduces catastrophic forgetting so significantly that sequential tasks train almost as well as simultaneous tasks (see Figure 1). When the behavioral cloning loss terms are ablated, there is still reduced forgetting from off-policy replay alone. As above, thicker line segments are used to denote the task that is currently being trained. (See Appendix C for a different plot of these data.)
|
| 32 |
+
|
| 33 |
+
Rehearsing old data via experience replay buffers is a common technique in RL. However, their introduction has primarily been driven by the goal of data-efficient learning on single tasks (Lin, 1992; Mnih et al., 2015; Gu et al., 2017). Research in this vein has included prioritized replay for maximizing the impact of rare experiences (Schaul et al., 2016), learning from human demonstration data seeded into a buffer (Hester et al., 2017), and methods for approximating replay buffers with generative models (Shin et al., 2017). A noteworthy use of experience replay buffers to protect against catastrophic forgetting was demonstrated in Isele & Cosgun (2018) on toy tasks, with a focus on how buffers can be made smaller. Previous works (Gu et al., 2017; O’Donoghue et al., 2016; Wang et al., 2016) have explored mixing on- and off-policy updates in RL, though these were focused on speed and stability in individual tasks and did not examine continual learning. Here, in CLEAR, we demonstrate that a mixture of replay data and fresh experience protects against catastrophic forgetting while also permitting fast learning, and performs better than either pure onpolicy learning or pure off-policy learning from replay. We provide a thorough investigation and robust algorithm in CLEAR, conducting a wide variety of tests on both limited-size and unbounded buffers with complex RL tasks using state-of-the-art methods, and improve the stability of simple replay with the addition of behavioral cloning.
|
| 34 |
+
|
| 35 |
+
# 3 THE CLEAR METHOD
|
| 36 |
+
|
| 37 |
+
CLEAR uses actor-critic training on a mixture of new and replayed experiences. In the case of replay experiences, two additional loss terms are added to induce behavioral cloning between the network and its past self. The motivation for behavioral cloning is to prevent network output on replayed tasks from drifting while learning new tasks. We penalize (1) the KL divergence between the historical policy distribution and the present policy distribution, (2) the L2 norm of the difference between the historical and present value functions. Formally, this corresponds to adding the following loss functions, defined with respect to network parameters $\theta$ :
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
L _ { \mathrm { p o l i c y - c l o n i n g } } : = \sum _ { a } \mu ( a | h _ { s } ) \log { \frac { \mu ( a | h _ { s } ) } { \pi _ { \theta } ( a | h _ { s } ) } } ,
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
$$
|
| 44 |
+
L _ { \mathrm { v a l u e - c l o n i n g } } : = | | V _ { \theta } ( h _ { s } ) - V _ { \mathrm { r e p l a y } } ( h _ { s } ) | | _ { 2 } ^ { 2 } ,
|
| 45 |
+
$$
|
| 46 |
+
|
| 47 |
+
where $\pi _ { \theta }$ denotes the (current) policy of the network over actions $a , \mu$ the policy generating the observed experience, and $h _ { s }$ the hidden state of the network at time $s$ . Note that computing $\bar { \mathrm { K L } } [ \mu | | \pi _ { \theta } ]$ instead of $\operatorname { K L } [ \pi _ { \boldsymbol { \theta } } | | \mu ]$ ensures that $\pi _ { \boldsymbol { \theta } } ( a | h _ { s } )$ is nonzero wherever the historical policy is as well.
|
| 48 |
+
|
| 49 |
+
We apply CLEAR in a distributed training context based on the Importance Weighted Actor-Learner Architecture (Espeholt et al., 2018). A single learning network is fed experiences (both novel and
|
| 50 |
+
|
| 51 |
+

|
| 52 |
+
Figure 3: Comparison between different proportions of new and replay examples while cycling training among three tasks. We observe that with a 75-25 new-replay split, CLEAR eliminates most, but not all, catastrophic forgetting. At the opposite extreme, $100 \%$ replay prevents forgetting at the expense of reduced overall performance (with an especially noticeable reduction in early performance on the task rooms keys doors puzzle). A 50-50 split represents a good tradeoff between these extremes. (See Appendix C for a different plot of these data.)
|
| 53 |
+
|
| 54 |
+
replay) by a number of acting networks, for which the weights are asynchronously updated to match those of the learner. The network architecture and hyperparameters are chosen as in Espeholt et al. (2018). Training proceeds according to V-Trace. Namely, define the V-Trace target $v _ { s }$ by:
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
v _ { s } : = V ( h _ { s } ) + \sum _ { t = s } ^ { s + n - 1 } \gamma ^ { t - s } \left( \prod _ { i = s } ^ { t - 1 } c _ { i } \right) \delta _ { t } V ,
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where $\delta _ { t } V : = \rho _ { t } \left( r _ { t } + \gamma V ( h _ { t + 1 } ) - V ( h _ { t } ) \right)$ , $\begin{array} { r } { c _ { i } : = \operatorname* { m i n } ( \bar { c } , \frac { \pi _ { \theta } ( a _ { i } | h _ { i } ) } { \mu ( a _ { i } | h _ { i } ) } ) } \end{array}$ , and $\begin{array} { r } { \rho _ { t } = \operatorname* { m i n } ( \bar { \rho } , \frac { \pi _ { \theta } ( a _ { t } | h _ { t } ) } { \mu ( a _ { t } | h _ { t } ) } ) } \end{array}$ , for constants $\bar { c }$ and $\bar { \rho }$ .
|
| 61 |
+
|
| 62 |
+
Then, the value function update is given by the L2 loss:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
L _ { \mathrm { v a l u e } } : = \left( V _ { \theta } ( h _ { s } ) - v _ { s } \right) ^ { 2 } .
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
The policy gradient loss is:
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\begin{array} { r } { L _ { \mathrm { p o l i c y - g r a d i e n t } } : = - \rho _ { s } \log \pi _ { \theta } ( a _ { s } | h _ { s } ) \left( r _ { s } + \gamma v _ { s + 1 } - V _ { \theta } ( h _ { s } ) \right) . } \end{array}
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
We also use an entropy loss:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
L _ { \mathrm { e n t r o p y } } : = \sum _ { a } \pi _ { \theta } ( a | h _ { s } ) \log \pi _ { \theta } ( a | h _ { s } ) .
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
The loss functions $L _ { \mathrm { v a l u e } }$ , $L _ { \mathrm { p o l i c y - g r a d i e n t } }$ , and $L _ { \mathrm { e n t r o p y } }$ are applied both for new and replay experiences. In addition, we add $L _ { \mathrm { p o l i c y - c l o n i n g } }$ and $L _ { \mathrm { v a l u e - c l o n i n g } }$ for replay experiences only. In general, our experiments use a 50-50 mixture of novel and replay experiences, though performance does not appear to be very sensitive to this ratio. Further implementation details are given in Appendix A.
|
| 81 |
+
|
| 82 |
+
# 4 RESULTS
|
| 83 |
+
|
| 84 |
+
# 4.1 CATASTROPHIC FORGETTING VS. INTERFERENCE
|
| 85 |
+
|
| 86 |
+
Our first experiment (Figure 1) was designed to distinguish between two distinct concepts that are sometimes conflated, interference and catastrophic forgetting, and to emphasize the outsized role of the latter as compared to the former. Interference occurs when two or more tasks are incompatible (destructive interference) or mutually helpful (constructive interference) within the same model. Catastrophic forgetting occurs when a task’s performance goes down not as a result of incompatibility with another task but as a result of the second task overwriting it within the model. As we aim to illustrate, the two are independent phenomena, and while interference may happen, forgetting is ubiquitous.
|
| 87 |
+
|
| 88 |
+
We considered a set of three distinct tasks within the DMLab set of environments (Beattie et al., 2016), and compared three training paradigms on which a network may be trained to perform these three tasks: (1) Training networks on the individual tasks separately, (2) training a single network examples from all tasks simultaneously (which permits interference among tasks), and (3) training a single network sequentially on examples from one task, then the next task, and so on cyclically. Across all training protocols, the total amount of experience for each task was held constant. Thus, for separate networks training on separate tasks, the $x$ -axis in our plots shows the total number of environment frames summed across all tasks. For example, at three million frames, one million were on task 1, one million on task 2, and one million on task 3. This allows a direct comparison to simultaneous training, in which the same network was trained on all three tasks.
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
Figure 4: Comparison of the performance of training with different buffer sizes, using reservoir sampling to ensure that each buffer stores a uniform sample from all past experience. We observe only minimal difference in performance, with the smallest buffer (storing 1 in 200 experiences) demonstrating some catastrophic forgetting. (See Appendix C for a different plot of these data.)
|
| 92 |
+
|
| 93 |
+
We observe that in DMLab, there is very little difference between separate and simultaneous training. This indicates minimal interference between tasks. If anything, there is a small amount of constructive interference, with simultaneous training performing slightly better than separate training. We assume this is a result of (i) commonalities in image processing required across different tasks, and (ii) certain basic exploratory behaviors, e.g., moving around, that are advantageous across tasks. (By contrast, destructive interference might result from incompatible behaviors or from insufficient model capacity.)
|
| 94 |
+
|
| 95 |
+
By contrast, there is a large difference between either of the above modes of training and sequential training, where performance on a task decays immediately when training switches to another task – that is, catastrophic forgetting. Note that the performance of the sequential training appears at some points to be greater than that of separate training. This is purely because in sequential training, training proceeds exclusively on a single task, then exclusively on another task. For example, the first task quickly increases in performance since the network is effectively seeing three times as much data on that task as the networks training on separate or simultaneous tasks.
|
| 96 |
+
|
| 97 |
+
# 4.2 CLEAR
|
| 98 |
+
|
| 99 |
+
We here demonstrate the efficacy of CLEAR for diminishing catastrophic forgetting (Figure 2). We apply CLEAR to the cyclically repeating sequence of DMLab tasks used in the preceding experiment. Our method effectively eliminates forgetting on all three tasks, while preserving overall training performance (see “Sequential” training in Figure 1 for reference). When the task switches, there is little, if any, dropoff in performance when using CLEAR, and the network picks up immediately where it left off once a task returns later in training. Without behavioral cloning, the mixture of new experience and replay still reduces catastrophic forgetting, though the effect is reduced.
|
| 100 |
+
|
| 101 |
+
# 4.3 BALANCE OF ON- AND OFF-POLICY LEARNING
|
| 102 |
+
|
| 103 |
+
In this experiment (Figure 3), we consider the ratio of new examples to replay examples during training. Using $100 \%$ new examples is simply standard training, which as we have seen is subject to dramatic catastrophic forgetting. At 75-25 new-replay, there is already significant resistance to forgetting. At the opposite extreme, $100 \%$ replay examples is extremely resistant to catastrophic forgetting, but at the expense of a (slight) decrease in performance attained. We believe that 50- 50 new-replay represents a good tradeoff, combining significantly reduced catastrophic forgetting with no appreciable decrease in performance attained. Unless otherwise stated, our experiments on CLEAR will use a 50-50 split of new and replay data in training.
|
| 104 |
+
|
| 105 |
+

|
| 106 |
+
Figure 5: The DMLab task natlab varying map randomize (brown line) is presented at different positions within a cyclically repeating sequence of three other DMLab tasks. We find that (1) performance on the probe task is independent of its position in the sequence, (2) the effectiveness of CLEAR does not degrade as more experiences and tasks are introduced into the buffer.
|
| 107 |
+
|
| 108 |
+
It is notable that it is possible to train purely on replay examples, since the network has essentially no on-policy learning. In fact, the figure shows that with $100 \%$ replay, performance on each task increases throughout, even when on-policy learning is being applied to a different task. Just as Figure 2 shows the importance of behavioral cloning for maintaining past performance on a task, so this experiment shows that off-policy learning can actually increase performance from replay alone. Both ingredients are necessary for the success of CLEAR.
|
| 109 |
+
|
| 110 |
+
# 4.4 LIMITED-SIZE BUFFERS
|
| 111 |
+
|
| 112 |
+
In some cases, it may be impractical to store all past experiences in the replay buffer. We therefore test the efficacy of buffers that have capacity for only a relatively small number of experiences (Figure 4). Once the buffer is full, we use reservoir sampling to decide when to replace elements of the buffer with new experiences (Isele & Cosgun, 2018) (see details in Appendix A). Thus, at each point in time, the buffer contains a (fixed size) sample uniformly at random of all past experiences.
|
| 113 |
+
|
| 114 |
+
We consider a sequence of tasks with 900 million environmental frames, comparing a large buffer of capacity 450 million to two small buffers of capacity 5 and 50 million. We find that all buffers perform well and conclude that it is possible to learn and reduce catastrophic forgetting even with a replay buffer that is significantly smaller than the total number of experiences. Decreasing the buffer size to 5 million results in a slight decrease in robustness to catastrophic forgetting. This may be due to over-fitting to the limited examples present in the buffer, on which the learner trains disproportionately often.
|
| 115 |
+
|
| 116 |
+
# 4.5 LEARNING A NEW TASK QUICKLY
|
| 117 |
+
|
| 118 |
+
It is a reasonable worry that relying on a replay buffer could cause new tasks to be learned more slowly as the new task data will make up a smaller and smaller portion of the replay buffer as the buffer gets larger. In this experiment (Figure 5), we find that this is not a problem for CLEAR, relying as it does on a mixture of off- and on-policy learning. Specifically, we find the performance attained on a task is largely independent of the amount of data stored in the buffer and on the identities of the preceding tasks. We consider a cyclically repeating sequence of three DMLab tasks. At different points in the sequence, we insert a fourth DMLab task as a “probe”. We find that the performance attained on the probe task is independent of the point at which it is introduced within the training sequence. This is true both for normal training and for CLEAR. Notably, CLEAR succeeds in greatly reducing catastrophic forgetting for all tasks, and the effect on the probe task does not diminish as the probe task is introduced later on in the training sequence. See also Appendix B for an experiment demonstrating that pure off-policy learning performs quite differently in this setting.
|
| 119 |
+
|
| 120 |
+
# 4.6 COMPARISON TO P&C AND EWC
|
| 121 |
+
|
| 122 |
+
Finally, we compare our method to Progress & Compress (P&C) (Schwarz et al., 2018) and Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017), state-of-the-art methods for reducing catastrophic forgetting that, unlike replay, assume that the boundaries between different tasks are known (Figure 6). We use exactly the same sequence of Atari tasks as the authors of P&C (Schwarz et al., 2018), with the same time spent on each task. Likewise, the network and hyperparameters we use are designed to match exactly those used in Schwarz et al. (2018). This is simplified by the authors of P&C also using a training paradigm based on that in Espeholt et al. (2018). In this case, we use CLEAR with a 75-25 balance of new-replay experience.
|
| 123 |
+
|
| 124 |
+
We find that we obtain comparable performance to P&C and better performance than EWC, despite CLEAR being significantly simpler and agnostic to the boundaries between tasks. On tasks krull, hero, and ms pacman, we obtain significantly higher performance than P&C (as well as EWC), while on beam rider and star gunner, P&C obtains higher performance. It is worth noting that though the on-policy model (baseline) experiences significant catastrophic forgetting, it also rapidly re-acquires its previous performance after re-exposure to the task; this allows baseline to be cumulatively better than EWC on some tasks (as is noted in the original paper Kirkpatrick et al. (2017)). An alternative plot of this experiment, showing cumulative performance on each task, is presented in Appendix C.
|
| 125 |
+
|
| 126 |
+
# 5 DISCUSSION
|
| 127 |
+
|
| 128 |
+
Some version of replay is believed to be present in biological brains. We do not believe that our implementation is reflective of neurobiology, though there are potential connections; hippocampal replay has been proposed as a systems-level mechanism to reduce catastrophic forgetting and improve generalization as in the theory of complementary learning systems (McClelland, 1998). This contrasts to some degree with synapse-level consolidation, which is also believed to be present in biology (Benna & Fusi, 2016), but is more like continual learning methods that protect parameters.
|
| 129 |
+
|
| 130 |
+
Indeed, algorithms for continual learning may live on a Pareto frontier: different methods may have different regimes of applicability. In cases for which storing a large memory buffer is truly prohibitive, methods that protect inferred parameters, such as Progress & Compress, may be more suitable than replay methods. When task identities are available or boundaries between tasks are very clear, leveraging this information may reduce memory or computational demands or be useful to alert the agent to engage in rapid learning. Further, there exist training scenarios that are adversarial either to our method or to any method that prevents forgetting. For example, if the action space of a task were changed during training, fitting to the old policy’s action distribution, whether through behavioral cloning, off-policy learning, weight protection, or any of a number of other strategies for preventing catastrophic forgetting, could have a deleterious effect on future performance. For such cases, we may need to develop algorithms that selectively protect skills as well as forget them.
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 6: Comparison of CLEAR to Progress & Compress (P&C) and Elastic Weight Consolidation (EWC). We find that CLEAR demonstrates comparable or greater performance than these methods, despite being significantly simpler and not requiring any knowledge of boundaries between tasks. (See Appendix C for a different plot of these data.)
|
| 134 |
+
|
| 135 |
+
We have explored CLEAR in a range of continual learning scenarios; we hope that some of the experimental protocols, such as probing with a novel task at varied positions in a training sequence, may inspire other research. Moving forward, we anticipate many algorithmic innovations that build on the ideas set forward here. For example, weight-consolidation techniques such as Progress & Compress are quite orthogonal to our approach and could be married with it for further performance gains. Moreover, while the V-Trace algorithm we use is effective at off-policy correction for small shifts between the present and past policy distributions, it is possible that off-policy approaches leveraging Q-functions, such as Retrace (Munos et al., 2016), may prove more powerful still.
|
| 136 |
+
|
| 137 |
+
We have described a simple but powerful approach for preventing catastrophic forgetting in continual learning settings. CLEAR uses on-policy learning on fresh experiences to adapt rapidly to new tasks, while using off-policy learning with behavioral cloning on replay experience to maintain and modestly enhance performance on past tasks. Behavioral cloning on replay data further enhances the agent’s stability. Our method is simple, scalable, and practical; it takes advantage of the general abundance of memory and storage in modern computers and computing facilities. We believe that the broad applicability and simplicity of the approach make CLEAR a candidate “first line of defense” against catastrophic forgetting in many RL contexts.
|
| 138 |
+
|
| 139 |
+
# REFERENCES
|
| 140 |
+
|
| 141 |
+
Charles Beattie, Joel Z Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Kuttler, ¨ Andrew Lefrancq, Simon Green, V´ıctor Valdes, Amir Sadik, et al. DeepMind Lab. ´ Preprint arXiv:1612.03801, 2016.
|
| 142 |
+
|
| 143 |
+
Marcus K Benna and Stefano Fusi. Computational principles of synaptic memory consolidation. Nature neuroscience, 19(12):1697, 2016.
|
| 144 |
+
|
| 145 |
+
Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. IMPALA: Scalable distributed Deep-RL with importance weighted actor-learner architectures. In ICML, 2018.
|
| 146 |
+
|
| 147 |
+
Robert M French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3(4):128–135, 1999.
|
| 148 |
+
|
| 149 |
+
Stephen Grossberg. How does a brain build a cognitive code? In Studies of mind and brain, pp. 1–52. Springer, 1982.
|
| 150 |
+
|
| 151 |
+
Shixiang Gu, Tim Lillicrap, Richard E Turner, Zoubin Ghahramani, Bernhard Scholkopf, and Sergey ¨ Levine. Interpolated policy gradient: Merging on-policy and off-policy gradient estimation for deep reinforcement learning. In NIPS, 2017.
|
| 152 |
+
|
| 153 |
+
Todd Hester, Matej Vecerik, Olivier Pietquin, Marc Lanctot, Tom Schaul, Bilal Piot, Dan Horgan, John Quan, Andrew Sendonaris, Gabriel Dulac-Arnold, et al. Deep Q-learning from demonstrations. Preprint arXiv:1704.03732, 2017.
|
| 154 |
+
|
| 155 |
+
David Isele and Akansel Cosgun. Selective experience replay for lifelong learning. In AAAI, 2018.
|
| 156 |
+
|
| 157 |
+
Christos Kaplanis, Murray Shanahan, and Claudia Clopath. Continual reinforcement learning with complex synapses. Preprint arXiv:1802.07239, 2018.
|
| 158 |
+
|
| 159 |
+
James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. In Proceedings of the National Academy of Sciences, 2017.
|
| 160 |
+
|
| 161 |
+
Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017.
|
| 162 |
+
|
| 163 |
+
Long-Ji Lin. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine learning, 8(3-4):293–321, 1992.
|
| 164 |
+
|
| 165 |
+
James L McClelland. Complementary learning systems in the brain: A connectionist approach to explicit and implicit cognition and memory. Annals of the New York Academy of Sciences, 843 (1):153–169, 1998.
|
| 166 |
+
|
| 167 |
+
Kieran Milan, Joel Veness, James Kirkpatrick, Michael Bowling, Anna Koop, and Demis Hassabis. The forget-me-not process. In NIPS, 2016.
|
| 168 |
+
|
| 169 |
+
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, 2015.
|
| 170 |
+
|
| 171 |
+
Remi Munos, Tom Stepleton, Anna Harutyunyan, and Marc Bellemare. Safe and efficient off-policy ´ reinforcement learning. In NIPS, 2016.
|
| 172 |
+
|
| 173 |
+
Brendan O’Donoghue, Remi Munos, Koray Kavukcuoglu, and Volodymyr Mnih. Combining policy gradient and Q-learning. Preprint arXiv:1611.01626, 2016.
|
| 174 |
+
|
| 175 |
+
German I Parisi, Ronald Kemker, Jose L Part, Christopher Kanan, and Stefan Wermter. Continual lifelong learning with neural networks: A review. Preprint arXiv:1802.07569, 2018.
|
| 176 |
+
|
| 177 |
+
Mark B Ring. Child: A first step towards continual learning. Machine Learning, 28(1):77–104, 1997.
|
| 178 |
+
|
| 179 |
+
Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. Preprint arXiv:1606.04671, 2016.
|
| 180 |
+
|
| 181 |
+
Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. In ICLR, 2016.
|
| 182 |
+
|
| 183 |
+
Jonathan Schwarz, Jelena Luketina, Wojciech M Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. In ICML, 2018.
|
| 184 |
+
|
| 185 |
+
Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual learning with deep generative replay. In NIPS, 2017.
|
| 186 |
+
|
| 187 |
+
Ziyu Wang, Victor Bapst, Nicolas Heess, Volodymyr Mnih, Remi Munos, Koray Kavukcuoglu, and Nando de Freitas. Sample efficient actor-critic with experience replay. Preprint arXiv:1611.01224, 2016.
|
| 188 |
+
|
| 189 |
+
Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In ICML, 2017.
|
| 190 |
+
|
| 191 |
+
# A IMPLEMENTATION DETAILS
|
| 192 |
+
|
| 193 |
+
# A.1 DISTRIBUTED SETUP
|
| 194 |
+
|
| 195 |
+
Our training setup was based on that of Espeholt et al. (2018), with multiple actors and a single learner. The actors (which run on CPU) generate training examples, which are then sent to the learner. Weight updates made by the learner are propagated asynchronously to the actors. The workflows for each actor and for the learner are described below in more detail.
|
| 196 |
+
|
| 197 |
+
Actor. A training episode (unroll) is generated and inserted into the actor’s buffer. Reservoir sampling is used (see further details below) if the buffer has reached its maximum capacity. The actor then samples another unroll from the buffer. The new unroll and replay unroll are both fed into a queue of examples that are read by the learner. The actor waits until its last example in the queue has been read before creating another.
|
| 198 |
+
|
| 199 |
+
Learner. Each element of a batch is a pair (new unroll, replay unroll) from the queue provided by actors. Thus, the number of new unrolls and the number of replay unrolls both equal the entire batch size. Depending on the buffer utilization hyperparameter (see Figure 3), the learner uses a balance of new and replay examples, taking either the new unroll or the replay unroll from each pair. Thus, no actor contributes more than a single example to the batch (reducing the variance of batches).
|
| 200 |
+
|
| 201 |
+
# A.2 NETWORK
|
| 202 |
+
|
| 203 |
+
For our DMLab experiments, we used the same network as in the DMLab experiments of Espeholt et al. (2018). We selected the shallower of the models considered there (a network based on Mnih et al. (2015)), omitting the additional LSTM module used for processing textual input since none of the tasks we considered included such input. For Atari, we used the same network in Progress & Compress (Schwarz et al., 2018) (which is also based on Espeholt et al. (2018)), also copying all hyperparameters.
|
| 204 |
+
|
| 205 |
+
# A.3 BUFFERS
|
| 206 |
+
|
| 207 |
+
Our replay buffer stores all information necessary for the V-Trace algorithm, namely the input presented by the environment, the output logits of the network, the value function output by the network, the action taken, and the reward obtained. Leveraging the distributed setup, the buffer is split among all actors equally, so that, for example, if the total buffer size were one million across a hundred actors, then each actor would have buffer capacity of ten thousand. All buffer sizes are measured in environment frames (not in numbers of unrolls), in keeping with the $x$ -axis of our training plots.
|
| 208 |
+
|
| 209 |
+
For baseline experiments, no buffer was used, while all other parameters and the network remained constant.
|
| 210 |
+
|
| 211 |
+
Unless otherwise specified, the replay buffer was capped at half the number of environment frames on which the network is trained. This is by design – to show that even past the buffer capacity, replay continues to prevent catastrophic forgetting. When the buffer fills up, then new unrolls are added by reservoir sampling, so that the buffer at any given point contains a uniformly random sample of all unrolls up until the present time. Reservoir sampling is implemented as in Isele & Cosgun (2018) by having each unroll associated with a random number between 0 and 1. A threshold is initialized to 0 and rises with time so that the number of unrolls above the threshold is fixed at the capacity of the buffer. Each unroll is either stored or abandoned in its entirety; no unroll is partially stored, as this would preclude training.
|
| 212 |
+
|
| 213 |
+
# A.4 TRAINING
|
| 214 |
+
|
| 215 |
+
Training was conducted using V-Trace, with hyperparameters on DMLab/Atari tasks set as in Espeholt et al. (2018). Behavioral cloning loss functions $L _ { \mathrm { p o l i c y - c l o n i n g } }$ and $L _ { \mathrm { v a l u e - c l o n i n g } }$ were added in some experiments with weights of 0.01 and 0.005, respectively. The established loss functions Lpolicy-gradient, $L _ { \mathrm { v a l u e } }$ , and $L _ { \mathrm { e n t r o p y } }$ were applied with weights of 1, 0.5, and ${ \approx } 0 . 0 0 5$ , in keeping with Espeholt et al. (2018). No significant effort was made to optimize fully the hyperparameters for CLEAR.
|
| 216 |
+
|
| 217 |
+
# A.5 EVALUATION
|
| 218 |
+
|
| 219 |
+
We evaluate each network during training on all tasks, not simply that task on which it is currently being trained. Evaluation is performed by pools of testing actors, with a separate pool for each task in question. Each pool of testing actors asynchronously updates its weights to match those of the learner, similarly to the standard (training) actors used in our distributed learning setup. The key differences are that each testing actor (i) has no replay buffer, (ii) does not feed examples to the learner for training, (iii) runs on its designated task regardless of whether this task is the one currently in use by training actors.
|
| 220 |
+
|
| 221 |
+
# A.6 EXPERIMENTS
|
| 222 |
+
|
| 223 |
+
In many of our experiments, we consider tasks that change after a specified number of learning episodes. The total number of episodes is monitored by the learner, and all actors switch between tasks simultaneously at the designated point, henceforward feeding examples to the learner based on experiences on the new task (as well as replay examples). Each experiment was run independently three times; figures plot the mean performance across runs, with error bars showing the standard deviation.
|
| 224 |
+
|
| 225 |
+
# B PROBE TASK WITH $100 \%$ REPLAY
|
| 226 |
+
|
| 227 |
+
Our goal in this experiment was to investigate more thoroughly than Figure 3 to what extent the mixture of on- and off-policy learning is necessary, instead of pure off-policy learning, in learning new tasks swiftly. We rerun our “probe task” experiments (Section 4.5), where the DMLab task natlab varying map randomized is presented at different positions in a cyclically repeating sequence of other DMLab tasks. In this case, however, we use CLEAR with $100 \%$ (off-policy) replay experience. We observe that, unlike in the original experiment (Figure 5), the performance obtained on the probe task natlab varying map randomized deteriorates markedly as it appears later in the sequence of tasks. For later positions in the sequence, the probe task comprises a smaller percentage of replay experience, thereby impeding purely off-policy learning. This result underlines why CLEAR uses new experience, as well as replay, to allow rapid learning of new tasks.
|
| 228 |
+
|
| 229 |
+

|
| 230 |
+
Figure 7: This figure shows the same “probe task” setup as Figure 5, but with CLEAR using $100 \%$ replay experience. Performance on the probe task natlab varying map randomized decreases markedly as it appears later in the sequence of tasks, emphasizing the importance of using a blend of new experience and replay instead of $100 \%$ replay.
|
| 231 |
+
|
| 232 |
+
# C FIGURES REPLOTTED ACCORDING TO CUMULATIVE SUM
|
| 233 |
+
|
| 234 |
+
In this section, we replot the results of our main experiments, so that the $y$ -axis shows the mean cumulative reward obtained on each task during training; that is, the reward shown for time $t$ is the average $( 1 / t ) \sum _ { s < t } r _ { s }$ . This makes it easier to compare performance between models, though it smoothes out the individual periods of catastrophic forgetting. We also include tables comparing the values of the final cumulative rewards at the end of training.
|
| 235 |
+
|
| 236 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>explore...</td><td rowspan=1 colspan=1>rooms_collect...</td><td rowspan=1 colspan=1>rooms_keys...</td></tr><tr><td rowspan=1 colspan=1>Separate</td><td rowspan=1 colspan=1>29.24</td><td rowspan=1 colspan=1>8.79</td><td rowspan=1 colspan=1>19.91</td></tr><tr><td rowspan=1 colspan=1>Simultaneous</td><td rowspan=1 colspan=1>32.35</td><td rowspan=1 colspan=1>8.81</td><td rowspan=1 colspan=1>20.56</td></tr><tr><td rowspan=1 colspan=1>Sequential (no CLEAR)</td><td rowspan=1 colspan=1>17.99</td><td rowspan=1 colspan=1>5.01</td><td rowspan=1 colspan=1>10.87</td></tr><tr><td rowspan=1 colspan=1>CLEAR (50-50 new-replay)</td><td rowspan=1 colspan=1>31.40</td><td rowspan=1 colspan=1>8.00</td><td rowspan=1 colspan=1>18.13</td></tr><tr><td rowspan=1 colspan=1>CLEAR w/o behavioral cloning</td><td rowspan=1 colspan=1>28.66</td><td rowspan=1 colspan=1>7.79</td><td rowspan=1 colspan=1>16.63</td></tr><tr><td rowspan=1 colspan=1>CLEAR, 75-25 new-replay</td><td rowspan=1 colspan=1>30.28</td><td rowspan=1 colspan=1>7.83</td><td rowspan=1 colspan=1>17.86</td></tr><tr><td rowspan=1 colspan=1>CLEAR,100% replay</td><td rowspan=1 colspan=1>31.09</td><td rowspan=1 colspan=1>7.48</td><td rowspan=1 colspan=1>13.39</td></tr><tr><td rowspan=1 colspan=1>CLEAR,buffer5M</td><td rowspan=1 colspan=1>30.33</td><td rowspan=1 colspan=1>8.00</td><td rowspan=1 colspan=1>18.07</td></tr><tr><td rowspan=1 colspan=1>CLEAR,buffer 50M</td><td rowspan=1 colspan=1>30.82</td><td rowspan=1 colspan=1>7.99</td><td rowspan=1 colspan=1>18.21</td></tr></table>
|
| 237 |
+
|
| 238 |
+

|
| 239 |
+
Figure 8: Quantitative comparison of the final cumulative performance between standard training (“Sequential (no CLEAR)”) and various versions of CLEAR (see Figures 9, 10, 11, and 12 below) on a cyclically repeating sequence of DMLab tasks. We also include the results of training on each individual task with a separate network (“Separate”) and on all tasks simultaneously (“Simultaneous”) instead of sequentially. As described in Section 4.1, these situations represent no-forgetting scenarios and thus present upper bounds on the performance expected in a continual learning setting, where tasks are presented sequentially. Remarkably, CLEAR achieves performance comparable to “Separate” and “Simultaneous”, demonstrating that forgetting is virtually eliminated.
|
| 240 |
+
Figure 9: Alternative plot of the experiments shown in Figure 1, showing the difference in cumulative performance between training on tasks separately, simultaneously, and sequentially (without using CLEAR). The marked decrease in performance for sequential training is due to catastrophic forgetting. As in our earlier plots, thicker line segments are used to denote times at which the network is gaining new experience on a given task.
|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
Figure 10: Alternative plot of the experiments shown in Figure 2, showing how applying CLEAR when training on sequentially presented tasks gives almost the same results as training on all tasks simultaneously (compare to sequential and simultaneous training in Figure 9 above). Applying CLEAR without behavioral cloning also yields decent results.
|
| 244 |
+
|
| 245 |
+

|
| 246 |
+
Figure 11: Alternative plot of the experiments shown in Figure 3, comparing performance between using CLEAR with 75-25 new-replay experience, 50-50 new-replay experience, and $100 \%$ replay experience. An equal balance of new and replay experience seems to represent a good tradeoff between stability and plasticity, while $100 \%$ replay reduces forgetting but lowers performance overall.
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
Figure 12: Alternative plot of the experiments shown in Figure 4, showing that reduced-size buffers still allow CLEAR to achieve essentially the same performance.
|
| 250 |
+
|
| 251 |
+
Figure 13: Quantitative comparison of the final cumulative performance between baseline (standard training), CLEAR, Elastic Weight Consolidation (EWC), and Progress & Compress (P&C) (see Figure 14 below). Overall, CLEAR performs comparably to or better than P&C, and significantly better than EWC and baseline.
|
| 252 |
+
|
| 253 |
+
<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>space_invaders</td><td rowspan=1 colspan=1>krull</td><td rowspan=1 colspan=1>beam_rider</td><td rowspan=1 colspan=1>hero</td><td rowspan=1 colspan=1>star-gunner</td><td rowspan=1 colspan=1>ms-pacman</td></tr><tr><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>346.47</td><td rowspan=1 colspan=1>5512.36</td><td rowspan=1 colspan=1>952.72</td><td rowspan=1 colspan=1>2737.32</td><td rowspan=1 colspan=1>1065.20</td><td rowspan=1 colspan=1>753.83</td></tr><tr><td rowspan=1 colspan=1>CLEAR</td><td rowspan=1 colspan=1>426.72</td><td rowspan=1 colspan=1>8845.12</td><td rowspan=1 colspan=1>585.05</td><td rowspan=1 colspan=1>8106.22</td><td rowspan=1 colspan=1>991.74</td><td rowspan=1 colspan=1>1222.82</td></tr><tr><td rowspan=1 colspan=1>EWC</td><td rowspan=1 colspan=1>549.22</td><td rowspan=1 colspan=1>5352.92</td><td rowspan=1 colspan=1>432.78</td><td rowspan=1 colspan=1>4499.35</td><td rowspan=1 colspan=1>704.20</td><td rowspan=1 colspan=1>639.75</td></tr><tr><td rowspan=1 colspan=1>P&C</td><td rowspan=1 colspan=1>455.34</td><td rowspan=1 colspan=1>7025.40</td><td rowspan=1 colspan=1>743.38</td><td rowspan=1 colspan=1>3433.10</td><td rowspan=1 colspan=1>1261.86</td><td rowspan=1 colspan=1>924.52</td></tr></table>
|
| 254 |
+
|
| 255 |
+

|
| 256 |
+
Figure 14: Alternative plot of the experiments shown in Figure 6, showing that CLEAR attains comparable or better performance than the more complicated methods Progress & Compress (P&C) and Elastic Weight Consolidation (EWC), which also require information about task boundaries, unlike CLEAR.
|
parse/train/S1g2V3Cct7/S1g2V3Cct7_content_list.json
ADDED
|
@@ -0,0 +1,1414 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "EXPERIENCE REPLAY FOR CONTINUAL LEARNING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
173,
|
| 8 |
+
101,
|
| 9 |
+
769,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
400,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
210,
|
| 32 |
+
544,
|
| 33 |
+
224
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Continual learning is the problem of learning new tasks or knowledge while protecting old knowledge and ideally generalizing from old experience to learn new tasks faster. Neural networks trained by stochastic gradient descent often degrade on old tasks when trained successively on new tasks with different data distributions. This phenomenon, referred to as catastrophic forgetting, is considered a major hurdle to learning with non-stationary data or sequences of new tasks, and prevents networks from continually accumulating knowledge and skills. We examine this issue in the context of reinforcement learning, in a setting where an agent is exposed to tasks in a sequence. Unlike most other work, we do not provide an explicit indication to the model of task boundaries, which is the most general circumstance for a learning agent exposed to continuous experience. While various methods to counteract catastrophic forgetting have recently been proposed, we explore a straightforward, general, and seemingly overlooked solution – that of using experience replay buffers for all past events – with a mixture of on- and off-policy learning, leveraging behavioral cloning. We show that this strategy can still learn new tasks quickly yet can substantially reduce catastrophic forgetting in both Atari and DMLab domains, even matching the performance of methods that require task identities. When buffer storage is constrained, we confirm that a simple mechanism for randomly discarding data allows a limited size buffer to perform almost as well as an unbounded one. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
237,
|
| 43 |
+
764,
|
| 44 |
+
515
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
537,
|
| 55 |
+
336,
|
| 56 |
+
554
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Modern day reinforcement learning (RL) has benefited substantially from a massive influx of computational resources. In some instances, the number of data points to feed into RL algorithms has kept in step with computational feasibility. For example, in simulation environments or in self-play RL, it is possible to generate fresh data on the fly. In such settings, the continual learning problem (Ring, 1997) is often ignored because new experiences can be collected on demand, and the start states of the simulation can be controlled. When training on multiple tasks, it is possible to train on all environments simultaneously within the same data batch. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
568,
|
| 66 |
+
825,
|
| 67 |
+
665
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "As RL is increasingly applied to problems in industry or other real-world settings, however, it is necessary to consider cases, such as robotics, where gathering new experience is expensive or difficult. In such examples, simultaneous training may be infeasible. Instead, an agent must be able to learn from only one task at a time. The time spent on different tasks and the sequence in which those tasks occur are not under the control of the agent. The boundaries between tasks, in fact, will often be unknown – or tasks will deform continuously and not have definite boundaries at all. Such a paradigm for training eliminates the possibility of simultaneously acting upon and learning from several tasks, and leads to the danger of catastrophic forgetting, wherein an agent forgets what it has learned previously when it encounters a new situation. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
672,
|
| 77 |
+
825,
|
| 78 |
+
797
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Here, we consider the setting of reinforcement learning where compute and memory resources are large, but the environment is not stationary: this may arise because an RL agent is encountering a task curriculum or sequence of unrelated tasks, engaged in a budgeted physical interaction within a robot, or learning from unstructured interaction with humans. In this setting, the problem of continual learning rears its head: the distribution over experiences is not controlled to facilitate the agent’s maintenance of previously acquired ability. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
805,
|
| 88 |
+
825,
|
| 89 |
+
888
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "An ideal continual learning system should meet three requirements. First, it should retain previously learned capacities. When a previously encountered task or situation is encountered, performance should immediately be good – ideally as good as it was historically. Second, maintenance of old skills or knowledge should not inhibit further rapid acquisition of a new skill or knowledge. These two simultaneous constraints – maintaining the old while still adapting to the new – represent the challenge known as the stability-plasticity dilemma Grossberg (1982). Third, where possible, a continual learning system should learn new skills that are related to old ones faster than it would have de novo, a property known as constructive interference or positive transfer. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
895,
|
| 99 |
+
823,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/2f2e8e397f02c2fb4e044236788ce53437ac3519732f819028385a81cf923fc9.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Separate, simultaneous, and sequential training: the $x$ -axis denotes environment steps summed across all tasks and the $y$ -axis episode score. In “Sequential”, thick line segments are used to denote the task currently being trained, while thin segments are plotted by evaluating performance without learning. In simultaneous training, performance on explore object locations small is higher than in separate training, an example of modest constructive interference. In sequential training, tasks that are not currently being learned exhibit very dramatic catastrophic forgetting. (See Appendix C for a different plot of these data.) "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
181,
|
| 113 |
+
101,
|
| 114 |
+
818,
|
| 115 |
+
222
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
364,
|
| 125 |
+
825,
|
| 126 |
+
448
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We here demonstrate the surprising power of a simple approach: Continual Learning with Experience And Replay (CLEAR). We show that training a network on a mixture of novel experience on-policy and replay experience off-policy allows for both maintenance of performance on earlier tasks and fast adaptation to new tasks. A significant further boost in performance and reduction in catastrophic forgetting is obtained by enforcing behavioral cloning between the current policy and its past self. While memory is rarely severely limited in modern RL, we show that small replay buffers filled with uniform samples from past experiences can be almost as effective as buffers of unbounded size. When comparing CLEAR against state-of-the-art approaches for reducing catastrophic forgetting, we obtain better or comparable results, despite the relative simplicity of our approach; yet, crucially, CLEAR requires no information about the identity of tasks or boundaries between them. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
455,
|
| 136 |
+
825,
|
| 137 |
+
594
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
618,
|
| 148 |
+
339,
|
| 149 |
+
635
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "The problem of catastrophic forgetting in neural networks has long been recognized (Grossberg, 1982), and it is known that rehearsing past data can be a satisfactory antidote for some purposes (McClelland, 1998; French, 1999). Consequently, in the supervised setting that is the most common paradigm in machine learning, catastrophic forgetting has been accorded less attention than in cognitive science or neuroscience, since a fixed dataset can be reordered and replayed as necessary to ensure high performance on all samples. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
652,
|
| 159 |
+
825,
|
| 160 |
+
736
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "In recent years, however, there has been renewed interest in overcoming catastrophic forgetting in RL contexts and in supervised learning from streaming data (Parisi et al., 2018). Current strategies for mitigating catastrophic forgetting have primarily focused on schemes for protecting the parameters inferred in one task while training on another. For example, in Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017), weights important for past tasks are constrained to change more slowly while learning new tasks. The Progressive Networks approach (Rusu et al., 2016) freezes subnetworks trained on individual tasks, and Progress & Compress (Schwarz et al., 2018) uses EWC to consolidate the network after each task has been learned. Kaplanis et al. (2018) treat individual synaptic weights as dynamical systems with latent dimensions / states that protect information. Outside of RL, Zenke et al. (2017) develop a method similar to EWC that maintains estimates of the importance of weights for past tasks, Li & Hoiem (2017) leverage a mixture of task-specific and shared parameters, and Milan et al. (2016) develop a rigorous Bayesian approach for estimating unknown task boundaries. Notably all these methods assume that task identities or boundaries are known, with the exception of Milan et al. (2016), for which the approach is likely not scalable to highly complex tasks. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
743,
|
| 170 |
+
825,
|
| 171 |
+
922
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "image",
|
| 177 |
+
"img_path": "images/cb086f3d51af01fdad811ec99b216226b67686d5eb249644ae8e52beb016326d.jpg",
|
| 178 |
+
"image_caption": [
|
| 179 |
+
"Figure 2: Demonstration of CLEAR on three DMLab tasks, which are trained cyclically in sequence. CLEAR reduces catastrophic forgetting so significantly that sequential tasks train almost as well as simultaneous tasks (see Figure 1). When the behavioral cloning loss terms are ablated, there is still reduced forgetting from off-policy replay alone. As above, thicker line segments are used to denote the task that is currently being trained. (See Appendix C for a different plot of these data.) "
|
| 180 |
+
],
|
| 181 |
+
"image_footnote": [],
|
| 182 |
+
"bbox": [
|
| 183 |
+
214,
|
| 184 |
+
102,
|
| 185 |
+
787,
|
| 186 |
+
263
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "",
|
| 193 |
+
"bbox": [
|
| 194 |
+
176,
|
| 195 |
+
375,
|
| 196 |
+
823,
|
| 197 |
+
404
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "Rehearsing old data via experience replay buffers is a common technique in RL. However, their introduction has primarily been driven by the goal of data-efficient learning on single tasks (Lin, 1992; Mnih et al., 2015; Gu et al., 2017). Research in this vein has included prioritized replay for maximizing the impact of rare experiences (Schaul et al., 2016), learning from human demonstration data seeded into a buffer (Hester et al., 2017), and methods for approximating replay buffers with generative models (Shin et al., 2017). A noteworthy use of experience replay buffers to protect against catastrophic forgetting was demonstrated in Isele & Cosgun (2018) on toy tasks, with a focus on how buffers can be made smaller. Previous works (Gu et al., 2017; O’Donoghue et al., 2016; Wang et al., 2016) have explored mixing on- and off-policy updates in RL, though these were focused on speed and stability in individual tasks and did not examine continual learning. Here, in CLEAR, we demonstrate that a mixture of replay data and fresh experience protects against catastrophic forgetting while also permitting fast learning, and performs better than either pure onpolicy learning or pure off-policy learning from replay. We provide a thorough investigation and robust algorithm in CLEAR, conducting a wide variety of tests on both limited-size and unbounded buffers with complex RL tasks using state-of-the-art methods, and improve the stability of simple replay with the addition of behavioral cloning. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
173,
|
| 206 |
+
410,
|
| 207 |
+
825,
|
| 208 |
+
632
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "3 THE CLEAR METHOD ",
|
| 215 |
+
"text_level": 1,
|
| 216 |
+
"bbox": [
|
| 217 |
+
176,
|
| 218 |
+
651,
|
| 219 |
+
397,
|
| 220 |
+
667
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "CLEAR uses actor-critic training on a mixture of new and replayed experiences. In the case of replay experiences, two additional loss terms are added to induce behavioral cloning between the network and its past self. The motivation for behavioral cloning is to prevent network output on replayed tasks from drifting while learning new tasks. We penalize (1) the KL divergence between the historical policy distribution and the present policy distribution, (2) the L2 norm of the difference between the historical and present value functions. Formally, this corresponds to adding the following loss functions, defined with respect to network parameters $\\theta$ : ",
|
| 227 |
+
"bbox": [
|
| 228 |
+
173,
|
| 229 |
+
683,
|
| 230 |
+
825,
|
| 231 |
+
781
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "equation",
|
| 237 |
+
"img_path": "images/722071632787613360aeee67893a569bed2393f56ff00aa91b67ca3cd8eaeea0.jpg",
|
| 238 |
+
"text": "$$\nL _ { \\mathrm { p o l i c y - c l o n i n g } } : = \\sum _ { a } \\mu ( a | h _ { s } ) \\log { \\frac { \\mu ( a | h _ { s } ) } { \\pi _ { \\theta } ( a | h _ { s } ) } } ,\n$$",
|
| 239 |
+
"text_format": "latex",
|
| 240 |
+
"bbox": [
|
| 241 |
+
357,
|
| 242 |
+
785,
|
| 243 |
+
638,
|
| 244 |
+
823
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "equation",
|
| 250 |
+
"img_path": "images/f0a615b6330c6585667ad4ffecf7159af54efab6066ea861ea6dfbc6a0e8d07d.jpg",
|
| 251 |
+
"text": "$$\nL _ { \\mathrm { v a l u e - c l o n i n g } } : = | | V _ { \\theta } ( h _ { s } ) - V _ { \\mathrm { r e p l a y } } ( h _ { s } ) | | _ { 2 } ^ { 2 } ,\n$$",
|
| 252 |
+
"text_format": "latex",
|
| 253 |
+
"bbox": [
|
| 254 |
+
364,
|
| 255 |
+
827,
|
| 256 |
+
630,
|
| 257 |
+
844
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "where $\\pi _ { \\theta }$ denotes the (current) policy of the network over actions $a , \\mu$ the policy generating the observed experience, and $h _ { s }$ the hidden state of the network at time $s$ . Note that computing $\\bar { \\mathrm { K L } } [ \\mu | | \\pi _ { \\theta } ]$ instead of $\\operatorname { K L } [ \\pi _ { \\boldsymbol { \\theta } } | | \\mu ]$ ensures that $\\pi _ { \\boldsymbol { \\theta } } ( a | h _ { s } )$ is nonzero wherever the historical policy is as well. ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
174,
|
| 266 |
+
847,
|
| 267 |
+
823,
|
| 268 |
+
890
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "We apply CLEAR in a distributed training context based on the Importance Weighted Actor-Learner Architecture (Espeholt et al., 2018). A single learning network is fed experiences (both novel and ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
173,
|
| 277 |
+
895,
|
| 278 |
+
823,
|
| 279 |
+
924
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "image",
|
| 285 |
+
"img_path": "images/2eafc7a1ca6c7c1be52871ecd3f8172b22ac53af14a7311a7911455d3b0ff395.jpg",
|
| 286 |
+
"image_caption": [
|
| 287 |
+
"Figure 3: Comparison between different proportions of new and replay examples while cycling training among three tasks. We observe that with a 75-25 new-replay split, CLEAR eliminates most, but not all, catastrophic forgetting. At the opposite extreme, $100 \\%$ replay prevents forgetting at the expense of reduced overall performance (with an especially noticeable reduction in early performance on the task rooms keys doors puzzle). A 50-50 split represents a good tradeoff between these extremes. (See Appendix C for a different plot of these data.) "
|
| 288 |
+
],
|
| 289 |
+
"image_footnote": [],
|
| 290 |
+
"bbox": [
|
| 291 |
+
181,
|
| 292 |
+
99,
|
| 293 |
+
818,
|
| 294 |
+
222
|
| 295 |
+
],
|
| 296 |
+
"page_idx": 3
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"type": "text",
|
| 300 |
+
"text": "replay) by a number of acting networks, for which the weights are asynchronously updated to match those of the learner. The network architecture and hyperparameters are chosen as in Espeholt et al. (2018). Training proceeds according to V-Trace. Namely, define the V-Trace target $v _ { s }$ by: ",
|
| 301 |
+
"bbox": [
|
| 302 |
+
173,
|
| 303 |
+
344,
|
| 304 |
+
825,
|
| 305 |
+
387
|
| 306 |
+
],
|
| 307 |
+
"page_idx": 3
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"type": "equation",
|
| 311 |
+
"img_path": "images/67625f7e8ac49b73e4749ff69a2897557253f7849c50352afb05000bbbfe98a3.jpg",
|
| 312 |
+
"text": "$$\nv _ { s } : = V ( h _ { s } ) + \\sum _ { t = s } ^ { s + n - 1 } \\gamma ^ { t - s } \\left( \\prod _ { i = s } ^ { t - 1 } c _ { i } \\right) \\delta _ { t } V ,\n$$",
|
| 313 |
+
"text_format": "latex",
|
| 314 |
+
"bbox": [
|
| 315 |
+
359,
|
| 316 |
+
392,
|
| 317 |
+
638,
|
| 318 |
+
435
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 3
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "text",
|
| 324 |
+
"text": "where $\\delta _ { t } V : = \\rho _ { t } \\left( r _ { t } + \\gamma V ( h _ { t + 1 } ) - V ( h _ { t } ) \\right)$ , $\\begin{array} { r } { c _ { i } : = \\operatorname* { m i n } ( \\bar { c } , \\frac { \\pi _ { \\theta } ( a _ { i } | h _ { i } ) } { \\mu ( a _ { i } | h _ { i } ) } ) } \\end{array}$ , and $\\begin{array} { r } { \\rho _ { t } = \\operatorname* { m i n } ( \\bar { \\rho } , \\frac { \\pi _ { \\theta } ( a _ { t } | h _ { t } ) } { \\mu ( a _ { t } | h _ { t } ) } ) } \\end{array}$ , for constants $\\bar { c }$ and $\\bar { \\rho }$ . ",
|
| 325 |
+
"bbox": [
|
| 326 |
+
174,
|
| 327 |
+
440,
|
| 328 |
+
823,
|
| 329 |
+
474
|
| 330 |
+
],
|
| 331 |
+
"page_idx": 3
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"type": "text",
|
| 335 |
+
"text": "Then, the value function update is given by the L2 loss: ",
|
| 336 |
+
"bbox": [
|
| 337 |
+
174,
|
| 338 |
+
481,
|
| 339 |
+
539,
|
| 340 |
+
496
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "equation",
|
| 346 |
+
"img_path": "images/11eff35a91fc8179e708067f165760d4cb3dd60659e94d1b12f361e55f8ce4e5.jpg",
|
| 347 |
+
"text": "$$\nL _ { \\mathrm { v a l u e } } : = \\left( V _ { \\theta } ( h _ { s } ) - v _ { s } \\right) ^ { 2 } .\n$$",
|
| 348 |
+
"text_format": "latex",
|
| 349 |
+
"bbox": [
|
| 350 |
+
411,
|
| 351 |
+
500,
|
| 352 |
+
586,
|
| 353 |
+
520
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "text",
|
| 359 |
+
"text": "The policy gradient loss is: ",
|
| 360 |
+
"bbox": [
|
| 361 |
+
174,
|
| 362 |
+
531,
|
| 363 |
+
352,
|
| 364 |
+
546
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 3
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "equation",
|
| 370 |
+
"img_path": "images/565f3c47d4e1fcb3e0d9dbde605e5806e3e49511ebd8efc6b3c411831902c43d.jpg",
|
| 371 |
+
"text": "$$\n\\begin{array} { r } { L _ { \\mathrm { p o l i c y - g r a d i e n t } } : = - \\rho _ { s } \\log \\pi _ { \\theta } ( a _ { s } | h _ { s } ) \\left( r _ { s } + \\gamma v _ { s + 1 } - V _ { \\theta } ( h _ { s } ) \\right) . } \\end{array}\n$$",
|
| 372 |
+
"text_format": "latex",
|
| 373 |
+
"bbox": [
|
| 374 |
+
300,
|
| 375 |
+
551,
|
| 376 |
+
696,
|
| 377 |
+
569
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "We also use an entropy loss: ",
|
| 384 |
+
"bbox": [
|
| 385 |
+
174,
|
| 386 |
+
580,
|
| 387 |
+
361,
|
| 388 |
+
594
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "equation",
|
| 394 |
+
"img_path": "images/72ea22c9b0c70b6a2898fffb241bb9e0c9b41f290233849cb404079ef851e1fd.jpg",
|
| 395 |
+
"text": "$$\nL _ { \\mathrm { e n t r o p y } } : = \\sum _ { a } \\pi _ { \\theta } ( a | h _ { s } ) \\log \\pi _ { \\theta } ( a | h _ { s } ) .\n$$",
|
| 396 |
+
"text_format": "latex",
|
| 397 |
+
"bbox": [
|
| 398 |
+
372,
|
| 399 |
+
599,
|
| 400 |
+
624,
|
| 401 |
+
632
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "The loss functions $L _ { \\mathrm { v a l u e } }$ , $L _ { \\mathrm { p o l i c y - g r a d i e n t } }$ , and $L _ { \\mathrm { e n t r o p y } }$ are applied both for new and replay experiences. In addition, we add $L _ { \\mathrm { p o l i c y - c l o n i n g } }$ and $L _ { \\mathrm { v a l u e - c l o n i n g } }$ for replay experiences only. In general, our experiments use a 50-50 mixture of novel and replay experiences, though performance does not appear to be very sensitive to this ratio. Further implementation details are given in Appendix A. ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
174,
|
| 410 |
+
643,
|
| 411 |
+
825,
|
| 412 |
+
700
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "4 RESULTS ",
|
| 419 |
+
"text_level": 1,
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
719,
|
| 423 |
+
282,
|
| 424 |
+
736
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "4.1 CATASTROPHIC FORGETTING VS. INTERFERENCE ",
|
| 431 |
+
"text_level": 1,
|
| 432 |
+
"bbox": [
|
| 433 |
+
174,
|
| 434 |
+
752,
|
| 435 |
+
553,
|
| 436 |
+
766
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "text",
|
| 442 |
+
"text": "Our first experiment (Figure 1) was designed to distinguish between two distinct concepts that are sometimes conflated, interference and catastrophic forgetting, and to emphasize the outsized role of the latter as compared to the former. Interference occurs when two or more tasks are incompatible (destructive interference) or mutually helpful (constructive interference) within the same model. Catastrophic forgetting occurs when a task’s performance goes down not as a result of incompatibility with another task but as a result of the second task overwriting it within the model. As we aim to illustrate, the two are independent phenomena, and while interference may happen, forgetting is ubiquitous. ",
|
| 443 |
+
"bbox": [
|
| 444 |
+
173,
|
| 445 |
+
776,
|
| 446 |
+
825,
|
| 447 |
+
888
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "We considered a set of three distinct tasks within the DMLab set of environments (Beattie et al., 2016), and compared three training paradigms on which a network may be trained to perform these three tasks: (1) Training networks on the individual tasks separately, (2) training a single network examples from all tasks simultaneously (which permits interference among tasks), and (3) training a single network sequentially on examples from one task, then the next task, and so on cyclically. Across all training protocols, the total amount of experience for each task was held constant. Thus, for separate networks training on separate tasks, the $x$ -axis in our plots shows the total number of environment frames summed across all tasks. For example, at three million frames, one million were on task 1, one million on task 2, and one million on task 3. This allows a direct comparison to simultaneous training, in which the same network was trained on all three tasks. ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
173,
|
| 456 |
+
895,
|
| 457 |
+
823,
|
| 458 |
+
924
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "image",
|
| 464 |
+
"img_path": "images/47e101294e49148bab9ed0b66dd2d526575f7c469e3b5ebf880e5002a42edafe.jpg",
|
| 465 |
+
"image_caption": [
|
| 466 |
+
"Figure 4: Comparison of the performance of training with different buffer sizes, using reservoir sampling to ensure that each buffer stores a uniform sample from all past experience. We observe only minimal difference in performance, with the smallest buffer (storing 1 in 200 experiences) demonstrating some catastrophic forgetting. (See Appendix C for a different plot of these data.) "
|
| 467 |
+
],
|
| 468 |
+
"image_footnote": [],
|
| 469 |
+
"bbox": [
|
| 470 |
+
181,
|
| 471 |
+
99,
|
| 472 |
+
818,
|
| 473 |
+
222
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "",
|
| 480 |
+
"bbox": [
|
| 481 |
+
174,
|
| 482 |
+
323,
|
| 483 |
+
825,
|
| 484 |
+
434
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "We observe that in DMLab, there is very little difference between separate and simultaneous training. This indicates minimal interference between tasks. If anything, there is a small amount of constructive interference, with simultaneous training performing slightly better than separate training. We assume this is a result of (i) commonalities in image processing required across different tasks, and (ii) certain basic exploratory behaviors, e.g., moving around, that are advantageous across tasks. (By contrast, destructive interference might result from incompatible behaviors or from insufficient model capacity.) ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
174,
|
| 493 |
+
441,
|
| 494 |
+
825,
|
| 495 |
+
540
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "By contrast, there is a large difference between either of the above modes of training and sequential training, where performance on a task decays immediately when training switches to another task – that is, catastrophic forgetting. Note that the performance of the sequential training appears at some points to be greater than that of separate training. This is purely because in sequential training, training proceeds exclusively on a single task, then exclusively on another task. For example, the first task quickly increases in performance since the network is effectively seeing three times as much data on that task as the networks training on separate or simultaneous tasks. ",
|
| 502 |
+
"bbox": [
|
| 503 |
+
174,
|
| 504 |
+
546,
|
| 505 |
+
825,
|
| 506 |
+
643
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "4.2 CLEAR ",
|
| 513 |
+
"text_level": 1,
|
| 514 |
+
"bbox": [
|
| 515 |
+
174,
|
| 516 |
+
665,
|
| 517 |
+
271,
|
| 518 |
+
679
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "We here demonstrate the efficacy of CLEAR for diminishing catastrophic forgetting (Figure 2). We apply CLEAR to the cyclically repeating sequence of DMLab tasks used in the preceding experiment. Our method effectively eliminates forgetting on all three tasks, while preserving overall training performance (see “Sequential” training in Figure 1 for reference). When the task switches, there is little, if any, dropoff in performance when using CLEAR, and the network picks up immediately where it left off once a task returns later in training. Without behavioral cloning, the mixture of new experience and replay still reduces catastrophic forgetting, though the effect is reduced. ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
174,
|
| 527 |
+
693,
|
| 528 |
+
825,
|
| 529 |
+
791
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "4.3 BALANCE OF ON- AND OFF-POLICY LEARNING ",
|
| 536 |
+
"text_level": 1,
|
| 537 |
+
"bbox": [
|
| 538 |
+
174,
|
| 539 |
+
813,
|
| 540 |
+
537,
|
| 541 |
+
825
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "In this experiment (Figure 3), we consider the ratio of new examples to replay examples during training. Using $100 \\%$ new examples is simply standard training, which as we have seen is subject to dramatic catastrophic forgetting. At 75-25 new-replay, there is already significant resistance to forgetting. At the opposite extreme, $100 \\%$ replay examples is extremely resistant to catastrophic forgetting, but at the expense of a (slight) decrease in performance attained. We believe that 50- 50 new-replay represents a good tradeoff, combining significantly reduced catastrophic forgetting with no appreciable decrease in performance attained. Unless otherwise stated, our experiments on CLEAR will use a 50-50 split of new and replay data in training. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
840,
|
| 551 |
+
825,
|
| 552 |
+
924
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "image",
|
| 558 |
+
"img_path": "images/6218075b072f0c8049d2f1132cb0160eb8889f9b62be607d20a1da603c7a9047.jpg",
|
| 559 |
+
"image_caption": [
|
| 560 |
+
"Figure 5: The DMLab task natlab varying map randomize (brown line) is presented at different positions within a cyclically repeating sequence of three other DMLab tasks. We find that (1) performance on the probe task is independent of its position in the sequence, (2) the effectiveness of CLEAR does not degrade as more experiences and tasks are introduced into the buffer. "
|
| 561 |
+
],
|
| 562 |
+
"image_footnote": [],
|
| 563 |
+
"bbox": [
|
| 564 |
+
181,
|
| 565 |
+
97,
|
| 566 |
+
818,
|
| 567 |
+
587
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 5
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
688,
|
| 577 |
+
823,
|
| 578 |
+
715
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 5
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "It is notable that it is possible to train purely on replay examples, since the network has essentially no on-policy learning. In fact, the figure shows that with $100 \\%$ replay, performance on each task increases throughout, even when on-policy learning is being applied to a different task. Just as Figure 2 shows the importance of behavioral cloning for maintaining past performance on a task, so this experiment shows that off-policy learning can actually increase performance from replay alone. Both ingredients are necessary for the success of CLEAR. ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
722,
|
| 588 |
+
825,
|
| 589 |
+
805
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 5
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "4.4 LIMITED-SIZE BUFFERS ",
|
| 596 |
+
"text_level": 1,
|
| 597 |
+
"bbox": [
|
| 598 |
+
174,
|
| 599 |
+
827,
|
| 600 |
+
379,
|
| 601 |
+
840
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 5
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "In some cases, it may be impractical to store all past experiences in the replay buffer. We therefore test the efficacy of buffers that have capacity for only a relatively small number of experiences (Figure 4). Once the buffer is full, we use reservoir sampling to decide when to replace elements of the buffer with new experiences (Isele & Cosgun, 2018) (see details in Appendix A). Thus, at each point in time, the buffer contains a (fixed size) sample uniformly at random of all past experiences. ",
|
| 608 |
+
"bbox": [
|
| 609 |
+
174,
|
| 610 |
+
853,
|
| 611 |
+
825,
|
| 612 |
+
924
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 5
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "We consider a sequence of tasks with 900 million environmental frames, comparing a large buffer of capacity 450 million to two small buffers of capacity 5 and 50 million. We find that all buffers perform well and conclude that it is possible to learn and reduce catastrophic forgetting even with a replay buffer that is significantly smaller than the total number of experiences. Decreasing the buffer size to 5 million results in a slight decrease in robustness to catastrophic forgetting. This may be due to over-fitting to the limited examples present in the buffer, on which the learner trains disproportionately often. ",
|
| 619 |
+
"bbox": [
|
| 620 |
+
174,
|
| 621 |
+
103,
|
| 622 |
+
825,
|
| 623 |
+
200
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 6
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "4.5 LEARNING A NEW TASK QUICKLY ",
|
| 630 |
+
"text_level": 1,
|
| 631 |
+
"bbox": [
|
| 632 |
+
176,
|
| 633 |
+
218,
|
| 634 |
+
444,
|
| 635 |
+
232
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "It is a reasonable worry that relying on a replay buffer could cause new tasks to be learned more slowly as the new task data will make up a smaller and smaller portion of the replay buffer as the buffer gets larger. In this experiment (Figure 5), we find that this is not a problem for CLEAR, relying as it does on a mixture of off- and on-policy learning. Specifically, we find the performance attained on a task is largely independent of the amount of data stored in the buffer and on the identities of the preceding tasks. We consider a cyclically repeating sequence of three DMLab tasks. At different points in the sequence, we insert a fourth DMLab task as a “probe”. We find that the performance attained on the probe task is independent of the point at which it is introduced within the training sequence. This is true both for normal training and for CLEAR. Notably, CLEAR succeeds in greatly reducing catastrophic forgetting for all tasks, and the effect on the probe task does not diminish as the probe task is introduced later on in the training sequence. See also Appendix B for an experiment demonstrating that pure off-policy learning performs quite differently in this setting. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
173,
|
| 644 |
+
244,
|
| 645 |
+
825,
|
| 646 |
+
411
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 6
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "4.6 COMPARISON TO P&C AND EWC ",
|
| 653 |
+
"text_level": 1,
|
| 654 |
+
"bbox": [
|
| 655 |
+
176,
|
| 656 |
+
428,
|
| 657 |
+
447,
|
| 658 |
+
443
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Finally, we compare our method to Progress & Compress (P&C) (Schwarz et al., 2018) and Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017), state-of-the-art methods for reducing catastrophic forgetting that, unlike replay, assume that the boundaries between different tasks are known (Figure 6). We use exactly the same sequence of Atari tasks as the authors of P&C (Schwarz et al., 2018), with the same time spent on each task. Likewise, the network and hyperparameters we use are designed to match exactly those used in Schwarz et al. (2018). This is simplified by the authors of P&C also using a training paradigm based on that in Espeholt et al. (2018). In this case, we use CLEAR with a 75-25 balance of new-replay experience. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
454,
|
| 668 |
+
825,
|
| 669 |
+
565
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "We find that we obtain comparable performance to P&C and better performance than EWC, despite CLEAR being significantly simpler and agnostic to the boundaries between tasks. On tasks krull, hero, and ms pacman, we obtain significantly higher performance than P&C (as well as EWC), while on beam rider and star gunner, P&C obtains higher performance. It is worth noting that though the on-policy model (baseline) experiences significant catastrophic forgetting, it also rapidly re-acquires its previous performance after re-exposure to the task; this allows baseline to be cumulatively better than EWC on some tasks (as is noted in the original paper Kirkpatrick et al. (2017)). An alternative plot of this experiment, showing cumulative performance on each task, is presented in Appendix C. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
571,
|
| 679 |
+
825,
|
| 680 |
+
698
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 6
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "5 DISCUSSION ",
|
| 687 |
+
"text_level": 1,
|
| 688 |
+
"bbox": [
|
| 689 |
+
174,
|
| 690 |
+
718,
|
| 691 |
+
310,
|
| 692 |
+
733
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 6
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "Some version of replay is believed to be present in biological brains. We do not believe that our implementation is reflective of neurobiology, though there are potential connections; hippocampal replay has been proposed as a systems-level mechanism to reduce catastrophic forgetting and improve generalization as in the theory of complementary learning systems (McClelland, 1998). This contrasts to some degree with synapse-level consolidation, which is also believed to be present in biology (Benna & Fusi, 2016), but is more like continual learning methods that protect parameters. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
750,
|
| 702 |
+
823,
|
| 703 |
+
833
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 6
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "Indeed, algorithms for continual learning may live on a Pareto frontier: different methods may have different regimes of applicability. In cases for which storing a large memory buffer is truly prohibitive, methods that protect inferred parameters, such as Progress & Compress, may be more suitable than replay methods. When task identities are available or boundaries between tasks are very clear, leveraging this information may reduce memory or computational demands or be useful to alert the agent to engage in rapid learning. Further, there exist training scenarios that are adversarial either to our method or to any method that prevents forgetting. For example, if the action space of a task were changed during training, fitting to the old policy’s action distribution, whether through behavioral cloning, off-policy learning, weight protection, or any of a number of other strategies for preventing catastrophic forgetting, could have a deleterious effect on future performance. For such cases, we may need to develop algorithms that selectively protect skills as well as forget them. ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
174,
|
| 712 |
+
840,
|
| 713 |
+
823,
|
| 714 |
+
924
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "image",
|
| 720 |
+
"img_path": "images/5a16653237c5e89a85928694b32a4fd98d9904a59816efa45cd016632315b34c.jpg",
|
| 721 |
+
"image_caption": [
|
| 722 |
+
"Figure 6: Comparison of CLEAR to Progress & Compress (P&C) and Elastic Weight Consolidation (EWC). We find that CLEAR demonstrates comparable or greater performance than these methods, despite being significantly simpler and not requiring any knowledge of boundaries between tasks. (See Appendix C for a different plot of these data.) "
|
| 723 |
+
],
|
| 724 |
+
"image_footnote": [],
|
| 725 |
+
"bbox": [
|
| 726 |
+
245,
|
| 727 |
+
102,
|
| 728 |
+
751,
|
| 729 |
+
517
|
| 730 |
+
],
|
| 731 |
+
"page_idx": 7
|
| 732 |
+
},
|
| 733 |
+
{
|
| 734 |
+
"type": "text",
|
| 735 |
+
"text": "",
|
| 736 |
+
"bbox": [
|
| 737 |
+
174,
|
| 738 |
+
617,
|
| 739 |
+
825,
|
| 740 |
+
688
|
| 741 |
+
],
|
| 742 |
+
"page_idx": 7
|
| 743 |
+
},
|
| 744 |
+
{
|
| 745 |
+
"type": "text",
|
| 746 |
+
"text": "We have explored CLEAR in a range of continual learning scenarios; we hope that some of the experimental protocols, such as probing with a novel task at varied positions in a training sequence, may inspire other research. Moving forward, we anticipate many algorithmic innovations that build on the ideas set forward here. For example, weight-consolidation techniques such as Progress & Compress are quite orthogonal to our approach and could be married with it for further performance gains. Moreover, while the V-Trace algorithm we use is effective at off-policy correction for small shifts between the present and past policy distributions, it is possible that off-policy approaches leveraging Q-functions, such as Retrace (Munos et al., 2016), may prove more powerful still. ",
|
| 747 |
+
"bbox": [
|
| 748 |
+
173,
|
| 749 |
+
694,
|
| 750 |
+
825,
|
| 751 |
+
806
|
| 752 |
+
],
|
| 753 |
+
"page_idx": 7
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"type": "text",
|
| 757 |
+
"text": "We have described a simple but powerful approach for preventing catastrophic forgetting in continual learning settings. CLEAR uses on-policy learning on fresh experiences to adapt rapidly to new tasks, while using off-policy learning with behavioral cloning on replay experience to maintain and modestly enhance performance on past tasks. Behavioral cloning on replay data further enhances the agent’s stability. Our method is simple, scalable, and practical; it takes advantage of the general abundance of memory and storage in modern computers and computing facilities. We believe that the broad applicability and simplicity of the approach make CLEAR a candidate “first line of defense” against catastrophic forgetting in many RL contexts. ",
|
| 758 |
+
"bbox": [
|
| 759 |
+
174,
|
| 760 |
+
811,
|
| 761 |
+
825,
|
| 762 |
+
924
|
| 763 |
+
],
|
| 764 |
+
"page_idx": 7
|
| 765 |
+
},
|
| 766 |
+
{
|
| 767 |
+
"type": "text",
|
| 768 |
+
"text": "REFERENCES ",
|
| 769 |
+
"text_level": 1,
|
| 770 |
+
"bbox": [
|
| 771 |
+
174,
|
| 772 |
+
103,
|
| 773 |
+
287,
|
| 774 |
+
117
|
| 775 |
+
],
|
| 776 |
+
"page_idx": 8
|
| 777 |
+
},
|
| 778 |
+
{
|
| 779 |
+
"type": "text",
|
| 780 |
+
"text": "Charles Beattie, Joel Z Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Kuttler, ¨ Andrew Lefrancq, Simon Green, V´ıctor Valdes, Amir Sadik, et al. DeepMind Lab. ´ Preprint arXiv:1612.03801, 2016. ",
|
| 781 |
+
"bbox": [
|
| 782 |
+
173,
|
| 783 |
+
126,
|
| 784 |
+
823,
|
| 785 |
+
167
|
| 786 |
+
],
|
| 787 |
+
"page_idx": 8
|
| 788 |
+
},
|
| 789 |
+
{
|
| 790 |
+
"type": "text",
|
| 791 |
+
"text": "Marcus K Benna and Stefano Fusi. Computational principles of synaptic memory consolidation. Nature neuroscience, 19(12):1697, 2016. ",
|
| 792 |
+
"bbox": [
|
| 793 |
+
168,
|
| 794 |
+
176,
|
| 795 |
+
821,
|
| 796 |
+
205
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 8
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. IMPALA: Scalable distributed Deep-RL with importance weighted actor-learner architectures. In ICML, 2018. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
176,
|
| 805 |
+
213,
|
| 806 |
+
823,
|
| 807 |
+
257
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 8
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "Robert M French. Catastrophic forgetting in connectionist networks. Trends in cognitive sciences, 3(4):128–135, 1999. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
171,
|
| 816 |
+
265,
|
| 817 |
+
823,
|
| 818 |
+
295
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 8
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "Stephen Grossberg. How does a brain build a cognitive code? In Studies of mind and brain, pp. 1–52. Springer, 1982. ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
171,
|
| 827 |
+
303,
|
| 828 |
+
823,
|
| 829 |
+
332
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 8
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "Shixiang Gu, Tim Lillicrap, Richard E Turner, Zoubin Ghahramani, Bernhard Scholkopf, and Sergey ¨ Levine. Interpolated policy gradient: Merging on-policy and off-policy gradient estimation for deep reinforcement learning. In NIPS, 2017. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
174,
|
| 838 |
+
339,
|
| 839 |
+
823,
|
| 840 |
+
383
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 8
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Todd Hester, Matej Vecerik, Olivier Pietquin, Marc Lanctot, Tom Schaul, Bilal Piot, Dan Horgan, John Quan, Andrew Sendonaris, Gabriel Dulac-Arnold, et al. Deep Q-learning from demonstrations. Preprint arXiv:1704.03732, 2017. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
176,
|
| 849 |
+
390,
|
| 850 |
+
823,
|
| 851 |
+
434
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 8
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "David Isele and Akansel Cosgun. Selective experience replay for lifelong learning. In AAAI, 2018. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
171,
|
| 860 |
+
441,
|
| 861 |
+
821,
|
| 862 |
+
458
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 8
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Christos Kaplanis, Murray Shanahan, and Claudia Clopath. Continual reinforcement learning with complex synapses. Preprint arXiv:1802.07239, 2018. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
171,
|
| 871 |
+
465,
|
| 872 |
+
823,
|
| 873 |
+
494
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 8
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. In Proceedings of the National Academy of Sciences, 2017. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
173,
|
| 882 |
+
502,
|
| 883 |
+
825,
|
| 884 |
+
559
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 8
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
171,
|
| 893 |
+
568,
|
| 894 |
+
823,
|
| 895 |
+
598
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 8
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Long-Ji Lin. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine learning, 8(3-4):293–321, 1992. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
171,
|
| 904 |
+
606,
|
| 905 |
+
821,
|
| 906 |
+
635
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 8
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "James L McClelland. Complementary learning systems in the brain: A connectionist approach to explicit and implicit cognition and memory. Annals of the New York Academy of Sciences, 843 (1):153–169, 1998. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
171,
|
| 915 |
+
643,
|
| 916 |
+
823,
|
| 917 |
+
685
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 8
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Kieran Milan, Joel Veness, James Kirkpatrick, Michael Bowling, Anna Koop, and Demis Hassabis. The forget-me-not process. In NIPS, 2016. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
176,
|
| 926 |
+
694,
|
| 927 |
+
821,
|
| 928 |
+
723
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 8
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "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, 2015. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
173,
|
| 937 |
+
732,
|
| 938 |
+
825,
|
| 939 |
+
775
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 8
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Remi Munos, Tom Stepleton, Anna Harutyunyan, and Marc Bellemare. Safe and efficient off-policy ´ reinforcement learning. In NIPS, 2016. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
782,
|
| 949 |
+
821,
|
| 950 |
+
813
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 8
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Brendan O’Donoghue, Remi Munos, Koray Kavukcuoglu, and Volodymyr Mnih. Combining policy gradient and Q-learning. Preprint arXiv:1611.01626, 2016. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
174,
|
| 959 |
+
820,
|
| 960 |
+
823,
|
| 961 |
+
849
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 8
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "German I Parisi, Ronald Kemker, Jose L Part, Christopher Kanan, and Stefan Wermter. Continual lifelong learning with neural networks: A review. Preprint arXiv:1802.07569, 2018. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
173,
|
| 970 |
+
858,
|
| 971 |
+
823,
|
| 972 |
+
887
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 8
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Mark B Ring. Child: A first step towards continual learning. Machine Learning, 28(1):77–104, 1997. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
173,
|
| 981 |
+
895,
|
| 982 |
+
823,
|
| 983 |
+
924
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 8
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. Preprint arXiv:1606.04671, 2016. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
103,
|
| 993 |
+
823,
|
| 994 |
+
146
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 9
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. In ICLR, 2016. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
173,
|
| 1003 |
+
156,
|
| 1004 |
+
821,
|
| 1005 |
+
185
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Jonathan Schwarz, Jelena Luketina, Wojciech M Czarnecki, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. In ICML, 2018. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
173,
|
| 1014 |
+
195,
|
| 1015 |
+
825,
|
| 1016 |
+
238
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual learning with deep generative replay. In NIPS, 2017. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
173,
|
| 1025 |
+
250,
|
| 1026 |
+
823,
|
| 1027 |
+
279
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 9
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Ziyu Wang, Victor Bapst, Nicolas Heess, Volodymyr Mnih, Remi Munos, Koray Kavukcuoglu, and Nando de Freitas. Sample efficient actor-critic with experience replay. Preprint arXiv:1611.01224, 2016. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
173,
|
| 1036 |
+
289,
|
| 1037 |
+
823,
|
| 1038 |
+
332
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In ICML, 2017. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
343,
|
| 1048 |
+
821,
|
| 1049 |
+
371
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 9
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "A IMPLEMENTATION DETAILS ",
|
| 1056 |
+
"text_level": 1,
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
176,
|
| 1059 |
+
400,
|
| 1060 |
+
436,
|
| 1061 |
+
416
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 9
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "A.1 DISTRIBUTED SETUP ",
|
| 1068 |
+
"text_level": 1,
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
176,
|
| 1071 |
+
431,
|
| 1072 |
+
362,
|
| 1073 |
+
445
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 9
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "Our training setup was based on that of Espeholt et al. (2018), with multiple actors and a single learner. The actors (which run on CPU) generate training examples, which are then sent to the learner. Weight updates made by the learner are propagated asynchronously to the actors. The workflows for each actor and for the learner are described below in more detail. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
174,
|
| 1082 |
+
458,
|
| 1083 |
+
823,
|
| 1084 |
+
513
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 9
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "Actor. A training episode (unroll) is generated and inserted into the actor’s buffer. Reservoir sampling is used (see further details below) if the buffer has reached its maximum capacity. The actor then samples another unroll from the buffer. The new unroll and replay unroll are both fed into a queue of examples that are read by the learner. The actor waits until its last example in the queue has been read before creating another. ",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
174,
|
| 1093 |
+
521,
|
| 1094 |
+
823,
|
| 1095 |
+
590
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 9
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "text",
|
| 1101 |
+
"text": "Learner. Each element of a batch is a pair (new unroll, replay unroll) from the queue provided by actors. Thus, the number of new unrolls and the number of replay unrolls both equal the entire batch size. Depending on the buffer utilization hyperparameter (see Figure 3), the learner uses a balance of new and replay examples, taking either the new unroll or the replay unroll from each pair. Thus, no actor contributes more than a single example to the batch (reducing the variance of batches). ",
|
| 1102 |
+
"bbox": [
|
| 1103 |
+
174,
|
| 1104 |
+
598,
|
| 1105 |
+
825,
|
| 1106 |
+
667
|
| 1107 |
+
],
|
| 1108 |
+
"page_idx": 9
|
| 1109 |
+
},
|
| 1110 |
+
{
|
| 1111 |
+
"type": "text",
|
| 1112 |
+
"text": "A.2 NETWORK ",
|
| 1113 |
+
"text_level": 1,
|
| 1114 |
+
"bbox": [
|
| 1115 |
+
176,
|
| 1116 |
+
685,
|
| 1117 |
+
290,
|
| 1118 |
+
699
|
| 1119 |
+
],
|
| 1120 |
+
"page_idx": 9
|
| 1121 |
+
},
|
| 1122 |
+
{
|
| 1123 |
+
"type": "text",
|
| 1124 |
+
"text": "For our DMLab experiments, we used the same network as in the DMLab experiments of Espeholt et al. (2018). We selected the shallower of the models considered there (a network based on Mnih et al. (2015)), omitting the additional LSTM module used for processing textual input since none of the tasks we considered included such input. For Atari, we used the same network in Progress & Compress (Schwarz et al., 2018) (which is also based on Espeholt et al. (2018)), also copying all hyperparameters. ",
|
| 1125 |
+
"bbox": [
|
| 1126 |
+
174,
|
| 1127 |
+
712,
|
| 1128 |
+
825,
|
| 1129 |
+
795
|
| 1130 |
+
],
|
| 1131 |
+
"page_idx": 9
|
| 1132 |
+
},
|
| 1133 |
+
{
|
| 1134 |
+
"type": "text",
|
| 1135 |
+
"text": "A.3 BUFFERS ",
|
| 1136 |
+
"text_level": 1,
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
176,
|
| 1139 |
+
813,
|
| 1140 |
+
282,
|
| 1141 |
+
828
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 9
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "text",
|
| 1147 |
+
"text": "Our replay buffer stores all information necessary for the V-Trace algorithm, namely the input presented by the environment, the output logits of the network, the value function output by the network, the action taken, and the reward obtained. Leveraging the distributed setup, the buffer is split among all actors equally, so that, for example, if the total buffer size were one million across a hundred actors, then each actor would have buffer capacity of ten thousand. All buffer sizes are measured in environment frames (not in numbers of unrolls), in keeping with the $x$ -axis of our training plots. ",
|
| 1148 |
+
"bbox": [
|
| 1149 |
+
174,
|
| 1150 |
+
840,
|
| 1151 |
+
825,
|
| 1152 |
+
922
|
| 1153 |
+
],
|
| 1154 |
+
"page_idx": 9
|
| 1155 |
+
},
|
| 1156 |
+
{
|
| 1157 |
+
"type": "text",
|
| 1158 |
+
"text": "For baseline experiments, no buffer was used, while all other parameters and the network remained constant. ",
|
| 1159 |
+
"bbox": [
|
| 1160 |
+
173,
|
| 1161 |
+
103,
|
| 1162 |
+
823,
|
| 1163 |
+
132
|
| 1164 |
+
],
|
| 1165 |
+
"page_idx": 10
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"type": "text",
|
| 1169 |
+
"text": "Unless otherwise specified, the replay buffer was capped at half the number of environment frames on which the network is trained. This is by design – to show that even past the buffer capacity, replay continues to prevent catastrophic forgetting. When the buffer fills up, then new unrolls are added by reservoir sampling, so that the buffer at any given point contains a uniformly random sample of all unrolls up until the present time. Reservoir sampling is implemented as in Isele & Cosgun (2018) by having each unroll associated with a random number between 0 and 1. A threshold is initialized to 0 and rises with time so that the number of unrolls above the threshold is fixed at the capacity of the buffer. Each unroll is either stored or abandoned in its entirety; no unroll is partially stored, as this would preclude training. ",
|
| 1170 |
+
"bbox": [
|
| 1171 |
+
174,
|
| 1172 |
+
138,
|
| 1173 |
+
825,
|
| 1174 |
+
263
|
| 1175 |
+
],
|
| 1176 |
+
"page_idx": 10
|
| 1177 |
+
},
|
| 1178 |
+
{
|
| 1179 |
+
"type": "text",
|
| 1180 |
+
"text": "A.4 TRAINING ",
|
| 1181 |
+
"text_level": 1,
|
| 1182 |
+
"bbox": [
|
| 1183 |
+
174,
|
| 1184 |
+
281,
|
| 1185 |
+
289,
|
| 1186 |
+
295
|
| 1187 |
+
],
|
| 1188 |
+
"page_idx": 10
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"type": "text",
|
| 1192 |
+
"text": "Training was conducted using V-Trace, with hyperparameters on DMLab/Atari tasks set as in Espeholt et al. (2018). Behavioral cloning loss functions $L _ { \\mathrm { p o l i c y - c l o n i n g } }$ and $L _ { \\mathrm { v a l u e - c l o n i n g } }$ were added in some experiments with weights of 0.01 and 0.005, respectively. The established loss functions Lpolicy-gradient, $L _ { \\mathrm { v a l u e } }$ , and $L _ { \\mathrm { e n t r o p y } }$ were applied with weights of 1, 0.5, and ${ \\approx } 0 . 0 0 5$ , in keeping with Espeholt et al. (2018). No significant effort was made to optimize fully the hyperparameters for CLEAR. ",
|
| 1193 |
+
"bbox": [
|
| 1194 |
+
174,
|
| 1195 |
+
308,
|
| 1196 |
+
825,
|
| 1197 |
+
390
|
| 1198 |
+
],
|
| 1199 |
+
"page_idx": 10
|
| 1200 |
+
},
|
| 1201 |
+
{
|
| 1202 |
+
"type": "text",
|
| 1203 |
+
"text": "A.5 EVALUATION ",
|
| 1204 |
+
"text_level": 1,
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
176,
|
| 1207 |
+
407,
|
| 1208 |
+
310,
|
| 1209 |
+
421
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 10
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "We evaluate each network during training on all tasks, not simply that task on which it is currently being trained. Evaluation is performed by pools of testing actors, with a separate pool for each task in question. Each pool of testing actors asynchronously updates its weights to match those of the learner, similarly to the standard (training) actors used in our distributed learning setup. The key differences are that each testing actor (i) has no replay buffer, (ii) does not feed examples to the learner for training, (iii) runs on its designated task regardless of whether this task is the one currently in use by training actors. ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
174,
|
| 1218 |
+
434,
|
| 1219 |
+
825,
|
| 1220 |
+
531
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 10
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "A.6 EXPERIMENTS ",
|
| 1227 |
+
"text_level": 1,
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
176,
|
| 1230 |
+
547,
|
| 1231 |
+
318,
|
| 1232 |
+
563
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 10
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"text": "In many of our experiments, we consider tasks that change after a specified number of learning episodes. The total number of episodes is monitored by the learner, and all actors switch between tasks simultaneously at the designated point, henceforward feeding examples to the learner based on experiences on the new task (as well as replay examples). Each experiment was run independently three times; figures plot the mean performance across runs, with error bars showing the standard deviation. ",
|
| 1239 |
+
"bbox": [
|
| 1240 |
+
174,
|
| 1241 |
+
574,
|
| 1242 |
+
825,
|
| 1243 |
+
657
|
| 1244 |
+
],
|
| 1245 |
+
"page_idx": 10
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "text",
|
| 1249 |
+
"text": "B PROBE TASK WITH $100 \\%$ REPLAY ",
|
| 1250 |
+
"text_level": 1,
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
176,
|
| 1253 |
+
102,
|
| 1254 |
+
485,
|
| 1255 |
+
117
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 11
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Our goal in this experiment was to investigate more thoroughly than Figure 3 to what extent the mixture of on- and off-policy learning is necessary, instead of pure off-policy learning, in learning new tasks swiftly. We rerun our “probe task” experiments (Section 4.5), where the DMLab task natlab varying map randomized is presented at different positions in a cyclically repeating sequence of other DMLab tasks. In this case, however, we use CLEAR with $100 \\%$ (off-policy) replay experience. We observe that, unlike in the original experiment (Figure 5), the performance obtained on the probe task natlab varying map randomized deteriorates markedly as it appears later in the sequence of tasks. For later positions in the sequence, the probe task comprises a smaller percentage of replay experience, thereby impeding purely off-policy learning. This result underlines why CLEAR uses new experience, as well as replay, to allow rapid learning of new tasks. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
133,
|
| 1265 |
+
825,
|
| 1266 |
+
273
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 11
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "image",
|
| 1272 |
+
"img_path": "images/82f14b109e25ca17227e98ed4906725dc46304c60d185fbc72358fb992cabd45.jpg",
|
| 1273 |
+
"image_caption": [
|
| 1274 |
+
"Figure 7: This figure shows the same “probe task” setup as Figure 5, but with CLEAR using $100 \\%$ replay experience. Performance on the probe task natlab varying map randomized decreases markedly as it appears later in the sequence of tasks, emphasizing the importance of using a blend of new experience and replay instead of $100 \\%$ replay. "
|
| 1275 |
+
],
|
| 1276 |
+
"image_footnote": [],
|
| 1277 |
+
"bbox": [
|
| 1278 |
+
179,
|
| 1279 |
+
295,
|
| 1280 |
+
823,
|
| 1281 |
+
786
|
| 1282 |
+
],
|
| 1283 |
+
"page_idx": 11
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"type": "text",
|
| 1287 |
+
"text": "C FIGURES REPLOTTED ACCORDING TO CUMULATIVE SUM ",
|
| 1288 |
+
"text_level": 1,
|
| 1289 |
+
"bbox": [
|
| 1290 |
+
173,
|
| 1291 |
+
103,
|
| 1292 |
+
678,
|
| 1293 |
+
118
|
| 1294 |
+
],
|
| 1295 |
+
"page_idx": 12
|
| 1296 |
+
},
|
| 1297 |
+
{
|
| 1298 |
+
"type": "text",
|
| 1299 |
+
"text": "In this section, we replot the results of our main experiments, so that the $y$ -axis shows the mean cumulative reward obtained on each task during training; that is, the reward shown for time $t$ is the average $( 1 / t ) \\sum _ { s < t } r _ { s }$ . This makes it easier to compare performance between models, though it smoothes out the individual periods of catastrophic forgetting. We also include tables comparing the values of the final cumulative rewards at the end of training. ",
|
| 1300 |
+
"bbox": [
|
| 1301 |
+
174,
|
| 1302 |
+
133,
|
| 1303 |
+
825,
|
| 1304 |
+
204
|
| 1305 |
+
],
|
| 1306 |
+
"page_idx": 12
|
| 1307 |
+
},
|
| 1308 |
+
{
|
| 1309 |
+
"type": "table",
|
| 1310 |
+
"img_path": "images/e7f2543c11be2cb79409127a54f0810fdb00e56045975e0d65208ffef8440009.jpg",
|
| 1311 |
+
"table_caption": [],
|
| 1312 |
+
"table_footnote": [],
|
| 1313 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>explore...</td><td rowspan=1 colspan=1>rooms_collect...</td><td rowspan=1 colspan=1>rooms_keys...</td></tr><tr><td rowspan=1 colspan=1>Separate</td><td rowspan=1 colspan=1>29.24</td><td rowspan=1 colspan=1>8.79</td><td rowspan=1 colspan=1>19.91</td></tr><tr><td rowspan=1 colspan=1>Simultaneous</td><td rowspan=1 colspan=1>32.35</td><td rowspan=1 colspan=1>8.81</td><td rowspan=1 colspan=1>20.56</td></tr><tr><td rowspan=1 colspan=1>Sequential (no CLEAR)</td><td rowspan=1 colspan=1>17.99</td><td rowspan=1 colspan=1>5.01</td><td rowspan=1 colspan=1>10.87</td></tr><tr><td rowspan=1 colspan=1>CLEAR (50-50 new-replay)</td><td rowspan=1 colspan=1>31.40</td><td rowspan=1 colspan=1>8.00</td><td rowspan=1 colspan=1>18.13</td></tr><tr><td rowspan=1 colspan=1>CLEAR w/o behavioral cloning</td><td rowspan=1 colspan=1>28.66</td><td rowspan=1 colspan=1>7.79</td><td rowspan=1 colspan=1>16.63</td></tr><tr><td rowspan=1 colspan=1>CLEAR, 75-25 new-replay</td><td rowspan=1 colspan=1>30.28</td><td rowspan=1 colspan=1>7.83</td><td rowspan=1 colspan=1>17.86</td></tr><tr><td rowspan=1 colspan=1>CLEAR,100% replay</td><td rowspan=1 colspan=1>31.09</td><td rowspan=1 colspan=1>7.48</td><td rowspan=1 colspan=1>13.39</td></tr><tr><td rowspan=1 colspan=1>CLEAR,buffer5M</td><td rowspan=1 colspan=1>30.33</td><td rowspan=1 colspan=1>8.00</td><td rowspan=1 colspan=1>18.07</td></tr><tr><td rowspan=1 colspan=1>CLEAR,buffer 50M</td><td rowspan=1 colspan=1>30.82</td><td rowspan=1 colspan=1>7.99</td><td rowspan=1 colspan=1>18.21</td></tr></table>",
|
| 1314 |
+
"bbox": [
|
| 1315 |
+
184,
|
| 1316 |
+
217,
|
| 1317 |
+
812,
|
| 1318 |
+
364
|
| 1319 |
+
],
|
| 1320 |
+
"page_idx": 12
|
| 1321 |
+
},
|
| 1322 |
+
{
|
| 1323 |
+
"type": "image",
|
| 1324 |
+
"img_path": "images/daf0d1b74b06e2d16d0138065bacc4f9791038986d3ee878f871910f54e23e89.jpg",
|
| 1325 |
+
"image_caption": [
|
| 1326 |
+
"Figure 8: Quantitative comparison of the final cumulative performance between standard training (“Sequential (no CLEAR)”) and various versions of CLEAR (see Figures 9, 10, 11, and 12 below) on a cyclically repeating sequence of DMLab tasks. We also include the results of training on each individual task with a separate network (“Separate”) and on all tasks simultaneously (“Simultaneous”) instead of sequentially. As described in Section 4.1, these situations represent no-forgetting scenarios and thus present upper bounds on the performance expected in a continual learning setting, where tasks are presented sequentially. Remarkably, CLEAR achieves performance comparable to “Separate” and “Simultaneous”, demonstrating that forgetting is virtually eliminated. ",
|
| 1327 |
+
"Figure 9: Alternative plot of the experiments shown in Figure 1, showing the difference in cumulative performance between training on tasks separately, simultaneously, and sequentially (without using CLEAR). The marked decrease in performance for sequential training is due to catastrophic forgetting. As in our earlier plots, thicker line segments are used to denote times at which the network is gaining new experience on a given task. "
|
| 1328 |
+
],
|
| 1329 |
+
"image_footnote": [],
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
179,
|
| 1332 |
+
506,
|
| 1333 |
+
823,
|
| 1334 |
+
628
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 12
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "image",
|
| 1340 |
+
"img_path": "images/55261fe95d499a1663f48d11348a53227eaf6ce98736d360b1b76681ea545d05.jpg",
|
| 1341 |
+
"image_caption": [
|
| 1342 |
+
"Figure 10: Alternative plot of the experiments shown in Figure 2, showing how applying CLEAR when training on sequentially presented tasks gives almost the same results as training on all tasks simultaneously (compare to sequential and simultaneous training in Figure 9 above). Applying CLEAR without behavioral cloning also yields decent results. "
|
| 1343 |
+
],
|
| 1344 |
+
"image_footnote": [],
|
| 1345 |
+
"bbox": [
|
| 1346 |
+
210,
|
| 1347 |
+
136,
|
| 1348 |
+
794,
|
| 1349 |
+
300
|
| 1350 |
+
],
|
| 1351 |
+
"page_idx": 13
|
| 1352 |
+
},
|
| 1353 |
+
{
|
| 1354 |
+
"type": "image",
|
| 1355 |
+
"img_path": "images/11d8ea8904016133e59f70f61c531a020561649bb8bbff91bee61ea8e356d851.jpg",
|
| 1356 |
+
"image_caption": [
|
| 1357 |
+
"Figure 11: Alternative plot of the experiments shown in Figure 3, comparing performance between using CLEAR with 75-25 new-replay experience, 50-50 new-replay experience, and $100 \\%$ replay experience. An equal balance of new and replay experience seems to represent a good tradeoff between stability and plasticity, while $100 \\%$ replay reduces forgetting but lowers performance overall. "
|
| 1358 |
+
],
|
| 1359 |
+
"image_footnote": [],
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
178,
|
| 1362 |
+
449,
|
| 1363 |
+
823,
|
| 1364 |
+
573
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 13
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "image",
|
| 1370 |
+
"img_path": "images/66269e241cd72c0f9e2fb3fbc361e24ce26e1033433b84119dd340560205801a.jpg",
|
| 1371 |
+
"image_caption": [
|
| 1372 |
+
"Figure 12: Alternative plot of the experiments shown in Figure 4, showing that reduced-size buffers still allow CLEAR to achieve essentially the same performance. "
|
| 1373 |
+
],
|
| 1374 |
+
"image_footnote": [],
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
178,
|
| 1377 |
+
720,
|
| 1378 |
+
825,
|
| 1379 |
+
843
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 13
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "table",
|
| 1385 |
+
"img_path": "images/2f68a41a5720d88fbd9d80ab353a3714f48d3a931ab2fa9338db10c4db18d7f6.jpg",
|
| 1386 |
+
"table_caption": [
|
| 1387 |
+
"Figure 13: Quantitative comparison of the final cumulative performance between baseline (standard training), CLEAR, Elastic Weight Consolidation (EWC), and Progress & Compress (P&C) (see Figure 14 below). Overall, CLEAR performs comparably to or better than P&C, and significantly better than EWC and baseline. "
|
| 1388 |
+
],
|
| 1389 |
+
"table_footnote": [],
|
| 1390 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>space_invaders</td><td rowspan=1 colspan=1>krull</td><td rowspan=1 colspan=1>beam_rider</td><td rowspan=1 colspan=1>hero</td><td rowspan=1 colspan=1>star-gunner</td><td rowspan=1 colspan=1>ms-pacman</td></tr><tr><td rowspan=1 colspan=1>Baseline</td><td rowspan=1 colspan=1>346.47</td><td rowspan=1 colspan=1>5512.36</td><td rowspan=1 colspan=1>952.72</td><td rowspan=1 colspan=1>2737.32</td><td rowspan=1 colspan=1>1065.20</td><td rowspan=1 colspan=1>753.83</td></tr><tr><td rowspan=1 colspan=1>CLEAR</td><td rowspan=1 colspan=1>426.72</td><td rowspan=1 colspan=1>8845.12</td><td rowspan=1 colspan=1>585.05</td><td rowspan=1 colspan=1>8106.22</td><td rowspan=1 colspan=1>991.74</td><td rowspan=1 colspan=1>1222.82</td></tr><tr><td rowspan=1 colspan=1>EWC</td><td rowspan=1 colspan=1>549.22</td><td rowspan=1 colspan=1>5352.92</td><td rowspan=1 colspan=1>432.78</td><td rowspan=1 colspan=1>4499.35</td><td rowspan=1 colspan=1>704.20</td><td rowspan=1 colspan=1>639.75</td></tr><tr><td rowspan=1 colspan=1>P&C</td><td rowspan=1 colspan=1>455.34</td><td rowspan=1 colspan=1>7025.40</td><td rowspan=1 colspan=1>743.38</td><td rowspan=1 colspan=1>3433.10</td><td rowspan=1 colspan=1>1261.86</td><td rowspan=1 colspan=1>924.52</td></tr></table>",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
171,
|
| 1393 |
+
101,
|
| 1394 |
+
848,
|
| 1395 |
+
174
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 14
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "image",
|
| 1401 |
+
"img_path": "images/e69e52e550d426a64e883ac2eee1eabc869e4fe44e4b41fe0eb0b5704c777283.jpg",
|
| 1402 |
+
"image_caption": [
|
| 1403 |
+
"Figure 14: Alternative plot of the experiments shown in Figure 6, showing that CLEAR attains comparable or better performance than the more complicated methods Progress & Compress (P&C) and Elastic Weight Consolidation (EWC), which also require information about task boundaries, unlike CLEAR. "
|
| 1404 |
+
],
|
| 1405 |
+
"image_footnote": [],
|
| 1406 |
+
"bbox": [
|
| 1407 |
+
277,
|
| 1408 |
+
261,
|
| 1409 |
+
720,
|
| 1410 |
+
622
|
| 1411 |
+
],
|
| 1412 |
+
"page_idx": 14
|
| 1413 |
+
}
|
| 1414 |
+
]
|
parse/train/S1g2V3Cct7/S1g2V3Cct7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1g2V3Cct7/S1g2V3Cct7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1gBz2C9tX/S1gBz2C9tX.md
ADDED
|
@@ -0,0 +1,410 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 6 |
+
|
| 7 |
+
Importance sampling is a common approach to off-policy learning in reinforcement learning. While it is consistent and unbiased, it can result in high variance updates to the parameters for the value function. Weighted importance sampling (WIS) has been explored to reduce variance for off-policy policy evaluation, but only for linear value function approximation. In this work, we explore a resampling strategy to reduce variance, rather than a reweighting strategy. We propose Importance Resampling (IR) for off-policy learning, that resamples experience from the replay buffer and applies a standard on-policy update. The approach avoids using importance sampling ratios directly in the update, instead correcting the distribution over transitions before the update. We characterize the bias and consistency of the our estimator, particularly compared to WIS. We then demonstrate in several toy domains that IR has improved sample efficiency and parameter sensitivity, as compared to several baseline WIS estimators and to IS. We conclude with a demonstration showing IR improves over IS for learning a value function from images in a racing car simulator.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
An important component of many learning systems is learning value functions for many policies. Some examples of such systems are the Horde architecture composed of General Value Functions (GVFs) (Sutton et al., 2011; Modayil et al., 2014), systems that use options (Sutton et al., 1999; Schaul et al., 2015a), predictive representation approaches (Sutton et al., 2005; Schaul and Ring, 2013; Silver et al., 2017) and systems with auxiliary tasks (Jaderberg et al., 2017). For each target policy, the value function returns the expected return from a state, and can provide useful information about (long-term) outcomes under different behaviors. Off-policy learning is critical for learning many value functions with different policies at scale, because it enables data to be generated from one behavior policy to update the values for each target policy in parallel.
|
| 12 |
+
|
| 13 |
+
The typical strategy for off-policy learning is to use importance sampling (IS). For a given state $s$ , with action $a$ selected according to behaviour $\mu$ , the importance sampling ratio is the ratio between the probability of the action under the target policy $\pi$ and the behaviour: $\frac { \pi ( a | s ) } { \mu ( a | s ) }$ . The update is multiplied by this ratio, adjusting the action probabilities so that the expectation of the update is as if the actions were sampled according to the target policy $\pi$ . Though the IS estimator is unbiased and consistent (Kahn and Marshall, 1953; Rubinstein and Kroese, 2016), it can suffer from high or even infinite variance due to large magnitude IS ratios, in theory (Andradottir et al., 1995) and in practice (Precup et al., 2001; Mahmood et al., 2014; 2017).
|
| 14 |
+
|
| 15 |
+
There have been some attempts to modify policy evaluation algorithms to mitigate this variance.1 Weighted IS (WIS) algorithms have been introduced (Precup et al., 2001; Mahmood et al., 2014; Mahmood and Sutton, 2015), which normalize each update by the sample average of the ratios. These algorithms did improve learning over standard IS strategies, but are not straightforward to extend to nonlinear function approximation. In the offline setting, a reweighting scheme, called importance sampling with unequal support (Thomas and Brunskill, 2017), was introduced to account for samples where the ratio is zero, in some cases significantly reducing variance. Another strategy has been to use rescaling or truncation of IS ratios, such as in V-trace (Espeholt et al., 2018). Several other methods have introduced bias similarly for algorithms with eligibility traces by truncating or scaling IS ratios to maintain stability of the eligibility trace vector, including Tree-Backup (Precup et al., 2000), Retrace (Munos et al., 2016) and ABQ (Mahmood et al., 2017). Truncation of IS-ratios in V-trace can incur significant bias, and this additional truncation parameter does need to be tuned.
|
| 16 |
+
|
| 17 |
+
An alternative to reweighting updates is to instead correct the distribution before updating the estimator using weighted bootstrap sampling: resampling a new set of data from the previously generated samples (Smith et al., 1992; Arulampalam et al., 2002). Consider a setting where a buffer of data is stored, generated by a behavior policy. Samples for policy $\pi$ can be obtained by resampling from this buffer, proportionally to $\frac { \pi ( a | s ) } { \mu ( a | s ) }$ for state-action pairs $( s , a )$ in the buffer. In the sampling literature, this strategy has been proposed under the name Sampling Importance Resampling (SIR) (Rubin, 1988; Smith et al., 1992; Gordon et al., 1993), and has been particularly successful for Sequential Monte Carlo sampling (Gordon et al., 1993; Skare et al., 2003). Such resampling strategies have also been popular in classification, with over-sampling or under-sampling typically being preferred to weighted (cost-sensitive) updates (Lopez et al., 2013).
|
| 18 |
+
|
| 19 |
+
Such a resampling strategy, however, has yet to be proposed for policy evaluation, though there are several potential benefits. By correcting the distribution before updating, standard on-policy updates can be used, without needing to modify or re-derive with IS ratios. This simplifies application of different optimizers, such as those with momentum terms. Another benefit is that the magnitude of the updates will vary less—because updates are not multiplied by very small or very large importance sampling ratios—potentially reducing variance of stochastic updates and simplifying stepsize selection. Resampling should have larger benefits for learning approaches, as compared to averaging or numerical integration problems, because updates accumulate in the weight vector and change the optimization trajectory of the weights. For example, very large importance sampling ratios could destabilize the weights. Such a problem does not occur for resampling, as instead the same transition will simply be resampled multiple times, spreading out the large magnitude update across multiple updates. On the other extreme, with small ratios, IS will waste updates on transitions with very small IS ratios. Resampling, therefore, should have better sample efficiency. Two important questions, therefore, are if these hypothesized advantages manifest in practice in off-policy learning, and how SIR can be extended for use in policy evaluation.
|
| 20 |
+
|
| 21 |
+
In this work, we investigate the use of SIR for online off-policy policy evaluation. We first introduce Importance Resampling (IR), which uses an SIR strategy to sample transitions from a buffer of (recent) transitions. These sampled transitions are then used for on-policy updates. We show that IR, with a sliding-window buffer, is a consistent estimator of the one-step on-policy updates, with the same bias as WIS. We then empirically investigate IR on three toy domains and a racing car simulation learning from images. We find that IR is more sample efficient—learning more quickly in terms of number of updates—and has reduced sensitivity in terms of learning rate parameters, for both fixed parameters and within the RMSProp optimizer.
|
| 22 |
+
|
| 23 |
+
# 2 BACKGROUND
|
| 24 |
+
|
| 25 |
+
We consider the problem of learning General Value Functions (GVFs) (Sutton et al., 2011). The agent interacts in an environment defined by a set of states $s$ , a set of actions $\mathcal { A }$ and Markov transition dynamics, with probability $\mathrm { P } ( s ^ { \prime } | s , a )$ of transitions to state $s ^ { \prime }$ when taking action $a$ in state $s$ . A GVF is defined for policy $\pi : S \times A \to [ 0 , 1 ]$ , cumulant $c : S \times \mathcal { A } \times \mathcal { S } \mathbb { R }$ and continuation function $\gamma : S \times \mathcal { A } \times \mathcal { S } [ 0 , 1 ]$ $c _ { t + 1 } \{ \stackrel { \mathrm { d e f } } { = } c ( S _ { t } , A _ { t } , S _ { t + 1 } )$ $\gamma _ { t + 1 } \{ \stackrel { \mathrm { d e f } } { = } \gamma ( S _ { t } , A _ { t } , S _ { t + 1 } )$ $V ( s ) \stackrel { \mathrm { d e f } } { = } \mathbb { E } _ { \pi } \left[ c _ { t + 1 } + \gamma _ { t + 1 } c _ { t + 2 } + \gamma _ { t + 1 } \gamma _ { t + 2 } c _ { t + 3 } + \ldots | S _ { t } = s \right] = \mathbb { E } _ { \pi } \left[ \sum _ { i = 1 } ^ { \infty } \left( \prod _ { j = 0 } ^ { i - 1 } \gamma _ { t + j } \right) c _ { t + i } | S _ { t } = s \right] .$
|
| 26 |
+
|
| 27 |
+
The operator $\mathbb { E } _ { \pi }$ indicates the actions are selected according to policy $\pi$ for the expectation. GVFs encompass standard definitions of value functions, where the cumulant is a reward and the continuation function is a constant. Otherwise, they specify a broader set of value functions, that enable predictions about discounted sums of others signals into the future, when following a target policy $\pi$ . These values are typically estimated using parametric function approximation, with parameters $\theta \in \mathbb { R } ^ { d }$ defining approximate values $V _ { \theta } ( s )$ .
|
| 28 |
+
|
| 29 |
+
In off-policy learning, transitions are sampled according to behaviour policy, rather than the target policy. To get an unbiased sample of an update to the parameters, the action probabilities need to be adjusted. Consider on-policy temporal difference (TD) learning, with update $\alpha _ { t } \delta _ { t } \nabla _ { \theta } V _ { \theta } ( s )$ for a given $S _ { t } = s$ , for stepsize $\alpha _ { t } \in \mathbb { R } ^ { + }$ and TD-error $\delta _ { t } \stackrel { \mathrm { d e f } } { = } C _ { t + 1 } + \gamma _ { t + 1 } V _ { \theta } ( S _ { t + 1 } ) - V _ { \theta } ( s )$ . If actions are instead sampled according to a behaviour policy $\mu : \mathcal { S } \times \mathcal { A } [ 0 , 1 ]$ , then we can use importance sampling (IS) to modify the update, giving the off-policy TD update $\alpha _ { t } \rho _ { t } \delta _ { t } \nabla _ { \theta } V _ { \theta } ( s )$ for IS ratio $\rho _ { t } \stackrel { \mathrm { d e f } } { = } \frac { \pi ( A _ { t } | S _ { t } ) } { \mu ( A _ { t } | S _ { t } ) }$ . Given state $S _ { t } = s$ , if $\mu ( a | s ) > 0$ when $\pi ( a | s ) > 0$ , then the expected value of these two updates are equal. To see why, notice that
|
| 30 |
+
|
| 31 |
+
$$
|
| 32 |
+
\mathbb { E } _ { \mu } \left[ \alpha _ { t } \rho _ { t } \delta _ { t } \nabla _ { \theta } V _ { \theta } ( s ) | S _ { t } = s \right] = \alpha _ { t } \nabla _ { \theta } V _ { \theta } ( s ) \mathbb { E } _ { \mu } \left[ \rho _ { t } \delta _ { t } | S _ { t } = s \right]
|
| 33 |
+
$$
|
| 34 |
+
|
| 35 |
+
and we have
|
| 36 |
+
|
| 37 |
+
$$
|
| 38 |
+
\begin{array} { r l } { \overline { { \Omega _ { \mu } } } \left[ \rho _ { t } \delta _ { t } | S _ { t } = s \right] = \displaystyle \sum _ { a \in A } \mu ( a | s ) \mathbb { E } \left[ \rho _ { t } \delta _ { t } | S _ { t } = s , A _ { t } = a \right] } & { = \displaystyle \sum _ { a \in A } \mu ( a | s ) \frac { \pi ( a | s ) } { \mu ( a | s ) } \mathbb { E } \left[ \delta _ { t } | S _ { t } = s , A _ { t } = a \right] } \\ { = \displaystyle \sum _ { a \in A } \pi ( a | s ) \mathbb { E } \left[ \delta _ { t } | S _ { t } = s , A _ { t } = a \right] } & { \quad = \mathbb { E } _ { \pi } \left[ \delta _ { t } | S _ { t } = s \right] . } \end{array}
|
| 39 |
+
$$
|
| 40 |
+
|
| 41 |
+
Other on-policy updates can also be modified with IS ratios to adjust these action probabilities.
|
| 42 |
+
|
| 43 |
+
Though unbiased, IS can be high-variance, and so weighted IS ratios are typically preferred. For a batch consisting of transitions $\{ ( s _ { i } , a _ { i } , s _ { i + 1 } , c _ { i + 1 } , \rho _ { i } ) \} _ { i = 1 } ^ { n }$ , batch WIS uses a normalized estimate for the update. For example, an offline batch WIS TD algorithm would use update $\begin{array} { r } { \alpha _ { t } \frac { \rho _ { t } \delta _ { t } \nabla _ { \theta } V _ { \theta } ( s ) } { \sum _ { i = 1 } ^ { n } \rho _ { i } } } \end{array}$ . When learning online, an efficient WIS update is less straightforward, and has resulted in algorithms specialized to the tabular setting (Precup et al., 2001) or linear functions (Mahmood et al., 2014; Mahmood and Sutton, 2015). We nonetheless use WIS as baseline, in the experiments and theory.
|
| 44 |
+
|
| 45 |
+
# 3 RESAMPLING STRATEGIES FOR OFF-POLICY POLICY EVALUATION
|
| 46 |
+
|
| 47 |
+
In this section, we introduce resampling, as an alternative to importance sampling for off-policy learning. We first introduce the algorithm, Importance Resampling (IR). We then prove consistency and characterize the bias. We conclude with a discussion about its variance properties.
|
| 48 |
+
|
| 49 |
+
Importance Resampling requires access to a buffer of samples, from which we can resample. Replaying experience from a buffer was introduced as a biologically plausible mechanism to reuse old experience (Lin, 1992; 1993), and has since become common for improving sample efficiency, particularly for control (Mnih et al., 2015; Schaul et al., 2015b). In the simplest case—which we assume here—the buffer is a sliding window of the most recent $n$ samples, $\{ ( s _ { i } , a _ { i } , s _ { i + 1 } , c _ { i + 1 } , \rho _ { i } ) \} _ { i = t - n } ^ { t }$ , at time step $t > n$ . These samples are generated by taking actions according to behaviour $\mu$ , and so the tuples are generated with probability $d _ { \mu } ( s ) \mu ( a \vert s ) \mathrm { P } ( s ^ { \prime } \vert s , a )$ , where $d _ { \mu } : S [ 0 , 1 ]$ is the stationary distribution for policy $\mu$ . The goal is to obtain samples instead according to $\bar { d _ { \mu } } ( s ) \bar { \pi } ( a | s ) \mathrm { P } ( s ^ { \prime } | s , a )$ , as if we had taken actions according to policy $\pi$ from state $s \sim d _ { \mu }$ . This assumption—that states are still sampled from $d _ { \mu }$ —underlies most off-policy learning algorithms; very few attempt to use IS to adjust probabilities $d _ { \mu }$ to $d _ { \pi }$ (Precup et al., 2001).
|
| 50 |
+
|
| 51 |
+
The IR algorithm is simple: resample a mini-batch of size $k$ on each step $t$ from the buffer of size $n$ , proportionally to $\rho _ { i }$ in the buffer. Standard on-policy updates, such as on-policy TD or on-policy gradient TD, are then used on this resample. The key difference to IS and WIS is that the sampling distribution itself is corrected (see Theorem C.1), before the update, whereas IS and WIS correct the update itself. This small difference, however, can have larger ramifications practically, particularly with updates that accumulate in the parameters.
|
| 52 |
+
|
| 53 |
+
We consider two variants of IR: with and without bias correction. For point $t _ { j }$ sampled from the buffer, let $\Delta _ { t _ { j } }$ be the on-policy update for that transition. For example, for TD, $\tilde { \Delta t _ { t _ { j } } } = \delta _ { t _ { j } } \nabla _ { \theta } V _ { \theta } \big ( s _ { t _ { j } } \big )$ . The first step for either variant is to sample a mini-batch of size $k$ from the buffer, proportionally to $\rho _ { i }$ , as described above. The standard IR update simply uses a mini-batch, whereas Bias-Corrected IR (BC-IR) pre-multiplies with the average ratio in the buffer $\textstyle { \bar { \rho } } _ { t } = { \frac { 1 } { n } } \sum _ { i = 1 } ^ { n } \rho _ { i }$ ,
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\begin{array} { r } { { \mathbf { I R } : \qquad \alpha _ { t } \frac { 1 } { k } \displaystyle \sum _ { j = 1 } ^ { k } \Delta _ { t _ { j } } } } \end{array}
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\begin{array} { r } { { \mathbf { B C - I R : } } \qquad \alpha _ { t } \bar { \rho } _ { t } \frac { 1 } { k } \displaystyle \sum _ { j = 1 } ^ { k } \Delta _ { t _ { j } } . } \end{array}
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
BC-IR negates bias introduced by the average ratio in the buffer deviating significantly from the true mean. For reasonably large buffers, $\bar { \rho } _ { t }$ will be close to 1 making IR and BC-IR have nearidentical updates. In practice, we find the two variants of IR perform similarly. Nonetheless, they do have different theoretical properties, particularly for small buffer sizes $n$ , so we characterize both. Though BC-IR has better bias properties, IR is simpler—not requiring any modification to the updates—which may be more important than the small amount of bias introduced by the IR without bias correction. For this reason, we advocate for and analyze both variants.
|
| 64 |
+
|
| 65 |
+
Across all results, we make the following assumption.
|
| 66 |
+
|
| 67 |
+
Assumption 1. Transition tuples $X _ { i } = ( S _ { i } , A _ { i } , S _ { i + 1 } )$ are sampled i.i.d. according to the distribution $p ( \bar { x } = ( s , a , s ^ { \prime } ) ) = d _ { \mu } ( s ) \mu ( a | s ) \mathrm { P } ( s ^ { \prime } | s , a )$ , for $i = 1 , 2 , 3 , \dots$ .
|
| 68 |
+
|
| 69 |
+
To distinguish expectations under $p ( x ) = d _ { \mu } ( s ) \mu ( a | s ) \mathrm { P } ( s ^ { \prime } | s , a )$ and $q ( x ) = d _ { \mu } ( s ) \pi ( a | s ) \mathrm { P } ( s ^ { \prime } | s , a )$ , we overload the notation from above, using operators $\mathbb { E } _ { \mu }$ and $\mathbb { E } _ { \pi }$ respectively. To reduce clutter, we will typically write $\mathbb { E }$ to mean $\mathbb { E } _ { \mu }$ , because most expectations are under the sampling distribution.
|
| 70 |
+
|
| 71 |
+
# 3.1 BIAS OF IR
|
| 72 |
+
|
| 73 |
+
We first show that IR is biased, and that its bias is actually equal to batch WIS (in Theorem 3.1). This bias is small for reasonably large $n$ , because it is proportional to $1 / n$ . In terms of mean-squared error, composed of squared bias and variance, this term is $\mathbf { \bar { 1 } } / n ^ { 2 }$ and is relatively negligible compared to the variance. Nonetheless, for smaller buffers, such bias could have an impact. We show that with a simple modification, in BC-IR, we obtain an unbiased estimate of the update (Corollary 3.1.1).
|
| 74 |
+
|
| 75 |
+
Theorem 3.1. [Bias for a fixed buffer of size n] Assume a buffer $B$ of n transitions is sampled i.i.d., according to $d _ { \mu } ( s ) \mu ( a | s ) \mathrm { P } ( s ^ { \prime } | s , a )$ . Let $\begin{array} { r } { X _ { \mathrm { I R } } \ \stackrel { \mathrm { d e f } } { = } \ \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \Delta _ { i _ { j } } } \end{array}$ for transitions $i _ { 1 } , \dots , i _ { k }$ sampled randomly from the buffer proportionally to $\rho _ { i }$ . Let $\begin{array} { r } { X _ { \mathrm { { W I S } * } } \stackrel { \mathrm { d e f } } { = } \sum _ { i = 1 } ^ { n } \frac { \rho _ { i } } { \sum _ { j = 1 } ^ { n } \rho _ { j } } \Delta _ { i } } \end{array}$ ef Pni=1 P ρinj=1 ρj be the batch WIS estimator of the update, with $\rho _ { i } \stackrel { \mathrm { d e f } } { = } \pi ( A _ { i } | S _ { i } ) / \mu ( A _ { i } | S _ { i } )$ . Then, $\mathbb { E } [ X _ { \mathrm { I R } } ] = \mathbb { E } [ X _ { \mathrm { W I S * } } ]$ , and so the bias of $X _ { \mathrm { I R } }$ is proportional to
|
| 76 |
+
|
| 77 |
+
$$
|
| 78 |
+
\widetilde { \mathrm { B i a s } } ( X _ { \mathrm { I R } } ) = \mathbb { E } [ X _ { \mathrm { I R } } ] - \mathbb { E } _ { \boldsymbol \pi } [ \Delta ] \propto \frac { 1 } { n } ( \mathbb { E } _ { \boldsymbol \pi } [ \Delta ] \sigma _ { \rho } ^ { 2 } - \sigma _ { \rho , \Delta } \sigma _ { \rho } \sigma _ { \Delta } )
|
| 79 |
+
$$
|
| 80 |
+
|
| 81 |
+
where get po $\mathbb { E } _ { \pi } [ \Delta ]$ i ro; ons from ; and co $S$ taken riance $\pi$ $\begin{array} { r } { \sigma _ { \rho } ^ { 2 } \ = \ \mathrm { \tilde { V } a r } ( \frac { 1 } { n } \grave { \sum } _ { j = 1 } ^ { n } \rho _ { j } ) } \end{array}$ $\begin{array} { r } { \sigma _ { \Delta } ^ { 2 } \ = \ \mathrm { V a r } ( \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \rho _ { i } \Delta _ { i } ) } \end{array}$ $\sigma _ { ( \rho , \Delta ) } =$ $\begin{array} { r } { \mathrm { C o v } \big ( \frac { 1 } { n } \sum _ { j = 1 } ^ { n } \rho _ { j } , \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \rho _ { i } \Delta _ { i } \big ) } \end{array}$ .
|
| 82 |
+
|
| 83 |
+
Proof. Notice first that when we weight with $\rho _ { i }$ , this is equivalent to weighting with $\frac { d _ { \mu } ( \tilde { S _ { i } } ) \pi ( A _ { i } | S _ { i } ) \mathrm { P } ( S _ { i + 1 } | S _ { i } , A _ { i } ) } { d _ { \prime \prime } ( S _ { i } ) \mu ( A _ { i } | S _ { i } ) \mathrm { P } ( S _ { i + 1 } | S _ { i } , A _ { i } ) }$ and so we are applying the correct IS ratio for the transition.
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\begin{array} { r l } { { \mathbb { E } [ X _ { \mathrm { I R } } ] = \mathbb { E } [ \mathbb { E } \bigl [ X _ { \mathrm { I R } } \vert B \bigr ] ] = \mathbb { E } [ \mathbb { E } [ \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \Delta _ { i j } \vert B ] ] = \mathbb { E } [ \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \mathbb { E } \bigl [ \Delta _ { i j } \vert B \bigr ] ] } \quad } & { { } } \\ { \displaystyle } & { { } = \mathbb { E } \bigg [ \sum _ { i = 1 } ^ { n } \frac { \rho _ { i } } { \sum _ { j = 1 } ^ { n } \rho _ { j } } \Delta _ { i } \bigg ] = \mathbb { E } \bigl [ X _ { \mathrm { W I S * } } \big ] \quad \quad \triangleright \ \mathrm { b e c a u s e } \ \mathbb { E } \bigl [ \Delta _ { i _ { j } } \vert B \bigr ] = \sum _ { i = 1 } ^ { n } \frac { \rho _ { i } } { \sum _ { j = 1 } ^ { n } \rho _ { j } } \Delta _ { i } } \end{array}
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
This bias of $X _ { \mathrm { I R } }$ is therefore the same as batch WIS, which is characterized in (Owen, 2013, Section 2.7), completing the proof. □
|
| 90 |
+
|
| 91 |
+
This bias of IR will be small for reasonably large $n$ , both because it is proportional to $1 / n$ and because larger $n$ will result in lower variance of the average ratios and average update for the buffer. In particular, as $n$ grows, these variances decay proportionally to $n$ .
|
| 92 |
+
|
| 93 |
+
Corollary 3.1.1. Bias-corrected $I R$ , with estimator $\begin{array} { r } { X _ { \mathrm { B C } } \ { \stackrel { \mathrm { d e f } } { = } } \ { \frac { \bar { \rho } } { k } } \sum _ { j = 1 } ^ { k } \Delta _ { i _ { j } } } \end{array}$ for $\begin{array} { r } { \bar { \rho } = \frac { 1 } { n } \sum _ { j = 1 } ^ { n } \rho _ { j } } \end{array}$ unbiased: $\mathbb { E } [ X _ { \mathrm { B C } } ] = \mathbb { E } _ { \pi } [ \Delta ]$ .
|
| 94 |
+
|
| 95 |
+
Proof.
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\begin{array} { r l } & { \Xi [ X _ { \mathrm { B C } } ] = \mathbb { E } \Big [ \frac { \bar { \rho } } { k } \sum _ { j = 1 } ^ { k } \mathbb { E } [ \Delta _ { i _ { j } } | B ] \Big ] = \mathbb { E } \Big [ \bar { \rho } \displaystyle \sum _ { i = 1 } ^ { n } \frac { \rho _ { i } } { \sum _ { j = 1 } ^ { n } \rho _ { j } } \Delta _ { i } \Big ] = \mathbb { E } \Big [ \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \rho _ { i } \Delta _ { i } \Big ] = \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \mathbb { E } \Big [ \frac { \pi ( A _ { i } | S _ { i } ) } { \mu ( A _ { i } | S _ { i } ) } \Delta _ { i } \Big ] } \\ & { \phantom { \Xi _ { \rho } } = \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \mathbb { E } \Big [ \frac { d _ { \mu } ( S _ { i } ) \pi ( A _ { i } | S _ { i } ) \mathrm { P } ( S _ { i + 1 } | S _ { i } , A _ { i } ) } { d _ { \mu } ( S _ { i } ) \mu ( A _ { i } | S _ { i } ) \mathrm { P } ( S _ { i + 1 } | S _ { i } , A _ { i } ) } \Delta _ { i } \Big ] = \frac { 1 } { n } \displaystyle \sum _ { i = 1 } ^ { n } \mathbb { E } _ { \pi } \left[ \Delta \right] = \mathbb { E } _ { \pi } \left[ \Delta \right] . } \end{array}
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
# 3.2 CONSISTENCY OF IR
|
| 102 |
+
|
| 103 |
+
Consistency of IR in terms of an increasing buffer, with $n \infty$ , is a relatively straightforward extension on results for SIR, with or without bias correction (see Theorem C.1 in Appendix C). More interesting is consistency in terms of increasing interactions with the environment, $t \to \infty$ , with a fixed length buffer, as will be the case in practice. IR, without bias correction, is asymptotically biased in this case; in fact, its asymptotic bias is the one characterized above for a fixed length buffer in Theorem 3.1. This asymptotic bias, though, is proportional to $1 / n$ , which is negligible for typical buffer sizes. BC-IR, on the other hand, is consistent, even with a sliding window, as we show in the following theorem.
|
| 104 |
+
|
| 105 |
+
Theorem 3.2. Let $B _ { i } = \{ X _ { i - n + 1 } , . . . , X _ { i } \}$ be the buffer of the most recent n transitions sampled by time i, i.i.d. as ssamples from buffer ified in Assumption. Define the sliding $^ { l }$ . Let windo $X _ { \mathrm { B C } } ^ { ( i ) }$ be theimator stimator, with . Assume the $k$ $B _ { i }$ $\begin{array} { r } { X _ { t } \ \stackrel { \mathrm { d e f } } { = } \ \frac { 1 } { t } \sum _ { i = 1 } ^ { t } X _ { \mathrm { B C } } ^ { ( i ) } } \end{array}$ exists a $c > 0$ such that $\mathrm { V a r } ( X _ { \mathrm { B C } } ^ { ( i ) } ) \leq c$ ∀i. Then, as $t \to \infty$ , $X _ { t }$ converges in probability to $\mathbb { E } _ { \pi } [ \Delta ]$ .
|
| 106 |
+
|
| 107 |
+
Proof. Notice first that $X _ { \mathrm { B C } } ^ { ( i ) }$ is random because $B _ { i }$ is random and because transitions are sampled from $B _ { i }$ . Therefore, given $B _ { i }$ , $X _ { \mathrm { B C } } ^ { ( i ) }$ is independent of other random variables $B _ { j }$ and $X _ { \mathrm { B C } } ^ { ( j ) }$ for $j \neq i$ . Now, using Corollary 3.1.1, we can show that BC-IR is unbiased for a sliding window
|
| 108 |
+
|
| 109 |
+
$$
|
| 110 |
+
\mathbb { E } \big [ X _ { t } \big ] = \mathbb { E } \Big [ \frac { 1 } { t } \sum _ { i = 1 } ^ { t } X _ { \mathrm { B C } } ^ { ( i ) } \Big ] = \frac { 1 } { t } \sum _ { i = 1 } ^ { t } \mathbb { E } \big [ \mathbb { E } [ X _ { \mathrm { B C } } ^ { ( i ) } | B _ { i } ] \big ] = \mathbb { E } _ { \pi } \left[ \Delta \right] .
|
| 111 |
+
$$
|
| 112 |
+
|
| 113 |
+
Next, we show that $\begin{array} { r } { \operatorname* { l i m } _ { | i - j | \to \infty } \mathrm { C o v } ( X _ { \mathrm { B C } } ^ { ( i ) } , X _ { \mathrm { B C } } ^ { ( j ) } ) = 0 } \end{array}$ . For $| i - j | \geq m ,$ , $B _ { i }$ and $B _ { j }$ are independent, because they are disjoint sets of i.i.d. random variables. Correspondingly, $X _ { \mathrm { B C } } ^ { ( i ) }$ is in$X _ { \mathrm { B C } } ^ { ( j ) }$ ce, we get that . The first term $\mathrm { C o v } ( X _ { \mathrm { B C } } ^ { ( i ) } , \bar { X _ { \mathrm { B C } } ^ { ( j ) } } ) =$ $\mathrm { C o v } ( X _ { \mathrm { B C } } ^ { ( i ) } , X _ { \mathrm { B C } } ^ { ( j ) } | B _ { i } , B _ { j } ) + \mathrm { C o v } ( \mathbb { E } [ X _ { \mathrm { B C } } ^ { ( i ) } | B _ { i } ] , \mathbb { E } [ X _ { \mathrm { B C } } ^ { ( j ) } | B _ { j } ] ) = 0$ $X _ { \mathrm { B C } } ^ { ( i ) }$ is independent of X(j)BC given $B _ { i }$ , and the second term is zero because $B _ { i }$ and $B _ { j }$ are independent. Therefore, $\begin{array} { r } { \operatorname* { l i m } _ { | i - j | \to \infty } \mathrm { C o v } ( X _ { \mathrm { B C } } ^ { ( i ) } , X _ { \mathrm { B C } } ^ { ( j ) } ) = 0 } \end{array}$ .
|
| 114 |
+
|
| 115 |
+
Using the assumption on the variance, we can apply Lemma C.3 to $X _ { t }$ to get the desired result.
|
| 116 |
+
|
| 117 |
+
# 3.3 VARIANCE AND EFFECTIVE SAMPLE SIZE
|
| 118 |
+
|
| 119 |
+
In this section, we provide some intuition on the variance properties of the discussed off-policy estimators. Similarly to bias, we can characterize the variance of the IR estimator relative to batch WIS. $X _ { \mathrm { W I S * } }$ is able to use a batch update on all the data in the buffer, which should result in a lowvariance estimate but is an unrealistic algorithm to use in practice. Instead, it provides a benchmark, where the goal is to obtain similar variance to $X _ { \mathrm { W I S * } }$ , but within realistic computational restrictions. Because of the clear relationship between IR and WIS, as used in Theorem 3.1, we can easily characterize the variance of $X _ { \mathrm { I R } }$ relative to $X _ { \mathrm { W I S * } }$ using the law of total covariance:
|
| 120 |
+
|
| 121 |
+
$$
|
| 122 |
+
\begin{array} { r l r } & { } & { \mathbb { V } ( X _ { \mathrm { I R } } ) = \mathbb { V } \left[ \mathbb { E } [ X _ { \mathrm { I R } } | B ] \right] + \mathbb { E } \left[ \mathbb { V } [ X _ { \mathrm { I R } } | B ] \right] } \\ & { } & { = \mathbb { V } \left[ X _ { \mathrm { W I S * } } \right] + \mathbb { E } \left[ \mathbb { V } [ X _ { \mathrm { I R } } | B ] \right] ~ } \end{array}
|
| 123 |
+
$$
|
| 124 |
+
|
| 125 |
+
where the variability is due to having randomly sampled buffers $B$ and random sampling from $B$ . The second term corresponds to the noise introduced by sampling a mini-batch of $k$ transitions from the buffer $B$ , instead of using the entire buffer like WIS. For more insight, we can expand this second term, $\begin{array} { r } { \mathbb { E } \left[ \mathbb { V } [ X _ { \mathrm { I R } } | B ] \right] = \mathbb { E } \left[ ( \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \Delta _ { i _ { j } } - \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \Delta _ { i } ) ^ { 2 } | B \right] } \end{array}$ , where we consider the variance independently for each element of $\Delta _ { i }$ and so apply the square element-wise. The variability is not due to IS ratios, and instead arises from variability in the updates themselves. Therefore, the variance of IR corresponds to the variance of WIS, with some additional variance due to this variability around the average update in the buffer.
|
| 126 |
+
|
| 127 |
+
This variance contrasts the variance of the corresponding mini-batch IS estimator:
|
| 128 |
+
|
| 129 |
+
$$
|
| 130 |
+
\mathbb { V } \Big ( \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \rho _ { i _ { j } } \Delta _ { i _ { j } } \Big ) = \mathbb { E } \Big [ \Big ( \frac { 1 } { k } \sum _ { j = 1 } ^ { k } \rho _ { i _ { j } } \Delta _ { i _ { j } } - \mathbb { E } _ { \pi } [ \Delta ] \Big ) ^ { 2 } \Big ]
|
| 131 |
+
$$
|
| 132 |
+
|
| 133 |
+
For large importance sampling ratios, this mini-batch can deviate significantly around the mean update. Further, this deviation around the mean update is across all transitions, unlike $\mathbb { E } \left[ \mathbb { V } [ X _ { \mathrm { I R } } | B ] \right]$ which reflects the expected deviation for a buffer of size $n$ . The IS estimator is unbiased, as opposed to IR and WIS which both introduce some bias. A more fair comparison is to BC-IR, which is unbiased, with variance
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
\mathbb { V } \Big ( X _ { \mathrm { B C } } \Big ) = \mathbb { E } \Big [ \Big ( \frac { \bar { \rho } } { k } \sum _ { j = 1 } ^ { k } \Delta _ { i _ { j } } - \mathbb { E } _ { \pi } [ \Delta ] \Big ) ^ { 2 } \Big ]
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
It is difficult to state generally that the variability of the IS estimator will be greater than $X _ { \mathrm { B C } }$ , because it depends on the properties of the update vector $\Delta _ { i _ { j } }$ itself. However, the key difference between them is that $X _ { \mathrm { B C } }$ multiplies all the updates by the averaged ratio, whereas IS includes individual (potentially high magnitude) ratios inside the sum.
|
| 140 |
+
|
| 141 |
+
Finally, the variance of IR will be affected by what is known as the effective sample size. For data with several high magnitude ratios, and many small ratios, the IS estimator will likely suffer from high-variance updates. IR, however, will not be completely robust to this setting either: it will prevent high magnitude updates, but will be sampling from an effectively smaller dataset. This effective size is smaller because IR will repeatedly sample the same transitions, and potentially never sample some of the transitions with small IS ratios. With less data, we typically incur more variance.
|
| 142 |
+
|
| 143 |
+
One common estimator of effective sample size is $\frac { \left( \sum _ { i = 1 } ^ { n } \rho _ { i } \right) ^ { 2 } } { \sum _ { i = 1 } ^ { n } \rho _ { i } ^ { 2 } }$ (Kong et al., 1994; Martino et al., 2017). This estimate lies between 1 and $n$ . When the effective sample size is low, this indicates that most of the probability is concentrated on a few samples, which could be problematic. An important next step is to better understand theoretically the implications of effective sample size. Here, we now turn to experiments to gain more insight into the relative efficacy of IR to IS, in settings including such skewed ratios.
|
| 144 |
+
|
| 145 |
+
# 4 EXPERIMENTS
|
| 146 |
+
|
| 147 |
+
In this section, we present results for predictions made with difficult polices in three domains. We compare IR and BC-IR 2 to an importance sampling approach using uniformly sampled experiences from the replay buffer $\mathrm { ( E R + I S ) }$ , and three variants of weighted importance sampling (WIS). The three variants of WIS considered are WIS-Batch, WIS-Buffer, and WIS-Optimal discussed further in the appendix3 4. For tabular domains, we don’t average over the mini-batch updates, although doing so won’t change results significantly. We report parameter studies and learning curves, excluding buffer size studies, on a single buffer size shared between all the methods. Although results from other buffer sizes (not shown here) have similar conclusions. We show $9 5 \%$ confidence intervals on all results unless otherwise specified.
|
| 148 |
+
|
| 149 |
+
# 4.1 SETTINGS
|
| 150 |
+
|
| 151 |
+
Random Walk Markov Chain We use a typically constructed random walk Markov chain (Sutton and Barto, 2018) with 8 non-terminating states and 2 terminating, with a reward of 1 on the transition to the right-most terminal state and 0 everywhere else. The agent follows a policy $\mu$ and learns the value function according to a target policy $\pi$ . We compute the root mean squared value error (RMSVE) on every training step with a value function found using dynamic programming with threshold 10−15.
|
| 152 |
+
|
| 153 |
+

|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 1: Learning rate sensitivity study in the Random Walk Markov Chain with buffer size $n =$ 15000, batch size $b = 1 6$ For simplicity we write the policies as follows: $\mu = [ \mu ( \mathrm { l e f t } | \cdot )$ , $\mu ( \mathrm { r i g h t } | )$ . left $\mu = [ 0 . 5 , 0 . 5 ]$ , $\pi = [ 0 . 1 , 0 . 9 ]$ , center $\mu = [ 0 . 9 , 0 . 1 ]$ , $\pi = [ 0 . 1 , 0 . 9 ]$ , right $\mu = [ 0 . 9 9 , 0 . 0 1 ] , \pi =$ [0.01, 0.99]. Additional results using V-Trace and Sarsa can be found in the appendix B.1
|
| 157 |
+
Figure 2: left and center Buffer size study for the random walk markov chain and four rooms domain respectively. We select the best settings for each buffersize and report the average RMSVE right Four rooms domain learning rate sensitivities parameter study.
|
| 158 |
+
|
| 159 |
+
Four Rooms Environment The four rooms domain is a well known hard domain used for training options (Stolle and Precup, 2002). The behavior policy followed by the agent is equiprobable everywhere except for 25 randomly selected states which take the action down with probability 0.05 with remaining probability split equally amongst the other actions. The 25 random states are the same for all runs, but we also evaluated different states for each run (see appendix). The target policy of interest is to take the down action deterministically, inducing highly variant IS ratios. The cumulant for the value function is 1 when the agent hits a wall and 0 otherwise. The continuation function is $\gamma = 0 . 9$ terminating when the agent hits a wall. We calculate the RMSVE similarly to the Markov Chain.
|
| 160 |
+
|
| 161 |
+
Simulated Car Domain We use the TORCs race car simulator to perform scaling experiments using neural networks. We set up the simulator to produce $6 4 \mathrm { x } 1 2 8$ cropped grayscale images. We have an underlying deterministic steering controller that produces steering actions $a _ { d e t } \in [ - 1 , + 1 ]$ and take an action with probability defined by a Gaussian a $\mathcal { N } ( a _ { d e t } , 0 . 1 )$ . We show a demonstration learning a single GVF with cumulant 1 when the car is near the center of the road (signal provided by Torcs), continuation function with 0.9 everywhere with terminating condition the same as the cumulant, and a target policy modeled as a gaussian $\mathcal { N } ( 0 . 1 5 , 0 . 0 0 7 5 )$ , which corresponds to steering left.
|
| 162 |
+
|
| 163 |
+
# 4.2 RESULTS
|
| 164 |
+
|
| 165 |
+
In each of the domains tested we see significant improvements in the range of effective learning rates. The most stark example is seen in the right plot of figure 1. Here the behaviour policy induces importance sampling ratios as high as 99 while also having very few effective samples from which to train. After 1000 training epochs only a single learning rate seemed to not diverge using $\mathrm { E R + I S }$ and WIS-Buffer. In this same setting, IR performs very similar to the value function trained with on policy data. We also see lower sensitivity to learning rate in the four rooms environment, rightmost figure 2. 5
|
| 166 |
+
|
| 167 |
+
Another benefit of IR is the gains in sample efficiency, and the focus on potentially rare samples following the target policy. We show this with the learning curves found in figure 3. In the random walk and four rooms domains we see WIS-Buffer and WIS-Batch perform approximately the same as $\mathrm { E R + I S }$ with IR outperforming the competitors. This can be attributed to IR’s resampling scheme, where we see more samples important to training. This is especially apparent in the four rooms experiments, where we may only get a few chances to train from certain hard to reach states. The uniform sampling methods will more likely miss out on rare examples, or only see them once making learning slow. We also note that WIS-Batch is unable to learn in the hardest of settings for the Markov chain, potentially due to the bias incurred from only performing WIS on a subsample of the entire data. One interesting observation is in the Baird’s Star Problem where IR results in better weights and lower value error (see appendix).
|
| 168 |
+
|
| 169 |
+

|
| 170 |
+
Figure 3: left Markov Chain Random Walk with $n \ = \ 1 5 0 0 0$ , $b ~ = ~ 1 6$ , $\mu = [ 0 . 9 9 , 0 . 0 1 ] , \pi =$ $\left[ 0 . 0 1 , 0 . 9 9 \right]$ , optimal learning rates from above parameter study center Four rooms environment $n = 1 0 0 0 0$ , $b = 3 2$ with optimal settings from below parameter studies. We report $7 0 \%$ confidence bands for ease of comparison. right Torcs racing car simulator learning curves of RMSRE calculated over a pre-collected evaluation set. $\alpha _ { \mathrm { B C - I R } } ~ = ~ 1 e ^ { - 4 } , \alpha _ { \mathrm { I R } } ~ = ~ 1 e ^ { - 4 } , \overline { { { \alpha } } } _ { \mathrm { I S } } ~ = ~ 1 e ^ { - 6 }$ selected from a parameter study using RMSProp and the NVIDIA network designed for self-driving cars (Bojarski et al., 2016)
|
| 171 |
+
|
| 172 |
+
The experiments in the Torcs domain show faster learning using a deep learning system. While the results are promising, they are not as stark as we would have expected given the prior experiments and the variance in final performance is much larger for BC-IR and IR. There are several contributing factors to learning off-policy using IR and IS that need to be considered. First by using RMSProp or other adaptive learning rate algorithms we are potentially gaining WIS like benefits, reducing the variance of the updates considerably. IR may improve performance when the behaviour and target policies cause even more variant importance ratios, but with an adaptive learning rate algorithm this becomes less problematic when using IS. More needs to be understood about the interactions between adaptive algorithms and off-policy learning with importance sampling ratios.
|
| 173 |
+
|
| 174 |
+
# 5 CONCLUSIONS
|
| 175 |
+
|
| 176 |
+
Resampling for off-policy learning has been unconsidered, to our knowledge, up until now. This may be due to a focus on learning from only the most recent experiences and throwing away transitions once used. The resampling approach is now viable because of the increased prominence of the experience replay buffer in deep reinforcement learning. Previous approaches have exploited the experience replay buffer for orthogonal purposes including Prioritized Experience Replay (Schaul et al., 2015b), which prioritizes training examples according to the temporal difference error $w _ { i } =$ $| \delta _ { i } | + \epsilon$ . A possible extension to IR is to sample from an intermediate sampling distribution which eases high variant importance sampling ratios (see Appendix B.5).
|
| 177 |
+
|
| 178 |
+
In this paper we introduced a new approach to off-policy learning: resampling. We explored the theoretical implications of importance resampling, including a correction term to guarantee consistency in the moving window setting. We provided a number of empirical studies in hard off-policy learning settings outperforming the realistic competitors often by a wide margin, while also being less sensitive to learning rate in the mini-batch stochastic gradient update. We found IR to outperform IS in cases with potentially high importance sampling ratios suggesting a possible reduction in variance. Finally, we show improvements in learning rate performance for IR and BC-IR methods using deep learning within a challenging racing car simulator environment. There remains a number of both theoretical and empirical questions surrounding the benefits of the resampling approach to off-policy learning worth exploring in future work.
|
| 179 |
+
|
| 180 |
+
# REFERENCES
|
| 181 |
+
|
| 182 |
+
Sigrun Andradottir, Daniel P Heyman, and Teunis J Ott. On the Choice of Alternative Measures in Importance Sampling with Markov Chains. Operations Research, 1995.
|
| 183 |
+
|
| 184 |
+
M S Arulampalam, S Maskell, N Gordon, and T Clapp. A Tutorial on Particle Filters for Online Nonlinear/Non-Gaussian Bayesian Tracking. IEEE Transactions on Signal Processing, 2002.
|
| 185 |
+
|
| 186 |
+
Leemon Baird. Residual Algorithms: Reinforcement Learning with Function Approximation. In Machine Learning Proceedings 1995. 1995.
|
| 187 |
+
|
| 188 |
+
Mariusz Bojarski, Davide Del Testa, Daniel Dworakowski, Bernhard Firner, Beat Flepp, Prasoon Goyal, Lawrence D Jackel, Mathew Monfort, Urs Muller, Jiakai Zhang, et al. End to end learning for self-driving cars. arXiv preprint arXiv:1604.07316, 2016.
|
| 189 |
+
|
| 190 |
+
Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam ´ Doron, Vlad Firoiu, Tim Harley, Iain Dunning, and others. IMPALA: Scalable distributed DeepRL with importance weighted actor-learner architectures. arXiv preprint arXiv:1802.01561, 2018.
|
| 191 |
+
|
| 192 |
+
N J Gordon, D J Salmond, Radar, AFM Smith IEE Proceedings F Signal, and 1993. Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IET, 1993.
|
| 193 |
+
|
| 194 |
+
Max Jaderberg, Volodymyr Mnih, Wojciech Marian Czarnecki, Tom Schaul, Joel Z Leibo, David Silver, and Koray Kavukcuoglu. Reinforcement Learning with Unsupervised Auxiliary Tasks. In International Conference on Representation Learning, 2017.
|
| 195 |
+
|
| 196 |
+
H Kahn and A W Marshall. Methods of Reducing Sample Size in Monte Carlo Computations. Journal of the Operations Research Society of America, 1953.
|
| 197 |
+
|
| 198 |
+
Augustine Kong, Jun S Liu, and Wing Hung Wong. Sequential imputations and Bayesian missing data problems. Journal of the American Statistical Association, 1994.
|
| 199 |
+
|
| 200 |
+
Long-Ji Lin. Self-Improving Reactive Agents Based On Reinforcement Learning, Planning and Teaching. Machine Learning, 1992.
|
| 201 |
+
|
| 202 |
+
Long-Ji Lin. Reinforcement Learning for Robots Using Neural Networks. PhD thesis, Carnegie Mellon University, 1993.
|
| 203 |
+
|
| 204 |
+
Victoria Lopez, Alberto Fernandez, Salvador Garcia, Vasile Palade, and Francisco Herrera. An insight into classification with imbalanced data: Empirical results and current trends on using data intrinsic characteristics. Information Sciences, 2013.
|
| 205 |
+
|
| 206 |
+
A R Mahmood and R.S. Sutton. Off-policy learning based on weighted importance sampling with linear computational complexity. In Conference on Uncertainty in Artificial Intelligence, 2015.
|
| 207 |
+
|
| 208 |
+
A Rupam Mahmood, Hado P van Hasselt, and Richard S Sutton. Weighted importance sampling for off-policy learning with linear function approximation. In Advances in Neural Information Processing Systems, 2014.
|
| 209 |
+
|
| 210 |
+
Ashique Rupam Mahmood, Huizhen Yu, and Richard S Sutton. Multi-step Off-policy Learning Without Importance Sampling Ratios. arXiv:1509.01240v2, 2017.
|
| 211 |
+
|
| 212 |
+
Luca Martino, V´ıctor Elvira, and Francisco Louzada. Effective sample size for importance sampling based on discrepancy measures. Signal Processing, 2017.
|
| 213 |
+
|
| 214 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg, and Demis Hassabis. Human-level control through deep reinforcement learning. Nature, 2015.
|
| 215 |
+
|
| 216 |
+
Joseph Modayil, Adam White, and Richard S Sutton. Multi-timescale nexting in a reinforcement learning robot. Adaptive Behavior - Animals, Animats, Software Agents, Robots, Adaptive Systems, 2014.
|
| 217 |
+
|
| 218 |
+
Remi Munos, Tom Stepleton, Anna Harutyunyan, and Marc G Bellemare. Safe and Efficient Off- ´ Policy Reinforcement Learning. Advances in Neural Information Processing Systems, 2016.
|
| 219 |
+
|
| 220 |
+
Art B. Owen. Monte Carlo theory, methods and examples. 2013.
|
| 221 |
+
|
| 222 |
+
Doina Precup, Richard S Sutton, and Satinder P Singh. Eligibility Traces for Off-Policy Policy Evaluation. ICML, 2000.
|
| 223 |
+
|
| 224 |
+
Doina Precup, Richard S Sutton, and Sanjoy Dasgupta. Off-Policy Temporal-Difference Learning with Function Approximation. ICML, 2001.
|
| 225 |
+
|
| 226 |
+
Donald B Rubin. Using the SIR algorithm to simulate posterior distributions. Bayesian statistics, 1988.
|
| 227 |
+
|
| 228 |
+
Reuven Y Rubinstein and Dirk P Kroese. Simulation and the Monte Carlo Method. John Wiley & Sons, 2016.
|
| 229 |
+
|
| 230 |
+
Tom Schaul and Mark Ring. Better generalization with forecasts. In International Joint Conference on Artificial Intelligence, 2013.
|
| 231 |
+
|
| 232 |
+
Tom Schaul, Daniel Horgan, Karol Gregor, and David Silver. Universal Value Function Approximators. In International Conference on Machine Learning, 2015a.
|
| 233 |
+
|
| 234 |
+
Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized Experience Replay. arXiv:1511.05952 [cs], 2015b.
|
| 235 |
+
|
| 236 |
+
David Silver, Hado van Hasselt, Matteo Hessel, Tom Schaul, Arthur Guez, Tim Harley, Gabriel Dulac-Arnold, David P Reichert, Neil C Rabinowitz, Andre Barreto, and Thomas Degris. The ´ Predictron - End-To-End Learning and Planning. In AAAI Conference on Artificial Intelligence, 2017.
|
| 237 |
+
|
| 238 |
+
Øivind Skare, Erik Bølviken, and Lars Holden. Improved Sampling-Importance Resampling and Reduced Bias Importance Sampling. Scandinavian Journal of Statistics, 2003.
|
| 239 |
+
|
| 240 |
+
AFM Smith, AE Gelfand The American Statistician, and 1992. Bayesian statistics without tears: a sampling–resampling perspective. Taylor & Francis, 1992.
|
| 241 |
+
|
| 242 |
+
Martin Stolle and Doina Precup. Learning Options in Reinforcement Learning. In International Symposium on Abstraction, Reformulation, and Approximation, 2002.
|
| 243 |
+
|
| 244 |
+
Richard S Sutton and Andrew G Barto. Reinforcement Learning: An Introduction - Draft. MIT Press, 2018.
|
| 245 |
+
|
| 246 |
+
Richard S Sutton, Doina Precup, and Satinder Singh. Between MDPs and semi-MDPs: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 1999.
|
| 247 |
+
|
| 248 |
+
Richard S Sutton, Eddie J Rafols, and Anna Koop. Temporal Abstraction in Temporal-difference Networks. In Advances in Neural Information Processing Systems, 2005.
|
| 249 |
+
|
| 250 |
+
Richard S Sutton, H Maei, D Precup, and S Bhatnagar. Fast gradient-descent methods for temporaldifference learning with linear function approximation. In International Conference on Machine Learning, 2009.
|
| 251 |
+
|
| 252 |
+
Richard S Sutton, J Modayil, M Delp, T Degris, P.M. Pilarski, A White, and D Precup. Horde: A scalable real-time architecture for learning knowledge from unsupervised sensorimotor interaction. In International Conference on Autonomous Agents and Multiagent Systems, 2011.
|
| 253 |
+
|
| 254 |
+
Philip Thomas and Emma Brunskill. Data-Efficient Off-Policy Policy Evaluation for Reinforcement Learning. In AAAI Conference on Artificial Intelligence, 2016.
|
| 255 |
+
|
| 256 |
+
Philip S Thomas and Emma Brunskill. Importance Sampling with Unequal Support. In AAAI Conference on Artificial Intelligence, 2017.
|
| 257 |
+
|
| 258 |
+
# A WEIGHTED IMPORTANCE SAMPLING
|
| 259 |
+
|
| 260 |
+
We consider three weighted importance sampling updates as competitors to IR. $N$ is the size of the experience replay buffer, $b$ is the size of a single batch.
|
| 261 |
+
|
| 262 |
+
WIS-Batch
|
| 263 |
+
|
| 264 |
+
$$
|
| 265 |
+
\begin{array} { r l } & { \Delta \theta = \frac { \sum _ { i } ^ { b } \rho _ { i } \delta _ { i } \nabla _ { \theta } V \left( s _ { i } ; \theta \right) } { \sum _ { j } ^ { b } \rho _ { j } } } \\ & { \Delta \theta = N \frac { \sum _ { i } ^ { b } \rho _ { i } \delta _ { i } \nabla _ { \theta } V \left( s _ { i } ; \theta \right) } { \sum _ { j } ^ { N } \rho _ { j } } } \\ & { \Delta \theta = \frac { \sum _ { i } ^ { N } \rho _ { i } \delta _ { i } \nabla _ { \theta } V \left( s _ { i } ; \theta \right) } { \sum _ { j } ^ { N } \rho _ { j } } } \end{array}
|
| 266 |
+
$$
|
| 267 |
+
|
| 268 |
+
WIS-Buffer
|
| 269 |
+
|
| 270 |
+
WIS-Optimal
|
| 271 |
+
|
| 272 |
+
# B MORE EXPERIMENTAL RESULTS
|
| 273 |
+
|
| 274 |
+
# B.1 MARKOV CHAIN
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
Figure 4: Markov Chain results for V-Trace and Sarsa. Four clipping parameters were chosen with different amounts of aggressiveness. They were calculated from the known max importance sampling value, multiplied by the scalars 0.5 and 0.9. We also included a clipping value of 1.0 which is consistent with the recommendations made for retrace. The error for Sarsa was calculated by deriving the state-value function from the current action-state value function, and following the same error calculation as with the other methods.
|
| 278 |
+
|
| 279 |
+
We also include results in the random walk markov chain for V-Trace and Sarsa. V-Trace exhibited the same issues as importance sampling, where we can see a clear disadvantage in the harder policies. Also, we can clearly see a bias-variance trade off in V-Trace as the clipping parameter $\bar { \rho }$ became more aggressive. Sarsa makes clear gains over $\mathrm { E R + I S }$ (and IR in the easiest setting), but fails to learn the true value function for the hardest settings.
|
| 280 |
+
|
| 281 |
+
# B.2 BAIRD’S STAR PROBLEM
|
| 282 |
+
|
| 283 |
+
We use a well known variant of the Star Problem (Baird, 1995; Sutton et al., 2009) proposed as a counter example to the convergence of semi-gradient temporal difference learning in the off-policy setting. We train using a batch version of TDC (Sutton et al., 2009). We calculate the RMSVE for each state on every training step.
|
| 284 |
+
|
| 285 |
+
# B.3 FOUR ROOMS DOMAIN
|
| 286 |
+
|
| 287 |
+
We also sampled new random states in which to act unfavorably for every run. We found the behavior used in the experiments presented in the main text to be harder than many of the other policies sampled randomly.
|
| 288 |
+
|
| 289 |
+

|
| 290 |
+
Figure 5: Baird’s Star Problem.
|
| 291 |
+
|
| 292 |
+

|
| 293 |
+
Figure 6: Four rooms experiments for new random states every run: left Learning rate sensitivity center Buffer Size Sensitivity right Learning Curves
|
| 294 |
+
|
| 295 |
+
# B.4 MOUNTAIN CAR
|
| 296 |
+
|
| 297 |
+
We use the standard mountain car domain described in (Sutton and Barto, 2018). To make the simulations more realistic we collect experience from behavior policy learned through Q-learning (Sutton and Barto, 2018) with a $\epsilon$ -greedy exploration strategy. We code a GVF to predict whether the agent will hit the back wall within a horizon of $\gamma = 0 . 9$ while following the the persistent policy accelerating forward. We use two exploration parameters $\epsilon = \{ 0 . 1 , 0 . 5 \}$ with maximum importance sampling ratio values at $\rho _ { m a x } = \{ 6 , 3 0 \}$ respectively.
|
| 298 |
+
|
| 299 |
+
We show comparisons for both a static step size SGD and with the Adam optimizer. These experiments perform as expected, except for one configuration of the behavior policy using the Adam optimizer. It is possible that the Adam optimizer is getting some benefit similar to WIS with the recency averages of updates accounting for the high variance of the update.
|
| 300 |
+
|
| 301 |
+

|
| 302 |
+
|
| 303 |
+

|
| 304 |
+
Figure 7: Mountain Car: Mini-batch Gradient Descent with constant learning rate $\pi =$ $[ 0 \bar { , } 0 , 1 . 0 ] , | B | = 5 0 0 0 0$ , Left $\epsilon = 0 . 1$ , Right $\epsilon = 0 . 5$
|
| 305 |
+
|
| 306 |
+
# B.5 SAMPLING ACCORDING TO INTERMEDIATE POLICIES
|
| 307 |
+
|
| 308 |
+
While intuitively it might seem sampling according to the target policy will produce the best value functions, when making multiple predictions with the same training network it would be more convenient to sample from the experience replay buffer with an intermediate policy. We get the benefits of less variant importance sampling ratios with the ability to use one IR buffer for multiple policies.
|
| 309 |
+
|
| 310 |
+

|
| 311 |
+
Figure 8: Mountain Car: Mini-batch Gradient Descent with Adam Optimizer. $\mathbf { X }$ -axis: learning rates, y-axis: RMSVE $\pi = [ 0 , 0 , 1 . 0 ]$ , $| B | = 5 0 0 0 0$ , Left $\epsilon = 0 . 1$ , Right $\epsilon = 0 . 5$
|
| 312 |
+
|
| 313 |
+

|
| 314 |
+
Figure 9: Mountain Car left Learning curve for optimal settings for Adam optimizer $\mathbf { X }$ -axis: time $( 1 0 ^ { 4 } )$ y-axis: RMSVE center Early example of learned predictions $\mathbf { X }$ -axis: Time y-axis: Prediction right Late example of learned predictions $\mathbf { X }$ -axis: Time, y-axis: Prediction
|
| 315 |
+
|
| 316 |
+
To combine the IR and importance sampling with a uniform experience replay we sample from the buffer according to the PMF
|
| 317 |
+
|
| 318 |
+
$$
|
| 319 |
+
p ( \mathrm { s a m p l i n g \ : } d _ { i } ) = \frac { \bar { \rho } _ { i } } { \sum _ { j } \bar { \rho } _ { j } } , \qquad \bar { \rho } _ { i } = \frac { \pi _ { s a m p l e } ( a _ { t } | s _ { t } ) } { \mu ( a _ { t } | s _ { t } ) } .
|
| 320 |
+
$$
|
| 321 |
+
|
| 322 |
+
We would then us off-policy temporal difference methods with the effective importance sampling ratio used as ρeffective $\begin{array} { r } { \rho _ { \mathrm { e f f e c t i v e } } = \overbar { \frac { \pi ( a _ { t } | s _ { t } ) } { \pi _ { s a m p l e } ( a _ { t } | s _ { t } ) } } } \end{array}$ . We show initial results for this extension in the markov chain random walk in figure 10.
|
| 323 |
+
|
| 324 |
+

|
| 325 |
+
Figure 10: Intermediate sampling policies in a random walk markov chain. (left) $\pi = [ 0 . 1 , 0 . 9 ] , \mu =$ [0.9, 0.1], (right) $\pi = [ 0 . 0 1 , 0 . 9 9 ]$ , $\mu = [ 0 . 9 9 , 0 . 0 1 ]$
|
| 326 |
+
|
| 327 |
+
# C MORE THEORETICAL RESULTS
|
| 328 |
+
|
| 329 |
+
# C.1 CONSISTENCY OF THE IR ESTIMATOR WITH GROWING BUFFER SIZE
|
| 330 |
+
|
| 331 |
+
We show the consistency of the IR estimator with $n \to \infty$ for convenience, but our approach closely follows that of (Smith et al., 1992).
|
| 332 |
+
|
| 333 |
+
Theorem C.1. Let $B = \{ x _ { 1 } , x _ { 2 } , . . . , x _ { n } \}$ be a buffer of data sampled i.i.d. according to proposal distribution $p ( x )$ . Let $q ( x )$ be some distribution of interest and assume the proposal distribution samples everywhere where $\overset { \cdot } { q } ( x )$ is non-zero. Also, let $Y$ be a discrete random variable taking values $x _ { i }$ with probability $\propto \frac { q ( x _ { i } ) } { p ( x _ { i } ) }$ .
|
| 334 |
+
|
| 335 |
+
Then, $Y$ converges in distribution to $X \sim Q$ as $n \to \infty$
|
| 336 |
+
|
| 337 |
+
Proof. Let $\begin{array} { r } { \rho _ { i } = \frac { q ( x _ { i } ) } { p ( x _ { i } ) } } \end{array}$ . From the probability mass function of $Y$ , we have that:
|
| 338 |
+
|
| 339 |
+
$$
|
| 340 |
+
\begin{array} { r l } { \mathbb { P } [ Y \leq a ] = \displaystyle \sum _ { i = 1 } ^ { n } \mathbb { P } [ Y = x _ { i } ] \mathbb { I } \{ x _ { i } \leq a \} } \\ { = \frac { n ^ { - 1 } \sum _ { i = 1 } ^ { n } \rho _ { i } \mathbb { I } \{ x _ { i } \leq a \} } { n ^ { - 1 } \sum _ { i = 1 } ^ { n } \rho _ { i } } } \\ { \frac { n ^ { - \alpha } \rho _ { i } \mathbb { P } ( x ) \mathbb { I } \{ x \leq a \} ] } { \mathbb { E } _ { q } [ \rho ( x ) ] } } \\ { = \frac { 1 - \int _ { - \infty } ^ { \alpha } \frac { q ( x ) } { \rho ( x ) } p ( x ) d x + 0 \cdot \int _ { a } ^ { \infty } \frac { q ( x ) } { \rho ( x ) } p ( x ) d x } { \int _ { - \infty } ^ { \infty } \frac { q ( x ) } { \rho ( x ) } p ( x ) d x } } \\ { = \int _ { - \infty } ^ { a } q ( x ) d x } \end{array}
|
| 341 |
+
$$
|
| 342 |
+
|
| 343 |
+
The above shows consistency. If we have a large enough buffer, then the importance resampling will closely approximate sampling from the target distribution $Q$ . In particular, any expectation we want to estimate under $Q$ can also be a well-approximated by using the defined sampling scheme.
|
| 344 |
+
|
| 345 |
+
# C.2 CHANGING BEHAVIOUR POLICIES
|
| 346 |
+
|
| 347 |
+
We consider the importance sampling estimator under conditions of a changing policy.
|
| 348 |
+
|
| 349 |
+
Theorem C.2. Let $P$ be a target distribution with density $p$ and $\{ x _ { i } \} _ { i = 1 } ^ { n }$ be a dataset where each $x _ { i }$ is sampled from $P _ { i }$ independently. Then, the weighted importance sampling estimator $\hat { \mu } =$ $\scriptstyle \sum _ { i = 1 } ^ { n } { \frac { \rho _ { i } } { \sum _ { j = 1 } ^ { n } \rho _ { j } } } g ( x _ { i } )$ is consistent for $\mathbb { E } _ { f } [ g ( X ) ]$ where $g ( . )$ is a function of interest and $\begin{array} { r } { \rho _ { i } = \frac { q ( x _ { i } ) } { p _ { i } ( x _ { i } ) } } \end{array}$
|
| 350 |
+
|
| 351 |
+
Proof. First, we rewrite $\begin{array} { r } { \hat { \mu } = \frac { \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \rho _ { i } g ( x _ { i } ) } { \frac { 1 } { n } \sum _ { j = 1 } ^ { n } \rho _ { j } } } \end{array}$ and let $Y _ { i } = \rho _ { i } g ( x _ { i } )$ .
|
| 352 |
+
|
| 353 |
+
Next, we find the expectations of $Y _ { i }$ and $\rho _ { i }$
|
| 354 |
+
|
| 355 |
+
$$
|
| 356 |
+
\begin{array} { c l c r } { { \displaystyle \mathbb { E } _ { p _ { i } } [ Y _ { i } ] = \int \frac { q ( \boldsymbol { x } ) } { p _ { i } ( \boldsymbol { x } ) } g ( \boldsymbol { x } ) p _ { i } ( \boldsymbol { x } ) d \boldsymbol { x } } } \\ { { = \mathbb { E } _ { q } [ g ( \boldsymbol { X } ) ] } } \end{array}
|
| 357 |
+
$$
|
| 358 |
+
|
| 359 |
+
$$
|
| 360 |
+
\begin{array} { l } { \displaystyle \mathbb { E } _ { p _ { i } } [ \rho _ { i } ] = \int \frac { q ( { \boldsymbol x } ) } { p _ { i } ( { \boldsymbol x } ) } p _ { i } ( { \boldsymbol x } ) d { \boldsymbol x } } \\ { \displaystyle = \int q ( { \boldsymbol x } ) d { \boldsymbol x } } \\ { \displaystyle = 1 } \end{array}
|
| 361 |
+
$$
|
| 362 |
+
|
| 363 |
+
Finally, since all $Y _ { i }$ and all $\rho _ { i }$ have the same expectation and are independent, we apply the law of large numbers to obtain that
|
| 364 |
+
|
| 365 |
+
$$
|
| 366 |
+
\hat { \mu } = \frac { \frac { 1 } { n } \sum _ { i = 1 } ^ { n } \rho _ { i } g ( x _ { i } ) } { \frac { 1 } { n } \sum _ { j = 1 } ^ { n } \rho _ { j } } \xrightarrow [ ] { n \to \infty } \frac { { \mathbb E } _ { q } [ g ( X ) ] } { ( 1 ) }
|
| 367 |
+
$$
|
| 368 |
+
|
| 369 |
+
as desired.
|
| 370 |
+
|
| 371 |
+
Theorem C.2 implies that, even if the behaviour policy is changing over time, as long as we use an importance ratio corresponding to the policy that was used to select an action, we will retain an unbiased estimate of the expected update.
|
| 372 |
+
|
| 373 |
+
# C.3 CONSISTENCY UNDER A SLIDING WINDOW DATASET
|
| 374 |
+
|
| 375 |
+
Lemma C.3. Let $Z _ { 1 } , . . . Z _ { n }$ be random variables with mean $\mu$ . Suppose there exists a $c > 0$ such that $\mathbb { V } ( Z _ { i } ) \le c \ \forall i$ and that $\begin{array} { r } { \operatorname* { l i m } _ { | i - j | \to \infty } \operatorname { C o v } ( X _ { i } , X _ { j } ) = 0 } \end{array}$ .
|
| 376 |
+
Then, as N → ∞, 1N PNi=1 Zi converges in probability to µ.
|
| 377 |
+
|
| 378 |
+
Proof. Let $\begin{array} { r } { S _ { N } = \sum _ { i = 1 } ^ { N } Z _ { i } } \end{array}$
|
| 379 |
+
|
| 380 |
+
$$
|
| 381 |
+
\mathbb { V } ( S _ { N } ) = \sum _ { i = 1 } ^ { N } \mathbb { V } ( Z _ { i } ) + 2 \sum _ { i = 1 } ^ { N } \sum _ { j = i + 1 } ^ { N } \operatorname { C o v } ( Z _ { i } , Z _ { j } )
|
| 382 |
+
$$
|
| 383 |
+
|
| 384 |
+
The first term is bounded by $c N$ from our assumption on the variance. Now, to bound the second term.
|
| 385 |
+
|
| 386 |
+
Fix $\delta > 0$ and choose $M$ such that $\forall | i - j | > M$ , $| \mathrm { C o v } ( Z _ { i } , Z _ { j } ) | < \delta$ (such an $M$ must exist since $\begin{array} { r } { \operatorname* { l i m } _ { | i - j | \to \infty } \operatorname { C o v } ( X _ { i } , X _ { j } ) = 0 ) } \end{array}$ . Assuming that $N > M$ , we can decompose the second term into
|
| 387 |
+
|
| 388 |
+
$$
|
| 389 |
+
\begin{array} { r l } & { \displaystyle \sum _ { i = 1 } ^ { N } \sum _ { j = i + 1 } ^ { N } \mathrm { C o v } ( Z _ { i } , Z _ { j } ) = \sum _ { i = 1 } ^ { N } \sum _ { j = i + 1 } ^ { i + M } \mathrm { C o v } ( Z _ { i } , Z _ { j } ) + \sum _ { i = 1 } ^ { N } \sum _ { j = i + M + 1 } ^ { N } \mathrm { C o v } ( Z _ { i } , Z _ { j } ) } \\ & { \displaystyle \left| \sum _ { i = 1 } ^ { N } \sum _ { j = i + 1 } ^ { N } \mathrm { C o v } ( Z _ { i } , Z _ { j } ) \right| \leq \sum _ { i = 1 } ^ { N } \sum _ { j = i + 1 } ^ { i + M } | \mathrm { C o v } ( Z _ { i } , Z _ { j } ) | + \sum _ { i = 1 } ^ { N } \sum _ { j = i + M + 1 } ^ { N } | \mathrm { C o v } ( Z _ { i } , Z _ { j } ) | } \end{array}
|
| 390 |
+
$$
|
| 391 |
+
|
| 392 |
+
By the Cauchy-Schwarz inequality and our variance assumption, $| \mathrm { C o v } ( Z _ { i } , Z _ { j } ) | \le c$ . So, we get
|
| 393 |
+
|
| 394 |
+
$$
|
| 395 |
+
\begin{array} { r } { \left| \displaystyle \sum _ { i = 1 } ^ { N } \displaystyle \sum _ { j = i + 1 } ^ { N } \mathrm { C o v } ( Z _ { i } , Z _ { j } ) \right| \le \displaystyle \sum _ { i = 1 } ^ { N } \displaystyle \sum _ { j = i + 1 } ^ { i + M } c + \displaystyle \sum _ { i = 1 } ^ { N } \sum _ { j = i + M + 1 } ^ { N } \delta } \\ { \le N M c + N ^ { 2 } \delta } \end{array}
|
| 396 |
+
$$
|
| 397 |
+
|
| 398 |
+
Altogether, our upper bound is
|
| 399 |
+
|
| 400 |
+
$$
|
| 401 |
+
\mathbb { V } \left( \frac { S _ { N } } { N } \right) \le \frac { c } { N } + \frac { M c } { N } + \delta
|
| 402 |
+
$$
|
| 403 |
+
|
| 404 |
+
Finally, we apply Chebyshev’s inequality. For a fixed $\epsilon > 0$ ,
|
| 405 |
+
|
| 406 |
+
$$
|
| 407 |
+
\begin{array} { l } { \displaystyle { P \left( \left| \frac { S _ { N } } { N } - \mu \right| > \epsilon \right) \le \frac { 1 } { \epsilon ^ { 2 } } \mathbb { V } \left( \frac { S _ { N } } { N } \right) } } \\ { \displaystyle { \le \frac { 1 } { \epsilon ^ { 2 } } \left( \frac { c } { N } + \frac { M c } { N } + \delta \right) } } \end{array}
|
| 408 |
+
$$
|
| 409 |
+
|
| 410 |
+
Since we can choose $\delta$ to be arbitrarily small (say $\begin{array} { r } { \delta = \frac { 1 } { N } , } \end{array}$ ), the right-hand side goes to $0$ as $N \to \infty$ , concluding the proof.
|
parse/train/S1gBz2C9tX/S1gBz2C9tX_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1gBz2C9tX/S1gBz2C9tX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/S1gBz2C9tX/S1gBz2C9tX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJxDkvqee/rJxDkvqee.md
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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, IL 60637, USA wanjia@ttic.edu
|
| 6 |
+
|
| 7 |
+
Weiran Wang & Karen Livescu Toyota Technological Institute at Chicago Chicago, IL 60637, USA {weiranwang,klivescu}@ttic.edu
|
| 8 |
+
|
| 9 |
+
# ABSTRACT
|
| 10 |
+
|
| 11 |
+
Recent work has begun exploring neural acoustic word embeddings—fixeddimensional vector representations of arbitrary-length speech segments corresponding to words. Such embeddings are applicable to speech retrieval and recognition tasks, where reasoning about whole words may make it possible to avoid ambiguous sub-word representations. The main idea is to map acoustic sequences to fixed-dimensional vectors such that examples of the same word are mapped to similar vectors, while different-word examples are mapped to very different vectors. In this work we take a multi-view approach to learning acoustic word embeddings, in which we jointly learn to embed acoustic sequences and their corresponding character sequences. We use deep bidirectional LSTM embedding models and multi-view contrastive losses. We study the effect of different loss variants, including fixed-margin and cost-sensitive losses. Our acoustic word embeddings improve over previous approaches for the task of word discrimination. We also present results on other tasks that are enabled by the multi-view approach, including cross-view word discrimination and word similarity.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
Word embeddings—continuous-valued vector representations of words—are an almost ubiquitous component of recent natural language processing (NLP) research. Word embeddings can be learned using spectral methods (Deerwester et al., 1990) or, more commonly in recent work, via neural networks (Bengio et al., 2003; Mnih & Hinton, 2007; Mikolov et al., 2013; Pennington et al., 2014). Word embeddings can also be composed to form embeddings of phrases, sentences, or documents (Socher et al., 2014; Kiros et al., 2015; Wieting et al., 2016; Iyyer et al., 2015).
|
| 16 |
+
|
| 17 |
+
In typical NLP applications, such embeddings are intended to represent the semantics of the corresponding words/sequences. In contrast, embeddings that represent the way a word or sequence sounds are rarely considered. In this work we address this problem, starting with embeddings of individual words. Such embeddings could be useful for tasks like spoken term detection (Fiscus et al., 2007), spoken query-by-example search (Anguera et al., 2014), or even speech recognition using a whole-word approach (Gemmeke et al., 2011; Bengio & Heigold, 2014). In tasks that involve comparing speech segments to each other, vector embeddings can allow more efficient and more accurate distance computation than sequence-based approaches such as dynamic time warping (Levin et al., 2013, 2015; Kamper et al., 2016; Settle & Livescu, 2016; Chung et al., 2016).
|
| 18 |
+
|
| 19 |
+
We consider the problem of learning vector representations of acoustic sequences and orthographic (character) sequences corresponding to single words, such that the learned embeddings represent the way the word sounds. We take a multi-view approach, where we jointly learn the embeddings for character and acoustic sequences. We consider several contrastive losses, based on learning from pairs of matched acoustic-orthographic examples and randomly drawn mismatched pairs. The losses correspond to different goals for learning such embeddings; for example, we might want the embeddings of two waveforms to be close when they correspond to the same word and far when they correspond to different ones, or we might want the distances between embeddings to correspond to some ground-truth orthographic edit distance.
|
| 20 |
+
|
| 21 |
+
One of the useful properties of this multi-view approach is that, unlike earlier work on acoustic word embeddings, it produces both acoustic and orthographic embeddings that can be directly compared. This makes it possible to use the same learned embeddings for multiple single-view and cross-view tasks. Our multi-view embeddings produce improved results over earlier work on acoustic word discrimination, as well as encouraging results on cross-view discrimination and word similarity.1
|
| 22 |
+
|
| 23 |
+
# 2 OUR APPROACH
|
| 24 |
+
|
| 25 |
+
In this section, we first introduce our approach for learning acoustic word embeddings in a multiview setting, after briefly reviewing related approaches to put ours in context. We then discuss the particular neural network architecture we use, based on bidirectional long short-term memory (LSTM) networks (Hochreiter & Schmidhuber, 1997).
|
| 26 |
+
|
| 27 |
+
# 2.1 MULTI-VIEW LEARNING OF ACOUSTIC WORD EMBEDDINGS
|
| 28 |
+
|
| 29 |
+
Previous approaches have focused on learning acoustic word embeddings in a “single-view” setting. In the simplest approach, one uses supervision of the form “acoustic segment $\mathbf { x }$ is an instance of the word dataset oing optim $\mathbf { y } ^ { \mathsf { , , } \mathsf { , } }$ , and trains the embedding to be discriired acoustic segments and word labels tion: word identity. Formally, given a, this approach solves the follow$\{ ( \mathbf { x } _ { i } , \mathbf { y } _ { i } ) \} _ { i = 1 } ^ { N }$
|
| 30 |
+
|
| 31 |
+
$$
|
| 32 |
+
\operatorname* { m i n } _ { f , h } { \mathrm { \ o b j } _ { c l a s s i f y } } : = \frac { 1 } { N } \sum _ { i } ^ { N } \ell \left( h ( f ( \mathbf { x } _ { i } ) ) , \mathbf { y } _ { i } \right) ,
|
| 33 |
+
$$
|
| 34 |
+
|
| 35 |
+
where network $f$ maps an acoustic segment into a fixed-dimensional feature vector/embedding, $h$ is a classifier that predicts the corresponding word label from the label set of the training data, and the loss $\ell$ measures the discrepancy between the prediction and ground-truth word label (one can use any multi-class classification loss here, and a typical choice is the cross-entropy loss where $h$ has a softmax top layer). The two networks $f$ and $h$ are trained jointly. Equivalently, one could consider the composition $h ( f ( \mathbf { x } ) )$ as a classifier network, and use any intermediate layer’s activations as the features. We refer to the objective in (1) as the “classifier network” objective, which has been used in several prior studies on acoustic word embeddings (Bengio & Heigold, 2014; Kamper et al., 2016; Settle & Livescu, 2016).
|
| 36 |
+
|
| 37 |
+
This objective, however, is not ideal for learning acoustic word embeddings. This is because the set of possible word labels is huge, and we may not have enough instances of each label to train a good classifier. In downstream tasks, we may encounter acoustic segments of words that did not appear in the embedding training set, and it is not clear that the classifier-based embeddings will have reasonable behavior on previously unseen words.
|
| 38 |
+
|
| 39 |
+
An alternative approach, based on Siamese networks (Bromley et al., 1993), uses supervision of the form “segment $\mathbf { \dot { x } } ^ { \hat { 1 } }$ is similar to segment $\mathbf { x } ^ { 2 }$ , and is not similar to segment $\mathbf { x } ^ { 3 } \mathbf { \ ' }$ ”, where two segments are considered similar if they have the same word label and dissimilar otherwise. Models based on Siamese networks have been used for a variety of representation learning problems in NLP $\mathrm { H u }$ et al., 2014; Wieting et al., 2016), vision (Hadsell et al., 2006), and speech (Synnaeve et al., 2014; Kamper et al., 2015) including acoustic word embeddings (Kamper et al., 2016; Settle & Livescu, 2016). A typical objective in this category enforces that the distance between $( \mathbf { x } ^ { 1 } , \mathbf { x } ^ { 3 } )$ is larger than the distance between $( \mathbf { x } ^ { 1 } , \mathbf { x } ^ { 2 } )$ by some margin:
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\operatorname* { m i n } _ { f } \ \mathrm { o b j } _ { s i a m e s e } : = \frac { 1 } { N } \sum _ { i } ^ { N } \operatorname* { m a x } \left( 0 , \ m + d i s \left( f ( \mathbf { x } _ { i } ^ { 1 } ) , \ f ( \mathbf { x } _ { i } ^ { 2 } ) \right) - d i s \left( f ( \mathbf { x } _ { i } ^ { 1 } ) , \ f ( \mathbf { x } _ { i } ^ { 3 } ) \right) \right) ,
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
where the network $f$ extracts the fixed-dimensional embedding, the distance function $d i s \left( \cdot , \cdot \right)$ measures the distance between the two embedding vectors, and $m > 0$ is the margin parameter. The term “Siamese” (Bromley et al., 1993; Chopra et al., 2005) refers to the fact that the triplet $( \mathbf { x } ^ { 1 } , \mathbf { x } ^ { 2 } , \mathbf { x } ^ { 3 } )$ share the same embedding network $f$ .
|
| 46 |
+
|
| 47 |
+
Unlike the classification-based loss, the Siamese network loss does not enforce hard decisions on the label of each segment. Instead it tries to learn embeddings that respect distances between word pairs, which can be helpful for dealing with unseen words. The Siamese network approach also uses more examples in training, as one can easily generate many more triplets than (segment, label) pairs, and it is not limited to those labels that occur a sufficient number of times in the training set.
|
| 48 |
+
|
| 49 |
+
The above approaches treat the word labels as discrete classes, which ignores the similarity between different words, and does not take advantage of the more complex information contained in the character sequences corresponding to word labels. The orthography naturally reflects some aspects of similarity between the words’ pronunciations, which should also be reflected in the acoustic embeddings. One way to learn features from multiple sources of complementary information is using a multi-view representation learning setting. We take this approach, and consider the acoustic segment and the character sequence to be two different views of the pronunciation of the word.
|
| 50 |
+
|
| 51 |
+
While many deep multi-view learning objectives are applicable (Ngiam et al., 2011; Srivastava & Salakhutdinov, 2014; Sohn et al., 2014; Wang et al., 2015), we consider the multi-view contrastive loss objective of (Hermann & Blunsom, 2014), which is simple to optimize and implement and performs well in practice. In this algorithm, we embed acoustic segments $\mathbf { x }$ by a network $f$ and character label sequences c by another network $g$ into a common space, and use weak supervision of the form “for paired segment $\mathbf { x } ^ { + }$ and its character label sequence $\mathbf { c } ^ { + }$ , the distance between their embedding is much smaller than the distance between embeddings of $\mathbf { x } ^ { + }$ and an unmatched character label sequence $\mathbf { c } ^ { - , }$ ”. Formally, we optimize the following objective with such supervision:
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\operatorname* { m i n } _ { f , g } \mathrm { ~ o b j } ^ { 0 } : = \frac { 1 } { N } \sum _ { i } ^ { N } \operatorname* { m a x } \left( 0 , m + d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { c } _ { i } ^ { + } ) \right) - d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { c } _ { i } ^ { - } ) \right) \right) ,
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
where $\mathbf { c } _ { i } ^ { - }$ is a negative character label sequence of $\mathbf { x } _ { i } ^ { + }$ to be contrasted with the positive/correct character sequence ${ \mathbf { c } } _ { i } ^ { + }$ , and $m$ is the margin parameter. In this paper we use the cosine distance, $\begin{array} { r } { d i s \left( \mathbf { a } , \mathbf { b } \right) = 1 - \bigg \langle \frac { \mathbf { a } } { \left\| \mathbf { a } \right\| } , \ \frac { \mathbf { b } } { \left\| \mathbf { b } \right\| } \bigg \rangle . ^ { 2 } } \end{array}$
|
| 58 |
+
|
| 59 |
+
Note that in the multi-view setting, we have multiple ways of generating triplets that contain one positive pair and one negative pair each. Below are the other three objectives we explore in this paper:
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\begin{array} { r l r } & { \underset { f , g } { \operatorname* { m i n } \mathrm { ~ o b j } } ^ { 1 } : = \frac { 1 } { N } \sum _ { i } ^ { N } \operatorname* { m a x } \left( 0 , m + d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { c } _ { i } ^ { + } ) \right) - d i s \left( g ( \mathbf { c } _ { i } ^ { + } ) , g ( \mathbf { c } _ { i } ^ { - } ) \right) \right) , } & \\ & { \underset { f , g } { \operatorname* { m i n } \mathrm { ~ o b j } } ^ { 2 } : = \frac { 1 } { N } \sum _ { i } ^ { N } \operatorname* { m a x } \left( 0 , m + d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { c } _ { i } ^ { + } ) \right) - d i s \left( f ( \mathbf { x } _ { i } ^ { - } ) , g ( \mathbf { c } _ { i } ^ { + } ) \right) \right) , } & \\ & { \underset { f , g } { \operatorname* { m i n } \mathrm { ~ o b j } } ^ { 3 } : = \frac { 1 } { N } \sum _ { i } ^ { N } \operatorname* { m a x } \left( 0 , m + d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , g ( \mathbf { c } _ { i } ^ { + } ) \right) - d i s \left( f ( \mathbf { x } _ { i } ^ { + } ) , f ( \mathbf { x } _ { i } ^ { - } ) \right) \right) . } \end{array}
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
$\mathbf { x } _ { i } ^ { - }$ in (5) and (6) refers to a negative acoustic feature sequence, that is one with a different label from ${ \bf x } _ { i } ^ { + }$ . We note that $\mathrm { \ o b j } ^ { \mathrm { 1 } }$ and $\mathrm { o b j } ^ { 3 }$ contain distances between same-view embeddings, and are less thoroughly explored in the literature. We will also consider combinations of obj0 through obj3.
|
| 66 |
+
|
| 67 |
+
Finally, thus far we have considered losses that do not explicitly take into account the degree of difference between the positive and negative pairs (although the learned embeddings may implicitly learn this through the relationship between sequences in the two views). We also consider a costsensitive objective designed to explicitly arrange the embedding space such that word similarity is respected. In (3), instead of a fixed margin $m$ , we use:
|
| 68 |
+
|
| 69 |
+
$$
|
| 70 |
+
m ( { \bf c } ^ { + } , { \bf c } ^ { - } ) : = m _ { \mathrm { m a x } } \cdot \frac { \mathrm { m i n } \left( t _ { \mathrm { m a x } } , e d i t d i s ( { \bf c } ^ { + } , { \bf c } ^ { - } ) \right) } { t _ { \mathrm { m a x } } } ,
|
| 71 |
+
$$
|
| 72 |
+
|
| 73 |
+
where $t _ { \mathrm { m a x } } > 0$ is a threshold for edit distances (all edit distances above $t _ { \mathrm { m a x } }$ are considered equally bad), and $m _ { m a x }$ is the maximum margin we impose. The margin is set to $m _ { m a x }$ if the edit distance between two character sequences is above $t _ { \mathrm { m a x } }$ ; otherwise it scales linearly with the edit distance $e d i t d i s ( { \bf c } ^ { + } , { \bf c } ^ { - } ) )$ . We use the Levenshtein distance as the edit distance. Here we explore the costsensitive margin with $\mathrm { o b j } ^ { \mathrm { 0 } }$ , but it could in principle be used with other objectives as well.
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
Figure 1: Illustration of our embedding architecture and contrastive multi-view approach.
|
| 77 |
+
|
| 78 |
+
# 2.2 RECURRENT NEURAL NETWORK ARCHITECTURE
|
| 79 |
+
|
| 80 |
+
Since the inputs of both views have a sequential structure, we implement both $f$ and $g$ with recurrent neural networks and in particular long-short term memory networks (LSTMs). Recurrent neural networks are the state-of-the-art models for a number of speech tasks including speech recognition Graves et al. (2013), and LSTM-based acoustic word embeddings have produced the best results on one of the tasks in our experiments (Settle & Livescu, 2016).
|
| 81 |
+
|
| 82 |
+
As shown in Figure 1, our $f$ and $g$ are produced by multi-layer (stacked) bidirectional LSTMs. The inputs can be any frame-level acoustic feature representation and vector representation of the characters in the orthographic input. At each layer, two LSTM cells process the input sequence from left to right and from right to left respectively. At intermediate layers, the outputs of the two LSTMs at each time step are concatenated to form the input sequence to the next layer. At the top layer, the last time step outputs of the two LSTMs are concatenated to form a fixed-dimensional embedding of the view, and the embeddings are then used to calculate the cosine distances in our objectives.
|
| 83 |
+
|
| 84 |
+
# 3 RELATED WORK
|
| 85 |
+
|
| 86 |
+
We are aware of no prior work on multi-view learning of acoustic and character-based word embeddings. However, acoustic word embeddings learned in other ways have recently begun to be studied. Levin et al. (2013) proposed an approach for embedding an arbitrary-length segment of speech as a fixed-dimensional vector, based on representing each word as a vector of dynamic time warping (DTW) distances to a set of template words. This approach produced improved performance on a word discrimination task compared to using raw DTW distances, and was later also applied successfully for a query-by-example task (Levin et al., 2015). One disadvantage of this approach is that, while DTW handles the issue of variable sequence lengths, it is computationally costly and involves a number of DTW parameters that are not learned.
|
| 87 |
+
|
| 88 |
+
Kamper et al. (2016) and Settle & Livescu (2016) later improved on Levin et al.’s word discrimination results using convolutional neural networks (CNNs) and recurrent neural networks (RNNs) trained with either a classification or contrastive loss. Bengio & Heigold (2014) trained convolutional neural network (CNN)-based acoustic word embeddings for rescoring the outputs of a speech recognizer, using a loss combining classification and ranking criteria. Maas et al. (2012) trained a CNN to predict a semantic word embedding from an acoustic segment, and used the resulting embeddings as features in a segmental word-level speech recognizer. Harwath and Glass Harwath & Glass (2015); Harwath et al. (2016); Harwath & Glass (2017) jointly trained CNN embeddings of images and spoken captions, and showed that word-like unit embeddings can be extracted from the speech model. CNNs require normalizing the duration of the input sequences, which has typically been done via padding. RNNs, on the other hand, are more flexible in dealing with very different-length sequences. Chen et al. (2015) used long short-term memory (LSTM) networks with a classification loss to embed acoustic words for a simple (single-query) query-by-example search task. Chung et al. (2016) learned acoustic word embeddings based on recurrent neural network (RNN) autoencoders, and found that they improve over DTW for a word discrimination task similar to that of Levin et al. (2013). Audhkhasi et al. (2017) learned autoencoders for acoustic and written words, as well as a model for comparing the two, and applied these to a keyword search task.
|
| 89 |
+
|
| 90 |
+
Evaluation of acoustic word embeddings in downstream tasks such as speech recognition and search can be costly, and can obscure details of embedding models and training approaches. Most evaluations have been based on word discrimination – the task of determining whether two speech segments correspond to the same word or not – which can be seen as a proxy for query-by-example search (Levin et al., 2013; Kamper et al., 2016; Settle & Livescu, 2016; Chung et al., 2016). One difference between word discrimination and search/recognition tasks is that in word discrimination the word boundaries are given. However, prior work has been able to apply results from word discrimination Levin et al. (2013) to improve a query-by-example system without known word boundaries Levin et al. (2015), by simply applying their embeddings to non-word segments as well.
|
| 91 |
+
|
| 92 |
+
The only prior work focused on vector embeddings of character sequences explicitly aimed at representing their acoustic similarity is that of Ghannay et al. (2016), who proposed evaluations based on nearest-neighbor retrieval, phonetic/orthographic similarity measures, and homophone disambiguation. We use related tasks here, as well as acoustic word discrimination for comparison with prior work on acoustic embeddings.
|
| 93 |
+
|
| 94 |
+
# 4 EXPERIMENTS AND RESULTS
|
| 95 |
+
|
| 96 |
+
The ultimate goal is to gain improvements in speech systems where word-level discrimination is needed, such as speech recognition and query-by-example search. However, in order to focus on the content of the embeddings themselves and to more quickly compare a variety of models, it is desirable to have surrogate tasks that serve as intrinsic measures of performance. Here we consider three forms of evaluation, all based on measuring whether cosine distances between learned embeddings correspond well to desired properties.
|
| 97 |
+
|
| 98 |
+
In the first task, acoustic word discrimination, we are given a pair of acoustic sequences and must decide whether they correspond to the same word or to different words. This task has been used in several prior papers on acoustic word embeddings Kamper et al. (2015, 2016); Chung et al. (2016); Settle & Livescu (2016) and is a proxy for query-by-example search. For each given spoken word pair, we calculate the cosine distance between their embeddings. If the cosine distance is below a threshold, we output “yes” (same word), otherwise we output “no” (different words). The performance measure is the average precision (AP), which is the area under the precision-recall curve generated by varying the threshold and has a maximum value of 1.
|
| 99 |
+
|
| 100 |
+
In our multi-view setup, we embed not only the acoustic words but also the character sequences. This allows us to use our embeddings also for tasks involving comparisons between written and spoken words. For example, the standard task of spoken term detection (Fiscus et al., 2007) involves searching for examples of a given text query in spoken documents. This task is identical to queryby-example except that the query is given as text. In order to explore the potential of multi-view embeddings for such tasks, we design another proxy task, cross-view word discrimination. Here we are given a pair of inputs, one a written word and one an acoustic word segment, and our task is to determine if the acoustic signal is an example of the written word. The evalution proceeds analogously to the acoustic word discrimination task: We output “yes” if the cosine distance between the embeddings of the written and spoken sequences are below some threshold, and measure performance as the average precision (AP) over all thresholds.
|
| 101 |
+
|
| 102 |
+
Finally, we also would like to obtain a more fine-grained measure of whether the learned embeddings capture our intuitive sense of similarity between words. Being able to capture word similarity may also be useful in building query or recognition systems that fail gracefully and produce humanlike errors. For this purpose we measure the rank correlation between embedding distances and character edit distances. This is analogous to the evaluation of semantic word embeddings via the rank correlation between embedding distances and human similarity judgments (Finkelstein et al., 2001; Hill et al., 2015). In our case, however, we do not use human judgments since the ground-truth edit distances themselves provide a good measure. We refer to this as the word similarity task, and we apply this measure to both pairs of acoustic embeddings and pairs of character sequence embeddings. Similar measures have been proposed by Ghannay et al. (2016) to evaluate acoustic word embeddings, although they considered only near neighbors of each word whereas we consider the correlation across the full range of word pairs.
|
| 103 |
+
|
| 104 |
+
In the experiments described below, we first focus on the acoustic word discrimination task for purposes of initial exploration and hyperparameter search, and then largely fix the models for evaluation using the cross-view word discrimination and word similarity measures.
|
| 105 |
+
|
| 106 |
+
# 4.1 DATA
|
| 107 |
+
|
| 108 |
+
We use the same experimental setup and data as in Kamper et al. (2015, 2016); Settle & Livescu (2016). The task and setup were first developed by (Carlin et al., 2011). The data is drawn from the Switchboard English conversational speech corpus (Godfrey et al., 1992). The spoken word segments range in duration from 50 to 200 frames $0 . 5 \textrm { - } 2$ seconds). The train/dev/test splits contain 9971/10966/11024 pairs of acoustic segments and character sequences, corresponding to 1687/3918/3390 unique words. In computing the AP for the dev or test set, all pairs in the set are used, yielding approximately 60 million word pairs.
|
| 109 |
+
|
| 110 |
+
The input to the embedding model in the acoustic view is a sequence of 39-dimensional vectors (one per frame) of standard mel frequency cepstral coefficients (MFCCs) and their first and second derivatives. The input to the character sequence embedding model is a sequence of 26-dimensional one-hot vectors indicating each character of the word’s orthography.
|
| 111 |
+
|
| 112 |
+
# 4.2 MODEL DETAILS AND HYPERPARAMETER TUNING
|
| 113 |
+
|
| 114 |
+
We experiment with different neural network architectures for each view, varying the number of stacked LSTM layers, the number of hidden units for each layer, and the use of single- or bidirectional LSTM cells. A coarse grid search shows that 2-layer bidirectional LSTMs with 512 hidden units per direction per layer perform well on the acoustic word discrimination task, and we keep this structure fixed for subsequent experiments (see Appendix A for more details). We use the outputs of the top-layer LSTMs as the learned embedding for each view, which is 1024-dimensional if bidirectional LSTMs are used.
|
| 115 |
+
|
| 116 |
+
In training, we use dropout on the inputs of the acoustic view and between stacked layers for both views. The architecture is illustrated in Figure 1. For each training example, our contrastive losses require a corresponding negative example. We generate a negative character label sequence by uniformly sampling a word label from the training set that is different from the positive label. We perform a new negative label sampling at the beginning of each epoch. Similarly, negative acoustic feature sequences are uniformly sampled from all of the differently labeled acoustic feature sequences in the training set.
|
| 117 |
+
|
| 118 |
+
The network weights are initialized with values sampled uniformly from the range $[ - 0 . 0 5 , 0 . 0 5 ]$ . We use the Adam optimizer (Kingma & Ba, 2015) for updating the weights using mini-batches of 20 acoustic segments, with an initial learning rate tuned over $\{ \mathrm { { 0 . 0 0 0 1 , \bar { 0 . 0 0 1 } } } \}$ . Dropout is used at each layer, with the rate tuned over $\{ 0 , 0 . 2 , 0 . 4 , 0 . 5 \}$ , in which 0.4 usually outperformed others. The margin in our basic contrastive objectives 0-3 is tuned over $\{ 0 . 3 , 0 . 4 , 0 . 5 , 0 . 6 , 0 . 7 \}$ , out of which 0.4 and 0.5 typically yield best results. For obj0 with the cost-sensitive margin, we tune the maximum margin $m _ { \mathrm { m a x } }$ over $\{ 0 . 5 , 0 . 6 , 0 . 7 \}$ and the threshold $t _ { \mathrm { m a x } }$ over $\{ 9 , 1 1 , 1 3 \}$ . We train each model for up to 1000 epochs. The model that gives the best AP on the development set is used for evaluation on the test set.
|
| 119 |
+
|
| 120 |
+
# 4.3 EFFECTS OF DIFFERENT OBJECTIVES
|
| 121 |
+
|
| 122 |
+
We presented four contrastive losses (3)–(6) and potential combinations in Section 2.1. We now explore the effects of these different objectives on the word discrimination tasks.
|
| 123 |
+
|
| 124 |
+
Table 1 shows the development set AP for acoustic and cross-view word discrimination achieved using the various objectives. We tuned the objectives for the acoustic discrimination task, and then used the corresponding converged models for the cross-view task. Of the simple contrastive objectives, obj0 and $\mathrm { { \bar { \ o b j } } ^ { 2 } }$ (which involve only cross-view distances) slightly outperform the other two on the acoustic word discrimination task. The best-performing objective is the “symmetrized” objective $\mathrm { \ o b j ^ { 0 } + o b j ^ { 2 } }$ , which significantly outperforms all individual objectives (and the combination of the four). Finally, the cost-sensitive objective is very competitive as well, while falling slightly short of the best performance. We note that a similar objective to our ob $\mathrm { \hbar ^ { 6 } + o b j ^ { 2 } }$ was used by Vendrov et al. (2016) for the task of caption-image retrieval, where the authors essentially use all non-paired examples from the other view in the minibatch as negative examples (instead of random sampling one negative example as we do) to be contrasted with one paired example.
|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
Figure 2: Development set AP for several objectives on acoustic word discrimination.
|
| 128 |
+
|
| 129 |
+
<table><tr><td>Objective</td><td>Dev AP (acoustic)</td><td>Dev AP (cross-view)</td></tr><tr><td></td><td></td><td></td></tr><tr><td>obj0</td><td>0.659</td><td>0.791</td></tr><tr><td>obj1</td><td>0.654</td><td>0.807</td></tr><tr><td>obj2</td><td>0.675</td><td>0.788</td></tr><tr><td>obj3</td><td>0.640</td><td>0.782</td></tr><tr><td>obj+ obj²</td><td>0.702</td><td>0.814</td></tr><tr><td>M obji</td><td>0.672</td><td>0.804</td></tr><tr><td>cost-sensitive</td><td>0.671</td><td>0.802</td></tr></table>
|
| 130 |
+
|
| 131 |
+
Table 1: Word discrimination performance with different objectives.
|
| 132 |
+
Table 2: Final test set AP for different word discrimination approaches. The first line is a baseline using no word embeddings, but rather applying dynamic time warping (DTW) to the input MFCC features. The second and third lines are prior results using no word embeddings (but rather using DTW with learned correspondence autoencoder-based or phone posterior features, trained on larger external (in-domain) data). The remaining prior work corresponds to using cosine similarity between acoustic word embeddings.
|
| 133 |
+
|
| 134 |
+
<table><tr><td>Method</td><td>Test AP (acoustic)</td><td>Test AP (cross-view)</td></tr><tr><td>MFCCs + DTW (Kamper et al.,2016)</td><td>0.214</td><td></td></tr><tr><td>Correspondence autoencoder + DTW (Kamper et al., 2015)</td><td>0.469</td><td></td></tr><tr><td>Phone posteriors + DTW (Carlin et al., 2011)</td><td>0.497</td><td></td></tr><tr><td>Siamese CNN (Kamper et al., 2016)</td><td>0.549</td><td></td></tr><tr><td>Siamese LSTM (Settle &Livescu, 2016)</td><td>0.671</td><td></td></tr><tr><td>Our multi-view LSTM obj° + obj²</td><td>0.806</td><td>0.892</td></tr></table>
|
| 135 |
+
|
| 136 |
+
Figure 2 shows the progression of the development set AP for acoustic word discrimination over 1000 training epochs, using several of the objectives, where AP is evaluated every 5 epochs. We observe that even after 1000 epochs, the development set AP has not quite saturated, indicating that it may be possible to further improve performance.
|
| 137 |
+
|
| 138 |
+
Overall, our best-performing objective is the combined ob $^ { 0 } + \mathrm { o b j } ^ { 2 }$ , and we use it for reporting final test-set results. Table 2 shows the test set AP for both the acoustic and cross-view tasks using our final model (“multi-view LSTM”). For comparison, we also include acoustic word discrimination results reported previously by Kamper et al. (2016); Settle & Livescu (2016). Previous approaches have not addressed the problem of learning embeddings jointly with the text view, so they can not be evaluated on the cross-view task.
|
| 139 |
+
|
| 140 |
+
# 4.4 WORD SIMILARITY TASKS
|
| 141 |
+
|
| 142 |
+
Table 3 gives our results on the word similarity tasks, that is the rank correlation (Spearman’s $\rho$ ) between embedding distances and orthographic edit distance (Levenshtein distance between character sequences). We measure this correlation for both our acoustic word embeddings and for our text embeddings. In the case of the text embeddings, we could of course directly measure the Levenshtein distance between the inputs; here we are simply measuring how much of this information the text embeddings are able to retain.
|
| 143 |
+
|
| 144 |
+
Table 3: Word similarity results using fixed-margin and cost-sensitive objectives, given as rank correlation (Spearman’s $\rho$ ) between embedding distances and orthographic edit distances.
|
| 145 |
+
|
| 146 |
+
<table><tr><td>Objective</td><td>ρ (acoustic embedding)</td><td>)ρ (text embedding)</td></tr><tr><td>fixed-margin (objo)</td><td>0.179</td><td>0.207</td></tr><tr><td>cost-sensitive margin (objo)</td><td>0.240</td><td>0.270</td></tr></table>
|
| 147 |
+
|
| 148 |
+
Interestingly, while the cost-sensitive objective did not produce substantial gains on the word discrimination tasks above, it does greatly improve the performance on this word similarity measure. This is a satisfying observation, since the cost-sensitive loss is trying to improve precisely this relationship between distances in the embedding space and the orthographic edit distance.
|
| 149 |
+
|
| 150 |
+
Although we have trained our embeddings using orthographic labels, it is also interesting to consider how closely aligned the embeddings are with the corresponding phonetic pronunciations. For comparison, the rank correlation between our acoustic embeddings and phonetic edit distances is 0.226, and for our text embeddings it is 0.241, which are relatively close to the rank correlations with orthographic edit distance. A future direction is to directly train embeddings with phonetic sequence supervision rather than orthography; this setting involves somewhat stronger supervision, but it is easy to obtain in many cases.
|
| 151 |
+
|
| 152 |
+
Another interesting point is that the performance is not a great deal better for the text embeddings than for the acoustic embeddings, even though the text embeddings have at their disposal the text input itself. We believe this has to do with the distribution of words in our data: While the data includes a large variety of words, it does not include many very similar pairs. In fact, of all possible pairs of unique training set words, fewer than $2 \%$ have an edit distance below 5 characters. Therefore, there may not be sufficient information to learn to distinguish detailed differences among character sequences, and the cost-sensitive loss ultimately does not learn much more than to separate different words. In future work it would be interesting to experiment with data sets that have a larger variety of similar words.
|
| 153 |
+
|
| 154 |
+
# 4.5 VISUALIZATION OF LEARNED EMBEDDINGS
|
| 155 |
+
|
| 156 |
+
Figure 3 gives a 2-dimensional t-SNE (van der Maaten & Hinton, 2008) visualization of selected acoustic and character sequences from the development set, including some that were seen in the training set and some previously unseen words. The previously seen words in this figure were selected uniformly at random among those that appear at least 15 times in the development set (the unseen words are the only six that appear at least 15 times in the development set). This visualization demonstrates that the acoustic embeddings cluster very tightly and are very close to the text embeddings, and that unseen words cluster nearly as well as previously seen ones.
|
| 157 |
+
|
| 158 |
+
While Figure 3 shows the relationship among the multiple acoustic embeddings and the text embeddings, the words are all very different so we cannot draw conclusions about the relationships between words. Figure 4 provides another visualization, this time exploring the relationship among the text embeddings of a number of closely related words, namely all development set words ending in “-ly”, “-ing”, and “-tion”. This visualization confirms that related words are embedded close together, with the words sharing a suffix forming fairly well-defined clusters.
|
| 159 |
+
|
| 160 |
+
# 5 CONCLUSION
|
| 161 |
+
|
| 162 |
+
We have presented an approach for jointly learning acoustic word embeddings and their orthographic counterparts. This multi-view approach produces improved acoustic word embedding performance over previous approaches, and also has the benefit that the same embeddings can be applied for both spoken and written query tasks. We have explored a variety of contrastive objectives: ones with a fixed margin that aim to separate same and different word pairs, as well as a cost-sensitive loss that aims to capture orthographic edit distances. While the losses generally perform similarly for word discrimination tasks, the cost-sensitive loss improves the correlation between embedding distances and orthographic distances. One interesting direction for future work is to directly use knowledge about phonetic pronunciations, in both evaluation and training. Another direction is to extend our approach to directly train on both word and non-word segments.
|
| 163 |
+
|
| 164 |
+

|
| 165 |
+
Figure 3: Visualization via t-SNE of acoustic word embeddings (colored markers) and corresponding character sequence embeddings (text), for a set of development set words with at least 15 acoustic tokens. Words seen in training are in lower-case; unseen words are in upper-case.
|
| 166 |
+
|
| 167 |
+

|
| 168 |
+
Figure 4: Visualization via $\mathbf { t } { - } \mathbf { S N E }$ of character sequence embeddings for words with the suffixes “-ly” (blue), “-ing” (red), and “-tion” (green).
|
| 169 |
+
|
| 170 |
+
# ACKNOWLEDGMENTS
|
| 171 |
+
|
| 172 |
+
This research was supported by a Google Faculty Award and by NSF grant IIS-1321015. The opinions expressed in this work are those of the authors and do not necessarily reflect the views of the funding agency. This research used GPUs donated by NVIDIA Corporation. We thank Herman Kamper and Shane Settle for their assistance with the data and experimental setup.
|
| 173 |
+
|
| 174 |
+
# REFERENCES
|
| 175 |
+
|
| 176 |
+
Xavier Anguera, Luis Javier Rodriguez-Fuentes, Igor Szoke, Andi Buzo, and Florian Metze. Query ¨ by example search on speech at mediaeval 2014. In MediaEval, 2014.
|
| 177 |
+
|
| 178 |
+
Kartik Audhkhasi, Andrew Rosenberg, Abhinav Sethy, Bhuvana Ramabhadran, and Brian Kingsbury. End-to-end ASR-free keyword search from speech. arXiv preprint arXiv:1701.04313, 2017.
|
| 179 |
+
|
| 180 |
+
Samy Bengio and Georg Heigold. Word embeddings for speech recognition. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2014.
|
| 181 |
+
|
| 182 |
+
Yoshua Bengio, Rejean Ducharme, Pascal Vincent, and Christian Jauvin. A neural probabilistic ´ language model. Journal of Machine Learing Research, 3(Feb):1137–1155, 2003.
|
| 183 |
+
|
| 184 |
+
Jane Bromley, Isabelle Guyon, Yann Lecun, Eduard Sackinger, and Roopak Shah. Signature verifi- ¨ cation using a siamese time delay neural network. In Advances in Neural Information Processing Systems (NIPS), pp. 737–744, 1993.
|
| 185 |
+
|
| 186 |
+
Michael A Carlin, Samuel Thomas, Aren Jansen, and Hynek Hermansky. Rapid evaluation of speech representations for spoken term discovery. In Proc. Interspeech, 2011.
|
| 187 |
+
|
| 188 |
+
Guoguo Chen, Carolina Parada, and Tara N Sainath. Query-by-example keyword spotting using long short-term memory networks. In Proc. ICASSP, 2015.
|
| 189 |
+
|
| 190 |
+
Sumit Chopra, Raia Hadsell, and Yann LeCun. Learning a similarity metric discriminatively, with application to face verification. In IEEE Computer Society Conf. Computer Vision and Pattern Recognition, pp. 539–546, 2005.
|
| 191 |
+
|
| 192 |
+
Yu-An Chung, Chao-Chung Wu, Chia-Hao Shen, and Hung-Yi Lee. Unsupervised learning of audio segment representations using sequence-to-sequence recurrent neural networks. In Proc. Interspeech, 2016.
|
| 193 |
+
|
| 194 |
+
Scott Deerwester, Susan T Dumais, George W Furnas, Thomas K Landauer, and Richard Harshman. Indexing by latent semantic analysis. Journal of the American society for information science, 41 (6):391, 1990.
|
| 195 |
+
|
| 196 |
+
Lev Finkelstein, Evgeniy Gabrilovich, Yossi Matias, Ehud Rivlin, Zach Solan, Gadi Wolfman, and Eytan Ruppin. Placing search in context: The concept revisited. In Proceedings of the 10th international conference on World Wide Web, 2001.
|
| 197 |
+
|
| 198 |
+
Jonathan G Fiscus, Jerome Ajot, John S Garofolo, and George Doddingtion. Results of the 2006 spoken term detection evaluation. In Proc. SIGIR, volume 7, pp. 51–57. Citeseer, 2007.
|
| 199 |
+
|
| 200 |
+
Jort F Gemmeke, Tuomas Virtanen, and Antti Hurmalainen. Exemplar-based sparse representations for noise robust automatic speech recognition. IEEE Transactions on Acoustics, Speech, and Language Processing, 19(7):2067–2080, 2011.
|
| 201 |
+
|
| 202 |
+
Sahar Ghannay, Yannick Esteve, Nathalie Camelin, and Paul Deleglise. Evaluation of acoustic word embeddings. In Proc. ACL Workshop on Evaluating Vector-Space Representations for NLP, 2016.
|
| 203 |
+
|
| 204 |
+
John J Godfrey, Edward C Holliman, and Jane McDaniel. SWITCHBOARD: Telephone speech corpus for research and development. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 1992.
|
| 205 |
+
|
| 206 |
+
Alex Graves, Abdel rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2013.
|
| 207 |
+
|
| 208 |
+
Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In IEEE Computer Society Conf. Computer Vision and Pattern Recognition, 2006.
|
| 209 |
+
|
| 210 |
+
David Harwath and James Glass. Deep multimodal semantic embeddings for speech and images. In Proc. IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU), 2015.
|
| 211 |
+
|
| 212 |
+
David Harwath and James R Glass. Learning word-like units from joint audio-visual analysis. arXiv preprint arXiv:1701.07481, 2017.
|
| 213 |
+
|
| 214 |
+
David Harwath, Antonio Torralba, and James Glass. Unsupervised learning of spoken language with visual context. In Advances in Neural Information Processing Systems (NIPS), 2016.
|
| 215 |
+
|
| 216 |
+
Karl Moritz Hermann and Phil Blunsom. Multilingual distributed representations without word alignment. In Int. Conf. Learning Representations, 2014. arXiv:1312.6173 [cs.CL].
|
| 217 |
+
|
| 218 |
+
Felix Hill, Roi Reichart, and Anna Korhonen. SimLex-999: Evaluating semantic models with (genuine) similarity estimation. Computational Linguistics, 41(4), 2015.
|
| 219 |
+
|
| 220 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 9(8): 1735–1780, 1997.
|
| 221 |
+
|
| 222 |
+
Baotian Hu, Zhengdong Lu, Hang Li, and Qingcai Chen. Convolutional neural network architectures for matching natural language sentences. In Advances in Neural Information Processing Systems (NIPS), 2014.
|
| 223 |
+
|
| 224 |
+
Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daume III. Deep unordered com-´ position rivals syntactic methods for text classification. In Proc. Association for Computational Linguistics, 2015.
|
| 225 |
+
|
| 226 |
+
Herman Kamper, Micah Elsner, Aren Jansen, and Sharon J. Goldwater. Unsupervised neural network based feature extraction using weak top-down constraints. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2015.
|
| 227 |
+
|
| 228 |
+
Herman Kamper, Weiran Wang, and Karen Livescu. Deep convolutional acoustic word embeddings using word-pair side information. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2016.
|
| 229 |
+
|
| 230 |
+
Diederik Kingma and Jimmy Ba. ADAM: A method for stochastic optimization. In Int. Conf. Learning Representations, 2015.
|
| 231 |
+
|
| 232 |
+
Ryan Kiros, Yukun Zhu, Ruslan R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Skip-thought vectors. In Advances in Neural Information Processing Systems (NIPS), 2015.
|
| 233 |
+
|
| 234 |
+
Keith Levin, Katharine Henry, Aren Jansen, and Karen Livescu. Fixed-dimensional acoustic embeddings of variable-length segments in low-resource settings. In Proc. IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU), 2013.
|
| 235 |
+
|
| 236 |
+
Keith Levin, Aren Jansen, and Benjamin Van Durme. Segmental acoustic indexing for zero resource keyword search. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2015.
|
| 237 |
+
|
| 238 |
+
Andrew L Maas, Stephen D Miller, Tyler M O’neil, Andrew $\mathrm { \Delta Y N g }$ , and Patrick Nguyen. Word-level acoustic modeling with convolutional vector regression. In Proc. ICML Workshop on Representation Learning, 2012.
|
| 239 |
+
|
| 240 |
+
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 (NIPS), 2013.
|
| 241 |
+
|
| 242 |
+
Andriy Mnih and Geoffrey Hinton. Three new graphical models for statistical language modelling. In ICML, 2007.
|
| 243 |
+
|
| 244 |
+
Jiquan Ngiam, Aditya Khosla, Mingyu Kim, Juhan Nam, Honglak Lee, and Andrew Ng. Multimodal deep learning. In ICML, pp. 689–696, 2011.
|
| 245 |
+
|
| 246 |
+
Jeffrey Pennington, Richard Socher, and Christopher D Manning. GloVe: Global vectors for word representation. In Proc. Conference on Empirical Methods in Natural Language Processing, 2014.
|
| 247 |
+
|
| 248 |
+
Shane Settle and Karen Livescu. Discriminative acoustic word embeddings: Recurrent neural network-based approaches. In Proc. IEEE Workshop on Spoken Language Technology (SLT), 2016.
|
| 249 |
+
|
| 250 |
+
Richard Socher, Andrej Karpathy, Quoc V Le, Christopher D Manning, and Andrew Y Ng. Grounded compositional semantics for finding and describing images with sentences. Transactions of the Association for Computational Linguistics, 2:207–218, 2014.
|
| 251 |
+
|
| 252 |
+
Kihyuk Sohn, Wenling Shang, and Honglak Lee. Improved multimodal deep learning with variation of information. In Advances in Neural Information Processing Systems (NIPS), pp. 2141–2149, 2014.
|
| 253 |
+
|
| 254 |
+
Nitish Srivastava and Ruslan Salakhutdinov. Multimodal learning with deep boltzmann machines. Journal of Machine Learing Research, pp. 2949–2980, 2014.
|
| 255 |
+
|
| 256 |
+
Gabriel Synnaeve, Thomas Schatz, and Emmanuel Dupoux. Phonetics embedding learning with side information. In Proc. IEEE Workshop on Spoken Language Technology (SLT), 2014.
|
| 257 |
+
|
| 258 |
+
Laurens J. P. van der Maaten and Geoffrey E. Hinton. Visualizing data using $t$ -SNE. Journal of Machine Learing Research, 9:2579–2605, November 2008.
|
| 259 |
+
|
| 260 |
+
Ivan Vendrov, Ryan Kiros, Sanja Fidler, and Raquel Urtasun. Order-embeddings of images and language. In Int. Conf. Learning Representations, 2016.
|
| 261 |
+
|
| 262 |
+
Weiran Wang, Raman Arora, Karen Livescu, and Jeff Bilmes. On deep multi-view representation learning. In ICML, pp. 1083–1092, 2015.
|
| 263 |
+
|
| 264 |
+
John Wieting, Mohit Bansal, Kevin Gimpel, and Karen Livescu. Towards universal paraphrastic sentence embeddings. In Int. Conf. Learning Representations, 2016.
|
| 265 |
+
|
| 266 |
+
# A ADDITIONAL ANALYSIS
|
| 267 |
+
|
| 268 |
+
We first explore the effect of network architectures for our embedding models. We learn embeddings using objective obj0 and evaluate them on the acoustic and cross-view word discrimination tasks. The resulting average precisions on the development set are given in Table 4. All of the models were trained for 1000 epochs, except for the 1-layer unidirectional models which converged after 500 epochs. It is clear that bidirectional LSTMs are more successful than unidirectional LSTMs for these tasks, and two layers of LSTMs are much better than a single layer of LSTMs. We did not observe significant further improvement by using more than two layers of LSTMs. For all other experiments, we fix the architecture to 2-layer bidirectional LSTMs for each view.
|
| 269 |
+
|
| 270 |
+
Dev AP Dev AP (acoustic word discrimination) (cross-view word discrimination)
|
| 271 |
+
|
| 272 |
+
<table><tr><td>1-layer unidirectional</td><td>0.379</td><td>0.616</td></tr><tr><td>1-layer bidirectional</td><td>0.466</td><td>0.690</td></tr><tr><td>2-layer bidirectional</td><td>0.659</td><td>0.791</td></tr></table>
|
| 273 |
+
|
| 274 |
+
Table 4: Average precision (AP) for acoustic and cross-view word discrimination tasks on the development set, using embeddings learned with objective obj0 and different LSTM architectures.
|
| 275 |
+
|
| 276 |
+

|
| 277 |
+
Figure 5: Precision-recall curve (left: two-layer bidirectional LSTM trained with $\mathrm { \ o b j ^ { 0 } + o b j ^ { 2 } }$ for word discrimination task) and scatter plot of embedding distances vs. orthographic distances (right: cost-sensitive margin model for word similarity task), for our best embedding models.
|
| 278 |
+
|
| 279 |
+
In Figure 5 we also give the precision-recall curve for our best models, as well as the scatter plot of cosine distances between acoustic embeddings vs. orthographic edit distances.
|
parse/train/rJxDkvqee/rJxDkvqee_content_list.json
ADDED
|
@@ -0,0 +1,1510 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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17 |
+
"text_level": 1,
|
| 18 |
+
"bbox": [
|
| 19 |
+
184,
|
| 20 |
+
171,
|
| 21 |
+
259,
|
| 22 |
+
184
|
| 23 |
+
],
|
| 24 |
+
"page_idx": 0
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"type": "text",
|
| 28 |
+
"text": "Department of Computer Science University of Chicago Chicago, IL 60637, USA wanjia@ttic.edu ",
|
| 29 |
+
"bbox": [
|
| 30 |
+
184,
|
| 31 |
+
185,
|
| 32 |
+
405,
|
| 33 |
+
239
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Weiran Wang & Karen Livescu Toyota Technological Institute at Chicago Chicago, IL 60637, USA {weiranwang,klivescu}@ttic.edu ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
472,
|
| 42 |
+
170,
|
| 43 |
+
763,
|
| 44 |
+
227
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "ABSTRACT ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
454,
|
| 54 |
+
276,
|
| 55 |
+
544,
|
| 56 |
+
291
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Recent work has begun exploring neural acoustic word embeddings—fixeddimensional vector representations of arbitrary-length speech segments corresponding to words. Such embeddings are applicable to speech retrieval and recognition tasks, where reasoning about whole words may make it possible to avoid ambiguous sub-word representations. The main idea is to map acoustic sequences to fixed-dimensional vectors such that examples of the same word are mapped to similar vectors, while different-word examples are mapped to very different vectors. In this work we take a multi-view approach to learning acoustic word embeddings, in which we jointly learn to embed acoustic sequences and their corresponding character sequences. We use deep bidirectional LSTM embedding models and multi-view contrastive losses. We study the effect of different loss variants, including fixed-margin and cost-sensitive losses. Our acoustic word embeddings improve over previous approaches for the task of word discrimination. We also present results on other tasks that are enabled by the multi-view approach, including cross-view word discrimination and word similarity. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
233,
|
| 65 |
+
309,
|
| 66 |
+
764,
|
| 67 |
+
516
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "1 INTRODUCTION ",
|
| 74 |
+
"text_level": 1,
|
| 75 |
+
"bbox": [
|
| 76 |
+
178,
|
| 77 |
+
544,
|
| 78 |
+
334,
|
| 79 |
+
560
|
| 80 |
+
],
|
| 81 |
+
"page_idx": 0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"type": "text",
|
| 85 |
+
"text": "Word embeddings—continuous-valued vector representations of words—are an almost ubiquitous component of recent natural language processing (NLP) research. Word embeddings can be learned using spectral methods (Deerwester et al., 1990) or, more commonly in recent work, via neural networks (Bengio et al., 2003; Mnih & Hinton, 2007; Mikolov et al., 2013; Pennington et al., 2014). Word embeddings can also be composed to form embeddings of phrases, sentences, or documents (Socher et al., 2014; Kiros et al., 2015; Wieting et al., 2016; Iyyer et al., 2015). ",
|
| 86 |
+
"bbox": [
|
| 87 |
+
174,
|
| 88 |
+
575,
|
| 89 |
+
825,
|
| 90 |
+
660
|
| 91 |
+
],
|
| 92 |
+
"page_idx": 0
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"type": "text",
|
| 96 |
+
"text": "In typical NLP applications, such embeddings are intended to represent the semantics of the corresponding words/sequences. In contrast, embeddings that represent the way a word or sequence sounds are rarely considered. In this work we address this problem, starting with embeddings of individual words. Such embeddings could be useful for tasks like spoken term detection (Fiscus et al., 2007), spoken query-by-example search (Anguera et al., 2014), or even speech recognition using a whole-word approach (Gemmeke et al., 2011; Bengio & Heigold, 2014). In tasks that involve comparing speech segments to each other, vector embeddings can allow more efficient and more accurate distance computation than sequence-based approaches such as dynamic time warping (Levin et al., 2013, 2015; Kamper et al., 2016; Settle & Livescu, 2016; Chung et al., 2016). ",
|
| 97 |
+
"bbox": [
|
| 98 |
+
174,
|
| 99 |
+
666,
|
| 100 |
+
825,
|
| 101 |
+
791
|
| 102 |
+
],
|
| 103 |
+
"page_idx": 0
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"type": "text",
|
| 107 |
+
"text": "We consider the problem of learning vector representations of acoustic sequences and orthographic (character) sequences corresponding to single words, such that the learned embeddings represent the way the word sounds. We take a multi-view approach, where we jointly learn the embeddings for character and acoustic sequences. We consider several contrastive losses, based on learning from pairs of matched acoustic-orthographic examples and randomly drawn mismatched pairs. The losses correspond to different goals for learning such embeddings; for example, we might want the embeddings of two waveforms to be close when they correspond to the same word and far when they correspond to different ones, or we might want the distances between embeddings to correspond to some ground-truth orthographic edit distance. ",
|
| 108 |
+
"bbox": [
|
| 109 |
+
174,
|
| 110 |
+
799,
|
| 111 |
+
825,
|
| 112 |
+
924
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "One of the useful properties of this multi-view approach is that, unlike earlier work on acoustic word embeddings, it produces both acoustic and orthographic embeddings that can be directly compared. This makes it possible to use the same learned embeddings for multiple single-view and cross-view tasks. Our multi-view embeddings produce improved results over earlier work on acoustic word discrimination, as well as encouraging results on cross-view discrimination and word similarity.1 ",
|
| 119 |
+
"bbox": [
|
| 120 |
+
174,
|
| 121 |
+
103,
|
| 122 |
+
825,
|
| 123 |
+
174
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "2 OUR APPROACH",
|
| 130 |
+
"text_level": 1,
|
| 131 |
+
"bbox": [
|
| 132 |
+
176,
|
| 133 |
+
194,
|
| 134 |
+
339,
|
| 135 |
+
210
|
| 136 |
+
],
|
| 137 |
+
"page_idx": 1
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"type": "text",
|
| 141 |
+
"text": "In this section, we first introduce our approach for learning acoustic word embeddings in a multiview setting, after briefly reviewing related approaches to put ours in context. We then discuss the particular neural network architecture we use, based on bidirectional long short-term memory (LSTM) networks (Hochreiter & Schmidhuber, 1997). ",
|
| 142 |
+
"bbox": [
|
| 143 |
+
173,
|
| 144 |
+
222,
|
| 145 |
+
825,
|
| 146 |
+
277
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "text",
|
| 152 |
+
"text": "2.1 MULTI-VIEW LEARNING OF ACOUSTIC WORD EMBEDDINGS ",
|
| 153 |
+
"text_level": 1,
|
| 154 |
+
"bbox": [
|
| 155 |
+
174,
|
| 156 |
+
296,
|
| 157 |
+
624,
|
| 158 |
+
309
|
| 159 |
+
],
|
| 160 |
+
"page_idx": 1
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"type": "text",
|
| 164 |
+
"text": "Previous approaches have focused on learning acoustic word embeddings in a “single-view” setting. In the simplest approach, one uses supervision of the form “acoustic segment $\\mathbf { x }$ is an instance of the word dataset oing optim $\\mathbf { y } ^ { \\mathsf { , , } \\mathsf { , } }$ , and trains the embedding to be discriired acoustic segments and word labels tion: word identity. Formally, given a, this approach solves the follow$\\{ ( \\mathbf { x } _ { i } , \\mathbf { y } _ { i } ) \\} _ { i = 1 } ^ { N }$ ",
|
| 165 |
+
"bbox": [
|
| 166 |
+
173,
|
| 167 |
+
316,
|
| 168 |
+
825,
|
| 169 |
+
386
|
| 170 |
+
],
|
| 171 |
+
"page_idx": 1
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"type": "equation",
|
| 175 |
+
"img_path": "images/a4836f082a95967dec5f14aff1c4753b04d30bc7876fb07da8ff9e1acd0590ef.jpg",
|
| 176 |
+
"text": "$$\n\\operatorname* { m i n } _ { f , h } { \\mathrm { \\ o b j } _ { c l a s s i f y } } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\ell \\left( h ( f ( \\mathbf { x } _ { i } ) ) , \\mathbf { y } _ { i } \\right) ,\n$$",
|
| 177 |
+
"text_format": "latex",
|
| 178 |
+
"bbox": [
|
| 179 |
+
349,
|
| 180 |
+
381,
|
| 181 |
+
647,
|
| 182 |
+
424
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "where network $f$ maps an acoustic segment into a fixed-dimensional feature vector/embedding, $h$ is a classifier that predicts the corresponding word label from the label set of the training data, and the loss $\\ell$ measures the discrepancy between the prediction and ground-truth word label (one can use any multi-class classification loss here, and a typical choice is the cross-entropy loss where $h$ has a softmax top layer). The two networks $f$ and $h$ are trained jointly. Equivalently, one could consider the composition $h ( f ( \\mathbf { x } ) )$ as a classifier network, and use any intermediate layer’s activations as the features. We refer to the objective in (1) as the “classifier network” objective, which has been used in several prior studies on acoustic word embeddings (Bengio & Heigold, 2014; Kamper et al., 2016; Settle & Livescu, 2016). ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
173,
|
| 191 |
+
424,
|
| 192 |
+
825,
|
| 193 |
+
551
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "This objective, however, is not ideal for learning acoustic word embeddings. This is because the set of possible word labels is huge, and we may not have enough instances of each label to train a good classifier. In downstream tasks, we may encounter acoustic segments of words that did not appear in the embedding training set, and it is not clear that the classifier-based embeddings will have reasonable behavior on previously unseen words. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
558,
|
| 203 |
+
825,
|
| 204 |
+
627
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "An alternative approach, based on Siamese networks (Bromley et al., 1993), uses supervision of the form “segment $\\mathbf { \\dot { x } } ^ { \\hat { 1 } }$ is similar to segment $\\mathbf { x } ^ { 2 }$ , and is not similar to segment $\\mathbf { x } ^ { 3 } \\mathbf { \\ ' }$ ”, where two segments are considered similar if they have the same word label and dissimilar otherwise. Models based on Siamese networks have been used for a variety of representation learning problems in NLP $\\mathrm { H u }$ et al., 2014; Wieting et al., 2016), vision (Hadsell et al., 2006), and speech (Synnaeve et al., 2014; Kamper et al., 2015) including acoustic word embeddings (Kamper et al., 2016; Settle & Livescu, 2016). A typical objective in this category enforces that the distance between $( \\mathbf { x } ^ { 1 } , \\mathbf { x } ^ { 3 } )$ is larger than the distance between $( \\mathbf { x } ^ { 1 } , \\mathbf { x } ^ { 2 } )$ by some margin: ",
|
| 211 |
+
"bbox": [
|
| 212 |
+
173,
|
| 213 |
+
633,
|
| 214 |
+
825,
|
| 215 |
+
747
|
| 216 |
+
],
|
| 217 |
+
"page_idx": 1
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"type": "equation",
|
| 221 |
+
"img_path": "images/548c74ed2065562251283f8a57c2571af9513be60bce4215a55281d78aa0c2bb.jpg",
|
| 222 |
+
"text": "$$\n\\operatorname* { m i n } _ { f } \\ \\mathrm { o b j } _ { s i a m e s e } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\operatorname* { m a x } \\left( 0 , \\ m + d i s \\left( f ( \\mathbf { x } _ { i } ^ { 1 } ) , \\ f ( \\mathbf { x } _ { i } ^ { 2 } ) \\right) - d i s \\left( f ( \\mathbf { x } _ { i } ^ { 1 } ) , \\ f ( \\mathbf { x } _ { i } ^ { 3 } ) \\right) \\right) ,\n$$",
|
| 223 |
+
"text_format": "latex",
|
| 224 |
+
"bbox": [
|
| 225 |
+
212,
|
| 226 |
+
748,
|
| 227 |
+
782,
|
| 228 |
+
791
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 1
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "where the network $f$ extracts the fixed-dimensional embedding, the distance function $d i s \\left( \\cdot , \\cdot \\right)$ measures the distance between the two embedding vectors, and $m > 0$ is the margin parameter. The term “Siamese” (Bromley et al., 1993; Chopra et al., 2005) refers to the fact that the triplet $( \\mathbf { x } ^ { 1 } , \\mathbf { x } ^ { 2 } , \\mathbf { x } ^ { 3 } )$ share the same embedding network $f$ . ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
173,
|
| 237 |
+
795,
|
| 238 |
+
825,
|
| 239 |
+
852
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 1
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Unlike the classification-based loss, the Siamese network loss does not enforce hard decisions on the label of each segment. Instead it tries to learn embeddings that respect distances between word pairs, which can be helpful for dealing with unseen words. The Siamese network approach also uses more examples in training, as one can easily generate many more triplets than (segment, label) pairs, and it is not limited to those labels that occur a sufficient number of times in the training set. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
176,
|
| 248 |
+
857,
|
| 249 |
+
821,
|
| 250 |
+
887
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 1
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "",
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
103,
|
| 260 |
+
823,
|
| 261 |
+
146
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "The above approaches treat the word labels as discrete classes, which ignores the similarity between different words, and does not take advantage of the more complex information contained in the character sequences corresponding to word labels. The orthography naturally reflects some aspects of similarity between the words’ pronunciations, which should also be reflected in the acoustic embeddings. One way to learn features from multiple sources of complementary information is using a multi-view representation learning setting. We take this approach, and consider the acoustic segment and the character sequence to be two different views of the pronunciation of the word. ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
152,
|
| 271 |
+
825,
|
| 272 |
+
251
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "While many deep multi-view learning objectives are applicable (Ngiam et al., 2011; Srivastava & Salakhutdinov, 2014; Sohn et al., 2014; Wang et al., 2015), we consider the multi-view contrastive loss objective of (Hermann & Blunsom, 2014), which is simple to optimize and implement and performs well in practice. In this algorithm, we embed acoustic segments $\\mathbf { x }$ by a network $f$ and character label sequences c by another network $g$ into a common space, and use weak supervision of the form “for paired segment $\\mathbf { x } ^ { + }$ and its character label sequence $\\mathbf { c } ^ { + }$ , the distance between their embedding is much smaller than the distance between embeddings of $\\mathbf { x } ^ { + }$ and an unmatched character label sequence $\\mathbf { c } ^ { - , }$ ”. Formally, we optimize the following objective with such supervision: ",
|
| 279 |
+
"bbox": [
|
| 280 |
+
174,
|
| 281 |
+
256,
|
| 282 |
+
825,
|
| 283 |
+
369
|
| 284 |
+
],
|
| 285 |
+
"page_idx": 2
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"type": "equation",
|
| 289 |
+
"img_path": "images/22132e0e24074064aa19553891d2d5a1436d56819220d137bd9404c296263059.jpg",
|
| 290 |
+
"text": "$$\n\\operatorname* { m i n } _ { f , g } \\mathrm { ~ o b j } ^ { 0 } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\operatorname* { m a x } \\left( 0 , m + d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { c } _ { i } ^ { + } ) \\right) - d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { c } _ { i } ^ { - } ) \\right) \\right) ,\n$$",
|
| 291 |
+
"text_format": "latex",
|
| 292 |
+
"bbox": [
|
| 293 |
+
228,
|
| 294 |
+
368,
|
| 295 |
+
766,
|
| 296 |
+
411
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "where $\\mathbf { c } _ { i } ^ { - }$ is a negative character label sequence of $\\mathbf { x } _ { i } ^ { + }$ to be contrasted with the positive/correct character sequence ${ \\mathbf { c } } _ { i } ^ { + }$ , and $m$ is the margin parameter. In this paper we use the cosine distance, $\\begin{array} { r } { d i s \\left( \\mathbf { a } , \\mathbf { b } \\right) = 1 - \\bigg \\langle \\frac { \\mathbf { a } } { \\left\\| \\mathbf { a } \\right\\| } , \\ \\frac { \\mathbf { b } } { \\left\\| \\mathbf { b } \\right\\| } \\bigg \\rangle . ^ { 2 } } \\end{array}$ ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
173,
|
| 305 |
+
411,
|
| 306 |
+
825,
|
| 307 |
+
468
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 2
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "text",
|
| 313 |
+
"text": "Note that in the multi-view setting, we have multiple ways of generating triplets that contain one positive pair and one negative pair each. Below are the other three objectives we explore in this paper: ",
|
| 314 |
+
"bbox": [
|
| 315 |
+
174,
|
| 316 |
+
472,
|
| 317 |
+
825,
|
| 318 |
+
515
|
| 319 |
+
],
|
| 320 |
+
"page_idx": 2
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"type": "equation",
|
| 324 |
+
"img_path": "images/baf87c0ce0ed6bbb2af8cae8c2106f1c012d1c53b27fcb5334d9b3256a0b7c54.jpg",
|
| 325 |
+
"text": "$$\n\\begin{array} { r l r } & { \\underset { f , g } { \\operatorname* { m i n } \\mathrm { ~ o b j } } ^ { 1 } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\operatorname* { m a x } \\left( 0 , m + d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { c } _ { i } ^ { + } ) \\right) - d i s \\left( g ( \\mathbf { c } _ { i } ^ { + } ) , g ( \\mathbf { c } _ { i } ^ { - } ) \\right) \\right) , } & \\\\ & { \\underset { f , g } { \\operatorname* { m i n } \\mathrm { ~ o b j } } ^ { 2 } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\operatorname* { m a x } \\left( 0 , m + d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { c } _ { i } ^ { + } ) \\right) - d i s \\left( f ( \\mathbf { x } _ { i } ^ { - } ) , g ( \\mathbf { c } _ { i } ^ { + } ) \\right) \\right) , } & \\\\ & { \\underset { f , g } { \\operatorname* { m i n } \\mathrm { ~ o b j } } ^ { 3 } : = \\frac { 1 } { N } \\sum _ { i } ^ { N } \\operatorname* { m a x } \\left( 0 , m + d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , g ( \\mathbf { c } _ { i } ^ { + } ) \\right) - d i s \\left( f ( \\mathbf { x } _ { i } ^ { + } ) , f ( \\mathbf { x } _ { i } ^ { - } ) \\right) \\right) . } \\end{array}\n$$",
|
| 326 |
+
"text_format": "latex",
|
| 327 |
+
"bbox": [
|
| 328 |
+
227,
|
| 329 |
+
513,
|
| 330 |
+
766,
|
| 331 |
+
645
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "$\\mathbf { x } _ { i } ^ { - }$ in (5) and (6) refers to a negative acoustic feature sequence, that is one with a different label from ${ \\bf x } _ { i } ^ { + }$ . We note that $\\mathrm { \\ o b j } ^ { \\mathrm { 1 } }$ and $\\mathrm { o b j } ^ { 3 }$ contain distances between same-view embeddings, and are less thoroughly explored in the literature. We will also consider combinations of obj0 through obj3. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
176,
|
| 340 |
+
646,
|
| 341 |
+
823,
|
| 342 |
+
694
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 2
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Finally, thus far we have considered losses that do not explicitly take into account the degree of difference between the positive and negative pairs (although the learned embeddings may implicitly learn this through the relationship between sequences in the two views). We also consider a costsensitive objective designed to explicitly arrange the embedding space such that word similarity is respected. In (3), instead of a fixed margin $m$ , we use: ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
173,
|
| 351 |
+
700,
|
| 352 |
+
825,
|
| 353 |
+
770
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 2
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "equation",
|
| 359 |
+
"img_path": "images/8a4e048e013341867f7c667fe9a1d9ff774b96cf587689614a216cb44340d3a3.jpg",
|
| 360 |
+
"text": "$$\nm ( { \\bf c } ^ { + } , { \\bf c } ^ { - } ) : = m _ { \\mathrm { m a x } } \\cdot \\frac { \\mathrm { m i n } \\left( t _ { \\mathrm { m a x } } , e d i t d i s ( { \\bf c } ^ { + } , { \\bf c } ^ { - } ) \\right) } { t _ { \\mathrm { m a x } } } ,\n$$",
|
| 361 |
+
"text_format": "latex",
|
| 362 |
+
"bbox": [
|
| 363 |
+
318,
|
| 364 |
+
770,
|
| 365 |
+
678,
|
| 366 |
+
803
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 2
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "where $t _ { \\mathrm { m a x } } > 0$ is a threshold for edit distances (all edit distances above $t _ { \\mathrm { m a x } }$ are considered equally bad), and $m _ { m a x }$ is the maximum margin we impose. The margin is set to $m _ { m a x }$ if the edit distance between two character sequences is above $t _ { \\mathrm { m a x } }$ ; otherwise it scales linearly with the edit distance $e d i t d i s ( { \\bf c } ^ { + } , { \\bf c } ^ { - } ) )$ . We use the Levenshtein distance as the edit distance. Here we explore the costsensitive margin with $\\mathrm { o b j } ^ { \\mathrm { 0 } }$ , but it could in principle be used with other objectives as well. ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
803,
|
| 376 |
+
825,
|
| 377 |
+
875
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "image",
|
| 383 |
+
"img_path": "images/c3ff837397d39b835e1fc3d63562ed43f1f1a643589586c9893411912a989b7d.jpg",
|
| 384 |
+
"image_caption": [
|
| 385 |
+
"Figure 1: Illustration of our embedding architecture and contrastive multi-view approach. "
|
| 386 |
+
],
|
| 387 |
+
"image_footnote": [],
|
| 388 |
+
"bbox": [
|
| 389 |
+
173,
|
| 390 |
+
99,
|
| 391 |
+
821,
|
| 392 |
+
267
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "2.2 RECURRENT NEURAL NETWORK ARCHITECTURE",
|
| 399 |
+
"text_level": 1,
|
| 400 |
+
"bbox": [
|
| 401 |
+
174,
|
| 402 |
+
311,
|
| 403 |
+
558,
|
| 404 |
+
325
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "Since the inputs of both views have a sequential structure, we implement both $f$ and $g$ with recurrent neural networks and in particular long-short term memory networks (LSTMs). Recurrent neural networks are the state-of-the-art models for a number of speech tasks including speech recognition Graves et al. (2013), and LSTM-based acoustic word embeddings have produced the best results on one of the tasks in our experiments (Settle & Livescu, 2016). ",
|
| 411 |
+
"bbox": [
|
| 412 |
+
174,
|
| 413 |
+
333,
|
| 414 |
+
823,
|
| 415 |
+
402
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 3
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "As shown in Figure 1, our $f$ and $g$ are produced by multi-layer (stacked) bidirectional LSTMs. The inputs can be any frame-level acoustic feature representation and vector representation of the characters in the orthographic input. At each layer, two LSTM cells process the input sequence from left to right and from right to left respectively. At intermediate layers, the outputs of the two LSTMs at each time step are concatenated to form the input sequence to the next layer. At the top layer, the last time step outputs of the two LSTMs are concatenated to form a fixed-dimensional embedding of the view, and the embeddings are then used to calculate the cosine distances in our objectives. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
410,
|
| 425 |
+
825,
|
| 426 |
+
507
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 3
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "3 RELATED WORK ",
|
| 433 |
+
"text_level": 1,
|
| 434 |
+
"bbox": [
|
| 435 |
+
176,
|
| 436 |
+
529,
|
| 437 |
+
341,
|
| 438 |
+
544
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 3
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "We are aware of no prior work on multi-view learning of acoustic and character-based word embeddings. However, acoustic word embeddings learned in other ways have recently begun to be studied. Levin et al. (2013) proposed an approach for embedding an arbitrary-length segment of speech as a fixed-dimensional vector, based on representing each word as a vector of dynamic time warping (DTW) distances to a set of template words. This approach produced improved performance on a word discrimination task compared to using raw DTW distances, and was later also applied successfully for a query-by-example task (Levin et al., 2015). One disadvantage of this approach is that, while DTW handles the issue of variable sequence lengths, it is computationally costly and involves a number of DTW parameters that are not learned. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
555,
|
| 448 |
+
825,
|
| 449 |
+
681
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Kamper et al. (2016) and Settle & Livescu (2016) later improved on Levin et al.’s word discrimination results using convolutional neural networks (CNNs) and recurrent neural networks (RNNs) trained with either a classification or contrastive loss. Bengio & Heigold (2014) trained convolutional neural network (CNN)-based acoustic word embeddings for rescoring the outputs of a speech recognizer, using a loss combining classification and ranking criteria. Maas et al. (2012) trained a CNN to predict a semantic word embedding from an acoustic segment, and used the resulting embeddings as features in a segmental word-level speech recognizer. Harwath and Glass Harwath & Glass (2015); Harwath et al. (2016); Harwath & Glass (2017) jointly trained CNN embeddings of images and spoken captions, and showed that word-like unit embeddings can be extracted from the speech model. CNNs require normalizing the duration of the input sequences, which has typically been done via padding. RNNs, on the other hand, are more flexible in dealing with very different-length sequences. Chen et al. (2015) used long short-term memory (LSTM) networks with a classification loss to embed acoustic words for a simple (single-query) query-by-example search task. Chung et al. (2016) learned acoustic word embeddings based on recurrent neural network (RNN) autoencoders, and found that they improve over DTW for a word discrimination task similar to that of Levin et al. (2013). Audhkhasi et al. (2017) learned autoencoders for acoustic and written words, as well as a model for comparing the two, and applied these to a keyword search task. ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
174,
|
| 458 |
+
688,
|
| 459 |
+
825,
|
| 460 |
+
924
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "Evaluation of acoustic word embeddings in downstream tasks such as speech recognition and search can be costly, and can obscure details of embedding models and training approaches. Most evaluations have been based on word discrimination – the task of determining whether two speech segments correspond to the same word or not – which can be seen as a proxy for query-by-example search (Levin et al., 2013; Kamper et al., 2016; Settle & Livescu, 2016; Chung et al., 2016). One difference between word discrimination and search/recognition tasks is that in word discrimination the word boundaries are given. However, prior work has been able to apply results from word discrimination Levin et al. (2013) to improve a query-by-example system without known word boundaries Levin et al. (2015), by simply applying their embeddings to non-word segments as well. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
103,
|
| 470 |
+
825,
|
| 471 |
+
229
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "The only prior work focused on vector embeddings of character sequences explicitly aimed at representing their acoustic similarity is that of Ghannay et al. (2016), who proposed evaluations based on nearest-neighbor retrieval, phonetic/orthographic similarity measures, and homophone disambiguation. We use related tasks here, as well as acoustic word discrimination for comparison with prior work on acoustic embeddings. ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
174,
|
| 480 |
+
236,
|
| 481 |
+
823,
|
| 482 |
+
305
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 4
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "4 EXPERIMENTS AND RESULTS ",
|
| 489 |
+
"text_level": 1,
|
| 490 |
+
"bbox": [
|
| 491 |
+
176,
|
| 492 |
+
348,
|
| 493 |
+
446,
|
| 494 |
+
364
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "The ultimate goal is to gain improvements in speech systems where word-level discrimination is needed, such as speech recognition and query-by-example search. However, in order to focus on the content of the embeddings themselves and to more quickly compare a variety of models, it is desirable to have surrogate tasks that serve as intrinsic measures of performance. Here we consider three forms of evaluation, all based on measuring whether cosine distances between learned embeddings correspond well to desired properties. ",
|
| 501 |
+
"bbox": [
|
| 502 |
+
174,
|
| 503 |
+
388,
|
| 504 |
+
825,
|
| 505 |
+
472
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "In the first task, acoustic word discrimination, we are given a pair of acoustic sequences and must decide whether they correspond to the same word or to different words. This task has been used in several prior papers on acoustic word embeddings Kamper et al. (2015, 2016); Chung et al. (2016); Settle & Livescu (2016) and is a proxy for query-by-example search. For each given spoken word pair, we calculate the cosine distance between their embeddings. If the cosine distance is below a threshold, we output “yes” (same word), otherwise we output “no” (different words). The performance measure is the average precision (AP), which is the area under the precision-recall curve generated by varying the threshold and has a maximum value of 1. ",
|
| 512 |
+
"bbox": [
|
| 513 |
+
174,
|
| 514 |
+
479,
|
| 515 |
+
825,
|
| 516 |
+
590
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "In our multi-view setup, we embed not only the acoustic words but also the character sequences. This allows us to use our embeddings also for tasks involving comparisons between written and spoken words. For example, the standard task of spoken term detection (Fiscus et al., 2007) involves searching for examples of a given text query in spoken documents. This task is identical to queryby-example except that the query is given as text. In order to explore the potential of multi-view embeddings for such tasks, we design another proxy task, cross-view word discrimination. Here we are given a pair of inputs, one a written word and one an acoustic word segment, and our task is to determine if the acoustic signal is an example of the written word. The evalution proceeds analogously to the acoustic word discrimination task: We output “yes” if the cosine distance between the embeddings of the written and spoken sequences are below some threshold, and measure performance as the average precision (AP) over all thresholds. ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
174,
|
| 525 |
+
597,
|
| 526 |
+
825,
|
| 527 |
+
750
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "Finally, we also would like to obtain a more fine-grained measure of whether the learned embeddings capture our intuitive sense of similarity between words. Being able to capture word similarity may also be useful in building query or recognition systems that fail gracefully and produce humanlike errors. For this purpose we measure the rank correlation between embedding distances and character edit distances. This is analogous to the evaluation of semantic word embeddings via the rank correlation between embedding distances and human similarity judgments (Finkelstein et al., 2001; Hill et al., 2015). In our case, however, we do not use human judgments since the ground-truth edit distances themselves provide a good measure. We refer to this as the word similarity task, and we apply this measure to both pairs of acoustic embeddings and pairs of character sequence embeddings. Similar measures have been proposed by Ghannay et al. (2016) to evaluate acoustic word embeddings, although they considered only near neighbors of each word whereas we consider the correlation across the full range of word pairs. ",
|
| 534 |
+
"bbox": [
|
| 535 |
+
174,
|
| 536 |
+
757,
|
| 537 |
+
825,
|
| 538 |
+
924
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 4
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "text",
|
| 544 |
+
"text": "In the experiments described below, we first focus on the acoustic word discrimination task for purposes of initial exploration and hyperparameter search, and then largely fix the models for evaluation using the cross-view word discrimination and word similarity measures. ",
|
| 545 |
+
"bbox": [
|
| 546 |
+
174,
|
| 547 |
+
103,
|
| 548 |
+
823,
|
| 549 |
+
145
|
| 550 |
+
],
|
| 551 |
+
"page_idx": 5
|
| 552 |
+
},
|
| 553 |
+
{
|
| 554 |
+
"type": "text",
|
| 555 |
+
"text": "4.1 DATA ",
|
| 556 |
+
"text_level": 1,
|
| 557 |
+
"bbox": [
|
| 558 |
+
174,
|
| 559 |
+
161,
|
| 560 |
+
253,
|
| 561 |
+
176
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 5
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "We use the same experimental setup and data as in Kamper et al. (2015, 2016); Settle & Livescu (2016). The task and setup were first developed by (Carlin et al., 2011). The data is drawn from the Switchboard English conversational speech corpus (Godfrey et al., 1992). The spoken word segments range in duration from 50 to 200 frames $0 . 5 \\textrm { - } 2$ seconds). The train/dev/test splits contain 9971/10966/11024 pairs of acoustic segments and character sequences, corresponding to 1687/3918/3390 unique words. In computing the AP for the dev or test set, all pairs in the set are used, yielding approximately 60 million word pairs. ",
|
| 568 |
+
"bbox": [
|
| 569 |
+
174,
|
| 570 |
+
185,
|
| 571 |
+
825,
|
| 572 |
+
282
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "The input to the embedding model in the acoustic view is a sequence of 39-dimensional vectors (one per frame) of standard mel frequency cepstral coefficients (MFCCs) and their first and second derivatives. The input to the character sequence embedding model is a sequence of 26-dimensional one-hot vectors indicating each character of the word’s orthography. ",
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
289,
|
| 582 |
+
825,
|
| 583 |
+
345
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 5
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "4.2 MODEL DETAILS AND HYPERPARAMETER TUNING ",
|
| 590 |
+
"text_level": 1,
|
| 591 |
+
"bbox": [
|
| 592 |
+
174,
|
| 593 |
+
362,
|
| 594 |
+
560,
|
| 595 |
+
375
|
| 596 |
+
],
|
| 597 |
+
"page_idx": 5
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"type": "text",
|
| 601 |
+
"text": "We experiment with different neural network architectures for each view, varying the number of stacked LSTM layers, the number of hidden units for each layer, and the use of single- or bidirectional LSTM cells. A coarse grid search shows that 2-layer bidirectional LSTMs with 512 hidden units per direction per layer perform well on the acoustic word discrimination task, and we keep this structure fixed for subsequent experiments (see Appendix A for more details). We use the outputs of the top-layer LSTMs as the learned embedding for each view, which is 1024-dimensional if bidirectional LSTMs are used. ",
|
| 602 |
+
"bbox": [
|
| 603 |
+
174,
|
| 604 |
+
383,
|
| 605 |
+
825,
|
| 606 |
+
481
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 5
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "In training, we use dropout on the inputs of the acoustic view and between stacked layers for both views. The architecture is illustrated in Figure 1. For each training example, our contrastive losses require a corresponding negative example. We generate a negative character label sequence by uniformly sampling a word label from the training set that is different from the positive label. We perform a new negative label sampling at the beginning of each epoch. Similarly, negative acoustic feature sequences are uniformly sampled from all of the differently labeled acoustic feature sequences in the training set. ",
|
| 613 |
+
"bbox": [
|
| 614 |
+
174,
|
| 615 |
+
488,
|
| 616 |
+
825,
|
| 617 |
+
585
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 5
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "The network weights are initialized with values sampled uniformly from the range $[ - 0 . 0 5 , 0 . 0 5 ]$ . We use the Adam optimizer (Kingma & Ba, 2015) for updating the weights using mini-batches of 20 acoustic segments, with an initial learning rate tuned over $\\{ \\mathrm { { 0 . 0 0 0 1 , \\bar { 0 . 0 0 1 } } } \\}$ . Dropout is used at each layer, with the rate tuned over $\\{ 0 , 0 . 2 , 0 . 4 , 0 . 5 \\}$ , in which 0.4 usually outperformed others. The margin in our basic contrastive objectives 0-3 is tuned over $\\{ 0 . 3 , 0 . 4 , 0 . 5 , 0 . 6 , 0 . 7 \\}$ , out of which 0.4 and 0.5 typically yield best results. For obj0 with the cost-sensitive margin, we tune the maximum margin $m _ { \\mathrm { m a x } }$ over $\\{ 0 . 5 , 0 . 6 , 0 . 7 \\}$ and the threshold $t _ { \\mathrm { m a x } }$ over $\\{ 9 , 1 1 , 1 3 \\}$ . We train each model for up to 1000 epochs. The model that gives the best AP on the development set is used for evaluation on the test set. ",
|
| 624 |
+
"bbox": [
|
| 625 |
+
174,
|
| 626 |
+
593,
|
| 627 |
+
825,
|
| 628 |
+
719
|
| 629 |
+
],
|
| 630 |
+
"page_idx": 5
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"type": "text",
|
| 634 |
+
"text": "4.3 EFFECTS OF DIFFERENT OBJECTIVES ",
|
| 635 |
+
"text_level": 1,
|
| 636 |
+
"bbox": [
|
| 637 |
+
178,
|
| 638 |
+
736,
|
| 639 |
+
467,
|
| 640 |
+
750
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 5
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "We presented four contrastive losses (3)–(6) and potential combinations in Section 2.1. We now explore the effects of these different objectives on the word discrimination tasks. ",
|
| 647 |
+
"bbox": [
|
| 648 |
+
174,
|
| 649 |
+
758,
|
| 650 |
+
821,
|
| 651 |
+
787
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 5
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "Table 1 shows the development set AP for acoustic and cross-view word discrimination achieved using the various objectives. We tuned the objectives for the acoustic discrimination task, and then used the corresponding converged models for the cross-view task. Of the simple contrastive objectives, obj0 and $\\mathrm { { \\bar { \\ o b j } } ^ { 2 } }$ (which involve only cross-view distances) slightly outperform the other two on the acoustic word discrimination task. The best-performing objective is the “symmetrized” objective $\\mathrm { \\ o b j ^ { 0 } + o b j ^ { 2 } }$ , which significantly outperforms all individual objectives (and the combination of the four). Finally, the cost-sensitive objective is very competitive as well, while falling slightly short of the best performance. We note that a similar objective to our ob $\\mathrm { \\hbar ^ { 6 } + o b j ^ { 2 } }$ was used by Vendrov et al. (2016) for the task of caption-image retrieval, where the authors essentially use all non-paired examples from the other view in the minibatch as negative examples (instead of random sampling one negative example as we do) to be contrasted with one paired example. ",
|
| 658 |
+
"bbox": [
|
| 659 |
+
173,
|
| 660 |
+
794,
|
| 661 |
+
825,
|
| 662 |
+
924
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 5
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "image",
|
| 668 |
+
"img_path": "images/04d3643ce9c112935d084f301ba1e540e182a27589bdeea428f56c642fe7c2c6.jpg",
|
| 669 |
+
"image_caption": [
|
| 670 |
+
"Figure 2: Development set AP for several objectives on acoustic word discrimination. "
|
| 671 |
+
],
|
| 672 |
+
"image_footnote": [],
|
| 673 |
+
"bbox": [
|
| 674 |
+
189,
|
| 675 |
+
116,
|
| 676 |
+
475,
|
| 677 |
+
285
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 6
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "table",
|
| 683 |
+
"img_path": "images/a66f2c5374cf38e0a90641c58171464fad1c20ee2c89838be0211c88155c9f88.jpg",
|
| 684 |
+
"table_caption": [],
|
| 685 |
+
"table_footnote": [],
|
| 686 |
+
"table_body": "<table><tr><td>Objective</td><td>Dev AP (acoustic)</td><td>Dev AP (cross-view)</td></tr><tr><td></td><td></td><td></td></tr><tr><td>obj0</td><td>0.659</td><td>0.791</td></tr><tr><td>obj1</td><td>0.654</td><td>0.807</td></tr><tr><td>obj2</td><td>0.675</td><td>0.788</td></tr><tr><td>obj3</td><td>0.640</td><td>0.782</td></tr><tr><td>obj+ obj²</td><td>0.702</td><td>0.814</td></tr><tr><td>M obji</td><td>0.672</td><td>0.804</td></tr><tr><td>cost-sensitive</td><td>0.671</td><td>0.802</td></tr></table>",
|
| 687 |
+
"bbox": [
|
| 688 |
+
514,
|
| 689 |
+
122,
|
| 690 |
+
810,
|
| 691 |
+
272
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 6
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "table",
|
| 697 |
+
"img_path": "images/51a8ebbed09494b63949ba840417c62341c9d01a89c654e053f5e29208a502a0.jpg",
|
| 698 |
+
"table_caption": [
|
| 699 |
+
"Table 1: Word discrimination performance with different objectives. ",
|
| 700 |
+
"Table 2: Final test set AP for different word discrimination approaches. The first line is a baseline using no word embeddings, but rather applying dynamic time warping (DTW) to the input MFCC features. The second and third lines are prior results using no word embeddings (but rather using DTW with learned correspondence autoencoder-based or phone posterior features, trained on larger external (in-domain) data). The remaining prior work corresponds to using cosine similarity between acoustic word embeddings. "
|
| 701 |
+
],
|
| 702 |
+
"table_footnote": [],
|
| 703 |
+
"table_body": "<table><tr><td>Method</td><td>Test AP (acoustic)</td><td>Test AP (cross-view)</td></tr><tr><td>MFCCs + DTW (Kamper et al.,2016)</td><td>0.214</td><td></td></tr><tr><td>Correspondence autoencoder + DTW (Kamper et al., 2015)</td><td>0.469</td><td></td></tr><tr><td>Phone posteriors + DTW (Carlin et al., 2011)</td><td>0.497</td><td></td></tr><tr><td>Siamese CNN (Kamper et al., 2016)</td><td>0.549</td><td></td></tr><tr><td>Siamese LSTM (Settle &Livescu, 2016)</td><td>0.671</td><td></td></tr><tr><td>Our multi-view LSTM obj° + obj²</td><td>0.806</td><td>0.892</td></tr></table>",
|
| 704 |
+
"bbox": [
|
| 705 |
+
200,
|
| 706 |
+
353,
|
| 707 |
+
795,
|
| 708 |
+
470
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 6
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "",
|
| 715 |
+
"bbox": [
|
| 716 |
+
174,
|
| 717 |
+
613,
|
| 718 |
+
823,
|
| 719 |
+
641
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 6
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "Figure 2 shows the progression of the development set AP for acoustic word discrimination over 1000 training epochs, using several of the objectives, where AP is evaluated every 5 epochs. We observe that even after 1000 epochs, the development set AP has not quite saturated, indicating that it may be possible to further improve performance. ",
|
| 726 |
+
"bbox": [
|
| 727 |
+
173,
|
| 728 |
+
647,
|
| 729 |
+
825,
|
| 730 |
+
704
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 6
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "Overall, our best-performing objective is the combined ob $^ { 0 } + \\mathrm { o b j } ^ { 2 }$ , and we use it for reporting final test-set results. Table 2 shows the test set AP for both the acoustic and cross-view tasks using our final model (“multi-view LSTM”). For comparison, we also include acoustic word discrimination results reported previously by Kamper et al. (2016); Settle & Livescu (2016). Previous approaches have not addressed the problem of learning embeddings jointly with the text view, so they can not be evaluated on the cross-view task. ",
|
| 737 |
+
"bbox": [
|
| 738 |
+
173,
|
| 739 |
+
712,
|
| 740 |
+
825,
|
| 741 |
+
796
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 6
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "text",
|
| 747 |
+
"text": "4.4 WORD SIMILARITY TASKS ",
|
| 748 |
+
"text_level": 1,
|
| 749 |
+
"bbox": [
|
| 750 |
+
174,
|
| 751 |
+
815,
|
| 752 |
+
397,
|
| 753 |
+
830
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 6
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Table 3 gives our results on the word similarity tasks, that is the rank correlation (Spearman’s $\\rho$ ) between embedding distances and orthographic edit distance (Levenshtein distance between character sequences). We measure this correlation for both our acoustic word embeddings and for our text embeddings. In the case of the text embeddings, we could of course directly measure the Levenshtein distance between the inputs; here we are simply measuring how much of this information the text embeddings are able to retain. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
839,
|
| 763 |
+
825,
|
| 764 |
+
924
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"img_path": "images/130dbdea3e8a61711c846796eadd9b3cef0735398a906d2054084fa95ff9ce52.jpg",
|
| 771 |
+
"table_caption": [
|
| 772 |
+
"Table 3: Word similarity results using fixed-margin and cost-sensitive objectives, given as rank correlation (Spearman’s $\\rho$ ) between embedding distances and orthographic edit distances. "
|
| 773 |
+
],
|
| 774 |
+
"table_footnote": [],
|
| 775 |
+
"table_body": "<table><tr><td>Objective</td><td>ρ (acoustic embedding)</td><td>)ρ (text embedding)</td></tr><tr><td>fixed-margin (objo)</td><td>0.179</td><td>0.207</td></tr><tr><td>cost-sensitive margin (objo)</td><td>0.240</td><td>0.270</td></tr></table>",
|
| 776 |
+
"bbox": [
|
| 777 |
+
228,
|
| 778 |
+
99,
|
| 779 |
+
764,
|
| 780 |
+
150
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 7
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "Interestingly, while the cost-sensitive objective did not produce substantial gains on the word discrimination tasks above, it does greatly improve the performance on this word similarity measure. This is a satisfying observation, since the cost-sensitive loss is trying to improve precisely this relationship between distances in the embedding space and the orthographic edit distance. ",
|
| 787 |
+
"bbox": [
|
| 788 |
+
174,
|
| 789 |
+
214,
|
| 790 |
+
825,
|
| 791 |
+
270
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 7
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "Although we have trained our embeddings using orthographic labels, it is also interesting to consider how closely aligned the embeddings are with the corresponding phonetic pronunciations. For comparison, the rank correlation between our acoustic embeddings and phonetic edit distances is 0.226, and for our text embeddings it is 0.241, which are relatively close to the rank correlations with orthographic edit distance. A future direction is to directly train embeddings with phonetic sequence supervision rather than orthography; this setting involves somewhat stronger supervision, but it is easy to obtain in many cases. ",
|
| 798 |
+
"bbox": [
|
| 799 |
+
174,
|
| 800 |
+
276,
|
| 801 |
+
825,
|
| 802 |
+
375
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 7
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "Another interesting point is that the performance is not a great deal better for the text embeddings than for the acoustic embeddings, even though the text embeddings have at their disposal the text input itself. We believe this has to do with the distribution of words in our data: While the data includes a large variety of words, it does not include many very similar pairs. In fact, of all possible pairs of unique training set words, fewer than $2 \\%$ have an edit distance below 5 characters. Therefore, there may not be sufficient information to learn to distinguish detailed differences among character sequences, and the cost-sensitive loss ultimately does not learn much more than to separate different words. In future work it would be interesting to experiment with data sets that have a larger variety of similar words. ",
|
| 809 |
+
"bbox": [
|
| 810 |
+
174,
|
| 811 |
+
382,
|
| 812 |
+
825,
|
| 813 |
+
507
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 7
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "text",
|
| 819 |
+
"text": "4.5 VISUALIZATION OF LEARNED EMBEDDINGS ",
|
| 820 |
+
"text_level": 1,
|
| 821 |
+
"bbox": [
|
| 822 |
+
174,
|
| 823 |
+
522,
|
| 824 |
+
516,
|
| 825 |
+
536
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 7
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "text",
|
| 831 |
+
"text": "Figure 3 gives a 2-dimensional t-SNE (van der Maaten & Hinton, 2008) visualization of selected acoustic and character sequences from the development set, including some that were seen in the training set and some previously unseen words. The previously seen words in this figure were selected uniformly at random among those that appear at least 15 times in the development set (the unseen words are the only six that appear at least 15 times in the development set). This visualization demonstrates that the acoustic embeddings cluster very tightly and are very close to the text embeddings, and that unseen words cluster nearly as well as previously seen ones. ",
|
| 832 |
+
"bbox": [
|
| 833 |
+
173,
|
| 834 |
+
545,
|
| 835 |
+
825,
|
| 836 |
+
642
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 7
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "While Figure 3 shows the relationship among the multiple acoustic embeddings and the text embeddings, the words are all very different so we cannot draw conclusions about the relationships between words. Figure 4 provides another visualization, this time exploring the relationship among the text embeddings of a number of closely related words, namely all development set words ending in “-ly”, “-ing”, and “-tion”. This visualization confirms that related words are embedded close together, with the words sharing a suffix forming fairly well-defined clusters. ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
174,
|
| 845 |
+
648,
|
| 846 |
+
825,
|
| 847 |
+
733
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 7
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "5 CONCLUSION ",
|
| 854 |
+
"text_level": 1,
|
| 855 |
+
"bbox": [
|
| 856 |
+
176,
|
| 857 |
+
756,
|
| 858 |
+
318,
|
| 859 |
+
772
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 7
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "We have presented an approach for jointly learning acoustic word embeddings and their orthographic counterparts. This multi-view approach produces improved acoustic word embedding performance over previous approaches, and also has the benefit that the same embeddings can be applied for both spoken and written query tasks. We have explored a variety of contrastive objectives: ones with a fixed margin that aim to separate same and different word pairs, as well as a cost-sensitive loss that aims to capture orthographic edit distances. While the losses generally perform similarly for word discrimination tasks, the cost-sensitive loss improves the correlation between embedding distances and orthographic distances. One interesting direction for future work is to directly use knowledge about phonetic pronunciations, in both evaluation and training. Another direction is to extend our approach to directly train on both word and non-word segments. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
174,
|
| 868 |
+
785,
|
| 869 |
+
825,
|
| 870 |
+
924
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 7
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "image",
|
| 876 |
+
"img_path": "images/7c2f0d642050b64e900351eedc1ff0cfc1f14c96aa149fba6cc6e339a7d8ef0f.jpg",
|
| 877 |
+
"image_caption": [
|
| 878 |
+
"Figure 3: Visualization via t-SNE of acoustic word embeddings (colored markers) and corresponding character sequence embeddings (text), for a set of development set words with at least 15 acoustic tokens. Words seen in training are in lower-case; unseen words are in upper-case. "
|
| 879 |
+
],
|
| 880 |
+
"image_footnote": [],
|
| 881 |
+
"bbox": [
|
| 882 |
+
261,
|
| 883 |
+
128,
|
| 884 |
+
723,
|
| 885 |
+
401
|
| 886 |
+
],
|
| 887 |
+
"page_idx": 8
|
| 888 |
+
},
|
| 889 |
+
{
|
| 890 |
+
"type": "image",
|
| 891 |
+
"img_path": "images/55e4866a47801c808bb2254e65ce6dee329cfb482f9799ded969933d263e1930.jpg",
|
| 892 |
+
"image_caption": [
|
| 893 |
+
"Figure 4: Visualization via $\\mathbf { t } { - } \\mathbf { S N E }$ of character sequence embeddings for words with the suffixes “-ly” (blue), “-ing” (red), and “-tion” (green). "
|
| 894 |
+
],
|
| 895 |
+
"image_footnote": [],
|
| 896 |
+
"bbox": [
|
| 897 |
+
264,
|
| 898 |
+
502,
|
| 899 |
+
732,
|
| 900 |
+
775
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 8
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 907 |
+
"text_level": 1,
|
| 908 |
+
"bbox": [
|
| 909 |
+
176,
|
| 910 |
+
847,
|
| 911 |
+
326,
|
| 912 |
+
859
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "This research was supported by a Google Faculty Award and by NSF grant IIS-1321015. The opinions expressed in this work are those of the authors and do not necessarily reflect the views of the funding agency. This research used GPUs donated by NVIDIA Corporation. We thank Herman Kamper and Shane Settle for their assistance with the data and experimental setup. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
867,
|
| 922 |
+
825,
|
| 923 |
+
924
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "REFERENCES ",
|
| 930 |
+
"text_level": 1,
|
| 931 |
+
"bbox": [
|
| 932 |
+
176,
|
| 933 |
+
102,
|
| 934 |
+
287,
|
| 935 |
+
118
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 9
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "Xavier Anguera, Luis Javier Rodriguez-Fuentes, Igor Szoke, Andi Buzo, and Florian Metze. Query ¨ by example search on speech at mediaeval 2014. In MediaEval, 2014. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
126,
|
| 945 |
+
823,
|
| 946 |
+
155
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 9
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "Kartik Audhkhasi, Andrew Rosenberg, Abhinav Sethy, Bhuvana Ramabhadran, and Brian Kingsbury. End-to-end ASR-free keyword search from speech. arXiv preprint arXiv:1701.04313, 2017. ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
173,
|
| 955 |
+
162,
|
| 956 |
+
823,
|
| 957 |
+
194
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 9
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "Samy Bengio and Georg Heigold. Word embeddings for speech recognition. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2014. ",
|
| 964 |
+
"bbox": [
|
| 965 |
+
173,
|
| 966 |
+
202,
|
| 967 |
+
823,
|
| 968 |
+
231
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 9
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "text",
|
| 974 |
+
"text": "Yoshua Bengio, Rejean Ducharme, Pascal Vincent, and Christian Jauvin. A neural probabilistic ´ language model. Journal of Machine Learing Research, 3(Feb):1137–1155, 2003. ",
|
| 975 |
+
"bbox": [
|
| 976 |
+
169,
|
| 977 |
+
239,
|
| 978 |
+
823,
|
| 979 |
+
270
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 9
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "Jane Bromley, Isabelle Guyon, Yann Lecun, Eduard Sackinger, and Roopak Shah. Signature verifi- ¨ cation using a siamese time delay neural network. In Advances in Neural Information Processing Systems (NIPS), pp. 737–744, 1993. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
173,
|
| 988 |
+
277,
|
| 989 |
+
823,
|
| 990 |
+
320
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 9
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "Michael A Carlin, Samuel Thomas, Aren Jansen, and Hynek Hermansky. Rapid evaluation of speech representations for spoken term discovery. In Proc. Interspeech, 2011. ",
|
| 997 |
+
"bbox": [
|
| 998 |
+
171,
|
| 999 |
+
329,
|
| 1000 |
+
823,
|
| 1001 |
+
359
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 9
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "Guoguo Chen, Carolina Parada, and Tara N Sainath. Query-by-example keyword spotting using long short-term memory networks. In Proc. ICASSP, 2015. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
169,
|
| 1010 |
+
367,
|
| 1011 |
+
823,
|
| 1012 |
+
397
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 9
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "text",
|
| 1018 |
+
"text": "Sumit Chopra, Raia Hadsell, and Yann LeCun. Learning a similarity metric discriminatively, with application to face verification. In IEEE Computer Society Conf. Computer Vision and Pattern Recognition, pp. 539–546, 2005. ",
|
| 1019 |
+
"bbox": [
|
| 1020 |
+
174,
|
| 1021 |
+
406,
|
| 1022 |
+
825,
|
| 1023 |
+
449
|
| 1024 |
+
],
|
| 1025 |
+
"page_idx": 9
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"type": "text",
|
| 1029 |
+
"text": "Yu-An Chung, Chao-Chung Wu, Chia-Hao Shen, and Hung-Yi Lee. Unsupervised learning of audio segment representations using sequence-to-sequence recurrent neural networks. In Proc. Interspeech, 2016. ",
|
| 1030 |
+
"bbox": [
|
| 1031 |
+
174,
|
| 1032 |
+
458,
|
| 1033 |
+
825,
|
| 1034 |
+
501
|
| 1035 |
+
],
|
| 1036 |
+
"page_idx": 9
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"type": "text",
|
| 1040 |
+
"text": "Scott Deerwester, Susan T Dumais, George W Furnas, Thomas K Landauer, and Richard Harshman. Indexing by latent semantic analysis. Journal of the American society for information science, 41 (6):391, 1990. ",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
173,
|
| 1043 |
+
510,
|
| 1044 |
+
825,
|
| 1045 |
+
553
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 9
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "text",
|
| 1051 |
+
"text": "Lev Finkelstein, Evgeniy Gabrilovich, Yossi Matias, Ehud Rivlin, Zach Solan, Gadi Wolfman, and Eytan Ruppin. Placing search in context: The concept revisited. In Proceedings of the 10th international conference on World Wide Web, 2001. ",
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
173,
|
| 1054 |
+
561,
|
| 1055 |
+
826,
|
| 1056 |
+
606
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 9
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "Jonathan G Fiscus, Jerome Ajot, John S Garofolo, and George Doddingtion. Results of the 2006 spoken term detection evaluation. In Proc. SIGIR, volume 7, pp. 51–57. Citeseer, 2007. ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
168,
|
| 1065 |
+
613,
|
| 1066 |
+
823,
|
| 1067 |
+
645
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 9
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "Jort F Gemmeke, Tuomas Virtanen, and Antti Hurmalainen. Exemplar-based sparse representations for noise robust automatic speech recognition. IEEE Transactions on Acoustics, Speech, and Language Processing, 19(7):2067–2080, 2011. ",
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
174,
|
| 1076 |
+
651,
|
| 1077 |
+
823,
|
| 1078 |
+
695
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 9
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "Sahar Ghannay, Yannick Esteve, Nathalie Camelin, and Paul Deleglise. Evaluation of acoustic word embeddings. In Proc. ACL Workshop on Evaluating Vector-Space Representations for NLP, 2016. ",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
171,
|
| 1087 |
+
704,
|
| 1088 |
+
823,
|
| 1089 |
+
734
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 9
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "John J Godfrey, Edward C Holliman, and Jane McDaniel. SWITCHBOARD: Telephone speech corpus for research and development. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 1992. ",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
169,
|
| 1098 |
+
741,
|
| 1099 |
+
823,
|
| 1100 |
+
772
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 9
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "Alex Graves, Abdel rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2013. ",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
173,
|
| 1109 |
+
780,
|
| 1110 |
+
823,
|
| 1111 |
+
810
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 9
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "Raia Hadsell, Sumit Chopra, and Yann LeCun. Dimensionality reduction by learning an invariant mapping. In IEEE Computer Society Conf. Computer Vision and Pattern Recognition, 2006. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
174,
|
| 1120 |
+
818,
|
| 1121 |
+
823,
|
| 1122 |
+
848
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 9
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "David Harwath and James Glass. Deep multimodal semantic embeddings for speech and images. In Proc. IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU), 2015. ",
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
176,
|
| 1131 |
+
857,
|
| 1132 |
+
821,
|
| 1133 |
+
886
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 9
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "David Harwath and James R Glass. Learning word-like units from joint audio-visual analysis. arXiv preprint arXiv:1701.07481, 2017. ",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
174,
|
| 1142 |
+
895,
|
| 1143 |
+
823,
|
| 1144 |
+
924
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 9
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "David Harwath, Antonio Torralba, and James Glass. Unsupervised learning of spoken language with visual context. In Advances in Neural Information Processing Systems (NIPS), 2016. ",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
173,
|
| 1153 |
+
103,
|
| 1154 |
+
823,
|
| 1155 |
+
133
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 10
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "Karl Moritz Hermann and Phil Blunsom. Multilingual distributed representations without word alignment. In Int. Conf. Learning Representations, 2014. arXiv:1312.6173 [cs.CL]. ",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
174,
|
| 1164 |
+
142,
|
| 1165 |
+
823,
|
| 1166 |
+
172
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 10
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "Felix Hill, Roi Reichart, and Anna Korhonen. SimLex-999: Evaluating semantic models with (genuine) similarity estimation. Computational Linguistics, 41(4), 2015. ",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
174,
|
| 1175 |
+
181,
|
| 1176 |
+
823,
|
| 1177 |
+
212
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 10
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Computation, 9(8): 1735–1780, 1997. ",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
173,
|
| 1186 |
+
220,
|
| 1187 |
+
821,
|
| 1188 |
+
250
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 10
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "Baotian Hu, Zhengdong Lu, Hang Li, and Qingcai Chen. Convolutional neural network architectures for matching natural language sentences. In Advances in Neural Information Processing Systems (NIPS), 2014. ",
|
| 1195 |
+
"bbox": [
|
| 1196 |
+
173,
|
| 1197 |
+
260,
|
| 1198 |
+
826,
|
| 1199 |
+
303
|
| 1200 |
+
],
|
| 1201 |
+
"page_idx": 10
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"type": "text",
|
| 1205 |
+
"text": "Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daume III. Deep unordered com-´ position rivals syntactic methods for text classification. In Proc. Association for Computational Linguistics, 2015. ",
|
| 1206 |
+
"bbox": [
|
| 1207 |
+
173,
|
| 1208 |
+
313,
|
| 1209 |
+
825,
|
| 1210 |
+
356
|
| 1211 |
+
],
|
| 1212 |
+
"page_idx": 10
|
| 1213 |
+
},
|
| 1214 |
+
{
|
| 1215 |
+
"type": "text",
|
| 1216 |
+
"text": "Herman Kamper, Micah Elsner, Aren Jansen, and Sharon J. Goldwater. Unsupervised neural network based feature extraction using weak top-down constraints. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2015. ",
|
| 1217 |
+
"bbox": [
|
| 1218 |
+
173,
|
| 1219 |
+
366,
|
| 1220 |
+
823,
|
| 1221 |
+
410
|
| 1222 |
+
],
|
| 1223 |
+
"page_idx": 10
|
| 1224 |
+
},
|
| 1225 |
+
{
|
| 1226 |
+
"type": "text",
|
| 1227 |
+
"text": "Herman Kamper, Weiran Wang, and Karen Livescu. Deep convolutional acoustic word embeddings using word-pair side information. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2016. ",
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
171,
|
| 1230 |
+
419,
|
| 1231 |
+
821,
|
| 1232 |
+
449
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 10
|
| 1235 |
+
},
|
| 1236 |
+
{
|
| 1237 |
+
"type": "text",
|
| 1238 |
+
"text": "Diederik Kingma and Jimmy Ba. ADAM: A method for stochastic optimization. In Int. Conf. Learning Representations, 2015. ",
|
| 1239 |
+
"bbox": [
|
| 1240 |
+
173,
|
| 1241 |
+
458,
|
| 1242 |
+
820,
|
| 1243 |
+
488
|
| 1244 |
+
],
|
| 1245 |
+
"page_idx": 10
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"type": "text",
|
| 1249 |
+
"text": "Ryan Kiros, Yukun Zhu, Ruslan R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. Skip-thought vectors. In Advances in Neural Information Processing Systems (NIPS), 2015. ",
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
173,
|
| 1252 |
+
497,
|
| 1253 |
+
825,
|
| 1254 |
+
540
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 10
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"text": "Keith Levin, Katharine Henry, Aren Jansen, and Karen Livescu. Fixed-dimensional acoustic embeddings of variable-length segments in low-resource settings. In Proc. IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU), 2013. ",
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
173,
|
| 1263 |
+
550,
|
| 1264 |
+
821,
|
| 1265 |
+
594
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 10
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"text": "Keith Levin, Aren Jansen, and Benjamin Van Durme. Segmental acoustic indexing for zero resource keyword search. In IEEE Int. Conf. Acoustics, Speech and Sig. Proc., 2015. ",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
171,
|
| 1274 |
+
603,
|
| 1275 |
+
823,
|
| 1276 |
+
633
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 10
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"text": "Andrew L Maas, Stephen D Miller, Tyler M O’neil, Andrew $\\mathrm { \\Delta Y N g }$ , and Patrick Nguyen. Word-level acoustic modeling with convolutional vector regression. In Proc. ICML Workshop on Representation Learning, 2012. ",
|
| 1283 |
+
"bbox": [
|
| 1284 |
+
173,
|
| 1285 |
+
642,
|
| 1286 |
+
823,
|
| 1287 |
+
686
|
| 1288 |
+
],
|
| 1289 |
+
"page_idx": 10
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"type": "text",
|
| 1293 |
+
"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 (NIPS), 2013. ",
|
| 1294 |
+
"bbox": [
|
| 1295 |
+
173,
|
| 1296 |
+
695,
|
| 1297 |
+
825,
|
| 1298 |
+
739
|
| 1299 |
+
],
|
| 1300 |
+
"page_idx": 10
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"type": "text",
|
| 1304 |
+
"text": "Andriy Mnih and Geoffrey Hinton. Three new graphical models for statistical language modelling. In ICML, 2007. ",
|
| 1305 |
+
"bbox": [
|
| 1306 |
+
171,
|
| 1307 |
+
750,
|
| 1308 |
+
821,
|
| 1309 |
+
779
|
| 1310 |
+
],
|
| 1311 |
+
"page_idx": 10
|
| 1312 |
+
},
|
| 1313 |
+
{
|
| 1314 |
+
"type": "text",
|
| 1315 |
+
"text": "Jiquan Ngiam, Aditya Khosla, Mingyu Kim, Juhan Nam, Honglak Lee, and Andrew Ng. Multimodal deep learning. In ICML, pp. 689–696, 2011. ",
|
| 1316 |
+
"bbox": [
|
| 1317 |
+
169,
|
| 1318 |
+
787,
|
| 1319 |
+
825,
|
| 1320 |
+
819
|
| 1321 |
+
],
|
| 1322 |
+
"page_idx": 10
|
| 1323 |
+
},
|
| 1324 |
+
{
|
| 1325 |
+
"type": "text",
|
| 1326 |
+
"text": "Jeffrey Pennington, Richard Socher, and Christopher D Manning. GloVe: Global vectors for word representation. In Proc. Conference on Empirical Methods in Natural Language Processing, 2014. ",
|
| 1327 |
+
"bbox": [
|
| 1328 |
+
174,
|
| 1329 |
+
828,
|
| 1330 |
+
823,
|
| 1331 |
+
871
|
| 1332 |
+
],
|
| 1333 |
+
"page_idx": 10
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"type": "text",
|
| 1337 |
+
"text": "Shane Settle and Karen Livescu. Discriminative acoustic word embeddings: Recurrent neural network-based approaches. In Proc. IEEE Workshop on Spoken Language Technology (SLT), 2016. ",
|
| 1338 |
+
"bbox": [
|
| 1339 |
+
174,
|
| 1340 |
+
881,
|
| 1341 |
+
825,
|
| 1342 |
+
922
|
| 1343 |
+
],
|
| 1344 |
+
"page_idx": 10
|
| 1345 |
+
},
|
| 1346 |
+
{
|
| 1347 |
+
"type": "text",
|
| 1348 |
+
"text": "Richard Socher, Andrej Karpathy, Quoc V Le, Christopher D Manning, and Andrew Y Ng. Grounded compositional semantics for finding and describing images with sentences. Transactions of the Association for Computational Linguistics, 2:207–218, 2014. ",
|
| 1349 |
+
"bbox": [
|
| 1350 |
+
178,
|
| 1351 |
+
103,
|
| 1352 |
+
821,
|
| 1353 |
+
146
|
| 1354 |
+
],
|
| 1355 |
+
"page_idx": 11
|
| 1356 |
+
},
|
| 1357 |
+
{
|
| 1358 |
+
"type": "text",
|
| 1359 |
+
"text": "Kihyuk Sohn, Wenling Shang, and Honglak Lee. Improved multimodal deep learning with variation of information. In Advances in Neural Information Processing Systems (NIPS), pp. 2141–2149, 2014. ",
|
| 1360 |
+
"bbox": [
|
| 1361 |
+
176,
|
| 1362 |
+
155,
|
| 1363 |
+
821,
|
| 1364 |
+
196
|
| 1365 |
+
],
|
| 1366 |
+
"page_idx": 11
|
| 1367 |
+
},
|
| 1368 |
+
{
|
| 1369 |
+
"type": "text",
|
| 1370 |
+
"text": "Nitish Srivastava and Ruslan Salakhutdinov. Multimodal learning with deep boltzmann machines. Journal of Machine Learing Research, pp. 2949–2980, 2014. ",
|
| 1371 |
+
"bbox": [
|
| 1372 |
+
171,
|
| 1373 |
+
207,
|
| 1374 |
+
823,
|
| 1375 |
+
236
|
| 1376 |
+
],
|
| 1377 |
+
"page_idx": 11
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"type": "text",
|
| 1381 |
+
"text": "Gabriel Synnaeve, Thomas Schatz, and Emmanuel Dupoux. Phonetics embedding learning with side information. In Proc. IEEE Workshop on Spoken Language Technology (SLT), 2014. ",
|
| 1382 |
+
"bbox": [
|
| 1383 |
+
174,
|
| 1384 |
+
243,
|
| 1385 |
+
823,
|
| 1386 |
+
273
|
| 1387 |
+
],
|
| 1388 |
+
"page_idx": 11
|
| 1389 |
+
},
|
| 1390 |
+
{
|
| 1391 |
+
"type": "text",
|
| 1392 |
+
"text": "Laurens J. P. van der Maaten and Geoffrey E. Hinton. Visualizing data using $t$ -SNE. Journal of Machine Learing Research, 9:2579–2605, November 2008. ",
|
| 1393 |
+
"bbox": [
|
| 1394 |
+
173,
|
| 1395 |
+
281,
|
| 1396 |
+
823,
|
| 1397 |
+
310
|
| 1398 |
+
],
|
| 1399 |
+
"page_idx": 11
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "text",
|
| 1403 |
+
"text": "Ivan Vendrov, Ryan Kiros, Sanja Fidler, and Raquel Urtasun. Order-embeddings of images and language. In Int. Conf. Learning Representations, 2016. ",
|
| 1404 |
+
"bbox": [
|
| 1405 |
+
173,
|
| 1406 |
+
319,
|
| 1407 |
+
823,
|
| 1408 |
+
349
|
| 1409 |
+
],
|
| 1410 |
+
"page_idx": 11
|
| 1411 |
+
},
|
| 1412 |
+
{
|
| 1413 |
+
"type": "text",
|
| 1414 |
+
"text": "Weiran Wang, Raman Arora, Karen Livescu, and Jeff Bilmes. On deep multi-view representation learning. In ICML, pp. 1083–1092, 2015. ",
|
| 1415 |
+
"bbox": [
|
| 1416 |
+
174,
|
| 1417 |
+
357,
|
| 1418 |
+
823,
|
| 1419 |
+
387
|
| 1420 |
+
],
|
| 1421 |
+
"page_idx": 11
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"type": "text",
|
| 1425 |
+
"text": "John Wieting, Mohit Bansal, Kevin Gimpel, and Karen Livescu. Towards universal paraphrastic sentence embeddings. In Int. Conf. Learning Representations, 2016. ",
|
| 1426 |
+
"bbox": [
|
| 1427 |
+
171,
|
| 1428 |
+
395,
|
| 1429 |
+
821,
|
| 1430 |
+
424
|
| 1431 |
+
],
|
| 1432 |
+
"page_idx": 11
|
| 1433 |
+
},
|
| 1434 |
+
{
|
| 1435 |
+
"type": "text",
|
| 1436 |
+
"text": "A ADDITIONAL ANALYSIS ",
|
| 1437 |
+
"text_level": 1,
|
| 1438 |
+
"bbox": [
|
| 1439 |
+
176,
|
| 1440 |
+
103,
|
| 1441 |
+
406,
|
| 1442 |
+
117
|
| 1443 |
+
],
|
| 1444 |
+
"page_idx": 12
|
| 1445 |
+
},
|
| 1446 |
+
{
|
| 1447 |
+
"type": "text",
|
| 1448 |
+
"text": "We first explore the effect of network architectures for our embedding models. We learn embeddings using objective obj0 and evaluate them on the acoustic and cross-view word discrimination tasks. The resulting average precisions on the development set are given in Table 4. All of the models were trained for 1000 epochs, except for the 1-layer unidirectional models which converged after 500 epochs. It is clear that bidirectional LSTMs are more successful than unidirectional LSTMs for these tasks, and two layers of LSTMs are much better than a single layer of LSTMs. We did not observe significant further improvement by using more than two layers of LSTMs. For all other experiments, we fix the architecture to 2-layer bidirectional LSTMs for each view. ",
|
| 1449 |
+
"bbox": [
|
| 1450 |
+
174,
|
| 1451 |
+
133,
|
| 1452 |
+
825,
|
| 1453 |
+
247
|
| 1454 |
+
],
|
| 1455 |
+
"page_idx": 12
|
| 1456 |
+
},
|
| 1457 |
+
{
|
| 1458 |
+
"type": "table",
|
| 1459 |
+
"img_path": "images/9da5c05799854c6ed991d0750d4ce837511acd8ecbc73badcf033c20a563a4bc.jpg",
|
| 1460 |
+
"table_caption": [
|
| 1461 |
+
"Dev AP Dev AP (acoustic word discrimination) (cross-view word discrimination) "
|
| 1462 |
+
],
|
| 1463 |
+
"table_footnote": [],
|
| 1464 |
+
"table_body": "<table><tr><td>1-layer unidirectional</td><td>0.379</td><td>0.616</td></tr><tr><td>1-layer bidirectional</td><td>0.466</td><td>0.690</td></tr><tr><td>2-layer bidirectional</td><td>0.659</td><td>0.791</td></tr></table>",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
191,
|
| 1467 |
+
287,
|
| 1468 |
+
810,
|
| 1469 |
+
332
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 12
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "text",
|
| 1475 |
+
"text": "Table 4: Average precision (AP) for acoustic and cross-view word discrimination tasks on the development set, using embeddings learned with objective obj0 and different LSTM architectures. ",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
171,
|
| 1478 |
+
342,
|
| 1479 |
+
823,
|
| 1480 |
+
372
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 12
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "image",
|
| 1486 |
+
"img_path": "images/0618f23038e66a0aa68d56348d9bef2abac0f6d0be9848722320fd08dc601a54.jpg",
|
| 1487 |
+
"image_caption": [
|
| 1488 |
+
"Figure 5: Precision-recall curve (left: two-layer bidirectional LSTM trained with $\\mathrm { \\ o b j ^ { 0 } + o b j ^ { 2 } }$ for word discrimination task) and scatter plot of embedding distances vs. orthographic distances (right: cost-sensitive margin model for word similarity task), for our best embedding models. "
|
| 1489 |
+
],
|
| 1490 |
+
"image_footnote": [],
|
| 1491 |
+
"bbox": [
|
| 1492 |
+
158,
|
| 1493 |
+
410,
|
| 1494 |
+
808,
|
| 1495 |
+
599
|
| 1496 |
+
],
|
| 1497 |
+
"page_idx": 12
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"type": "text",
|
| 1501 |
+
"text": "In Figure 5 we also give the precision-recall curve for our best models, as well as the scatter plot of cosine distances between acoustic embeddings vs. orthographic edit distances. ",
|
| 1502 |
+
"bbox": [
|
| 1503 |
+
173,
|
| 1504 |
+
686,
|
| 1505 |
+
823,
|
| 1506 |
+
715
|
| 1507 |
+
],
|
| 1508 |
+
"page_idx": 12
|
| 1509 |
+
}
|
| 1510 |
+
]
|
parse/train/rJxDkvqee/rJxDkvqee_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rJxDkvqee/rJxDkvqee_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|