Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parse/train/1Kof-nkmQB8/1Kof-nkmQB8.md +272 -0
- parse/train/1Kof-nkmQB8/1Kof-nkmQB8_content_list.json +1192 -0
- parse/train/1Kof-nkmQB8/1Kof-nkmQB8_middle.json +0 -0
- parse/train/1Kof-nkmQB8/1Kof-nkmQB8_model.json +0 -0
- parse/train/ARFshOO1Iu/ARFshOO1Iu.md +355 -0
- parse/train/ARFshOO1Iu/ARFshOO1Iu_content_list.json +0 -0
- parse/train/ARFshOO1Iu/ARFshOO1Iu_middle.json +0 -0
- parse/train/ARFshOO1Iu/ARFshOO1Iu_model.json +0 -0
- parse/train/B1l8BtlCb/B1l8BtlCb.md +318 -0
- parse/train/B1l8BtlCb/B1l8BtlCb_content_list.json +1587 -0
- parse/train/B1l8BtlCb/B1l8BtlCb_middle.json +0 -0
- parse/train/B1l8BtlCb/B1l8BtlCb_model.json +0 -0
- parse/train/BkxfshNYwB/BkxfshNYwB.md +333 -0
- parse/train/BkxfshNYwB/BkxfshNYwB_content_list.json +1752 -0
- parse/train/BkxfshNYwB/BkxfshNYwB_middle.json +0 -0
- parse/train/BkxfshNYwB/BkxfshNYwB_model.json +0 -0
- parse/train/Byf5-30qFX/Byf5-30qFX.md +271 -0
- parse/train/Byf5-30qFX/Byf5-30qFX_content_list.json +1238 -0
- parse/train/Byf5-30qFX/Byf5-30qFX_middle.json +0 -0
- parse/train/Byf5-30qFX/Byf5-30qFX_model.json +0 -0
- parse/train/HygrdpVKvr/HygrdpVKvr_content_list.json +1647 -0
- parse/train/HygrdpVKvr/HygrdpVKvr_middle.json +0 -0
- parse/train/KLH36ELmwIB/KLH36ELmwIB_middle.json +0 -0
- parse/train/KLH36ELmwIB/KLH36ELmwIB_model.json +0 -0
- parse/train/QmxFsofRvW9/QmxFsofRvW9.md +287 -0
- parse/train/QmxFsofRvW9/QmxFsofRvW9_content_list.json +1090 -0
- parse/train/QmxFsofRvW9/QmxFsofRvW9_middle.json +0 -0
- parse/train/QmxFsofRvW9/QmxFsofRvW9_model.json +0 -0
- parse/train/SySaJ0xCZ/SySaJ0xCZ.md +259 -0
- parse/train/SySaJ0xCZ/SySaJ0xCZ_content_list.json +1138 -0
- parse/train/SySaJ0xCZ/SySaJ0xCZ_middle.json +0 -0
- parse/train/SySaJ0xCZ/SySaJ0xCZ_model.json +0 -0
- parse/train/iaO86DUuKi/iaO86DUuKi_content_list.json +0 -0
- parse/train/iaO86DUuKi/iaO86DUuKi_model.json +0 -0
- parse/train/rkcya1ZAW/rkcya1ZAW_content_list.json +0 -0
- parse/train/rkcya1ZAW/rkcya1ZAW_middle.json +0 -0
- parse/train/rkgZaT4tDr/rkgZaT4tDr.md +257 -0
- parse/train/rkgZaT4tDr/rkgZaT4tDr_content_list.json +1397 -0
- parse/train/rkgZaT4tDr/rkgZaT4tDr_middle.json +0 -0
- parse/train/rkgZaT4tDr/rkgZaT4tDr_model.json +0 -0
- vlm/train/0WASBV4xkhy/0.png +3 -0
- vlm/train/0WASBV4xkhy/1.png +3 -0
- vlm/train/0WASBV4xkhy/10.png +3 -0
- vlm/train/0WASBV4xkhy/11.png +3 -0
- vlm/train/0WASBV4xkhy/12.png +3 -0
- vlm/train/0WASBV4xkhy/2.png +3 -0
- vlm/train/0WASBV4xkhy/3.png +3 -0
- vlm/train/0WASBV4xkhy/4.png +3 -0
- vlm/train/0WASBV4xkhy/5.png +3 -0
- vlm/train/0WASBV4xkhy/6.png +3 -0
parse/train/1Kof-nkmQB8/1Kof-nkmQB8.md
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Collaborating with Humans without Human Data
|
| 2 |
+
|
| 3 |
+
DJ Strouse⇤, Kevin R. McKee, Matt Botvinick, Edward Hughes, Richard Everett⇤ DeepMind {strouse, kevinrmckee, botvinick, edwardhughes, reverett}@deepmind.com
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
Collaborating with humans requires rapidly adapting to their individual strengths, weaknesses, and preferences. Unfortunately, most standard multi-agent reinforcement learning techniques, such as self-play (SP) or population play (PP), produce agents that overfit to their training partners and do not generalize well to humans. Alternatively, researchers can collect human data, train a human model using behavioral cloning, and then use that model to train “human-aware” agents (“behavioral cloning play”, or BCP). While such an approach can improve the generalization of agents to new human co-players, it involves the onerous and expensive step of collecting large amounts of human data first. Here, we study the problem of how to train agents that collaborate well with human partners without using human data. We argue that the crux of the problem is to produce a diverse set of training partners. Drawing inspiration from successful multi-agent approaches in competitive domains, we find that a surprisingly simple approach is highly effective. We train our agent partner as the best response to a population of self-play agents and their past checkpoints taken throughout training, a method we call Fictitious Co-Play (FCP). Our experiments focus on a two-player collaborative cooking simulator that has recently been proposed as a challenge problem for coordination with humans. We find that FCP agents score significantly higher than SP, PP, and BCP when paired with novel agent and human partners. Furthermore, humans also report a strong subjective preference to partnering with FCP agents over all baselines.
|
| 8 |
+
|
| 9 |
+
# 1 Introduction
|
| 10 |
+
|
| 11 |
+
Generating agents which collaborate with novel partners is a longstanding challenge for Artificial Intelligence (AI) [4, 16, 37, 52]. Achieving ad-hoc, zero-shot coordination [31, $\boxed { 6 6 }$ is especially important in situations where an AI must generalize to novel human partners [6, 61]. Many successful approaches have employed human models, either constructed explicitly [14, 35, 53] or learnt implicitly [12, 60]. By contrast, recent work in competitive domains has shown that it is possible to reach humanlevel using model-free reinforcement learning (RL) without human data, via self-play [8, 9, 63, 64]. This begs the question: Can model-free RL without human data generate agents that can collaborate with novel humans?
|
| 12 |
+
|
| 13 |
+
We seek an answer to this question in the space of common-payoff games, where all agents work towards a shared goal and receive the same reward. Self-play (SP), in which an agent learns from repeated games played against copies of itself, does not produce agents that generalize well to novel co-players [10, 11, 21, 44]. Intuitively, this is because agents trained in self-play only ever need to coordinate with themselves, and so make for brittle and stubborn collaborators with new partners who act differently. Population play (PP) trains a population of agents, all of whom interact with each other $\pmb { \| 3 9 \| }$ . While PP can generate agents capable of cooperation with humans in competitive team games $\pmb { \Vert 3 4 \Vert }$ , it still fails to produce robust partners for novel humans in pure common-payoff settings [12]. PP in common-payoff settings naturally encourages agents to play the same way, reducing strategic diversity and producing agents not so different from self-play $\dot { \lVert 2 4 \rVert }$ .
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: In this work, we evaluate a variety of agent training methods (Section 2) in zero-shot coordination with agents (Section 4). We then run a human-agent collaborative study designed to elicit human preferences over agents (Section 5)
|
| 17 |
+
|
| 18 |
+
Our approach starts with the intuition that the key to producing robust agent collaborators is exposure to diverse training partners. We find that a surprisingly simple strategy is effective in generating sufficient diversity. We train $N$ self-play agents varying only their random seed for neural network initialization. Periodically during training, we save agent “checkpoints” representing their strategy at that point in time. Then, we train an agent partner as the best-response to both the fully-trained agents and their past checkpoints. The different checkpoints simulate different skill levels, and the different random seeds simulate breaking symmetries in different ways. We refer to this agent training procedure as Fictitious $\mathbf { C o }$ -Play (FCP) for its relationship to fictitious self-play [7, 27, 28, 69].
|
| 19 |
+
|
| 20 |
+
We evaluate FCP in a fully-observable two-player common-payoff collaborative cooking simulator. Based on the game Overcooked $\mathbb { \left. \boldsymbol { \ 2 5 } \right. }$ , it has recently been proposed as a coordination challenge for AI [12, 50, 70]. State-of-the-art performance in producing agents capable of generalization to novel humans was achieved in $[ \mathbb { 1 2 } ]$ via behavioral cloning (BC) of human data. More precisely, BC was used to produce models that can stand in as human proxies during training in simulation, a method we call behavioral cloning play (BCP). We demonstrate that FCP outperforms BCP in generalizing to both novel agent and human partners, and that humans express a significant preference for partnering with FCP over BCP. Our method avoids the cost and potential privacy concerns of collecting human data for training, while achieving better outcomes for humans at test time.
|
| 21 |
+
|
| 22 |
+
We summarize the novel contributions of this paper as follows:
|
| 23 |
+
|
| 24 |
+
1. We propose Fictitious Co-Play (FCP) to train agents capable of zero-shot coordination with humans (Section 2.1).
|
| 25 |
+
2. We demonstrate that FCP agents generalize better than SP, PP, and BCP in zero-shot coordination with a variety of held-out agents (Section 4.2).
|
| 26 |
+
3. We propose a rigorous human-agent interaction study with behavioral analysis and participant feedback (Section $5 . 1 )$ .
|
| 27 |
+
4. We demonstrate that FCP significantly outperforms the BCP state-of-the-art, both in task score and in human partner preference (Section $\underline { { \overline { { 5 . 2 } } } } )$ .
|
| 28 |
+
|
| 29 |
+
# 2 Methods
|
| 30 |
+
|
| 31 |
+
# 2.1 Fictitious Co-Play (FCP)
|
| 32 |
+
|
| 33 |
+
Diverse training conditions have been shown to make agents more robust, from environmental variations (i.e. domain randomization $\textcircled { 1 5 4 } , \textcircled { 5 6 } , \textcircled { 6 7 } \textcircled { 1 }$ to heterogeneity in training partners $\mathbb { \left. \boldsymbol { \mathfrak { G } } \boldsymbol { \mathfrak { g } } \right. }$ . We seek to train agents that are robust partners for humans in common-payoff games, and so extend this line of work to that setting.
|
| 34 |
+
|
| 35 |
+
One important challenge in collaborating with novel partners is dealing with symmetries $\pmb { \mathbb { B } } \mathbf { \mathbb { 1 } }$ . For example, two agents A and B facing each other may move past each other by A going left and B going right, or vice versa. Both are valid solutions, but a good agent partner will adaptively switch between these conventions if a human clearly prefers one over the other. A second important challenge is dealing with variations in skill level. Good agent partners should be able to assist both highly-skilled partners, as well as partners who are still learning.
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 2: The four agent training methods we evaluate in this work. Self-play (SP) where an agent learns with itself, population-play (PP) where a population of agents are co-trained together, and behavioral cloning play (BCP) where data from human games is used to create a behaviorally cloned agent with which an RL agent is then trained. In our method, Fictitious Co-Play (FCP), $N$ self-play agents are trained independently and checkpointed throughout training. An agent is then trained to best respond to the entire population of SP agents and their checkpoints.
|
| 39 |
+
|
| 40 |
+
Fictitious co-play (FCP) is a simple two-stage approach for training agents that overcomes both of these challenges (Figure $2 ,$ right). In the first stage, we train a diverse pool of partners. To allow the pool to represent different symmetry breaking conventions, we train $N$ partner agents in self-play. Since these partners are trained independently, they can arrive at different arbitrary conventions for breaking symmetries. To allow the pool to represent different skill levels, we use multiple checkpoints of each self-play partner throughout training. The final checkpoint represents a fully-trained “skillful” partner, while earlier checkpoints represent less skilled partners. Notably, by using multiple checkpoints per partner, this additional diversity in skill incurs no extra training cost.
|
| 41 |
+
|
| 42 |
+
In the second stage, we train an FCP agent as the best response to the pool of diverse partners created in the first stage. Importantly, the partner parameters are frozen and thus FCP must learn to adapt to partners, rather than expect partners to adapt to it. In this way, FCP agents are prepared to follow the lead of human partners, and learn a general policy across a range of strategies and skills. We call our method “fictitious” co-play for its relationship to fictitious self-play in which competitive agents are trained with past checkpoints (in that case, to avoid strategy cycling) [7, 27, 28, 39, 69].
|
| 43 |
+
|
| 44 |
+
# 2.2 Baselines and ablations
|
| 45 |
+
|
| 46 |
+
We compare FCP agents to the three baseline training methods listed below, each varying only in their set of training partners, with the RL algorithm and architecture consistent across all agents:
|
| 47 |
+
|
| 48 |
+
1. Self-play (SP), where agents learn solely through interaction with themselves.
|
| 49 |
+
2. Population-play (PP), where a population of agents are co-trained through random pairings.
|
| 50 |
+
3. Behavioral cloning play (BCP), where an agent is trained with a BC model of a human [12].
|
| 51 |
+
|
| 52 |
+
We also evaluate three variations on FCP to better understand the conditions for its success:
|
| 53 |
+
|
| 54 |
+
1. To test the importance of including past checkpoints in training, we evaluate an ablation of FCP in which agents are trained only with the converged checkpoints of their partners $\mathrm { F C P } _ { - T }$ for “FCP minus time”). 2. To test whether FCP would benefit from additional diversity in its partner population, we evaluate an augmentation of FCP in which the population of SP partners varies not just in random seed, but also in architecture $\operatorname { F C P } _ { + A }$ for “FCP plus architectural variation”). 3. To test whether architectural variation can serve as a full replacement for playing with past checkpoints, we evaluate the combination of both modifications $( \mathrm { F C P } _ { - T , + A } )$ .
|
| 55 |
+
|
| 56 |
+
# 2.3 Environment
|
| 57 |
+
|
| 58 |
+
Following prior work on zero-shot coordination in human-agent interaction, we study the Overcooked environment (see Figure 3) [12, 13, 38, 50, 70]. We draw particular inspiration from the environment in Carroll et al. [12]. For full details, see Appendix A.
|
| 59 |
+
|
| 60 |
+
In this environment, players are placed into a gridworld kitchen as chefs and tasked with delivering as many cooked dishes of tomato soup as possible within an episode. This involves a series of sequential high-level actions to which both players can contribute: collecting tomatoes, depositing them into cooking pots, letting the tomatoes cook into soup, collecting a dish, getting the soup, and delivering it. Upon a successful delivery, both players are rewarded equally.
|
| 61 |
+
|
| 62 |
+
To effectively complete the task, players must learn to navigate the kitchen and interact with objects in the correct order, all while maintaining awareness of their partner’s behavior to coordinate with them. This environment therefore presents the challenges of both movement and strategic coordination.
|
| 63 |
+
|
| 64 |
+
Each player observes an egocentric RGB view of the world, and at every step can perform one of six actions: stand still, move {up, down, left, right}, interact. The behavior ofLÈ¡áyÒįŘįºµòµÒ¡y® interact varies based on the cell which the player is facing (e.g. place tomato on counter).
|
| 65 |
+
|
| 66 |
+

|
| 67 |
+
Figure 3: The Overcooked environment: a two-player common-payoff game in which players must coordinate to cook and deliver soup.
|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
Figure 4: Layouts: the kitchens which agents and humans play in, each emphasizing different coordination strategies. Highlighted in bold are the terms used to refer to each in the rest of this paper.
|
| 71 |
+
|
| 72 |
+
# 2.4 Implementation details
|
| 73 |
+
|
| 74 |
+
Here we highlight several key implementation details for our training methods. For full details, including the architectures, hyperparameters, and compute used, please see Appendix B.
|
| 75 |
+
|
| 76 |
+
For our reinforcement learning agents, we use the V-MPO $\boldsymbol { \left[ \left[ 6 5 \right] \right] }$ algorithm along with a ResNet [26] plus LSTM $\mathbb { \left| \bigstar \bigstar \right\| }$ architecture which we found led to optimal behavior across all layouts. Agents are trained using a distributed set of environments running in parallel $\textcircled { 1 1 7 }$ , each sampling two agents from the training population to play together every episode.
|
| 77 |
+
|
| 78 |
+
Both PP and FCP are trained with a population size of $N = 3 2$ agents which are sampled uniformly. For FCP, we use 3 checkpoints for each agent, therefore incurring no additional training burden: (1) at initialization (i.e. a low-skilled agent), (2) at the end of training (i.e. a fully-trained expert agent), and (3) at the middle of training, defined as when the agent reaches $50 \%$ of its final reward (i.e. an average-skilled agent). When varying architecture for the training partners of the $\operatorname { F C P } _ { + A }$ and $\mathrm { F C P } _ { - T , + A }$ variants, we vary whether the partners use memory (i.e. LSTM vs not) and the width of their policy and value networks (i.e. 16 vs 256). In total, we train 8 agents for each of the 4 combinations, leaving the total population size of $N = 3 2$ unchanged, ensuring a fair comparison.
|
| 79 |
+
|
| 80 |
+
To train agents via behavioral cloning $\left[ \left[ 5 8 \right] \right]$ , we use the open-source Acme $\pmb { \mathbb { B } } 0 \|$ to learn a policy from human gameplay data. Specifically, we collected 5 human-human trajectories of length 1200 time steps for each of the 5 layouts, resulting in 60k total environment steps. We divide this data in half and train two BC agents: (1) a partner for training a BCP agent, and (2) a “human proxy” partner for agent-agent evaluation. Following Carroll et al. $\bar { \lVert 1 2 \rVert }$ , we use a set of feature-based observations for the agents (as opposed to RGB) and generate comparable results: performance is higher on 3 layouts (asymmetric, cramped, and ring) but poorer on the other 2 (circuit and forced).
|
| 81 |
+
|
| 82 |
+
# 3 Related work
|
| 83 |
+
|
| 84 |
+
Ad-hoc team play There is a large and diverse body of literature on ad-hoc team-play $ { \mathbb { B } } , { \mathbb { G } } 6 { \mathbb { I } }$ , also known as zero-shot coordination $\bar { \mathbb { B } } \mathbb { I }$ . Prior work based in game-theoretic settings has suggested the benefits of planning $\pmb { \mathbb { Z } 1 }$ , online learning $\mathbb { \left| \left. \sum \right. { ] } \right| }$ , and novel solution concepts $\bar { \mathbb { D } }$ , to name a few examples. More recently, multi-agent deep reinforcement learning has provided the tools to scale to more complex gridworld or continuous control settings, leading to work on hierarchical social planning $\widehat { \left\| 3 6 \right\| }$ , adapting to existing social conventions $\checkmark$ , trajectory diversity $\lVert \rVert \dot { \boldsymbol { \mathrm { E } } } \rVert$ , and theory of mind [14]. Ad-hoc team-play among novel agent partners is also an object of active study in the emergent communication literature [10, 11, 43]. This prior work has tended to focus on generalization to held-out agent partners as a proxy for human co-players.
|
| 85 |
+
|
| 86 |
+
Collaborative play with novel humans has been evaluated more actively in the context of training agent assistants; see for instance [57, 68]. To our knowledge, our FCP agents represent the stateof-the-art in coordinating with novel human partners on an equal footing of capabilities in a rich gridworld environment, as measured by the challenge tasks in Carroll et al. [12].
|
| 87 |
+
|
| 88 |
+
Diversity in multi-agent reinforcement learning In multi-agent reinforcement learning, agents that train with behaviorally diverse populations of game partners tend to demonstrate stronger performance than their self-play counterparts. For example, across a range of multi-agent games, generalization to held-out populations can be improved by training larger and more diverse populations [13, 42, 50]. In mixed-motive settings, cooperation among agents can be encouraged through social diversity, such as in player preferences and rewards [3, 47, 49]. Similarly, competitiveness can be optimized through selective matchmaking between increasingly diverse agents $[ \overbrace { 2 4 } , \overbrace { 3 9 } , \overbrace { 6 9 } ]$ .
|
| 89 |
+
|
| 90 |
+
Despite the increased focus on improving multi-agent performance, evaluation has typically been constrained to agent-agent settings. High-performing agents have infrequently been evaluated with humans, particularly in non-competitive domains $\bar { \lVert 1 6 rVert }$ . We add to this growing literature, showing that training with diversity is a powerful approach for effective human-agent collaboration.
|
| 91 |
+
|
| 92 |
+
Human-agent interaction In recent years, increased attention has been directed toward designing machine learning agents capable of collaborating with humans [41, 57, 68, 72] (see also $\boxed { \boxed { 1 6 } }$ for a broader review on Cooperative AI). Tylkin et al. $\lVert \rVert$ is particularly notable in also demonstrating that partially trained agents can be useful learning targets for human helpers, although in a different domain (cooperative Atari). Our method, FCP, can be seen as extending theirs by training with multiple “skill levels” and random seeds, rather than just one, which we demonstrate to be crucial to our agents’ performance (Tables 1 and 2 and Figure 7b).
|
| 93 |
+
|
| 94 |
+
A key preceding entry in this research area is Carroll et al. $\pmb { \mathbb { I } }$ , who similarly investigated humanagent coordination in Overcooked. We use their method (BCP) as a baseline throughout our experiments (Section $\boxed { 2 . 2 }$ . Relative to BCP, our approach removes the need for the expensive step of human data collection for agent training. Furthermore, through our novel human-agent experimental design, we go beyond objective performance metrics to compare the subjective preferences that agents generate. For a detailed comparison of methods and results, see Appendix E.
|
| 95 |
+
|
| 96 |
+
# 4 Zero-shot coordination with agents
|
| 97 |
+
|
| 98 |
+
In this section, we evaluate our FCP agent, its ablations, and the baselines with held-out agents.
|
| 99 |
+
|
| 100 |
+
# 4.1 Evaluation method: collaborative evaluation with agent partners
|
| 101 |
+
|
| 102 |
+
Our primary concern in this work is generalization to novel human partners (as investigated in Section $\textcircled{5}$ . However, just as collecting human-human data for behavioral cloning is expensive, so too is evaluating agents with humans. Consequently, we instead use generalization to held-out agent partners as a cheap proxy of performance with humans. This is then used to guide our model selection process, allowing us to be more targeted with the agents we select for our human-agent evaluations.
|
| 103 |
+
|
| 104 |
+
We evaluate with three held-out populations:
|
| 105 |
+
|
| 106 |
+
1. A BC model trained on human data, $H _ { \mathrm { p r o x y } }$ , intended as a proxy of generalization to humans, as done by Carroll et al. $[ \overbrace { | 1 2 | }$ . 2. A set of self-play agents varying in seed, architecture, and training time (specifically, heldout seeds of the $N = 3 2$ partners trained for the $\mathrm { F C P } _ { + A }$ agent; see Section 2.4). These are intended to test generalization to a diverse yet still skillful population. 3. Randomly initialized agents intended to test generalization to low-skill partners.
|
| 107 |
+
|
| 108 |
+
For all results, we report the average number of deliveries made by both players within an episode, aggregated across the 5 different layouts from Figure $^ 4$ (with the per-layout results reported in Appendix $\underline { { \overline { { ( \mathrm { C . 2 } ) } } } }$ . We estimate mean and standard deviation across 5 random seeds. For each seed, we evaluate the agent with all members of the held-out population for 10 episodes per agent-partner pair.
|
| 109 |
+
|
| 110 |
+
# 4.2 Results
|
| 111 |
+
|
| 112 |
+
# Finding 1: FCP significantly outperforms all baselines
|
| 113 |
+
|
| 114 |
+
To begin, we compare our FCP agent and the baselines when partnered with the three held-out populations introduced above. As can be seen in Figure $\boxed { 5 }$ FCP significantly outperforms all baselines when partnered with all three held-out populations. Notably, it performs better than BCP with $H _ { \mathrm { p r o x y } }$ even though BCP trains with such a model and FCP does not. Similar to Carroll et al. $\mathbb { \lVert 1 2 \rVert }$ , we find that BCP significantly outscores SP.
|
| 115 |
+
|
| 116 |
+
When paired with a randomly initialized partner which behaves suboptimally, we see an even greater difference between FCP and the baselines. Given that FCP is trained with non-held-out versions of such agents, it may not be surprising that it does so well with partners that behave poorly. However, what is surprising is how brittle the other training methods are. This suggests that they may not perform well with humans who are not highly skilled players, which we will see in Section 5.
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
Figure 5: Agent-agent collaborative evaluation: Performance of each agent when partnered with each of the held-out populations (Section $4 . 1 )$ in episodes of length $T = 5 4 0$ . Importantly, FCP scores higher than all baselines with a variety of test partners. Error bars represent standard deviation over five random training seeds. Plots aggregate data across kitchen layouts; results calculated by individual layout can be found in Appendix C.2.
|
| 120 |
+
|
| 121 |
+
Finding 2: Training with past checkpoints is the most beneficial variation for performance Next, we investigate how the different training partner variations influence FCP’s performance. In particular, we separately ablate the past checkpoints $( T )$ and architecture $( A )$ variations, evaluating them with the same partners as in Figure 5. The results of this evaluation are presented in Table 1. Comparing the FCP and $\mathrm { F C P } _ { - T }$ columns, we see that removing past checkpoints from training significantly reduces performance. Comparing the FCP and $\operatorname { F C P } _ { + A }$ columns, we see that adding architectural variation to the training population offers no improvement over training with past
|
| 122 |
+
|
| 123 |
+
<table><tr><td>Partner</td><td>FCP</td><td>FCP-T</td><td>FCP+A</td><td>FCP-T,+A</td></tr><tr><td>Hproxy</td><td>10.6± 0.5</td><td>4.7± 0.4</td><td>9.9±0.6</td><td>7.0±0.8</td></tr><tr><td>Diverse SP</td><td>11.2 ± 0.1</td><td>6.9 ± 0.1</td><td>11.1 ± 0.4</td><td>8.6 ± 0.4</td></tr><tr><td>Random</td><td>8.6± 0.2</td><td>1.0 ± 0.1</td><td>8.4±0.4</td><td>3.2 ± 0.5</td></tr></table>
|
| 124 |
+
|
| 125 |
+
Table 1: Ablation results: Performance of each variation of FCP – training with past partner checkpoints $T$ for time) and adding partner variation in architecture $( A )$ . Scores are mean deliveries with standard deviation over 5 random seeds. Notably, we find that the inclusion of past checkpoints is essential for strong performance $( \mathrm { F C P } > \mathrm { F C P } _ { - T }$ ), and additionally including architectural variation does not improve performance $( \mathrm { F C P } \approx \mathrm { F C P } _ { + A . }$ ). However, architectural variation is better than no variation, improving performance when past checkpoints are not available $( \mathrm { F C P } _ { - T , + A } > \mathrm { F C P } _ { - T , }$ ).
|
| 126 |
+
|
| 127 |
+
checkpoints. However, comparing the $\mathrm { F C P } _ { - T }$ and $\mathrm { F C P } _ { - T , + A }$ columns, we see that without training with past checkpoints, architectural variation in the population does improve performance.
|
| 128 |
+
|
| 129 |
+
# 5 Zero-shot coordination with humans
|
| 130 |
+
|
| 131 |
+
Ultimately, our goal is to develop agents capable of coordinating with novel human partners. In this section, we run an online study to evaluate our FCP agent and the baseline agents in collaborative play with human partners.
|
| 132 |
+
|
| 133 |
+

|
| 134 |
+
Figure 6: Human-agent collaborative study: For our human-agent collaboration study, we recruited participants online to play games with FCP and baseline agents. Participants played a randomized sequence of episodes with different agent partners and kitchen layouts. After every two episodes, participants reported the direction and strength of their preference between their last two partners.
|
| 135 |
+
|
| 136 |
+
# 5.1 Evaluation method: collaborative evaluation with human participants
|
| 137 |
+
|
| 138 |
+
To test how effectively FCP’s performance generalizes to human partners, we recruited participants from Prolific $\mathbb { 1 1 8 } , \lvert 5 5 \rvert$ for an online collaboration study $N = 1 1 4$ ; $3 7 . 7 \%$ female, $5 9 . 6 \%$ male, $1 . 8 \%$ nonbinary; median age between 25–34 years). We used a within-participant design for the study: each participant played with a full cohort of agents (i.e. generated through every training method). This design allowed us to evaluate both objective performance as well as subjective preferences.
|
| 139 |
+
|
| 140 |
+
Participants first read game instructions and played a short tutorial episode guiding them through the dish preparation sequence (see Appendix $\dot { \mathrm { \bf D } } . 1 . 1$ for instruction text and study screenshots). Participants then played 20 episodes with a randomized sequence of agent partners and kitchen layouts. Episodes lasted $T = 3 0 0$ steps (1 minute) each. After every two episodes, participants reported their preference over the agent partners from those episodes on a five-point Likert-type scale. After playing all 20 episodes, participants completed a debrief questionnaire collecting standard demographic information and open-ended feedback on the study. Our statistical analysis below primarily relies upon the repeated-measures analysis of variance (ANOVA) method. See Appendix D for additional details of our study design and analysis, including independent ethical review.
|
| 141 |
+
|
| 142 |
+
# 5.2 Results
|
| 143 |
+
|
| 144 |
+
Finding 1: FCP coordinates best with humans, achieving the highest score across maps To begin, we compare the objective team performance supported by our FCP and baseline agents. The strong FCP performance observed in agent-agent play generalizes to human-agent collaboration:
|
| 145 |
+
|
| 146 |
+
the FCP-human teams significantly outperform all other agent-human teams, achieving the highest average scores across maps, every $p < 0 . 0 0 1$ (Figure $\mathrm { 7 a ) }$ , while performing as well as or better than the other teams on each individual map (see Appendix $\mathbf { D } . 3 )$ . Echoing the results from our agent-agent ablation experiments (Table $\perp )$ , the inclusion of past checkpoints in training proves critical to FCP’s strong performance, $p < 0 . 0 { \overline { { 0 1 } } }$ (Figure $\textcircled { 7 6 }$ . Similar to Carroll et al. $[ \left[ 1 2 \right] ]$ , we find that BCP outscores SP when collaborating with human players, $p < 0 . 0 0 1$ .
|
| 147 |
+
|
| 148 |
+
# Finding 2: Participants prefer FCP over all baselines
|
| 149 |
+
|
| 150 |
+
FCP’s strong collaborative performance carries over to our participants’ subjective partner preferences. Participants expressed a significant preference for FCP partners over all other agents, including BCP, with every $p < 0 . 0 5$ (Figure $\dot { \bigtriangledown } \dot { \mathbf { c } } { \big \rVert }$ . Notably, while human-BCP and human-PP teams did not significantly differ in their completed deliveries, participants reported significantly preferring BCP over PP, $p = 0 . 0 0 3$ , highlighting the informativeness of our subjective analysis.
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 7: Human-agent collaborative evaluation: Evaluation and preference metrics from humanagent play in episodes of length $T = 3 0 0$ . Error bars represents $9 5 \%$ confidence intervals, calculated over episodes. Plots aggregate data across kitchen layouts; results calculated by individual layout can be found in Appendix D.3.
|
| 154 |
+
|
| 155 |
+
# 5.3 Exploratory behavioral analysis
|
| 156 |
+
|
| 157 |
+
To better understand how the human-agent scores and preferences may have arisen, here we analyze the resulting action trajectories of each human and agent player in our experiment.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
|
| 161 |
+
Figure 8: Behavioral analysis: (a) FCP is able to move most frequently $3 5 \%$ of the time), corresponding to the best movement coordination with human partners. (b) FCP exhibits the most equal preferences over cooking pots (0.11 difference), aligning with human preferences. Values are calculated as the absolute difference in preferences between the two pots; 1 indicates that the player only uses one of the two available pots, while 0 indicates that the player uses both pots equally.
|
| 162 |
+
|
| 163 |
+
# Finding 1: FCP exhibits the best movement coordination with humans
|
| 164 |
+
|
| 165 |
+
First, we investigate how much each player moves in an episode (Figure $\textcircled { 8 \mathrm { a } }$ , where moving in a higher fraction of timesteps may suggest fewer collisions and thus better coordination with a partner. Notably, we observe two results: (1) humans rarely move, a behavior which is out-of-distribution for typical training methods (e.g. SP, PP) but is seen in the training distribution for BCP and FCP.
|
| 166 |
+
|
| 167 |
+
(2) FCP moves the most on all layouts other than Forced, suggesting it is better at coordinating its movement strategy with its partner. This result was also reported by human participants, for example: “I noticed that some of my partners seemed to know they needed to move around me, while others seemed to get ‘stuck’ until I moved out of their way” (see Appendix D for more examples).
|
| 168 |
+
|
| 169 |
+
# Finding 2: FCP’s preferences over cooking pots aligns best with that of humans
|
| 170 |
+
|
| 171 |
+
Next, we investigate whether there was a preference for a specific cooking pot in the layouts which included two cooking pots (Figure $\textcircled { 8 6 }$ . To do this, we calculate the difference in the number of times each pot was used by each player, where a high value indicates a strong preference for one pot and a low value indicates more equal preference for the two pots.
|
| 172 |
+
|
| 173 |
+
As can be seen in the FCP column, our agent typically has the most aligned preferences with that of humans (0.11 for FCP to 0.14 for humans). Behaviorally speaking, this means that our agent prefers one cooking pot over the other $5 5 . 5 \%$ of the time (i.e. a 0.11 point difference). In contrast, all other agents have a strong preference for a single pot. This is a non-adaptive strategy which generalizes poorly to typical human behavior of using both pots, leading to worse performance.
|
| 174 |
+
|
| 175 |
+
# 6 Discussion
|
| 176 |
+
|
| 177 |
+
Summary In this work, we investigated the challenging problem of zero-shot collaboration with humans without using human data in the training pipeline. To accomplish this, we introduced Fictitious Co-Play (FCP) – a surprisingly simple yet effective method based on creating a diverse set of training partners. We found that FCP agents scored significantly higher than all baselines when partnered with both novel agent and human partners. Furthermore, through a rigorous human-agent experimental design, we also found that humans reported a strong subjective preference to partnering with FCP agents over all baselines.
|
| 178 |
+
|
| 179 |
+
Limitations and future work Our method currently relies on the manual process of initially training and selecting a diverse set of partners. This is not only time consuming, but also prone to researcher biases that may negatively influence the behavior of the created agents. Additionally, while we found FCP with a partner population size of $N = 3 2$ sufficient here, for more complex games, FCP may require an unrealistically large partner population size to represent sufficiently diverse strategies. To address these concerns, methods for automatically generating partner diversity for common-payoff games may be important. Possibilities include adaptive population matchmaking as been used in competitive zero-sum games $\mathbb { \lVert 6 9 \rVert }$ , as well as auxiliary objectives that explicitly encourage behavioral diversity [19, 45, 46].
|
| 180 |
+
|
| 181 |
+
Our method requires a known and fixed reward function. We also focus on one domain in order to compare with prior work which has argued that human-in-the-loop training is necessary. Consequently, the resulting agents are only designed to adaptively collaborate on a single task, and not to infer human preferences in general $\textcircled { 1 1 } \textcircled { 3 3 } \textcircled { 5 9 }$ . Moreover, if a task’s reward function is poorly aligned with how humans approach the task, our method may well produce subpar partners, as would any method without access to human data. Thus, additional domains and tasks should be studied to better understand how our method generalizes. Targeted experiments to test specific forms of generalization may be especially helpful in this regard $\overline { { [ 3 8 ] } }$ , as could approaches that procedurally generate environment layouts requiring diverse solutions $\pmb { \mathbb { Z } } 2 \mathbf { l }$
|
| 182 |
+
|
| 183 |
+
Finally, it may be possible to produce even stronger agent assistants by combining the strengths of FCP (i.e. diversity) and BCP (i.e. human-like play). Indeed, Knott et al. $\textcircled { \lvert 3 8 \rvert }$ recently demonstrated that modifying BCP to train with multiple BC partners produces more robust collaboration with held-out agents, a finding that would be interesting to test with human partners.
|
| 184 |
+
|
| 185 |
+
Societal impact A challenge for this line of work is ensuring agent behavior is aligned with human values (i.e. the AI value alignment problem [23, 59]). Our method has no guarantees that the resulting policy aligns with the preferences, intentions, or welfare of its potential partners. It likewise does not exclude the possibility that the target being optimized for is harmful (e.g. if the agent’s partner expresses preferences or intentions to harm others). This could therefore produce negative societal effects either if training leads to poor alignment or if agents are optimized for harmful metrics.
|
| 186 |
+
|
| 187 |
+
One potential strategy for mitigating these risks is the use of human preference data [15]. Such data could be used to fine-tune and filter trained agents before deployment, encouraging better alignment with human values. A key question in this line of research is how human preference data should be aggregated—or selected, in the case of expert preferences—when our aim is to create socially aligned agents (i.e. agents that are sufficiently aligned for everyone). Relatedly, targeted research on human beliefs and perceptions of AI $\lVert \overline { { 4 8 } } \rVert$ , and how they steer human-agent interaction, would help inform agent design for positive societal impact. For instance, developers could incorporate specific priors into agents to reinforce tendencies for fair outcomes $\pm \mathbb { Z } 0 . \pm \mathbb { B } 2 \mathbb { I }$ .
|
| 188 |
+
|
| 189 |
+
Conclusion We proposed a method which is both effective at collaborating with humans and simple to implement. We also presented a rigorous and general methodology for evaluating with humans and eliciting their preferences. Together, these establish a strong foundation for future research on the important challenge of human-agent collaboration for benefiting society.
|
| 190 |
+
|
| 191 |
+
# Acknowledgements
|
| 192 |
+
|
| 193 |
+
The authors would like to thank Mary Cassin for creating the game sprite art; Rohin Shah, Thore Graepel, and Iason Gabriel for feedback on the draft; Lucy Campbell-Gillingham, Tina Zhu, and Saffron Huang for support in evaluating agents with humans; and Max Kleiman-Weiner, Natasha Jaques, Marc Lanctot, Mike Bowling, and Dan Roberts for useful discussions.
|
| 194 |
+
|
| 195 |
+
# Funding disclosure
|
| 196 |
+
|
| 197 |
+
This work was funded solely by DeepMind. The authors declare no competing interests.
|
| 198 |
+
|
| 199 |
+
# References
|
| 200 |
+
|
| 201 |
+
[1] J. Abramson, A. Ahuja, I. Barr, A. Brussee, F. Carnevale, M. Cassin, R. Chhaparia, S. Clark, B. Damoc, A. Dudzik, et al. Imitating interactive intelligence. arXiv preprint arXiv:2012.05672, 2020.
|
| 202 |
+
[2] S. V. Albrecht and S. Ramamoorthy. A game-theoretic model and best-response learning method for ad hoc coordination in multiagent systems. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2013.
|
| 203 |
+
[3] B. Baker. Emergent reciprocity and team formation from randomized uncertain social preferences. In Neural Information Processing Systems (NeurIPS), 2020.
|
| 204 |
+
[4] N. Bard, J. N. Foerster, S. Chandar, N. Burch, M. Lanctot, H. F. Song, E. Parisotto, V. Dumoulin, S. Moitra, E. Hughes, et al. The Hanabi challenge: A new frontier for AI research. Artificial Intelligence, 280:103216, 2020.
|
| 205 |
+
[5] S. Barrett, A. Rosenfeld, S. Kraus, and P. Stone. Making friends on the fly: Cooperating with new teammates. Artificial Intelligence, 242:132–171, 2017.
|
| 206 |
+
[6] A. Bauer, D. Wollherr, and M. Buss. Human–robot collaboration: A survey. International Journal of Humanoid Robotics, 5(01):47–66, 2008.
|
| 207 |
+
[7] G. W. Brown. Iterative solution of games by fictitious play. Activity analysis of production and allocation, 13(1):374–376, 1951.
|
| 208 |
+
[8] N. Brown and T. Sandholm. Superhuman AI for heads-up no-limit poker: Libratus beats top professionals. Science, 359(6374):418–424, 2018.
|
| 209 |
+
[9] N. Brown and T. Sandholm. Superhuman AI for multiplayer poker. Science, 365(6456):885–890, 2019.
|
| 210 |
+
[10] K. Bullard, F. Meier, D. Kiela, J. Pineau, and J. Foerster. Exploring zero-shot emergent communication in embodied multi-agent populations. arXiv preprint arXiv:2010.15896, 2020.
|
| 211 |
+
[11] K. Bullard, D. Kiela, J. Pineau, and J. Foerster. Quasi-equivalence discovery for zero-shot emergent communication. arXiv preprint arXiv:2103.08067, 2021.
|
| 212 |
+
[12] M. Carroll, R. Shah, M. K. Ho, T. Griffiths, S. Seshia, P. Abbeel, and A. Dragan. On the utility of learning about humans for human-AI coordination. In Neural Information Processing Systems (NeurIPS), 2019.
|
| 213 |
+
[13] R. Charakorn, P. Manoonpong, and N. Dilokthanakul. Investigating partner diversification methods in cooperative multi-agent deep reinforcement learning. In International Conference on Neural Information Processing, 2020.
|
| 214 |
+
[14] R. Choudhury, G. Swamy, D. Hadfield-Menell, and A. D. Dragan. On the utility of model learning in HRI. In ACM/IEEE International Conference on Human-Robot Interaction (HRI), 2019.
|
| 215 |
+
[15] P. F. Christiano, J. Leike, T. B. Brown, M. Martic, S. Legg, and D. Amodei. Deep reinforcement learning from human preferences. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 4302–4310, 2017.
|
| 216 |
+
[16] A. Dafoe, E. Hughes, Y. Bachrach, T. Collins, K. R. McKee, J. Z. Leibo, K. Larson, and T. Graepel. Open problems in cooperative AI. arXiv preprint arXiv:2012.08630, 2020.
|
| 217 |
+
[17] L. Espeholt, H. Soyer, R. Munos, K. Simonyan, V. Mnih, T. Ward, Y. Doron, V. Firoiu, T. Harley, I. Dunning, S. Legg, and K. Kavukcuoglu. IMPALA: Scalable distributed deep-RL with importance weighted actor-learner architectures. In International Conference on Machine Learning (ICML), 2018.
|
| 218 |
+
[18] P. Eyal, R. David, G. Andrew, E. Zak, and D. Ekaterina. Data quality of platforms and panels for online behavioral research. Behavior Research Methods, pages 1–20, 2021.
|
| 219 |
+
[19] B. Eysenbach, A. Gupta, J. Ibarz, and S. Levine. Diversity is all you need: Learning skills without a reward function. In International Conference on Learning Representations (ICLR), 2019.
|
| 220 |
+
[20] E. Fehr and K. M. Schmidt. A theory of fairness, competition, and cooperation. The Quarterly Journal of Economics, 114(3):817–868, 1999.
|
| 221 |
+
[21] J. Foerster, F. Song, E. Hughes, N. Burch, I. Dunning, S. Whiteson, M. Botvinick, and M. Bowling. Bayesian action decoder for deep multi-agent reinforcement learning. In International Conference on Machine Learning (ICML), 2019.
|
| 222 |
+
[22] M. Fontaine, Y.-C. Hsu, Y. Zhang, B. Tjanaka, and S. Nikolaidis. On the importance of environments in human-robot coordination. In Robotics: Science and Systems (RSS), 2021.
|
| 223 |
+
[23] I. Gabriel. Artificial intelligence, values, and alignment. Minds and Machines, 30(3):411–437, 2020.
|
| 224 |
+
[24] M. Garnelo, W. M. Czarnecki, S. Liu, D. Tirumala, J. Oh, G. Gidel, H. van Hasselt, and D. Balduzzi. Pick your battles: Interaction graphs as population-level objectives for strategic diversity. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021.
|
| 225 |
+
[25] Ghost Town Games. Overcooked, 2016.
|
| 226 |
+
[26] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.
|
| 227 |
+
[27] J. Heinrich and D. Silver. Deep reinforcement learning from self-play in imperfect-information games. In NIPS Deep Reinforcement Learning (DRL) Workshop, 2016.
|
| 228 |
+
[28] J. Heinrich, M. Lanctot, and D. Silver. Fictitious self-play in extensive-form games. In International Conference on Machine Learning (ICML), 2015.
|
| 229 |
+
[29] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural Computation, 9(8): 1735–1780, 1997.
|
| 230 |
+
[30] M. Hoffman, B. Shahriari, J. Aslanides, G. Barth-Maron, F. Behbahani, T. Norman, A. Abdolmaleki, A. Cassirer, F. Yang, K. Baumli, S. Henderson, A. Novikov, S. G. Colmenarejo, S. Cabi, C. Gulcehre, T. L. Paine, A. Cowie, Z. Wang, B. Piot, and N. de Freitas. Acme: A research framework for distributed reinforcement learning. arXiv preprint arXiv:2006.00979, 2020.
|
| 231 |
+
[31] H. Hu, A. Lerer, A. Peysakhovich, and J. Foerster. “Other-Play” for zero-shot coordination. In International Conference on Machine Learning (ICML), 2020.
|
| 232 |
+
[32] E. Hughes, J. Z. Leibo, M. G. Phillips, K. Tuyls, E. A. Duéñez-Guzmán, A. G. Castañeda, I. Dunning, T. Zhu, K. R. McKee, R. Koster, H. Roff, and T. Graepel. Inequity aversion improves cooperation in intertemporal social dilemmas. In Neural Information Processing Systems (NeurIPS), 2018.
|
| 233 |
+
[33] B. Ibarz, J. Leike, T. Pohlen, G. Irving, S. Legg, and D. Amodei. Reward learning from human preferences and demonstrations in Atari. In Neural Information Processing Systems (NeurIPS), 2018.
|
| 234 |
+
[34] M. Jaderberg, W. M. Czarnecki, I. Dunning, L. Marris, G. Lever, A. G. Castaneda, C. Beattie, N. C. Rabinowitz, A. S. Morcos, A. Ruderman, et al. Human-level performance in 3D multiplayer games with population-based reinforcement learning. Science, 364(6443):859–865, 2019.
|
| 235 |
+
[35] S. Javdani, S. S. Srinivasa, and J. A. Bagnell. Shared autonomy via hindsight optimization. Robotics Science and Systems, 2015.
|
| 236 |
+
[36] M. Kleiman-Weiner, M. K. Ho, J. L. Austerweil, M. L. Littman, and J. B. Tenenbaum. Coordinate to cooperate or compete: abstract goals and joint intentions in social interaction. In Conference of the Cognitive Science Society (CogSci), 2016.
|
| 237 |
+
[37] G. Klien, D. D. Woods, J. M. Bradshaw, R. R. Hoffman, and P. J. Feltovich. Ten challenges for making automation a “team player” in joint human-agent activity. IEEE Intelligent Systems, 19 (6):91–95, 2004.
|
| 238 |
+
[38] P. Knott, M. Carroll, S. Devlin, K. Ciosek, K. Hofmann, A. Dragan, and R. Shah. Evaluating the robustness of collaborative agents. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021.
|
| 239 |
+
[39] M. Lanctot, V. Zambaldi, A. Gruslys, A. Lazaridou, K. Tuyls, J. Pérolat, D. Silver, and T. Graepel. A unified game-theoretic approach to multiagent reinforcement learning. In Neural Information Processing Systems (NIPS), 2017.
|
| 240 |
+
[40] A. Lerer and A. Peysakhovich. Learning existing social conventions via observationally augmented self-play. In AAAI/ACM Conference on Artificial Intelligence, Ethics, and Society (AIES), 2019.
|
| 241 |
+
[41] E. Lockhart, N. Burch, N. Bard, S. Borgeaud, T. Eccles, L. Smaira, and R. Smith. Human-agent cooperation in bridge bidding. arXiv preprint arXiv:2011.14124, 2020.
|
| 242 |
+
[42] R. Lowe, Y. Wu, A. Tamar, J. Harb, P. Abbeel, and I. Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. In Neural Information Processing Systems (NIPS), 2017.
|
| 243 |
+
[43] R. Lowe, A. Gupta, J. Foerster, D. Kiela, and J. Pineau. Learning to learn to communicate. In ICML Adaptive & Multitask Learning Workshop, 2019.
|
| 244 |
+
[44] R. Lowe, A. Gupta, J. Foerster, D. Kiela, and J. Pineau. On the interaction between supervision and self-play in emergent communication. In International Conference on Learning Representations (ICLR), 2020.
|
| 245 |
+
[45] A. Lupu, H. Hu, and J. Foerster. Trajectory diversity for zero-shot coordination. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021.
|
| 246 |
+
[46] A. Mahajan, T. Rashid, M. Samvelyan, and S. Whiteson. Maven: Multi-agent variational exploration. In Neural Information Processing Systems (NeurIPS), 2019.
|
| 247 |
+
[47] K. R. McKee, I. Gemp, B. McWilliams, E. A. Duèñez-Guzmán, E. Hughes, and J. Z. Leibo. Social diversity and social preferences in mixed-motive reinforcement learning. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2020.
|
| 248 |
+
[48] K. R. McKee, X. Bai, and S. Fiske. Understanding human impressions of artificial intelligence. PsyArXiv, 2021.
|
| 249 |
+
[49] K. R. McKee, E. Hughes, T. O. Zhu, M. J. Chadwick, R. Koster, A. G. Castaneda, C. Beattie, T. Graepel, M. Botvinick, and J. Z. Leibo. Deep reinforcement learning models the emergent dynamics of human cooperation. arXiv preprint arXiv:2103.04982, 2021.
|
| 250 |
+
[50] K. R. McKee, J. Z. Leibo, C. Beattie, and R. Everett. Quantifying environment and population diversity in multi-agent reinforcement learning. arXiv preprint arXiv:2102.08370, 2021.
|
| 251 |
+
[51] F. Melo and A. Sardinha. Ad hoc teamwork by learning teammates’ task. International Conference on Autonomous Agents and Multi-Agent Systems (AAMAS), 2015.
|
| 252 |
+
[52] B. Mutlu, A. Terrell, and C.-M. Huang. Coordination mechanisms in human-robot collaboration. In HRI Collaborative Manipulation Workshop, 2013.
|
| 253 |
+
[53] S. Nikolaidis and J. Shah. Human-robot cross-training: Computational formulation, modeling and evaluation of a human team training strategy. In ACM/IEEE International Conference on Human-Robot Interaction (HRI), 2013.
|
| 254 |
+
[54] OpenAI, I. Akkaya, M. Andrychowicz, M. Chociej, M. Litwin, B. McGrew, A. Petron, A. Paino, M. Plappert, G. Powell, R. Ribas, J. Schneider, N. Tezak, J. Tworek, P. Welinder, L. Weng, Q. Yuan, W. Zaremba, and L. Zhang. Solving Rubik’s Cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019.
|
| 255 |
+
[55] E. Peer, L. Brandimarte, S. Samat, and A. Acquisti. Beyond the Turk: Alternative platforms for crowdsourcing behavioral research. Journal of Experimental Social Psychology, 70:153–163, 2017.
|
| 256 |
+
[56] X. B. Peng, M. Andrychowicz, W. Zaremba, and P. Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. In IEEE International Conference on Robotics and Automation (ICRA), 2018.
|
| 257 |
+
[57] P. M. Pilarski, A. Butcher, M. Johanson, M. M. Botvinick, A. Bolt, and A. S. Parker. Learned human-agent decision-making, communication and joint action in a virtual reality environment. In Multidisciplinary Conference on Reinforcement Learning and Decision Making (RLDM), 2019.
|
| 258 |
+
[58] D. A. Pomerleau. Efficient training of artificial neural networks for autonomous navigation. Neural Computation, 3(1):88–97, 1991.
|
| 259 |
+
[59] S. Russell. Human Compatible: Artificial Intelligence and the Problem of Control. Penguin, 2019.
|
| 260 |
+
[60] D. Sadigh, N. Landolfi, S. S. Sastry, S. A. Seshia, and A. D. Dragan. Planning for cars that coordinate with people: leveraging effects on human actions for planning and active information gathering over human internal state. Autonomous Robots, 42(7):1405–1426, 2018.
|
| 261 |
+
[61] N. Schurr, J. Marecki, M. Tambe, and P. Scerri. Towards flexible coordination of human-agent teams. Multiagent and Grid Systems, 1(1):3–16, 2005.
|
| 262 |
+
[62] A. Shih, A. Sawhney, J. Kondic, S. Ermon, and D. Sadigh. On the critical role of conventions in adaptive human-AI collaboration. In International Conference on Learning Representations (ICLR), 2021.
|
| 263 |
+
[63] D. Silver, J. Schrittwieser, K. Simonyan, I. Antonoglou, A. Huang, A. Guez, T. Hubert, L. Baker, M. Lai, A. Bolton, Y. Chen, T. Lillicrap, F. Hui, L. Sifre, G. van den Driessche, T. Graepel, and D. Hassabis. Mastering the game of go without human knowledge. Nature, 550(7676):354–359, 2017.
|
| 264 |
+
[64] D. Silver, T. Hubert, J. Schrittwieser, I. Antonoglou, M. Lai, A. Guez, M. Lanctot, L. Sifre, D. Kumaran, T. Graepel, T. Lillicrap, K. Simonyan, and D. Hassabis. A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science, 362(6419): 1140–1144, 2018.
|
| 265 |
+
[65] H. F. Song, A. Abdolmaleki, J. T. Springenberg, A. Clark, H. Soyer, J. W. Rae, S. Noury, A. Ahuja, S. Liu, D. Tirumala, N. Heess, D. Belov, M. Riedmiller, and M. M. Botvinick. VMPO: On-policy maximum a posteriori policy optimization for discrete and continuous control. In International Conference on Learning Representations (ICLR), 2020.
|
| 266 |
+
[66] P. Stone, G. Kaminka, S. Kraus, and J. Rosenschein. Ad hoc autonomous agent teams: Collaboration without pre-coordination. In AAAI Conference on Artificial Intelligence, 2010.
|
| 267 |
+
[67] J. Tobin, R. Fong, A. Ray, J. Schneider, W. Zaremba, and P. Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2017.
|
| 268 |
+
[68] P. Tylkin, G. Radanovic, and D. C. Parkes. Learning robust helpful behaviors in two-player cooperative Atari environments. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021.
|
| 269 |
+
[69] O. Vinyals, I. Babuschkin, W. M. Czarnecki, M. Mathieu, A. Dudzik, J. Chung, D. H. Choi, R. Powell, T. Ewalds, P. Georgiev, J. Oh, D. Horgan, M. Kroiss, I. Danihelka, A. Huang, L. Sifre, T. Cai, J. P. Agapiou, M. Jaderberg, A. S. Vezhnevets, R. Leblond, T. Pohlen, V. Dalibard, D. Budden, Y. Sulsky, J. Molloy, T. L. Paine, C. Gulcehre, Z. Wang, T. Pfaff, Y. Wu, R. Ring, D. Yogatama, D. Wünsch, K. McKinney, O. Smith, T. Schaul, T. Lillicrap, K. Kavukcuoglu, D. Hassabis, C. Apps, and D. Silver. Grandmaster level in StarCraft II using multi-agent reinforcement learning. Nature, 575(7782):350–354, 2019.
|
| 270 |
+
[70] R. E. Wang, S. A. Wu, J. A. Evans, J. B. Tenenbaum, D. C. Parkes, and M. Kleiman-Weiner. Too many cooks: Coordinating multi-agent collaboration through inverse planning. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2020.
|
| 271 |
+
[71] F. Wu, S. Zilberstein, and X. Chen. Online planning for ad hoc autonomous agent teams. In International Joint Conference on Artificial Intelligence (IJCAI), 2011.
|
| 272 |
+
[72] S. Zheng, A. Trott, S. Srinivasa, N. Naik, M. Gruesbeck, D. C. Parkes, and R. Socher. The AI economist: Improving equality and productivity with AI-driven tax policies. arXiv preprint arXiv:2004.13332, 2020.
|
parse/train/1Kof-n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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Collaborating with Humans without Human Data ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
197,
|
| 8 |
+
122,
|
| 9 |
+
802,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "DJ Strouse⇤, Kevin R. McKee, Matt Botvinick, Edward Hughes, Richard Everett⇤ DeepMind {strouse, kevinrmckee, botvinick, edwardhughes, reverett}@deepmind.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
199,
|
| 19 |
+
200,
|
| 20 |
+
799,
|
| 21 |
+
243
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
279,
|
| 32 |
+
535,
|
| 33 |
+
295
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Collaborating with humans requires rapidly adapting to their individual strengths, weaknesses, and preferences. Unfortunately, most standard multi-agent reinforcement learning techniques, such as self-play (SP) or population play (PP), produce agents that overfit to their training partners and do not generalize well to humans. Alternatively, researchers can collect human data, train a human model using behavioral cloning, and then use that model to train “human-aware” agents (“behavioral cloning play”, or BCP). While such an approach can improve the generalization of agents to new human co-players, it involves the onerous and expensive step of collecting large amounts of human data first. Here, we study the problem of how to train agents that collaborate well with human partners without using human data. We argue that the crux of the problem is to produce a diverse set of training partners. Drawing inspiration from successful multi-agent approaches in competitive domains, we find that a surprisingly simple approach is highly effective. We train our agent partner as the best response to a population of self-play agents and their past checkpoints taken throughout training, a method we call Fictitious Co-Play (FCP). Our experiments focus on a two-player collaborative cooking simulator that has recently been proposed as a challenge problem for coordination with humans. We find that FCP agents score significantly higher than SP, PP, and BCP when paired with novel agent and human partners. Furthermore, humans also report a strong subjective preference to partnering with FCP agents over all baselines. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
232,
|
| 42 |
+
310,
|
| 43 |
+
766,
|
| 44 |
+
587
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
614,
|
| 55 |
+
310,
|
| 56 |
+
631
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Generating agents which collaborate with novel partners is a longstanding challenge for Artificial Intelligence (AI) [4, 16, 37, 52]. Achieving ad-hoc, zero-shot coordination [31, $\\boxed { 6 6 }$ is especially important in situations where an AI must generalize to novel human partners [6, 61]. Many successful approaches have employed human models, either constructed explicitly [14, 35, 53] or learnt implicitly [12, 60]. By contrast, recent work in competitive domains has shown that it is possible to reach humanlevel using model-free reinforcement learning (RL) without human data, via self-play [8, 9, 63, 64]. This begs the question: Can model-free RL without human data generate agents that can collaborate with novel humans? ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
646,
|
| 66 |
+
825,
|
| 67 |
+
757
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "We seek an answer to this question in the space of common-payoff games, where all agents work towards a shared goal and receive the same reward. Self-play (SP), in which an agent learns from repeated games played against copies of itself, does not produce agents that generalize well to novel co-players [10, 11, 21, 44]. Intuitively, this is because agents trained in self-play only ever need to coordinate with themselves, and so make for brittle and stubborn collaborators with new partners who act differently. Population play (PP) trains a population of agents, all of whom interact with each other $\\pmb { \\| 3 9 \\| }$ . While PP can generate agents capable of cooperation with humans in competitive team games $\\pmb { \\Vert 3 4 \\Vert }$ , it still fails to produce robust partners for novel humans in pure common-payoff settings [12]. PP in common-payoff settings naturally encourages agents to play the same way, reducing strategic diversity and producing agents not so different from self-play $\\dot { \\lVert 2 4 \\rVert }$ . ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
763,
|
| 77 |
+
825,
|
| 78 |
+
875
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/70b2b8c1e9478aed36abef766805e05c03561ba29533d4a7de7ad061fa2d261f.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: In this work, we evaluate a variety of agent training methods (Section 2) in zero-shot coordination with agents (Section 4). We then run a human-agent collaborative study designed to elicit human preferences over agents (Section 5) "
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
191,
|
| 91 |
+
88,
|
| 92 |
+
805,
|
| 93 |
+
236
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "",
|
| 100 |
+
"bbox": [
|
| 101 |
+
176,
|
| 102 |
+
301,
|
| 103 |
+
821,
|
| 104 |
+
330
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Our approach starts with the intuition that the key to producing robust agent collaborators is exposure to diverse training partners. We find that a surprisingly simple strategy is effective in generating sufficient diversity. We train $N$ self-play agents varying only their random seed for neural network initialization. Periodically during training, we save agent “checkpoints” representing their strategy at that point in time. Then, we train an agent partner as the best-response to both the fully-trained agents and their past checkpoints. The different checkpoints simulate different skill levels, and the different random seeds simulate breaking symmetries in different ways. We refer to this agent training procedure as Fictitious $\\mathbf { C o }$ -Play (FCP) for its relationship to fictitious self-play [7, 27, 28, 69]. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
335,
|
| 114 |
+
825,
|
| 115 |
+
446
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "We evaluate FCP in a fully-observable two-player common-payoff collaborative cooking simulator. Based on the game Overcooked $\\mathbb { \\left. \\boldsymbol { \\ 2 5 } \\right. }$ , it has recently been proposed as a coordination challenge for AI [12, 50, 70]. State-of-the-art performance in producing agents capable of generalization to novel humans was achieved in $[ \\mathbb { 1 2 } ]$ via behavioral cloning (BC) of human data. More precisely, BC was used to produce models that can stand in as human proxies during training in simulation, a method we call behavioral cloning play (BCP). We demonstrate that FCP outperforms BCP in generalizing to both novel agent and human partners, and that humans express a significant preference for partnering with FCP over BCP. Our method avoids the cost and potential privacy concerns of collecting human data for training, while achieving better outcomes for humans at test time. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
453,
|
| 125 |
+
825,
|
| 126 |
+
577
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We summarize the novel contributions of this paper as follows: ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
583,
|
| 136 |
+
584,
|
| 137 |
+
598
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "1. We propose Fictitious Co-Play (FCP) to train agents capable of zero-shot coordination with humans (Section 2.1). \n2. We demonstrate that FCP agents generalize better than SP, PP, and BCP in zero-shot coordination with a variety of held-out agents (Section 4.2). \n3. We propose a rigorous human-agent interaction study with behavioral analysis and participant feedback (Section $5 . 1 )$ . \n4. We demonstrate that FCP significantly outperforms the BCP state-of-the-art, both in task score and in human partner preference (Section $\\underline { { \\overline { { 5 . 2 } } } } )$ . ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
210,
|
| 146 |
+
609,
|
| 147 |
+
825,
|
| 148 |
+
733
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "2 Methods ",
|
| 155 |
+
"text_level": 1,
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
751,
|
| 159 |
+
279,
|
| 160 |
+
768
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "2.1 Fictitious Co-Play (FCP) ",
|
| 167 |
+
"text_level": 1,
|
| 168 |
+
"bbox": [
|
| 169 |
+
174,
|
| 170 |
+
781,
|
| 171 |
+
385,
|
| 172 |
+
796
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 1
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "Diverse training conditions have been shown to make agents more robust, from environmental variations (i.e. domain randomization $\\textcircled { 1 5 4 } , \\textcircled { 5 6 } , \\textcircled { 6 7 } \\textcircled { 1 }$ to heterogeneity in training partners $\\mathbb { \\left. \\boldsymbol { \\mathfrak { G } } \\boldsymbol { \\mathfrak { g } } \\right. }$ . We seek to train agents that are robust partners for humans in common-payoff games, and so extend this line of work to that setting. ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
174,
|
| 181 |
+
808,
|
| 182 |
+
825,
|
| 183 |
+
863
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "One important challenge in collaborating with novel partners is dealing with symmetries $\\pmb { \\mathbb { B } } \\mathbf { \\mathbb { 1 } }$ . For example, two agents A and B facing each other may move past each other by A going left and B going right, or vice versa. Both are valid solutions, but a good agent partner will adaptively switch between these conventions if a human clearly prefers one over the other. A second important challenge is dealing with variations in skill level. Good agent partners should be able to assist both highly-skilled partners, as well as partners who are still learning. ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
176,
|
| 192 |
+
869,
|
| 193 |
+
825,
|
| 194 |
+
911
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "image",
|
| 200 |
+
"img_path": "images/2372b76b2e16cbfb2db5439982c244e9b3e60b30aff99699aa5043d431598f6f.jpg",
|
| 201 |
+
"image_caption": [
|
| 202 |
+
"Figure 2: The four agent training methods we evaluate in this work. Self-play (SP) where an agent learns with itself, population-play (PP) where a population of agents are co-trained together, and behavioral cloning play (BCP) where data from human games is used to create a behaviorally cloned agent with which an RL agent is then trained. In our method, Fictitious Co-Play (FCP), $N$ self-play agents are trained independently and checkpointed throughout training. An agent is then trained to best respond to the entire population of SP agents and their checkpoints. "
|
| 203 |
+
],
|
| 204 |
+
"image_footnote": [],
|
| 205 |
+
"bbox": [
|
| 206 |
+
192,
|
| 207 |
+
88,
|
| 208 |
+
808,
|
| 209 |
+
276
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "",
|
| 216 |
+
"bbox": [
|
| 217 |
+
176,
|
| 218 |
+
378,
|
| 219 |
+
821,
|
| 220 |
+
421
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "Fictitious co-play (FCP) is a simple two-stage approach for training agents that overcomes both of these challenges (Figure $2 ,$ right). In the first stage, we train a diverse pool of partners. To allow the pool to represent different symmetry breaking conventions, we train $N$ partner agents in self-play. Since these partners are trained independently, they can arrive at different arbitrary conventions for breaking symmetries. To allow the pool to represent different skill levels, we use multiple checkpoints of each self-play partner throughout training. The final checkpoint represents a fully-trained “skillful” partner, while earlier checkpoints represent less skilled partners. Notably, by using multiple checkpoints per partner, this additional diversity in skill incurs no extra training cost. ",
|
| 227 |
+
"bbox": [
|
| 228 |
+
174,
|
| 229 |
+
426,
|
| 230 |
+
825,
|
| 231 |
+
537
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "text",
|
| 237 |
+
"text": "In the second stage, we train an FCP agent as the best response to the pool of diverse partners created in the first stage. Importantly, the partner parameters are frozen and thus FCP must learn to adapt to partners, rather than expect partners to adapt to it. In this way, FCP agents are prepared to follow the lead of human partners, and learn a general policy across a range of strategies and skills. We call our method “fictitious” co-play for its relationship to fictitious self-play in which competitive agents are trained with past checkpoints (in that case, to avoid strategy cycling) [7, 27, 28, 39, 69]. ",
|
| 238 |
+
"bbox": [
|
| 239 |
+
174,
|
| 240 |
+
544,
|
| 241 |
+
825,
|
| 242 |
+
627
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "2.2 Baselines and ablations ",
|
| 249 |
+
"text_level": 1,
|
| 250 |
+
"bbox": [
|
| 251 |
+
174,
|
| 252 |
+
643,
|
| 253 |
+
375,
|
| 254 |
+
657
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "We compare FCP agents to the three baseline training methods listed below, each varying only in their set of training partners, with the RL algorithm and architecture consistent across all agents: ",
|
| 261 |
+
"bbox": [
|
| 262 |
+
176,
|
| 263 |
+
667,
|
| 264 |
+
825,
|
| 265 |
+
696
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "1. Self-play (SP), where agents learn solely through interaction with themselves. \n2. Population-play (PP), where a population of agents are co-trained through random pairings. \n3. Behavioral cloning play (BCP), where an agent is trained with a BC model of a human [12]. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
210,
|
| 274 |
+
707,
|
| 275 |
+
826,
|
| 276 |
+
758
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "We also evaluate three variations on FCP to better understand the conditions for its success: ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
179,
|
| 285 |
+
767,
|
| 286 |
+
772,
|
| 287 |
+
782
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "1. To test the importance of including past checkpoints in training, we evaluate an ablation of FCP in which agents are trained only with the converged checkpoints of their partners $\\mathrm { F C P } _ { - T }$ for “FCP minus time”). 2. To test whether FCP would benefit from additional diversity in its partner population, we evaluate an augmentation of FCP in which the population of SP partners varies not just in random seed, but also in architecture $\\operatorname { F C P } _ { + A }$ for “FCP plus architectural variation”). 3. To test whether architectural variation can serve as a full replacement for playing with past checkpoints, we evaluate the combination of both modifications $( \\mathrm { F C P } _ { - T , + A } )$ . ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
212,
|
| 296 |
+
791,
|
| 297 |
+
825,
|
| 298 |
+
912
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "2.3 Environment ",
|
| 305 |
+
"text_level": 1,
|
| 306 |
+
"bbox": [
|
| 307 |
+
174,
|
| 308 |
+
92,
|
| 309 |
+
303,
|
| 310 |
+
106
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "Following prior work on zero-shot coordination in human-agent interaction, we study the Overcooked environment (see Figure 3) [12, 13, 38, 50, 70]. We draw particular inspiration from the environment in Carroll et al. [12]. For full details, see Appendix A. ",
|
| 317 |
+
"bbox": [
|
| 318 |
+
174,
|
| 319 |
+
117,
|
| 320 |
+
825,
|
| 321 |
+
160
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "In this environment, players are placed into a gridworld kitchen as chefs and tasked with delivering as many cooked dishes of tomato soup as possible within an episode. This involves a series of sequential high-level actions to which both players can contribute: collecting tomatoes, depositing them into cooking pots, letting the tomatoes cook into soup, collecting a dish, getting the soup, and delivering it. Upon a successful delivery, both players are rewarded equally. ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
173,
|
| 330 |
+
165,
|
| 331 |
+
825,
|
| 332 |
+
234
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "To effectively complete the task, players must learn to navigate the kitchen and interact with objects in the correct order, all while maintaining awareness of their partner’s behavior to coordinate with them. This environment therefore presents the challenges of both movement and strategic coordination. ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
174,
|
| 341 |
+
241,
|
| 342 |
+
825,
|
| 343 |
+
282
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "Each player observes an egocentric RGB view of the world, and at every step can perform one of six actions: stand still, move {up, down, left, right}, interact. The behavior ofLÈ¡áyÒįŘį\u000eºµòµÒ¡y® interact varies based on the cell which the player is facing (e.g. place tomato on counter). ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
176,
|
| 352 |
+
289,
|
| 353 |
+
823,
|
| 354 |
+
332
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 3
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "image",
|
| 360 |
+
"img_path": "images/48e8af75423e0fa5e5c23e2088c49716c4c6044ee3579f26cdd9911dbb4b4925.jpg",
|
| 361 |
+
"image_caption": [
|
| 362 |
+
"Figure 3: The Overcooked environment: a two-player common-payoff game in which players must coordinate to cook and deliver soup. "
|
| 363 |
+
],
|
| 364 |
+
"image_footnote": [],
|
| 365 |
+
"bbox": [
|
| 366 |
+
192,
|
| 367 |
+
344,
|
| 368 |
+
803,
|
| 369 |
+
529
|
| 370 |
+
],
|
| 371 |
+
"page_idx": 3
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"type": "image",
|
| 375 |
+
"img_path": "images/2b3253fcaac0677dbb15cc1ed5aa0663e561ff52605ba15bd61605f96c716872.jpg",
|
| 376 |
+
"image_caption": [
|
| 377 |
+
"Figure 4: Layouts: the kitchens which agents and humans play in, each emphasizing different coordination strategies. Highlighted in bold are the terms used to refer to each in the rest of this paper. "
|
| 378 |
+
],
|
| 379 |
+
"image_footnote": [],
|
| 380 |
+
"bbox": [
|
| 381 |
+
196,
|
| 382 |
+
579,
|
| 383 |
+
803,
|
| 384 |
+
657
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 3
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "2.4 Implementation details ",
|
| 391 |
+
"text_level": 1,
|
| 392 |
+
"bbox": [
|
| 393 |
+
174,
|
| 394 |
+
719,
|
| 395 |
+
374,
|
| 396 |
+
734
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 3
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "Here we highlight several key implementation details for our training methods. For full details, including the architectures, hyperparameters, and compute used, please see Appendix B. ",
|
| 403 |
+
"bbox": [
|
| 404 |
+
174,
|
| 405 |
+
746,
|
| 406 |
+
825,
|
| 407 |
+
773
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 3
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "For our reinforcement learning agents, we use the V-MPO $\\boldsymbol { \\left[ \\left[ 6 5 \\right] \\right] }$ algorithm along with a ResNet [26] plus LSTM $\\mathbb { \\left| \\bigstar \\bigstar \\right\\| }$ architecture which we found led to optimal behavior across all layouts. Agents are trained using a distributed set of environments running in parallel $\\textcircled { 1 1 7 }$ , each sampling two agents from the training population to play together every episode. ",
|
| 414 |
+
"bbox": [
|
| 415 |
+
174,
|
| 416 |
+
779,
|
| 417 |
+
825,
|
| 418 |
+
835
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 3
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "Both PP and FCP are trained with a population size of $N = 3 2$ agents which are sampled uniformly. For FCP, we use 3 checkpoints for each agent, therefore incurring no additional training burden: (1) at initialization (i.e. a low-skilled agent), (2) at the end of training (i.e. a fully-trained expert agent), and (3) at the middle of training, defined as when the agent reaches $50 \\%$ of its final reward (i.e. an average-skilled agent). When varying architecture for the training partners of the $\\operatorname { F C P } _ { + A }$ and $\\mathrm { F C P } _ { - T , + A }$ variants, we vary whether the partners use memory (i.e. LSTM vs not) and the width of their policy and value networks (i.e. 16 vs 256). In total, we train 8 agents for each of the 4 combinations, leaving the total population size of $N = 3 2$ unchanged, ensuring a fair comparison. ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
173,
|
| 427 |
+
842,
|
| 428 |
+
825,
|
| 429 |
+
911
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "",
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
92,
|
| 439 |
+
825,
|
| 440 |
+
133
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 4
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "To train agents via behavioral cloning $\\left[ \\left[ 5 8 \\right] \\right]$ , we use the open-source Acme $\\pmb { \\mathbb { B } } 0 \\|$ to learn a policy from human gameplay data. Specifically, we collected 5 human-human trajectories of length 1200 time steps for each of the 5 layouts, resulting in 60k total environment steps. We divide this data in half and train two BC agents: (1) a partner for training a BCP agent, and (2) a “human proxy” partner for agent-agent evaluation. Following Carroll et al. $\\bar { \\lVert 1 2 \\rVert }$ , we use a set of feature-based observations for the agents (as opposed to RGB) and generate comparable results: performance is higher on 3 layouts (asymmetric, cramped, and ring) but poorer on the other 2 (circuit and forced). ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
174,
|
| 449 |
+
138,
|
| 450 |
+
825,
|
| 451 |
+
237
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 4
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "3 Related work ",
|
| 458 |
+
"text_level": 1,
|
| 459 |
+
"bbox": [
|
| 460 |
+
174,
|
| 461 |
+
260,
|
| 462 |
+
316,
|
| 463 |
+
276
|
| 464 |
+
],
|
| 465 |
+
"page_idx": 4
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"type": "text",
|
| 469 |
+
"text": "Ad-hoc team play There is a large and diverse body of literature on ad-hoc team-play $ { \\mathbb { B } } , { \\mathbb { G } } 6 { \\mathbb { I } }$ , also known as zero-shot coordination $\\bar { \\mathbb { B } } \\mathbb { I }$ . Prior work based in game-theoretic settings has suggested the benefits of planning $\\pmb { \\mathbb { Z } 1 }$ , online learning $\\mathbb { \\left| \\left. \\sum \\right. { ] } \\right| }$ , and novel solution concepts $\\bar { \\mathbb { D } }$ , to name a few examples. More recently, multi-agent deep reinforcement learning has provided the tools to scale to more complex gridworld or continuous control settings, leading to work on hierarchical social planning $\\widehat { \\left\\| 3 6 \\right\\| }$ , adapting to existing social conventions $\\checkmark$ , trajectory diversity $\\lVert \\rVert \\dot { \\boldsymbol { \\mathrm { E } } } \\rVert$ , and theory of mind [14]. Ad-hoc team-play among novel agent partners is also an object of active study in the emergent communication literature [10, 11, 43]. This prior work has tended to focus on generalization to held-out agent partners as a proxy for human co-players. ",
|
| 470 |
+
"bbox": [
|
| 471 |
+
173,
|
| 472 |
+
294,
|
| 473 |
+
825,
|
| 474 |
+
420
|
| 475 |
+
],
|
| 476 |
+
"page_idx": 4
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"type": "text",
|
| 480 |
+
"text": "Collaborative play with novel humans has been evaluated more actively in the context of training agent assistants; see for instance [57, 68]. To our knowledge, our FCP agents represent the stateof-the-art in coordinating with novel human partners on an equal footing of capabilities in a rich gridworld environment, as measured by the challenge tasks in Carroll et al. [12]. ",
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
425,
|
| 484 |
+
825,
|
| 485 |
+
481
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 4
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "Diversity in multi-agent reinforcement learning In multi-agent reinforcement learning, agents that train with behaviorally diverse populations of game partners tend to demonstrate stronger performance than their self-play counterparts. For example, across a range of multi-agent games, generalization to held-out populations can be improved by training larger and more diverse populations [13, 42, 50]. In mixed-motive settings, cooperation among agents can be encouraged through social diversity, such as in player preferences and rewards [3, 47, 49]. Similarly, competitiveness can be optimized through selective matchmaking between increasingly diverse agents $[ \\overbrace { 2 4 } , \\overbrace { 3 9 } , \\overbrace { 6 9 } ]$ . ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
174,
|
| 494 |
+
487,
|
| 495 |
+
825,
|
| 496 |
+
585
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 4
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "Despite the increased focus on improving multi-agent performance, evaluation has typically been constrained to agent-agent settings. High-performing agents have infrequently been evaluated with humans, particularly in non-competitive domains $\\bar { \\lVert 1 6 rVert }$ . We add to this growing literature, showing that training with diversity is a powerful approach for effective human-agent collaboration. ",
|
| 503 |
+
"bbox": [
|
| 504 |
+
174,
|
| 505 |
+
590,
|
| 506 |
+
825,
|
| 507 |
+
646
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "Human-agent interaction In recent years, increased attention has been directed toward designing machine learning agents capable of collaborating with humans [41, 57, 68, 72] (see also $\\boxed { \\boxed { 1 6 } }$ for a broader review on Cooperative AI). Tylkin et al. $\\lVert \\rVert$ is particularly notable in also demonstrating that partially trained agents can be useful learning targets for human helpers, although in a different domain (cooperative Atari). Our method, FCP, can be seen as extending theirs by training with multiple “skill levels” and random seeds, rather than just one, which we demonstrate to be crucial to our agents’ performance (Tables 1 and 2 and Figure 7b). ",
|
| 514 |
+
"bbox": [
|
| 515 |
+
173,
|
| 516 |
+
652,
|
| 517 |
+
825,
|
| 518 |
+
751
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "A key preceding entry in this research area is Carroll et al. $\\pmb { \\mathbb { I } }$ , who similarly investigated humanagent coordination in Overcooked. We use their method (BCP) as a baseline throughout our experiments (Section $\\boxed { 2 . 2 }$ . Relative to BCP, our approach removes the need for the expensive step of human data collection for agent training. Furthermore, through our novel human-agent experimental design, we go beyond objective performance metrics to compare the subjective preferences that agents generate. For a detailed comparison of methods and results, see Appendix E. ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
174,
|
| 527 |
+
756,
|
| 528 |
+
825,
|
| 529 |
+
840
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "4 Zero-shot coordination with agents ",
|
| 536 |
+
"text_level": 1,
|
| 537 |
+
"bbox": [
|
| 538 |
+
174,
|
| 539 |
+
863,
|
| 540 |
+
498,
|
| 541 |
+
880
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "In this section, we evaluate our FCP agent, its ablations, and the baselines with held-out agents. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
169,
|
| 550 |
+
896,
|
| 551 |
+
795,
|
| 552 |
+
911
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "4.1 Evaluation method: collaborative evaluation with agent partners ",
|
| 559 |
+
"text_level": 1,
|
| 560 |
+
"bbox": [
|
| 561 |
+
174,
|
| 562 |
+
90,
|
| 563 |
+
663,
|
| 564 |
+
106
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 5
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "Our primary concern in this work is generalization to novel human partners (as investigated in Section $\\textcircled{5}$ . However, just as collecting human-human data for behavioral cloning is expensive, so too is evaluating agents with humans. Consequently, we instead use generalization to held-out agent partners as a cheap proxy of performance with humans. This is then used to guide our model selection process, allowing us to be more targeted with the agents we select for our human-agent evaluations. ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
174,
|
| 573 |
+
116,
|
| 574 |
+
825,
|
| 575 |
+
186
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 5
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "We evaluate with three held-out populations: ",
|
| 582 |
+
"bbox": [
|
| 583 |
+
176,
|
| 584 |
+
193,
|
| 585 |
+
467,
|
| 586 |
+
207
|
| 587 |
+
],
|
| 588 |
+
"page_idx": 5
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"text": "1. A BC model trained on human data, $H _ { \\mathrm { p r o x y } }$ , intended as a proxy of generalization to humans, as done by Carroll et al. $[ \\overbrace { | 1 2 | }$ . 2. A set of self-play agents varying in seed, architecture, and training time (specifically, heldout seeds of the $N = 3 2$ partners trained for the $\\mathrm { F C P } _ { + A }$ agent; see Section 2.4). These are intended to test generalization to a diverse yet still skillful population. 3. Randomly initialized agents intended to test generalization to low-skill partners. ",
|
| 593 |
+
"bbox": [
|
| 594 |
+
210,
|
| 595 |
+
217,
|
| 596 |
+
826,
|
| 597 |
+
310
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 5
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "For all results, we report the average number of deliveries made by both players within an episode, aggregated across the 5 different layouts from Figure $^ 4$ (with the per-layout results reported in Appendix $\\underline { { \\overline { { ( \\mathrm { C . 2 } ) } } } }$ . We estimate mean and standard deviation across 5 random seeds. For each seed, we evaluate the agent with all members of the held-out population for 10 episodes per agent-partner pair. ",
|
| 604 |
+
"bbox": [
|
| 605 |
+
174,
|
| 606 |
+
320,
|
| 607 |
+
826,
|
| 608 |
+
376
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 5
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "4.2 Results ",
|
| 615 |
+
"text_level": 1,
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
391,
|
| 619 |
+
264,
|
| 620 |
+
406
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "Finding 1: FCP significantly outperforms all baselines ",
|
| 627 |
+
"text_level": 1,
|
| 628 |
+
"bbox": [
|
| 629 |
+
176,
|
| 630 |
+
416,
|
| 631 |
+
549,
|
| 632 |
+
431
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "To begin, we compare our FCP agent and the baselines when partnered with the three held-out populations introduced above. As can be seen in Figure $\\boxed { 5 }$ FCP significantly outperforms all baselines when partnered with all three held-out populations. Notably, it performs better than BCP with $H _ { \\mathrm { p r o x y } }$ even though BCP trains with such a model and FCP does not. Similar to Carroll et al. $\\mathbb { \\lVert 1 2 \\rVert }$ , we find that BCP significantly outscores SP. ",
|
| 639 |
+
"bbox": [
|
| 640 |
+
174,
|
| 641 |
+
433,
|
| 642 |
+
825,
|
| 643 |
+
502
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 5
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "When paired with a randomly initialized partner which behaves suboptimally, we see an even greater difference between FCP and the baselines. Given that FCP is trained with non-held-out versions of such agents, it may not be surprising that it does so well with partners that behave poorly. However, what is surprising is how brittle the other training methods are. This suggests that they may not perform well with humans who are not highly skilled players, which we will see in Section 5. ",
|
| 650 |
+
"bbox": [
|
| 651 |
+
173,
|
| 652 |
+
508,
|
| 653 |
+
825,
|
| 654 |
+
579
|
| 655 |
+
],
|
| 656 |
+
"page_idx": 5
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"type": "image",
|
| 660 |
+
"img_path": "images/8083dcac415b6ef9624e1aa4f428a0a33c3e9d47ce8903df3798f3e80ef0427c.jpg",
|
| 661 |
+
"image_caption": [
|
| 662 |
+
"Figure 5: Agent-agent collaborative evaluation: Performance of each agent when partnered with each of the held-out populations (Section $4 . 1 )$ in episodes of length $T = 5 4 0$ . Importantly, FCP scores higher than all baselines with a variety of test partners. Error bars represent standard deviation over five random training seeds. Plots aggregate data across kitchen layouts; results calculated by individual layout can be found in Appendix C.2. "
|
| 663 |
+
],
|
| 664 |
+
"image_footnote": [],
|
| 665 |
+
"bbox": [
|
| 666 |
+
165,
|
| 667 |
+
593,
|
| 668 |
+
808,
|
| 669 |
+
705
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Finding 2: Training with past checkpoints is the most beneficial variation for performance Next, we investigate how the different training partner variations influence FCP’s performance. In particular, we separately ablate the past checkpoints $( T )$ and architecture $( A )$ variations, evaluating them with the same partners as in Figure 5. The results of this evaluation are presented in Table 1. Comparing the FCP and $\\mathrm { F C P } _ { - T }$ columns, we see that removing past checkpoints from training significantly reduces performance. Comparing the FCP and $\\operatorname { F C P } _ { + A }$ columns, we see that adding architectural variation to the training population offers no improvement over training with past ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
173,
|
| 678 |
+
804,
|
| 679 |
+
826,
|
| 680 |
+
911
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 5
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "table",
|
| 686 |
+
"img_path": "images/56b2734b6d3a9e5266ca9b0dd8d3ba9f6d27df29190a11ac23347bb9e9fb3c37.jpg",
|
| 687 |
+
"table_caption": [],
|
| 688 |
+
"table_footnote": [],
|
| 689 |
+
"table_body": "<table><tr><td>Partner</td><td>FCP</td><td>FCP-T</td><td>FCP+A</td><td>FCP-T,+A</td></tr><tr><td>Hproxy</td><td>10.6± 0.5</td><td>4.7± 0.4</td><td>9.9±0.6</td><td>7.0±0.8</td></tr><tr><td>Diverse SP</td><td>11.2 ± 0.1</td><td>6.9 ± 0.1</td><td>11.1 ± 0.4</td><td>8.6 ± 0.4</td></tr><tr><td>Random</td><td>8.6± 0.2</td><td>1.0 ± 0.1</td><td>8.4±0.4</td><td>3.2 ± 0.5</td></tr></table>",
|
| 690 |
+
"bbox": [
|
| 691 |
+
272,
|
| 692 |
+
88,
|
| 693 |
+
720,
|
| 694 |
+
147
|
| 695 |
+
],
|
| 696 |
+
"page_idx": 6
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"type": "text",
|
| 700 |
+
"text": "Table 1: Ablation results: Performance of each variation of FCP – training with past partner checkpoints $T$ for time) and adding partner variation in architecture $( A )$ . Scores are mean deliveries with standard deviation over 5 random seeds. Notably, we find that the inclusion of past checkpoints is essential for strong performance $( \\mathrm { F C P } > \\mathrm { F C P } _ { - T }$ ), and additionally including architectural variation does not improve performance $( \\mathrm { F C P } \\approx \\mathrm { F C P } _ { + A . }$ ). However, architectural variation is better than no variation, improving performance when past checkpoints are not available $( \\mathrm { F C P } _ { - T , + A } > \\mathrm { F C P } _ { - T , }$ ). ",
|
| 701 |
+
"bbox": [
|
| 702 |
+
173,
|
| 703 |
+
155,
|
| 704 |
+
825,
|
| 705 |
+
239
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 6
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "checkpoints. However, comparing the $\\mathrm { F C P } _ { - T }$ and $\\mathrm { F C P } _ { - T , + A }$ columns, we see that without training with past checkpoints, architectural variation in the population does improve performance. ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
262,
|
| 715 |
+
825,
|
| 716 |
+
291
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 6
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "5 Zero-shot coordination with humans ",
|
| 723 |
+
"text_level": 1,
|
| 724 |
+
"bbox": [
|
| 725 |
+
174,
|
| 726 |
+
310,
|
| 727 |
+
511,
|
| 728 |
+
327
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 6
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Ultimately, our goal is to develop agents capable of coordinating with novel human partners. In this section, we run an online study to evaluate our FCP agent and the baseline agents in collaborative play with human partners. ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
173,
|
| 737 |
+
342,
|
| 738 |
+
826,
|
| 739 |
+
383
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 6
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "image",
|
| 745 |
+
"img_path": "images/5856cbdd90eeef2a7a6093668472063862a759746c339aa0324e78efb5d67b22.jpg",
|
| 746 |
+
"image_caption": [
|
| 747 |
+
"Figure 6: Human-agent collaborative study: For our human-agent collaboration study, we recruited participants online to play games with FCP and baseline agents. Participants played a randomized sequence of episodes with different agent partners and kitchen layouts. After every two episodes, participants reported the direction and strength of their preference between their last two partners. "
|
| 748 |
+
],
|
| 749 |
+
"image_footnote": [],
|
| 750 |
+
"bbox": [
|
| 751 |
+
148,
|
| 752 |
+
397,
|
| 753 |
+
851,
|
| 754 |
+
506
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 6
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "5.1 Evaluation method: collaborative evaluation with human participants ",
|
| 761 |
+
"text_level": 1,
|
| 762 |
+
"bbox": [
|
| 763 |
+
173,
|
| 764 |
+
598,
|
| 765 |
+
697,
|
| 766 |
+
613
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 6
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "To test how effectively FCP’s performance generalizes to human partners, we recruited participants from Prolific $\\mathbb { 1 1 8 } , \\lvert 5 5 \\rvert$ for an online collaboration study $N = 1 1 4$ ; $3 7 . 7 \\%$ female, $5 9 . 6 \\%$ male, $1 . 8 \\%$ nonbinary; median age between 25–34 years). We used a within-participant design for the study: each participant played with a full cohort of agents (i.e. generated through every training method). This design allowed us to evaluate both objective performance as well as subjective preferences. ",
|
| 773 |
+
"bbox": [
|
| 774 |
+
174,
|
| 775 |
+
625,
|
| 776 |
+
826,
|
| 777 |
+
694
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 6
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "Participants first read game instructions and played a short tutorial episode guiding them through the dish preparation sequence (see Appendix $\\dot { \\mathrm { \\bf D } } . 1 . 1$ for instruction text and study screenshots). Participants then played 20 episodes with a randomized sequence of agent partners and kitchen layouts. Episodes lasted $T = 3 0 0$ steps (1 minute) each. After every two episodes, participants reported their preference over the agent partners from those episodes on a five-point Likert-type scale. After playing all 20 episodes, participants completed a debrief questionnaire collecting standard demographic information and open-ended feedback on the study. Our statistical analysis below primarily relies upon the repeated-measures analysis of variance (ANOVA) method. See Appendix D for additional details of our study design and analysis, including independent ethical review. ",
|
| 784 |
+
"bbox": [
|
| 785 |
+
174,
|
| 786 |
+
699,
|
| 787 |
+
825,
|
| 788 |
+
825
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 6
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "text",
|
| 794 |
+
"text": "5.2 Results ",
|
| 795 |
+
"text_level": 1,
|
| 796 |
+
"bbox": [
|
| 797 |
+
174,
|
| 798 |
+
842,
|
| 799 |
+
264,
|
| 800 |
+
856
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 6
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Finding 1: FCP coordinates best with humans, achieving the highest score across maps To begin, we compare the objective team performance supported by our FCP and baseline agents. The strong FCP performance observed in agent-agent play generalizes to human-agent collaboration: ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
171,
|
| 809 |
+
867,
|
| 810 |
+
826,
|
| 811 |
+
911
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 6
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "the FCP-human teams significantly outperform all other agent-human teams, achieving the highest average scores across maps, every $p < 0 . 0 0 1$ (Figure $\\mathrm { 7 a ) }$ , while performing as well as or better than the other teams on each individual map (see Appendix $\\mathbf { D } . 3 )$ . Echoing the results from our agent-agent ablation experiments (Table $\\perp )$ , the inclusion of past checkpoints in training proves critical to FCP’s strong performance, $p < 0 . 0 { \\overline { { 0 1 } } }$ (Figure $\\textcircled { 7 6 }$ . Similar to Carroll et al. $[ \\left[ 1 2 \\right] ]$ , we find that BCP outscores SP when collaborating with human players, $p < 0 . 0 0 1$ . ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
173,
|
| 820 |
+
90,
|
| 821 |
+
825,
|
| 822 |
+
175
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 7
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "Finding 2: Participants prefer FCP over all baselines ",
|
| 829 |
+
"text_level": 1,
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
189,
|
| 833 |
+
544,
|
| 834 |
+
204
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 7
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "FCP’s strong collaborative performance carries over to our participants’ subjective partner preferences. Participants expressed a significant preference for FCP partners over all other agents, including BCP, with every $p < 0 . 0 5$ (Figure $\\dot { \\bigtriangledown } \\dot { \\mathbf { c } } { \\big \\rVert }$ . Notably, while human-BCP and human-PP teams did not significantly differ in their completed deliveries, participants reported significantly preferring BCP over PP, $p = 0 . 0 0 3$ , highlighting the informativeness of our subjective analysis. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
173,
|
| 843 |
+
205,
|
| 844 |
+
826,
|
| 845 |
+
275
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 7
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "image",
|
| 851 |
+
"img_path": "images/14e048153d10325b3617f94b393393ed3ab6cf3e38198f8791acf0fc83b051df.jpg",
|
| 852 |
+
"image_caption": [
|
| 853 |
+
"Figure 7: Human-agent collaborative evaluation: Evaluation and preference metrics from humanagent play in episodes of length $T = 3 0 0$ . Error bars represents $9 5 \\%$ confidence intervals, calculated over episodes. Plots aggregate data across kitchen layouts; results calculated by individual layout can be found in Appendix D.3. "
|
| 854 |
+
],
|
| 855 |
+
"image_footnote": [],
|
| 856 |
+
"bbox": [
|
| 857 |
+
174,
|
| 858 |
+
290,
|
| 859 |
+
823,
|
| 860 |
+
444
|
| 861 |
+
],
|
| 862 |
+
"page_idx": 7
|
| 863 |
+
},
|
| 864 |
+
{
|
| 865 |
+
"type": "text",
|
| 866 |
+
"text": "5.3 Exploratory behavioral analysis ",
|
| 867 |
+
"text_level": 1,
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
531,
|
| 871 |
+
434,
|
| 872 |
+
546
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 7
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "To better understand how the human-agent scores and preferences may have arisen, here we analyze the resulting action trajectories of each human and agent player in our experiment. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
173,
|
| 881 |
+
556,
|
| 882 |
+
825,
|
| 883 |
+
585
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 7
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "image",
|
| 889 |
+
"img_path": "images/65959c0ab23a18c0f8de72bc451d199e7d9d9cc2698e7ca2ac4f320e26dac829.jpg",
|
| 890 |
+
"image_caption": [],
|
| 891 |
+
"image_footnote": [],
|
| 892 |
+
"bbox": [
|
| 893 |
+
225,
|
| 894 |
+
603,
|
| 895 |
+
774,
|
| 896 |
+
753
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 7
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "Figure 8: Behavioral analysis: (a) FCP is able to move most frequently $3 5 \\%$ of the time), corresponding to the best movement coordination with human partners. (b) FCP exhibits the most equal preferences over cooking pots (0.11 difference), aligning with human preferences. Values are calculated as the absolute difference in preferences between the two pots; 1 indicates that the player only uses one of the two available pots, while 0 indicates that the player uses both pots equally. ",
|
| 903 |
+
"bbox": [
|
| 904 |
+
173,
|
| 905 |
+
758,
|
| 906 |
+
826,
|
| 907 |
+
829
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "Finding 1: FCP exhibits the best movement coordination with humans ",
|
| 914 |
+
"text_level": 1,
|
| 915 |
+
"bbox": [
|
| 916 |
+
174,
|
| 917 |
+
839,
|
| 918 |
+
665,
|
| 919 |
+
854
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "First, we investigate how much each player moves in an episode (Figure $\\textcircled { 8 \\mathrm { a } }$ , where moving in a higher fraction of timesteps may suggest fewer collisions and thus better coordination with a partner. Notably, we observe two results: (1) humans rarely move, a behavior which is out-of-distribution for typical training methods (e.g. SP, PP) but is seen in the training distribution for BCP and FCP. ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
174,
|
| 928 |
+
856,
|
| 929 |
+
826,
|
| 930 |
+
911
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 7
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "(2) FCP moves the most on all layouts other than Forced, suggesting it is better at coordinating its movement strategy with its partner. This result was also reported by human participants, for example: “I noticed that some of my partners seemed to know they needed to move around me, while others seemed to get ‘stuck’ until I moved out of their way” (see Appendix D for more examples). ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
173,
|
| 939 |
+
92,
|
| 940 |
+
825,
|
| 941 |
+
147
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 8
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "Finding 2: FCP’s preferences over cooking pots aligns best with that of humans ",
|
| 948 |
+
"text_level": 1,
|
| 949 |
+
"bbox": [
|
| 950 |
+
173,
|
| 951 |
+
162,
|
| 952 |
+
725,
|
| 953 |
+
178
|
| 954 |
+
],
|
| 955 |
+
"page_idx": 8
|
| 956 |
+
},
|
| 957 |
+
{
|
| 958 |
+
"type": "text",
|
| 959 |
+
"text": "Next, we investigate whether there was a preference for a specific cooking pot in the layouts which included two cooking pots (Figure $\\textcircled { 8 6 }$ . To do this, we calculate the difference in the number of times each pot was used by each player, where a high value indicates a strong preference for one pot and a low value indicates more equal preference for the two pots. ",
|
| 960 |
+
"bbox": [
|
| 961 |
+
174,
|
| 962 |
+
180,
|
| 963 |
+
825,
|
| 964 |
+
236
|
| 965 |
+
],
|
| 966 |
+
"page_idx": 8
|
| 967 |
+
},
|
| 968 |
+
{
|
| 969 |
+
"type": "text",
|
| 970 |
+
"text": "As can be seen in the FCP column, our agent typically has the most aligned preferences with that of humans (0.11 for FCP to 0.14 for humans). Behaviorally speaking, this means that our agent prefers one cooking pot over the other $5 5 . 5 \\%$ of the time (i.e. a 0.11 point difference). In contrast, all other agents have a strong preference for a single pot. This is a non-adaptive strategy which generalizes poorly to typical human behavior of using both pots, leading to worse performance. ",
|
| 971 |
+
"bbox": [
|
| 972 |
+
174,
|
| 973 |
+
242,
|
| 974 |
+
825,
|
| 975 |
+
311
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 8
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "6 Discussion ",
|
| 982 |
+
"text_level": 1,
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
327,
|
| 986 |
+
294,
|
| 987 |
+
344
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 8
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Summary In this work, we investigated the challenging problem of zero-shot collaboration with humans without using human data in the training pipeline. To accomplish this, we introduced Fictitious Co-Play (FCP) – a surprisingly simple yet effective method based on creating a diverse set of training partners. We found that FCP agents scored significantly higher than all baselines when partnered with both novel agent and human partners. Furthermore, through a rigorous human-agent experimental design, we also found that humans reported a strong subjective preference to partnering with FCP agents over all baselines. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
173,
|
| 996 |
+
352,
|
| 997 |
+
825,
|
| 998 |
+
449
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 8
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "Limitations and future work Our method currently relies on the manual process of initially training and selecting a diverse set of partners. This is not only time consuming, but also prone to researcher biases that may negatively influence the behavior of the created agents. Additionally, while we found FCP with a partner population size of $N = 3 2$ sufficient here, for more complex games, FCP may require an unrealistically large partner population size to represent sufficiently diverse strategies. To address these concerns, methods for automatically generating partner diversity for common-payoff games may be important. Possibilities include adaptive population matchmaking as been used in competitive zero-sum games $\\mathbb { \\lVert 6 9 \\rVert }$ , as well as auxiliary objectives that explicitly encourage behavioral diversity [19, 45, 46]. ",
|
| 1005 |
+
"bbox": [
|
| 1006 |
+
174,
|
| 1007 |
+
455,
|
| 1008 |
+
825,
|
| 1009 |
+
580
|
| 1010 |
+
],
|
| 1011 |
+
"page_idx": 8
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"type": "text",
|
| 1015 |
+
"text": "Our method requires a known and fixed reward function. We also focus on one domain in order to compare with prior work which has argued that human-in-the-loop training is necessary. Consequently, the resulting agents are only designed to adaptively collaborate on a single task, and not to infer human preferences in general $\\textcircled { 1 1 } \\textcircled { 3 3 } \\textcircled { 5 9 }$ . Moreover, if a task’s reward function is poorly aligned with how humans approach the task, our method may well produce subpar partners, as would any method without access to human data. Thus, additional domains and tasks should be studied to better understand how our method generalizes. Targeted experiments to test specific forms of generalization may be especially helpful in this regard $\\overline { { [ 3 8 ] } }$ , as could approaches that procedurally generate environment layouts requiring diverse solutions $\\pmb { \\mathbb { Z } } 2 \\mathbf { l }$ ",
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
174,
|
| 1018 |
+
587,
|
| 1019 |
+
825,
|
| 1020 |
+
712
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 8
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "Finally, it may be possible to produce even stronger agent assistants by combining the strengths of FCP (i.e. diversity) and BCP (i.e. human-like play). Indeed, Knott et al. $\\textcircled { \\lvert 3 8 \\rvert }$ recently demonstrated that modifying BCP to train with multiple BC partners produces more robust collaboration with held-out agents, a finding that would be interesting to test with human partners. ",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
718,
|
| 1030 |
+
825,
|
| 1031 |
+
773
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 8
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Societal impact A challenge for this line of work is ensuring agent behavior is aligned with human values (i.e. the AI value alignment problem [23, 59]). Our method has no guarantees that the resulting policy aligns with the preferences, intentions, or welfare of its potential partners. It likewise does not exclude the possibility that the target being optimized for is harmful (e.g. if the agent’s partner expresses preferences or intentions to harm others). This could therefore produce negative societal effects either if training leads to poor alignment or if agents are optimized for harmful metrics. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
779,
|
| 1041 |
+
825,
|
| 1042 |
+
863
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 8
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "One potential strategy for mitigating these risks is the use of human preference data [15]. Such data could be used to fine-tune and filter trained agents before deployment, encouraging better alignment with human values. A key question in this line of research is how human preference data should be aggregated—or selected, in the case of expert preferences—when our aim is to create socially aligned agents (i.e. agents that are sufficiently aligned for everyone). Relatedly, targeted research on human beliefs and perceptions of AI $\\lVert \\overline { { 4 8 } } \\rVert$ , and how they steer human-agent interaction, would help inform agent design for positive societal impact. For instance, developers could incorporate specific priors into agents to reinforce tendencies for fair outcomes $\\pm \\mathbb { Z } 0 . \\pm \\mathbb { B } 2 \\mathbb { I }$ . ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
176,
|
| 1051 |
+
869,
|
| 1052 |
+
823,
|
| 1053 |
+
911
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 8
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
174,
|
| 1062 |
+
92,
|
| 1063 |
+
825,
|
| 1064 |
+
160
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 9
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "Conclusion We proposed a method which is both effective at collaborating with humans and simple to implement. We also presented a rigorous and general methodology for evaluating with humans and eliciting their preferences. Together, these establish a strong foundation for future research on the important challenge of human-agent collaboration for benefiting society. ",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
174,
|
| 1073 |
+
166,
|
| 1074 |
+
825,
|
| 1075 |
+
223
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 9
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "Acknowledgements ",
|
| 1082 |
+
"text_level": 1,
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
176,
|
| 1085 |
+
242,
|
| 1086 |
+
338,
|
| 1087 |
+
258
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 9
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "The authors would like to thank Mary Cassin for creating the game sprite art; Rohin Shah, Thore Graepel, and Iason Gabriel for feedback on the draft; Lucy Campbell-Gillingham, Tina Zhu, and Saffron Huang for support in evaluating agents with humans; and Max Kleiman-Weiner, Natasha Jaques, Marc Lanctot, Mike Bowling, and Dan Roberts for useful discussions. ",
|
| 1094 |
+
"bbox": [
|
| 1095 |
+
174,
|
| 1096 |
+
272,
|
| 1097 |
+
825,
|
| 1098 |
+
328
|
| 1099 |
+
],
|
| 1100 |
+
"page_idx": 9
|
| 1101 |
+
},
|
| 1102 |
+
{
|
| 1103 |
+
"type": "text",
|
| 1104 |
+
"text": "Funding disclosure ",
|
| 1105 |
+
"text_level": 1,
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
174,
|
| 1108 |
+
345,
|
| 1109 |
+
334,
|
| 1110 |
+
363
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 9
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "This work was funded solely by DeepMind. The authors declare no competing interests. ",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
176,
|
| 1119 |
+
376,
|
| 1120 |
+
750,
|
| 1121 |
+
391
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 9
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "References ",
|
| 1128 |
+
"text_level": 1,
|
| 1129 |
+
"bbox": [
|
| 1130 |
+
174,
|
| 1131 |
+
410,
|
| 1132 |
+
266,
|
| 1133 |
+
426
|
| 1134 |
+
],
|
| 1135 |
+
"page_idx": 9
|
| 1136 |
+
},
|
| 1137 |
+
{
|
| 1138 |
+
"type": "text",
|
| 1139 |
+
"text": "[1] J. Abramson, A. Ahuja, I. Barr, A. Brussee, F. Carnevale, M. Cassin, R. Chhaparia, S. Clark, B. Damoc, A. Dudzik, et al. Imitating interactive intelligence. arXiv preprint arXiv:2012.05672, 2020. \n[2] S. V. Albrecht and S. Ramamoorthy. A game-theoretic model and best-response learning method for ad hoc coordination in multiagent systems. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2013. \n[3] B. Baker. Emergent reciprocity and team formation from randomized uncertain social preferences. In Neural Information Processing Systems (NeurIPS), 2020. \n[4] N. Bard, J. N. Foerster, S. Chandar, N. Burch, M. Lanctot, H. F. Song, E. Parisotto, V. Dumoulin, S. Moitra, E. Hughes, et al. The Hanabi challenge: A new frontier for AI research. Artificial Intelligence, 280:103216, 2020. \n[5] S. Barrett, A. Rosenfeld, S. Kraus, and P. Stone. Making friends on the fly: Cooperating with new teammates. Artificial Intelligence, 242:132–171, 2017. \n[6] A. Bauer, D. Wollherr, and M. Buss. Human–robot collaboration: A survey. International Journal of Humanoid Robotics, 5(01):47–66, 2008. \n[7] G. W. Brown. Iterative solution of games by fictitious play. Activity analysis of production and allocation, 13(1):374–376, 1951. \n[8] N. Brown and T. Sandholm. Superhuman AI for heads-up no-limit poker: Libratus beats top professionals. Science, 359(6374):418–424, 2018. \n[9] N. Brown and T. Sandholm. Superhuman AI for multiplayer poker. Science, 365(6456):885–890, 2019. \n[10] K. Bullard, F. Meier, D. Kiela, J. Pineau, and J. Foerster. Exploring zero-shot emergent communication in embodied multi-agent populations. arXiv preprint arXiv:2010.15896, 2020. \n[11] K. Bullard, D. Kiela, J. Pineau, and J. Foerster. Quasi-equivalence discovery for zero-shot emergent communication. arXiv preprint arXiv:2103.08067, 2021. \n[12] M. Carroll, R. Shah, M. K. Ho, T. Griffiths, S. Seshia, P. Abbeel, and A. Dragan. On the utility of learning about humans for human-AI coordination. In Neural Information Processing Systems (NeurIPS), 2019. \n[13] R. Charakorn, P. Manoonpong, and N. Dilokthanakul. Investigating partner diversification methods in cooperative multi-agent deep reinforcement learning. In International Conference on Neural Information Processing, 2020. \n[14] R. Choudhury, G. Swamy, D. Hadfield-Menell, and A. D. Dragan. On the utility of model learning in HRI. In ACM/IEEE International Conference on Human-Robot Interaction (HRI), 2019. \n[15] P. F. Christiano, J. Leike, T. B. Brown, M. Martic, S. Legg, and D. Amodei. Deep reinforcement learning from human preferences. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 4302–4310, 2017. \n[16] A. Dafoe, E. Hughes, Y. Bachrach, T. Collins, K. R. McKee, J. Z. Leibo, K. Larson, and T. Graepel. Open problems in cooperative AI. arXiv preprint arXiv:2012.08630, 2020. \n[17] L. Espeholt, H. Soyer, R. Munos, K. Simonyan, V. Mnih, T. Ward, Y. Doron, V. Firoiu, T. Harley, I. Dunning, S. Legg, and K. Kavukcuoglu. IMPALA: Scalable distributed deep-RL with importance weighted actor-learner architectures. In International Conference on Machine Learning (ICML), 2018. \n[18] P. Eyal, R. David, G. Andrew, E. Zak, and D. Ekaterina. Data quality of platforms and panels for online behavioral research. Behavior Research Methods, pages 1–20, 2021. \n[19] B. Eysenbach, A. Gupta, J. Ibarz, and S. Levine. Diversity is all you need: Learning skills without a reward function. In International Conference on Learning Representations (ICLR), 2019. \n[20] E. Fehr and K. M. Schmidt. A theory of fairness, competition, and cooperation. The Quarterly Journal of Economics, 114(3):817–868, 1999. \n[21] J. Foerster, F. Song, E. Hughes, N. Burch, I. Dunning, S. Whiteson, M. Botvinick, and M. Bowling. Bayesian action decoder for deep multi-agent reinforcement learning. In International Conference on Machine Learning (ICML), 2019. \n[22] M. Fontaine, Y.-C. Hsu, Y. Zhang, B. Tjanaka, and S. Nikolaidis. On the importance of environments in human-robot coordination. In Robotics: Science and Systems (RSS), 2021. \n[23] I. Gabriel. Artificial intelligence, values, and alignment. Minds and Machines, 30(3):411–437, 2020. \n[24] M. Garnelo, W. M. Czarnecki, S. Liu, D. Tirumala, J. Oh, G. Gidel, H. van Hasselt, and D. Balduzzi. Pick your battles: Interaction graphs as population-level objectives for strategic diversity. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021. \n[25] Ghost Town Games. Overcooked, 2016. \n[26] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016. \n[27] J. Heinrich and D. Silver. Deep reinforcement learning from self-play in imperfect-information games. In NIPS Deep Reinforcement Learning (DRL) Workshop, 2016. \n[28] J. Heinrich, M. Lanctot, and D. Silver. Fictitious self-play in extensive-form games. In International Conference on Machine Learning (ICML), 2015. \n[29] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural Computation, 9(8): 1735–1780, 1997. \n[30] M. Hoffman, B. Shahriari, J. Aslanides, G. Barth-Maron, F. Behbahani, T. Norman, A. Abdolmaleki, A. Cassirer, F. Yang, K. Baumli, S. Henderson, A. Novikov, S. G. Colmenarejo, S. Cabi, C. Gulcehre, T. L. Paine, A. Cowie, Z. Wang, B. Piot, and N. de Freitas. Acme: A research framework for distributed reinforcement learning. arXiv preprint arXiv:2006.00979, 2020. \n[31] H. Hu, A. Lerer, A. Peysakhovich, and J. Foerster. “Other-Play” for zero-shot coordination. In International Conference on Machine Learning (ICML), 2020. \n[32] E. Hughes, J. Z. Leibo, M. G. Phillips, K. Tuyls, E. A. Duéñez-Guzmán, A. G. Castañeda, I. Dunning, T. Zhu, K. R. McKee, R. Koster, H. Roff, and T. Graepel. Inequity aversion improves cooperation in intertemporal social dilemmas. In Neural Information Processing Systems (NeurIPS), 2018. \n[33] B. Ibarz, J. Leike, T. Pohlen, G. Irving, S. Legg, and D. Amodei. Reward learning from human preferences and demonstrations in Atari. In Neural Information Processing Systems (NeurIPS), 2018. \n[34] M. Jaderberg, W. M. Czarnecki, I. Dunning, L. Marris, G. Lever, A. G. Castaneda, C. Beattie, N. C. Rabinowitz, A. S. Morcos, A. Ruderman, et al. Human-level performance in 3D multiplayer games with population-based reinforcement learning. Science, 364(6443):859–865, 2019. \n[35] S. Javdani, S. S. Srinivasa, and J. A. Bagnell. Shared autonomy via hindsight optimization. Robotics Science and Systems, 2015. \n[36] M. Kleiman-Weiner, M. K. Ho, J. L. Austerweil, M. L. Littman, and J. B. Tenenbaum. Coordinate to cooperate or compete: abstract goals and joint intentions in social interaction. In Conference of the Cognitive Science Society (CogSci), 2016. \n[37] G. Klien, D. D. Woods, J. M. Bradshaw, R. R. Hoffman, and P. J. Feltovich. Ten challenges for making automation a “team player” in joint human-agent activity. IEEE Intelligent Systems, 19 (6):91–95, 2004. \n[38] P. Knott, M. Carroll, S. Devlin, K. Ciosek, K. Hofmann, A. Dragan, and R. Shah. Evaluating the robustness of collaborative agents. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021. \n[39] M. Lanctot, V. Zambaldi, A. Gruslys, A. Lazaridou, K. Tuyls, J. Pérolat, D. Silver, and T. Graepel. A unified game-theoretic approach to multiagent reinforcement learning. In Neural Information Processing Systems (NIPS), 2017. \n[40] A. Lerer and A. Peysakhovich. Learning existing social conventions via observationally augmented self-play. In AAAI/ACM Conference on Artificial Intelligence, Ethics, and Society (AIES), 2019. \n[41] E. Lockhart, N. Burch, N. Bard, S. Borgeaud, T. Eccles, L. Smaira, and R. Smith. Human-agent cooperation in bridge bidding. arXiv preprint arXiv:2011.14124, 2020. \n[42] R. Lowe, Y. Wu, A. Tamar, J. Harb, P. Abbeel, and I. Mordatch. Multi-agent actor-critic for mixed cooperative-competitive environments. In Neural Information Processing Systems (NIPS), 2017. \n[43] R. Lowe, A. Gupta, J. Foerster, D. Kiela, and J. Pineau. Learning to learn to communicate. In ICML Adaptive & Multitask Learning Workshop, 2019. \n[44] R. Lowe, A. Gupta, J. Foerster, D. Kiela, and J. Pineau. On the interaction between supervision and self-play in emergent communication. In International Conference on Learning Representations (ICLR), 2020. \n[45] A. Lupu, H. Hu, and J. Foerster. Trajectory diversity for zero-shot coordination. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021. \n[46] A. Mahajan, T. Rashid, M. Samvelyan, and S. Whiteson. Maven: Multi-agent variational exploration. In Neural Information Processing Systems (NeurIPS), 2019. \n[47] K. R. McKee, I. Gemp, B. McWilliams, E. A. Duèñez-Guzmán, E. Hughes, and J. Z. Leibo. Social diversity and social preferences in mixed-motive reinforcement learning. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2020. \n[48] K. R. McKee, X. Bai, and S. Fiske. Understanding human impressions of artificial intelligence. PsyArXiv, 2021. \n[49] K. R. McKee, E. Hughes, T. O. Zhu, M. J. Chadwick, R. Koster, A. G. Castaneda, C. Beattie, T. Graepel, M. Botvinick, and J. Z. Leibo. Deep reinforcement learning models the emergent dynamics of human cooperation. arXiv preprint arXiv:2103.04982, 2021. \n[50] K. R. McKee, J. Z. Leibo, C. Beattie, and R. Everett. Quantifying environment and population diversity in multi-agent reinforcement learning. arXiv preprint arXiv:2102.08370, 2021. \n[51] F. Melo and A. Sardinha. Ad hoc teamwork by learning teammates’ task. International Conference on Autonomous Agents and Multi-Agent Systems (AAMAS), 2015. \n[52] B. Mutlu, A. Terrell, and C.-M. Huang. Coordination mechanisms in human-robot collaboration. In HRI Collaborative Manipulation Workshop, 2013. \n[53] S. Nikolaidis and J. Shah. Human-robot cross-training: Computational formulation, modeling and evaluation of a human team training strategy. In ACM/IEEE International Conference on Human-Robot Interaction (HRI), 2013. \n[54] OpenAI, I. Akkaya, M. Andrychowicz, M. Chociej, M. Litwin, B. McGrew, A. Petron, A. Paino, M. Plappert, G. Powell, R. Ribas, J. Schneider, N. Tezak, J. Tworek, P. Welinder, L. Weng, Q. Yuan, W. Zaremba, and L. Zhang. Solving Rubik’s Cube with a robot hand. arXiv preprint arXiv:1910.07113, 2019. \n[55] E. Peer, L. Brandimarte, S. Samat, and A. Acquisti. Beyond the Turk: Alternative platforms for crowdsourcing behavioral research. Journal of Experimental Social Psychology, 70:153–163, 2017. \n[56] X. B. Peng, M. Andrychowicz, W. Zaremba, and P. Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. In IEEE International Conference on Robotics and Automation (ICRA), 2018. \n[57] P. M. Pilarski, A. Butcher, M. Johanson, M. M. Botvinick, A. Bolt, and A. S. Parker. Learned human-agent decision-making, communication and joint action in a virtual reality environment. In Multidisciplinary Conference on Reinforcement Learning and Decision Making (RLDM), 2019. \n[58] D. A. Pomerleau. Efficient training of artificial neural networks for autonomous navigation. Neural Computation, 3(1):88–97, 1991. \n[59] S. Russell. Human Compatible: Artificial Intelligence and the Problem of Control. Penguin, 2019. \n[60] D. Sadigh, N. Landolfi, S. S. Sastry, S. A. Seshia, and A. D. Dragan. Planning for cars that coordinate with people: leveraging effects on human actions for planning and active information gathering over human internal state. Autonomous Robots, 42(7):1405–1426, 2018. \n[61] N. Schurr, J. Marecki, M. Tambe, and P. Scerri. Towards flexible coordination of human-agent teams. Multiagent and Grid Systems, 1(1):3–16, 2005. \n[62] A. Shih, A. Sawhney, J. Kondic, S. Ermon, and D. Sadigh. On the critical role of conventions in adaptive human-AI collaboration. In International Conference on Learning Representations (ICLR), 2021. \n[63] D. Silver, J. Schrittwieser, K. Simonyan, I. Antonoglou, A. Huang, A. Guez, T. Hubert, L. Baker, M. Lai, A. Bolton, Y. Chen, T. Lillicrap, F. Hui, L. Sifre, G. van den Driessche, T. Graepel, and D. Hassabis. Mastering the game of go without human knowledge. Nature, 550(7676):354–359, 2017. \n[64] D. Silver, T. Hubert, J. Schrittwieser, I. Antonoglou, M. Lai, A. Guez, M. Lanctot, L. Sifre, D. Kumaran, T. Graepel, T. Lillicrap, K. Simonyan, and D. Hassabis. A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science, 362(6419): 1140–1144, 2018. \n[65] H. F. Song, A. Abdolmaleki, J. T. Springenberg, A. Clark, H. Soyer, J. W. Rae, S. Noury, A. Ahuja, S. Liu, D. Tirumala, N. Heess, D. Belov, M. Riedmiller, and M. M. Botvinick. VMPO: On-policy maximum a posteriori policy optimization for discrete and continuous control. In International Conference on Learning Representations (ICLR), 2020. \n[66] P. Stone, G. Kaminka, S. Kraus, and J. Rosenschein. Ad hoc autonomous agent teams: Collaboration without pre-coordination. In AAAI Conference on Artificial Intelligence, 2010. \n[67] J. Tobin, R. Fong, A. Ray, J. Schneider, W. Zaremba, and P. Abbeel. Domain randomization for transferring deep neural networks from simulation to the real world. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2017. \n[68] P. Tylkin, G. Radanovic, and D. C. Parkes. Learning robust helpful behaviors in two-player cooperative Atari environments. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2021. \n[69] O. Vinyals, I. Babuschkin, W. M. Czarnecki, M. Mathieu, A. Dudzik, J. Chung, D. H. Choi, R. Powell, T. Ewalds, P. Georgiev, J. Oh, D. Horgan, M. Kroiss, I. Danihelka, A. Huang, L. Sifre, T. Cai, J. P. Agapiou, M. Jaderberg, A. S. Vezhnevets, R. Leblond, T. Pohlen, V. Dalibard, D. Budden, Y. Sulsky, J. Molloy, T. L. Paine, C. Gulcehre, Z. Wang, T. Pfaff, Y. Wu, R. Ring, D. Yogatama, D. Wünsch, K. McKinney, O. Smith, T. Schaul, T. Lillicrap, K. Kavukcuoglu, D. Hassabis, C. Apps, and D. Silver. Grandmaster level in StarCraft II using multi-agent reinforcement learning. Nature, 575(7782):350–354, 2019. \n[70] R. E. Wang, S. A. Wu, J. A. Evans, J. B. Tenenbaum, D. C. Parkes, and M. Kleiman-Weiner. Too many cooks: Coordinating multi-agent collaboration through inverse planning. In International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2020. \n[71] F. Wu, S. Zilberstein, and X. Chen. Online planning for ad hoc autonomous agent teams. In International Joint Conference on Artificial Intelligence (IJCAI), 2011. \n[72] S. Zheng, A. Trott, S. Srinivasa, N. Naik, M. Gruesbeck, D. C. Parkes, and R. Socher. The AI economist: Improving equality and productivity with AI-driven tax policies. arXiv preprint arXiv:2004.13332, 2020. ",
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
178,
|
| 1142 |
+
426,
|
| 1143 |
+
826,
|
| 1144 |
+
912
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 9
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
171,
|
| 1153 |
+
50,
|
| 1154 |
+
828,
|
| 1155 |
+
917
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 10
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "text",
|
| 1161 |
+
"text": "",
|
| 1162 |
+
"bbox": [
|
| 1163 |
+
171,
|
| 1164 |
+
74,
|
| 1165 |
+
828,
|
| 1166 |
+
915
|
| 1167 |
+
],
|
| 1168 |
+
"page_idx": 11
|
| 1169 |
+
},
|
| 1170 |
+
{
|
| 1171 |
+
"type": "text",
|
| 1172 |
+
"text": "",
|
| 1173 |
+
"bbox": [
|
| 1174 |
+
171,
|
| 1175 |
+
56,
|
| 1176 |
+
828,
|
| 1177 |
+
912
|
| 1178 |
+
],
|
| 1179 |
+
"page_idx": 12
|
| 1180 |
+
},
|
| 1181 |
+
{
|
| 1182 |
+
"type": "text",
|
| 1183 |
+
"text": "",
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
171,
|
| 1186 |
+
90,
|
| 1187 |
+
826,
|
| 1188 |
+
213
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 13
|
| 1191 |
+
}
|
| 1192 |
+
]
|
parse/train/1Kof-nkmQB8/1Kof-nkmQB8_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/1Kof-nkmQB8/1Kof-nkmQB8_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ARFshOO1Iu/ARFshOO1Iu.md
ADDED
|
@@ -0,0 +1,355 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ADAPTIVE SELF-TRAINING FOR NEURAL SEQUENCE LABELING WITH FEW LABELS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Neural sequence labeling is an important technique employed for many Natural Language Processing (NLP) tasks, such as Named Entity Recognition (NER), slot tagging for dialog systems and semantic parsing. Large-scale pre-trained language models obtain very good performance on these tasks when fine-tuned on large amounts of task-specific labeled data. However, such large-scale labeled datasets are difficult to obtain for several tasks and domains due to the high cost of human annotation as well as privacy and data access constraints for sensitive user applications. This is exacerbated for sequence labeling tasks requiring such annotations at token-level. In this work, we develop techniques to address the label scarcity challenge for neural sequence labeling models. Specifically, we develop self-training and meta-learning techniques for training neural sequence taggers with few labels. While self-training serves as an effective mechanism to learn from large amounts of unlabeled data – meta-learning helps in adaptive sample re-weighting to mitigate error propagation from noisy pseudo-labels. Extensive experiments on six benchmark datasets including two for massive multilingual NER and four slot tagging datasets for task-oriented dialog systems demonstrate the effectiveness of our method. With only 10 labeled examples for each class for each task, our method obtains $1 0 \%$ improvement over state-of-the-art systems demonstrating its effectiveness for the low-resource setting.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Motivation. Deep neural networks typically require large amounts of training data to achieve stateof-the-art performance. Recent advances with pre-trained language models like BERT (Devlin et al., 2019), GPT-2 (Radford et al., 2019) and RoBERTa (Liu et al., 2019) have reduced this annotation bottleneck. In this paradigm, large neural network models are trained on massive amounts of unlabeled data in a self-supervised manner. However, the success of these large-scale models still relies on fine-tuning them on large amounts of labeled data for downstream tasks. For instance, our experiments show $\bar { 2 } 7 \%$ relative improvement on an average when fine-tuning BERT with the full training set (2.5K-705K labels) vs. fine-tuning with only 10 labels per class. This poses several challenges for many real-world tasks. Not only is acquiring large amounts of labeled data for every task expensive and time consuming, but also not feasible in many cases due to data access and privacy constraints. This issue is exacerbated for sequence labeling tasks that require annotations at token- and slot-level as opposed to instance-level classification tasks. For example, an NER task can have slots like B-PER, I-PER, O-PER marking the beginning, intermediate and out-of-span markers for person names, and similar slots for the names of location and organization. Similarly, language understanding models for dialog systems rely on effective identification of what the user intends to do (intents) and the corresponding values as arguments (slots) for use by downstream applications. Therefore, fully supervised neural sequence taggers are expensive to train for such tasks, given the requirement of thousands of annotations for hundreds of slots for the many different intents.
|
| 12 |
+
|
| 13 |
+
Semi-supervised learning (SSL) (Chapelle et al., 2010) is one of the promising paradigms to address labeled data scarcity by making effective use of large amounts of unlabeled data in addition to task-specific labeled data. Self-training (ST, (III, 1965)) as one of the earliest SSL approaches has recently shown state-of-the-art performance for tasks like image classification (Li et al., 2019; Xie et al., 2020) performing at par with supervised systems while using very few training labels. In contrast to such instance-level classification tasks, sequence labeling tasks have dependencies between the slots demanding different design choices for slot-level loss optimization for the limited labeled data setting. For instance, prior work (Ruder & Plank, 2018) using classic self-training techniques for sequence labeling did not find much success in the low-data regime with $1 0 \%$ labeled data for the target domain. Although there has been some success with careful task-specific data selection (Petrov & McDonald, 2012) and more recently for distant supervision (Liang et al., 2020) using external resources like knowledge bases (e.g., Wikipedia). In contrast to these prior work, we develop techniques for self-training with limited labels and without any task-specific assumption or external knowledge.
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: MetaST framework.
|
| 17 |
+
|
| 18 |
+
For self-training, a base model (teacher) is trained on some amount of labeled data and used to pseudo-annotate (task-specific) unlabeled data. The original labeled data is augmented with the pseudo-labeled data and used to train a student model. The student-teacher training is repeated until convergence. Traditionally in self-training frameworks, the teacher model pseudo-annotates unlabeled data without any sample selection. This may result in gradual drifts from self-training on noisy pseudo-labeled instances (Zhang et al., 2017). In order to deal with noisy labels and training set biases, Ren et al. (2018) propose a meta-learning technique to automatically re-weight noisy samples by their loss changes on a held-out clean labeled validation set. We adopt a similar principle in our work and leverage meta-learning to re-weight noisy pseudo-labeled examples from the teacher. While prior techniques for learning to re-weight examples have been developed for instance-level classification tasks, we extend them to operate at token-level for discrete sequence labeling tasks. To this end, we address some key challenges on how to construct an informative held-out validation set for token-level re-weighting. Prior works (Ren et al., 2018; Shu et al., 2019) for instance classification construct this validation set by random sampling. However, sequence labeling tasks involve many slots (e.g. WikiAnn has 123 slots over 41 languages) with variable difficulty and distribution in the data. In case of random sampling, the model oversamples from the most populous category and slots. This is particularly detrimental for low-resource languages in the multilingual setting. To this end, we develop an adaptive mechanism to create the validation set on the fly considering the diversity and uncertainty of the model for different slot types. Furthermore, we leverage this validation set for token-level loss estimation and re-weighting pseudo-labeled sequences from the teacher in the meta-learning setup. While prior works (Li et al., 2019; Sun et al., 2019; Bansal et al., 2020) on meta-learning for image and text classification leverage multi-task learning to improve a target classification task based on several similar tasks, in this work we focus on a single sequence labeling task – making our setup more challenging altogether.
|
| 19 |
+
|
| 20 |
+
Our task and framework overview. We focus on sequence labeling tasks with only a few annotated samples (e.g., $K = \{ 5 , 1 0 , 2 0 , 1 0 0 \} )$ per slot type for training and large amounts of task-specific unlabeled data. Figure 1 shows an overview of our framework with the following components: (i) Self-training: Our self-training framework leverages a pre-trained language model as a teacher and co-trains a student model with iterative knowledge exchange (ii) Adaptive labeled data acquisition for validation: Our few-shot learning setup assumes a small number of labeled training samples per slot type. The labeled data from multiple slot types are not equally informative for the student model to learn from. While prior works in meta-learning randomly sample some labeled examples for held-out validation set, we develop an adaptive mechanism to create this set on the fly. To this end, we leverage loss decay as a proxy for model uncertainty to select informative labeled samples for the student model to learn from in conjunction with the re-weighting mechanism in the next step. (iii) Meta-learning for sample re-weighting: Since pseudo-labeled samples from the teacher can be noisy, we employ meta-learning to re-weight them to improve the student model performance on the held-out validation set obtained from the previous step. In contrast to prior work (Ren et al., 2018)
|
| 21 |
+
|
| 22 |
+
on sample re-weighting operating at instance-level, we incorporate the re-weighting mechanism at token-level for sequence labeling tasks. Here the token-level weights are determined by the student model loss on the above validation set. Finally, we learn all of the above steps jointly with end-toend learning in the self-training framework. We refer to our adaptive self-training framework with meta-learning based sample re-weighting mechanism as MetaST.
|
| 23 |
+
|
| 24 |
+
We perform extensive experiments on six benchmark datasets for several tasks including multilingual Named Entity Recognition and slot tagging for user utterances from task-oriented dialog systems to demonstrate the generalizability of our approach across diverse tasks and languages. We adopt BERT and multilingual BERT as encoder and show that its performance can be significantly improved by nearly $1 0 \%$ for low-resource settings with few training labels (e.g., 10 labeled examples per slot type) and large amounts of unlabeled data. In summary, our work makes the following contributions. (i) Develops a self-training framework for neural sequence tagging with few labeled training examples. (ii) Leverages an acquisition strategy to adaptively select a validation set from the labeled set for meta-learning of the student model. (iii) Develops a meta-learning framework for re-weighting pseudo-labeled samples at token-level to reduce drifts from noisy teacher predictions. (iv) Integrates the aforementioned components into an end-to-end learning framework and demonstrates its effectiveness for neural sequence labeling across six benchmark datasets with multiple slots, shots, domains and languages.
|
| 25 |
+
|
| 26 |
+
# 2 BACKGROUND
|
| 27 |
+
|
| 28 |
+
Sequence labeling and slot tagging. This is the task identifying the entity span of several slot types (e.g., names of person, organization, location, date, etc.) in a text sequence. Formally, given a sentence with $N$ tokens $\mathbf { \bar { \cal X } } ~ = ~ \{ x _ { 1 } , . . . , x _ { N } \}$ , an entity or slot value is a span of tokens $s = [ x _ { i } , . . . , x _ { j } ] ( 0 \leq i \leq j \leq N )$ associated with a type. This task assumes a pre-defined tagging policy like BIO (Tjong et al., 1999), where B marks the beginning of the slot, I marks an intermediate token in the span, and $\bigcirc$ marks out-of-span tokens. These span markers are used to extract multi-token values for each of the slot types with phrase-level evaluation for the performance.
|
| 29 |
+
|
| 30 |
+
Self-training. Consider $f ( \cdot ; \theta _ { t e a } )$ and $f ( \cdot ; \theta _ { s t u } )$ to denote the teacher and student models respectively in the self-training framework. The role of the teacher model (e.g., a pre-trained language model) is to assign pseudo-labels to unlabeled data that is used to train a student model. The teacher and student model can exchange knowledge and the training schedules are repeated till convergence. The success of self-training with deep neural networks in recent works (He et al., 2019; Xie et al., 2020) has been attributed to a number of factors including stochastic regularization with dropouts and data regularization with unlabeled data. Formally, given $m$ -th unlabeled sentence with $N$ tokens $X _ { m } ^ { u } \doteq \{ x _ { 1 , m } ^ { u } , . . . , x _ { N , m } ^ { u } \}$ and $C$ pre-defined labels, consider the pseudo-labels $\hat { Y } _ { m } ^ { ( t ) } = [ \hat { y } _ { m , 1 } ^ { ( t ) } , . . . , \hat { y } _ { m , N } ^ { ( t ) } ]$ generated by the teacher model at the $t$ -th iteration where,
|
| 31 |
+
|
| 32 |
+
$$
|
| 33 |
+
\hat { y } _ { m , n } ^ { ( t ) } = \underset { c \in C } { \arg \operatorname* { m a x } } f _ { n , c } ( x _ { m , n } ^ { u } ; \theta _ { t e a } ^ { ( t ) } ) .
|
| 34 |
+
$$
|
| 35 |
+
|
| 36 |
+
The pseudo-labeled data set, denoted as $( X ^ { u } , \hat { Y } ^ { ( t ) } ) = \{ ( X _ { m } ^ { u } , \hat { Y } _ { m } ^ { ( t ) } ) \} _ { m } ^ { M }$ , is used to train the student model and learn its parameters as:
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\hat { \theta } _ { s t u } ^ { ( t ) } = \underset { \theta } { \arg \operatorname* { m i n } } \frac { 1 } { M } \sum _ { m = 1 } ^ { M } l ( \hat { Y } _ { m } ^ { ( t ) } , f ( X _ { m } ^ { u } ; \theta _ { s t u } ^ { ( t - 1 ) } ) ) ,
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
where $l ( \cdot , \cdot )$ can be modeled as the cross-entropy loss.
|
| 43 |
+
|
| 44 |
+
# 3 ADAPTIVE SELF TRAINING
|
| 45 |
+
|
| 46 |
+
Given a pre-trained language model (e.g., BERT (Devlin et al., 2019)) as the teacher, we first finetune it on the small labeled data to make it aware of the underlying task. The fine-tuned teacher model is now used to pseudo-label the large unlabeled data. We consider the student model as another instantiation of the pre-trained language model that is trained over the pseudo-labeled data. However, our few-shot setting with limited labeled data results in a noisy teacher. A naive transfer of teacher knowledge to the student results in the propagation of noisy labels limiting the performance of the student model. To address this challenge, we develop an adaptive self-training framework to re-weight pseudo-labeled predictions from the teacher with a meta-learning objective that optimizes the token-level loss from the student model on a held-out labeled validation set. This held-out set is adaptively constructed via labeled data acquisition which selects labeled samples with high uncertainty for efficient data exploration.
|
| 47 |
+
|
| 48 |
+
# 3.1 ADAPTIVE LABELED DATA ACQUISITION
|
| 49 |
+
|
| 50 |
+
In standard meta-learning setup for instance-level classification tasks, the held-out validation set is usually constructed via random sampling (Ren et al., 2018; Shu et al., 2019). Sequence labeling tasks involve many slot types with variable difficulty and distribution in the data. For instance, NER tasks over WikiAnn operate over 123 slot types from 41 languages with additional complexity from variable model performance across different languages. A random sampling leads to oversampling instances with the most populous categories and slot types in the data. Therefore, we propose a novel labeled data acquisition strategy to construct the validation set for effective data exploration. We demonstrate its benefit over classic meta-learning approaches from prior works in experiments.
|
| 51 |
+
|
| 52 |
+
In general, data acquisition strategies for prior works in meta-learning and active learning broadly leverage random sampling (Ren et al., 2018; Shu et al., 2019), easy (Kumar et al., 2010) and hard example mining (Shrivastava et al., 2016) or uncertainty-based methods (Chang et al., 2017a). These strategies have been compared in prior works (Chang et al., 2017a; Gal et al., 2017) that show uncertainty-based methods to have better generalizability across diverse settings. There are several approaches to uncertainty estimation including error decay (Konyushkova et al., 2017; Chang et al., 2020), Monte Carlo dropouts (Gal et al., 2017) and predictive variance (Chang et al., 2017a). We follow a similar principle of error decay to find samples that the model is uncertain about and can correspondingly benefit from knowing their labels (similar to active learning settings). To this end, we leverage stochastic loss decay from the model as a proxy for the model uncertainty to generate validation set on the fly. This is used for estimating token-level weights and re-weighting pseudo labeled data in Section 3.2.
|
| 53 |
+
|
| 54 |
+
Consider the loss of the student model with parameters $\theta _ { s t u } ^ { ( t ) }$ on the labeled data $( X _ { m } ^ { l } , Y _ { m } )$ in the $t$ -th iteration as $l ( Y _ { m } , f ( X _ { m } ^ { l } ; \theta _ { s t u } ^ { ( t ) } ) )$ . To measure the loss decay value at any iteration, we use the difference between the current and previous loss values. Considering these values may fluctuate across iterations, we adopt the moving average of the loss values for $( X _ { m } ^ { l } , Y _ { m } )$ in the latest $R$ iterations as a baseline $l _ { b } ^ { m }$ for loss decay estimation. Baseline measure $l _ { b } ^ { m }$ is calculated as follows:
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
l _ { b } ^ { m } = \frac { 1 } { R } \sum _ { r = 1 } ^ { R } l ( Y _ { m } , f ( X _ { m } ^ { l } ; \theta _ { s t u } ^ { ( t - r ) } ) ) .
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
Since the loss decay values are estimated on the fly, we want to balance exploration and exploitation. To this end, we add a smoothness factor $\delta$ to prevent the low loss decay samples (i.e. samples with low uncertainty) from never being selected again. Considering all of the above factors, we obtain the sampling weight of labeled data $( X _ { m } ^ { l } , Y _ { m } ^ { l } )$ as follows:
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
W _ { m } \propto \mathrm { m a x } ( l _ { b } ^ { m } - l ( Y _ { m } , f ( X _ { m } ^ { l } ; \theta _ { s t u } ^ { ( t ) } ) ) , 0 ) + \delta .
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
The smoothness factor $\delta$ needs to be adaptive since the training loss is dynamic. Therefore, We adopt the maximum of the loss decay value as the smoothness factor $\delta$ to encourage exploration.
|
| 67 |
+
|
| 68 |
+
The aforementioned acquisition function is re-estimated after a fixed number of steps to adapt to model changes. With labeled data acquisition, we rely on informative uncertain samples to improve learning efficiency. The sampled mini-batches of labeled data $\{ B _ { s } ^ { l } \}$ are used as a validation set for the student model in the next step for re-weighting pseudo-labeled data from the teacher model. We demonstrate its impact via ablation study in experiments. Note that the labeled data is only used to compute the acquisition function and not used for explicit training of the student model in this step.
|
| 69 |
+
|
| 70 |
+
# 3.2 RE-WEIGHTING PSEUDO-LABELED DATA
|
| 71 |
+
|
| 72 |
+
To mitigate error propagation from noisy pseudo-labeled sequences from the teacher, we leverage meta-learning to adaptively re-weight them based on the student model loss on the held-out validation set obtained via labeled data acquisition from the previous section. In contrast to prior work focusing on instance-level tasks like image classification – sequence labeling operates on discrete text sequences as input and assigns labels to each token in the sequence. Since teacher predictions vary for different slot labels and types, we adapt the meta-learning framework to re-weight samples at a token-level resolution.
|
| 73 |
+
|
| 74 |
+
Token Re-weighting. Consider the pseudo-labels $\{ \hat { Y } _ { m } ^ { ( t ) } = [ \hat { y } _ { m , 1 } ^ { ( t ) } , . . . , \hat { y } _ { m , N } ^ { ( t ) } ] \} _ { m = 1 } ^ { M }$ from the teacher in the $t$ -th iteration with $m$ and $n$ indexing the instance and a token in the instance, respectively. In classic self-training, we update the student parameters leveraging pseudo-labels as follows:
|
| 75 |
+
|
| 76 |
+
$$
|
| 77 |
+
\hat { \theta } _ { s t u } ^ { ( t ) } = \hat { \theta } _ { s t u } ^ { ( t - 1 ) } - \alpha \nabla \big ( \frac { 1 } { M } \sum _ { m = 1 } ^ { M } l ( \hat { Y } _ { m } ^ { ( t ) } , f ( X _ { m } ^ { u } ; \theta _ { s t u } ^ { ( t - 1 ) } ) ) \big ) .
|
| 78 |
+
$$
|
| 79 |
+
|
| 80 |
+
Now, to downplay noisy token-level labels, we leverage meta-learning to re-weight the pseudolabeled data. To this end, we follow a similar analysis from (Koh & Liang, 2017) and (Ren et al., 2018) to perturb the weight for each token in the mini-batch by $\epsilon$ . Weight perturbation is used to discover data points that are most important to improve the model performance on a held-out validation set (Koh & Liang, 2017) where the sample importance is given by the magnitude of the the negative gradients. We extend prior techniques to obtain token-level perturbations as:
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
\hat { \theta } _ { s t u } ^ { ( t ) } ( \epsilon ) = \hat { \theta } _ { s t u } ^ { ( t - 1 ) } - \alpha \nabla \big ( \frac { 1 } { M } \frac { 1 } { N } \sum _ { m = 1 } ^ { M } \sum _ { n = 1 } ^ { N } [ \epsilon _ { m , n } \cdot l ( \hat { y } _ { m , n } ^ { ( t ) } , f ( x _ { m , n } ^ { u } ; \hat { \theta } _ { s t u } ^ { ( t - 1 ) } ) ) ] \big ) .
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
The token weights are obtained by minimizing the student model loss on the held-out validation set. Here, we employ the labeled data acquisition strategy from Eq. 4 to sample informative mini-batches of labeled data ${ \dot { B } } _ { s } ^ { l }$ locally at step $t$ . To obtain a cheap estimate of the meta-weight at step $t$ , we take a single gradient descent step for the sampled labeled mini-batch $B _ { s } ^ { l }$ :
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
u _ { m , n , s } = - \frac { \partial } { \partial \epsilon _ { m , n , s } } \big ( \frac { 1 } { | \mathcal { B } _ { s } ^ { l } | } \frac { 1 } { N } \sum _ { m = 1 } ^ { | \mathcal { B } _ { s } ^ { l } | } \sum _ { n = 1 } ^ { N } [ l ( y _ { m , n } , f ( x _ { m , n } ^ { l } ; \hat { \theta } _ { s t u } ^ { ( t ) } ( \epsilon ) ) ] \big ) | _ { \epsilon _ { m , n , s } = 0 }
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
We set the token weights to be proportional to the negative gradients to reflect the importance of pseudo-labeled tokens in the sequence. Since sequence labeling tasks have dependencies between the slot types and tokens, it is difficult to obtain a good estimation of the weights based on a single mini-batch of examples. Therefore, we sample $S$ mini-batches of labeled data $\{ B _ { 1 } ^ { l } , . . . , B _ { S } ^ { l } \}$ with the adaptive acquisition strategy and calculate the mean of the gradients to obtain a robust gradient estimate. Note that $S$ is a constant number that is the same for each token and the proportional sign in Eq. 8. Since a negative weight indicates a pseudo-label of poor quality that would potentially degrade the model performance, we set such weights to 0 to filter them out. The impact of $S$ is investigated in the experiments (refer to Appendix A.1). The overall meta-weight of pseudo-labeled token $\left( x _ { m , n } ^ { u } , \hat { y } _ { m , n } \right)$ is obtained as:
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
w _ { m , n } \propto \mathrm { m a x } ( \sum _ { s = 1 } ^ { S } u _ { m , n , s } , 0 )
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
To further ensure the stability of the loss function in each mini-batch, we normalise the weight $w _ { m , n }$ . Finally, we update the student model parameters while accounting for token-level re-weighting as:
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\hat { \theta } _ { s t u } ^ { ( t ) } = \hat { \theta } _ { s t u } ^ { ( t - 1 ) } - \alpha \nabla \big ( \frac { 1 } { M } \frac { 1 } { N } \sum _ { m = 1 } ^ { M } \sum _ { n = 1 } ^ { N } [ w _ { m , n } \cdot l ( \hat { y } _ { m , n } ^ { ( t ) } , f ( x _ { m , n } ^ { u } ; \hat { \theta } _ { s t u } ^ { ( t - 1 ) } ) ) ] \big ) .
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
We demonstrate the impact of our re-weighting mechanism with an ablation study in experiments.
|
| 105 |
+
|
| 106 |
+
# 3.3 TEACHER MODEL ITERATIVE UPDATES
|
| 107 |
+
|
| 108 |
+
At the end of every self-training iteration, we assign the student model as a new teacher model (i.e., $\theta _ { t e a } = \theta _ { s t u } ^ { ( T ) } )$ . Since the student model uses the labeled data only as a held-out validation setl for meta-learning, we further utilize the labeled data
|
| 109 |
+
|
| 110 |
+
$f ( \cdot , \theta _ { t e a } ^ { ( t ) } )$ with standard supervised loss minimization. We explore the effectiveness of this step with an ablation study in experiments. The overall training procedure is summarized in Algorithm 1.
|
| 111 |
+
|
| 112 |
+
# Algorithm 1: MetaST Algorithm.
|
| 113 |
+
|
| 114 |
+
<table><tr><td></td><td></td><td>Input:Labeled sequences (Xl,Y); Unlabeled sequences (X");Pre-trained BERT model with randomly initialized token classification layer f(;((O)); Batches S; Number of self-training iterations T.</td></tr><tr><td>Initialize teacher model 0tea =0(0) while not converged do</td><td></td><td></td></tr><tr><td></td><td>Fine-tune teacher model on small labeled data (Xl, Y);</td><td></td></tr><tr><td>Initialize the student model θ(0)</td><td>=0(0);</td><td></td></tr><tr><td></td><td>Generate hard pseudo-labels Y(t)for unlabeled samples Xu with model f(·,0tea);</td><td></td></tr><tr><td>fort←1toTdo</td><td></td><td></td></tr><tr><td></td><td>Compute labeled data acquisition function according to Eq. 4;</td><td></td></tr><tr><td>function;</td><td></td><td>Sample S mini-batches of labeled examples {Bl,.,B's} from (Xl,Y)based on labeled data acquisition</td></tr><tr><td></td><td>Randomly sample abatch of pseudo-labeled examples B from(Xu,Y(t));</td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td>Compute token-level weights in B based on the loss on {Bl,..,B's} according to Eq.8;</td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td>end</td><td></td><td>stu</td></tr><tr><td></td><td></td><td></td></tr><tr><td>Update the teacher:θtea</td><td></td><td></td></tr><tr><td>end</td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></table>
|
| 115 |
+
|
| 116 |
+
# 4 EXPERIMENTS
|
| 117 |
+
|
| 118 |
+
Encoder. Pre-trained language models like BERT (Devlin et al., 2019), GPT-2 (Radford et al., 2019) and RoBERTa (Liu et al., 2019) have shown state-of-the-art performance for various natural language processing tasks. In this work we adopt one of them as a base encoder by initializing the teacher with pre-trained BERT-base model and a randomly initialized token classification layer.
|
| 119 |
+
|
| 120 |
+
Datasets. We perform large-scale experiments with six different datasets including user utterances for task-oriented dialog systems and multilingual Named Entity Recognition tasks as summarized in Table 1. (a) Email. This consists of natural language user utterances for email-oriented user actions like sending, receiving or searching emails with attributes like date, time, topics, people, etc. (b) SNIPS is a public benchmark
|
| 121 |
+
|
| 122 |
+
<table><tr><td>Dataset</td><td># Slots</td><td>#Train</td><td>#Test</td><td>#Lang</td></tr><tr><td>Email</td><td>20</td><td>2.5K</td><td>1k</td><td>EN</td></tr><tr><td>SNIPS</td><td>39</td><td>13K</td><td>0.7K</td><td>EN</td></tr><tr><td>MIT Movie</td><td>12</td><td>8.8K</td><td>2.4K</td><td>EN</td></tr><tr><td>MIT Restaurant</td><td>8</td><td>6.9K</td><td>1.5K</td><td>EN</td></tr><tr><td>Wikiann (EN)</td><td>3</td><td>20K</td><td>10K</td><td>EN</td></tr><tr><td>CoNLL03 (EN)</td><td>4</td><td>15K</td><td>3.6K</td><td>EN</td></tr><tr><td>CoNLL03</td><td>16</td><td>38K</td><td>15K</td><td>4</td></tr><tr><td>Wikiann</td><td>123</td><td>705K</td><td>329K</td><td>41</td></tr></table>
|
| 123 |
+
|
| 124 |
+
Table 1: Dataset summary.
|
| 125 |
+
|
| 126 |
+
dataset (Coucke et al., 2018) of user queries from multiple domains including music, media, and weather. (c) MIT Movie and Restaurant corpus (Liu et al., 2013) consist of similar user utterances for movie and restaurant domains. (d) CoNLL03 (Sang & Meulder, 2003) and Wikiann (Pan et al., 2017) are public benchmark datasets for multilingual Named Entity Recognition. CoNLL03 is a collection of news wire articles from the Reuters Corpus from 4 languages with manual annotations, whereas Wikiann comprises of extractions from Wikipedia articles from 41 languages with automatic annotation leveraging meta-data for different entity types like ORG, PER, LOC etc. For every dataset, we sample $K \in \{ 5 , 1 0 , 2 0 , 1 0 0 \}$ labeled sequences for each slot type from the Train data, and add the remaining to the unlabeled set while ignoring their labels – following standard setups for semi-supervised learning. We repeatedly sample $K$ labeled instances three times for multiple runs to report average performance with standard deviation across the runs.
|
| 127 |
+
|
| 128 |
+
Baselines. The first baseline we consider is the fully supervised BERT model trained on all available training data which provides the ceiling performance for every task. Each of the other models are trained on $K$ training labels per slot type. We adopt several state-of-the-art semi-supervised methods as baselines: (1) CVT (Clark et al., 2018) is a semi-supervised sequence labeling method based on cross-view training; (2) SeqVAT (Chen et al., 2020) incorporates adversarial training with conditional random field layer for semi-supervised sequence labeling; (3) Mean Teacher (MT) (Tarvainen & Valpola, 2017) averages model weights to obtain an aggregated teacher; (4) VAT (Miyato et al., 2018) adopts virtual adversarial training to make the model robust to noise; (5) classic ST (III, 1965) is simple self-training method with hard pseudo-labels; (6) BOND (Liang et al., 2020) is the most recent work on self-training for sequence labeling with confidence-based sample selection and forms a strong baseline for our work. We implement our framework in Pytorch and use Tesla V100 gpus for experiments. Hyper-parameter configurations with model settings presented in Appendix.
|
| 129 |
+
|
| 130 |
+
Neural sequence labeling performance with few training labels. Table 2 shows the performance comparison among different models with $\mathrm { K } { = } 1 0$ labeled examples per slot type. The fully supervised BERT trained on thousands of labeled examples provides the ceiling performance for the few-shot setting. We observe our method MetaST to significantly outperform all methods across all datasets including the models that also use the same BERT encoder as ours like MT, VAT, Classic ST and BOND with corresponding average performance improvements as $1 4 . 2 2 \%$ , $1 4 . 9 0 \%$ , $8 . 4 6 \%$ and $8 . 8 2 \%$ . Non BERT models like CVT and ${ \tt S e q V A T }$ are consistently worse than other baselines.
|
| 131 |
+
|
| 132 |
+
<table><tr><td>Method</td><td>SNIPS</td><td>Email</td><td>Movie</td><td>Restaurant</td><td>CoNLL03 (EN)</td><td>Wikiann (EN)</td></tr><tr><td># Slots</td><td>39</td><td>20</td><td>12</td><td>8</td><td>4</td><td>3</td></tr><tr><td colspan="7">Full-supervision</td></tr><tr><td>BERT</td><td>95.80</td><td>94.44</td><td>87.87</td><td>78.95</td><td>92.40</td><td>84.04</td></tr><tr><td>Few-shot supervision (10 labels per slot)</td><td></td><td></td><td>69.50</td><td>54.06</td><td>71.15</td><td>45.61</td></tr><tr><td colspan="7">BERT 79.01 87.85</td></tr><tr><td>Few-shot supervision (10 labels per slot) + unlabeled data</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CVT</td><td>78.23</td><td>78.24</td><td>62.73</td><td>42.57</td><td>54.31</td><td>27.89</td></tr><tr><td>SeqVAT</td><td>78.67</td><td>72.65</td><td>67.10</td><td>51.55</td><td>67.21</td><td>35.16</td></tr><tr><td>MT</td><td>79.48</td><td>89.53</td><td>67.62</td><td>51.75</td><td>68.67</td><td>41.43</td></tr><tr><td>VAT</td><td>79.08</td><td>89.71</td><td>70.17</td><td>53.34</td><td>65.03</td><td>38.81</td></tr><tr><td>Classic ST</td><td>83.26</td><td>90.70</td><td>71.88</td><td>56.80</td><td>70.99</td><td>46.15</td></tr><tr><td>BOND</td><td>83.54</td><td>89.75</td><td>70.91</td><td>55.78</td><td>69.56</td><td>48.73</td></tr><tr><td rowspan="2">MetaST</td><td>88.23</td><td>92.18</td><td>77.67</td><td>63.83</td><td>76.65</td><td></td></tr><tr><td>(0.04;↑12%)</td><td>(0.47;↑4.93%)</td><td>(0.10;↑11.76%)</td><td>(1.62;↑18.07%)</td><td>(0.73;17.73%)</td><td>56.61 (0.4;↑24.12%)</td></tr></table>
|
| 133 |
+
|
| 134 |
+
Table 2: F1 score comparison of models for sequence labeling on different datasets. All models (except CVT and ${ \tt S e q V A T } ,$ use the same BERT encoder. F1 score of our model for each task is followed by standard deviation and percentage improvement (↑) over BERT with few-shot supervision.
|
| 135 |
+
|
| 136 |
+
We also observe variable performance of the models across different tasks. Specifically, the performance gap between the best few-shot model and the fully supervised model varies significantly. MetaST achieves close performance to the fully-supervised model in some datasets (e.g. SNIPS and Email) but has bigger room for improvement in others (e.g. CoNLL03 (EN) and Wikiann (EN)). This can be attributed to the following factors. (i) Labeled training examples and slots. The total number of labeled training instances for our K-shot setting is given by $K \times \# S l o t s$ . Therefore, for tasks with higher number of slots and consequently more training labels, most of the models perform better including MetaST. Task-oriented dialog systems with more slots and inherent dependency between the slot types benefit more than NER tasks. (ii) Task difficulty: User utterances from task-oriented dialog systems for some of the domains like weather, music and emails contain predictive query patterns and limited diversity. In contrast, Named Entity Recognition datasets are comparatively diverse and require more training labels to generalize well. Similar observations are also depicted in Table 3 for multilingual NER tasks with more slots and consequently more training labels from multiple languages as well as richer interactions across the slots from different languages.
|
| 137 |
+
|
| 138 |
+
<table><tr><td>Dataset</td><td>#Lang</td><td>#Slots</td><td>Full Sup.</td><td>Few-shot Sup.</td><td colspan="5">Few-shot supervision + unlabeled data</td></tr><tr><td></td><td></td><td></td><td>BERT</td><td>BERT</td><td>MT</td><td>VAT</td><td>Classic ST</td><td>BOND</td><td>MetaST</td></tr><tr><td>CoNLL03</td><td>4</td><td>16</td><td>87.67</td><td>70.77</td><td>68.34</td><td>67.63</td><td>72.69</td><td>72.79</td><td>76.41 (0.47) (↑ 7.97%)</td></tr><tr><td>Wikiann</td><td>41</td><td>123</td><td>87.17</td><td>79.67</td><td>80.23</td><td>78.82</td><td>80.24</td><td>79.57</td><td>81.61 (0.14) (↑ 2.42%)</td></tr></table>
|
| 139 |
+
|
| 140 |
+
Table 3: F1 score comparison of models for sequence labeling on multilingual datasets using the same BERT-Multilingual-Base encoder. F1 score of MetaST for each task is followed by standard deviation in parentheses and percentage improvement (↑) over BERT with few-shot supervision.
|
| 141 |
+
|
| 142 |
+
Controlling for the total amount of labeled data. In order to control for the variable amount of training labels across different datasets, we perform another experiment where we vary the number of labels for different slot types while keeping the total number of labeled instances for each dataset similar (ca. 200). Results are shown in Table 4. To better illustrate the effect of the number of training labels, we choose tasks with lower performance in Table 2 for this experiment. Comparing the results in Tables 2 and 4, we observe the performance of MetaST to improve with more training labels for all the tasks .
|
| 143 |
+
|
| 144 |
+
Effect of varying the number of labels $K$ per slot. Table 5 shows the improvement in the performance of MetaST when increasing the number of labels for each slot type in the SNIPS dataset.
|
| 145 |
+
|
| 146 |
+
Table 4: F1 scores of different models with 200 labeled samples for each task. The percentage improvement $( \uparrow )$ is over the BERT model with few-shot supervision.
|
| 147 |
+
|
| 148 |
+
<table><tr><td>Dataset</td><td>BERT (Full Supervision)</td><td>BERT (Few-shot Supervision)</td><td>MetaST(%Improvement)</td></tr><tr><td>MIT Movie</td><td>87.87</td><td>75.81</td><td>80.33 (↑5.96%)</td></tr><tr><td>MIT Restaurant</td><td>78.95</td><td>60.12</td><td>67.86 (↑12.87%)</td></tr><tr><td>CoNLL03 (EN)</td><td>92.40</td><td>77.48</td><td>81.61 (↑ 5.33%)</td></tr><tr><td>Wikiann (EN)</td><td>84.04</td><td>62.04</td><td>71.27 (个14.88%)</td></tr><tr><td>Average</td><td>85.82</td><td>68.86</td><td>75.27 (↑ 9.31%)</td></tr></table>
|
| 149 |
+
|
| 150 |
+
Similar trends can be found on other datasets (results in Appendix). As we increase the amount of labeled training instances, the performance of BERT also improves, and correspondingly the margin between MetaST and these baselines decreases although MetaST still improves over all of them. In the self-training framework, given the ceiling performance for every task and the improved performance of the teacher with more training labels, there is less room for (relative) improvement of the student over the teacher model. Consider SNIPS for example. Our model obtains $12 \%$ and $2 \%$ improvement over the few-shot BERT model for the 10-shot and 100-shot setting with F1-scores as $8 8 . 2 2 \%$ and $9 5 . 3 9 \%$ , respectively. The ceiling performance for this task is $9 5 . 8 \%$ on training BERT on the entire dataset with 13K labeled examples. This demonstrates that MetaST is most impactful for low-resource settings with few training labels for a given task.
|
| 151 |
+
|
| 152 |
+
<table><tr><td>#Slots</td><td>Few-shot Supervision</td><td colspan="7">Few-shot supervision + unlabeled data</td></tr><tr><td></td><td>BERT</td><td>CVT</td><td>SeqVAT</td><td>MT</td><td>VAT</td><td>Classic ST</td><td>BOND</td><td>MetaST(%Improvement)</td></tr><tr><td>5</td><td>70.63</td><td>69.82</td><td>69.34</td><td>70.85</td><td>71.34</td><td>72.59</td><td>72.85</td><td>81.56 (↑15%)</td></tr><tr><td>10</td><td>79.01</td><td>78.23</td><td>78.67</td><td>79.48</td><td>79.08</td><td>83.26</td><td>83.54</td><td>88.22 (↑12%)</td></tr><tr><td>20</td><td>86.81</td><td>88.04</td><td>85.05</td><td>87.31</td><td>88.19</td><td>88.32</td><td>88.93</td><td>91.99 (↑6%)</td></tr><tr><td>100</td><td>93.90</td><td>94.61</td><td>91.46</td><td>94.26</td><td>94.53</td><td>93.92</td><td>94.22</td><td>95.39 (12%)</td></tr></table>
|
| 153 |
+
|
| 154 |
+
Table 5: Variation in model performance on varying $K$ labels / slot on SNIPS dataset with 39 slots. The percentage improvement $( \uparrow )$ is relative to the BERT model with few-shot supervision.
|
| 155 |
+
|
| 156 |
+
Ablation analysis. Table 6 demonstrates the impact of different MetaST components with ablation analysis. We observe that soft pseudo-labels hurt the model performance compared to hard pseudolabels, as also shown in recent work (Kumar et al., 2020). Such a performance drop may be attributed to soft labels being less informative compared to sharpened ones. Removing the iterative teacher fine-tuning step (Section 3.1) also hurts the overall performance.
|
| 157 |
+
|
| 158 |
+
Table 6: Ablation analysis of our framework MetaST with 10 labeled examples per slot on SNIPS and CoNLL03 (EN).
|
| 159 |
+
|
| 160 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Datasets</td></tr><tr><td>SNIPS</td><td>CoNLL03</td></tr><tr><td>BERT w/ Continued Pre-training +</td><td></td><td></td></tr><tr><td>Few-shot Supervision</td><td>83.96</td><td>69.84</td></tr><tr><td>Classic ST</td><td>83.26</td><td>70.99</td></tr><tr><td>Classic ST w/ Soft Pseudo-Labels</td><td>81.17</td><td>71.87</td></tr><tr><td>MetaST(ours) w/Hard Pseudo-Labels</td><td>88.23</td><td>76.65</td></tr><tr><td>MetaST w/ Soft Pseudo-Labels</td><td>86.16</td><td>75.84</td></tr><tr><td>MetaST w/o Iterative Teacher Fine-tune</td><td>85.64</td><td>72.74</td></tr><tr><td>MetaST w/o Labeled Data Acq.</td><td>86.63</td><td>75.02</td></tr><tr><td>Pseudo-labeled Data Re-weighting</td><td></td><td></td></tr><tr><td>MetaST w/o Re-weighting</td><td>85.48</td><td>73.02</td></tr><tr><td>MetaST (Easy)</td><td>85.56</td><td>74.53</td></tr><tr><td>MetaST (Difficult)</td><td>86.34</td><td>68.06</td></tr></table>
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
Figure 2: Visualization of MetaST reweighting on CoNLL03 (EN).
|
| 164 |
+
|
| 165 |
+
Continued pre-training v.s. self-training. To contrast continued pre-training with self-training, we further pre-train BERT on in-domain unlabeled data and then fine-tune it with few labeled examples denoted as “BERT (Continued Pre-training $^ +$ Few-shot Supervision)”. The pre-training step improves the BERT performance over the baseline on SNIPS but degrades the performance on CoNLL03. This indicates that continued pre-training can improve the performance of few-shot supervised BERT on specialized tasks (e.g., SNIPS) with different data distribution than the original pre-training data (e.g., Wikipedia), but may not help for general domain ones like CoNLL03 with overlapping data from Wikipedia. In contrast to the above baseline, MetaST brings significant improvements on both datasets. This demonstrates the generality and flexibility of self-training over pre-training as also observed in contemporary work (Zoph et al., 2020) on image classification.
|
| 166 |
+
|
| 167 |
+
Adaptive labeled data acquisition. We perform an ablation study by removing adaptive labeled data acquisition from MetaST (denoted as “MetaST w/o Labeled Data Acq.”). Removing this component leads to around $2 \%$ performance drop on an average demonstrating the impact of labeled data acquisition. Moreover, the performance drop on SNIPS (39 slots) is larger than that on CoNLL03 (4 slots). This demonstrates that adaptive acquisition is more helpful for tasks with more slot types – where diversity and data distribution necessitate a better exploration strategy in contrast to random sampling employed in prior meta-learning works.
|
| 168 |
+
|
| 169 |
+
Re-weighting strategies. To explore the role of token-level re-weighting for pseudo-labeled sequences (discussed in Section 3.2), we replace our meta-learning component with different sample selection strategies based on the model confidence for different tokens. One sampling strategy chooses samples uniformly without any re-weighting (referred to as “MetaST w/o Re-weighting”). The sampling strategy with weights proportional to the model confidence favors easy samples (referred to as “MetaST-Easy”), whereas the converse favors difficult ones (referred to as “MetaSTDifficult”).We observe the meta-learning based re-weighting strategy to perform the best. Interestingly, MetaST-Easy outperforms MetaST-Difficult significantly on CoNLL03 (EN) but achieves slightly lower performance on SNIPS. This demonstrates that difficult samples are more helpful when the quality of pseudo-labeled data is relatively high. On the converse, the sample selection strategy focusing on difficult samples introduces noisy examples with lower pseudo-label quality. Therefore, sampling strategies may need to vary for different datasets, thereby, demonstrating the necessity of adaptive data re-weighting as in our framework MetaST. Moreover, MetaST significantly outperforms classic self-training strategies with hard and soft pseudo-labels demonstrating the effectiveness of our design.
|
| 170 |
+
|
| 171 |
+
Analysis of pseudo-labeled data re-weighting. To visually explore the adaptive re-weighting mechanism, we illustrate token-level re-weighting of MetaST on CoNLL03 (EN) dataset with ${ \mathrm { K } } { = } 1 0$ shot at step 100 in Fig. 2. We include the re-weighting visualisation on SNIPS in Appendix A.1. We observe that the selection mechanism filters out most of the noisy pseudo-labels (colored in blue) even those with high teacher confidence as shown in Fig. 2.
|
| 172 |
+
|
| 173 |
+
# 5 RELATED WORK
|
| 174 |
+
|
| 175 |
+
Semi-supervised learning has been widely used for consistency training (Bachman et al., 2014; Rasmus et al., 2015; Laine & Aila, 2017; Tarvainen & Valpola, 2017; Miyato et al., 2018), latent variable models (Kingma et al., 2014) for sentence compression (Miao & Blunsom, 2016) and code generation (Yin et al., 2018). More recently, methods like UDA (Xie et al., 2019) leverage consistency training for few-shot learning of instance-classification tasks leveraging auxiliary resources like paraphrasing and back-translation (BT) (Sennrich et al., 2016).
|
| 176 |
+
|
| 177 |
+
Sample selection. Curriculum learning (Bengio et al., 2009) techniques are based on the idea of learning easier aspects of the task first followed by the more complex ones. Prior work leveraging self-paced learning (Kumar et al., 2010) and more recently self-paced co-training (Ma et al., 2017) leverage teacher confidence to select easy samples during training. Sample selection for image classification tasks have been explored in recent works with meta-learning (Ren et al., 2018; Li et al., 2019) and active learning (Panagiota Mastoropoulou, 2019; Chang et al., 2017b). However, all of these techniques rely on only the model outputs applied to instance-level classification tasks.
|
| 178 |
+
|
| 179 |
+
Semi-supervised sequence labeling. Miller et al. (2004); Peters et al. (2017) leverage large amounts of unlabeled data to improve token representation for sequence labeling tasks. Another line of research introduces latent variable modeling (Chen et al., 2019; Zhou & Neubig, 2017) to learn interpretable and structured latent representations. Recently, adversarial training based model SeqVAT (Chen et al., 2020) and cross-view training method CVT (Clark et al., 2018) have shown promising results for sequence labeling tasks.
|
| 180 |
+
|
| 181 |
+
# 6 CONCLUSIONS
|
| 182 |
+
|
| 183 |
+
In this work, we develop an adaptive self-training framework MetaST that leverages self-training and meta-learning for few-shot training of neural sequence taggers. We address the issue of error propagation from noisy pseudo-labels from the teacher in the self-training framework by adaptive sample selection and re-weighting with meta-learning. Extensive experiments on six benchmark datasets and different tasks including multilingual NER and slot tagging for task-oriented dialog systems demonstrate the effectiveness of the proposed method particularly for low-resource settings.
|
| 184 |
+
|
| 185 |
+
# REFERENCES
|
| 186 |
+
|
| 187 |
+
Philip Bachman, Ouais Alsharif, and Doina Precup. Learning with pseudo-ensembles. In Zoubin Ghahramani, Max Welling, Corinna Cortes, Neil D. Lawrence, and Kilian Q. Weinberger (eds.), Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pp. 3365–3373, 2014.
|
| 188 |
+
|
| 189 |
+
Trapit Bansal, Rishikesh Jha, and Andrew McCallum. Learning to few-shot learn across diverse natural language classification tasks, 2020.
|
| 190 |
+
|
| 191 |
+
Yoshua Bengio, Jer´ ome Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In ˆ Andrea Pohoreckyj Danyluk, Leon Bottou, and Michael L. Littman (eds.), ´ Proceedings of the 26th Annual International Conference on Machine Learning, ICML 2009, Montreal, Quebec, Canada, June 14-18, 2009, volume 382 of ACM International Conference Proceeding Series, pp. 41–48. ACM, 2009. doi: 10.1145/1553374.1553380.
|
| 192 |
+
|
| 193 |
+
Haw-Shiuan Chang, Erik Learned-Miller, and Andrew McCallum. Active bias: Training more accurate neural networks by emphasizing high variance samples. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems 30, pp. 1002–1012. Curran Associates, Inc., 2017a.
|
| 194 |
+
|
| 195 |
+
Haw-Shiuan Chang, Erik G. Learned-Miller, and Andrew McCallum. Active bias: Training more accurate neural networks by emphasizing high variance samples. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett (eds.), Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9 December 2017, Long Beach, CA, USA, pp. 1002–1012, 2017b.
|
| 196 |
+
|
| 197 |
+
Haw-Shiuan Chang, Shankar Vembu, Sunil Mohan, Rheeya Uppaal, and Andrew McCallum. Using error decay prediction to overcome practical issues of deep active learning for named entity recognition. Machine Learning, 109(9):1749–1778, 2020.
|
| 198 |
+
|
| 199 |
+
Olivier Chapelle, Bernhard Schlkopf, and Alexander Zien. Semi-supervised learning. 2010.
|
| 200 |
+
|
| 201 |
+
Luoxin Chen, Weitong Ruan, Xinyue Liu, and Jianhua Lu. Seqvat: Virtual adversarial training for semi-supervised sequence labeling. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 8801–8811, 2020.
|
| 202 |
+
|
| 203 |
+
Mingda Chen, Qingming Tang, Karen Livescu, and Kevin Gimpel. Variational sequential labelers for semi-supervised learning. arXiv preprint arXiv:1906.09535, 2019.
|
| 204 |
+
|
| 205 |
+
Kevin Clark, Minh-Thang Luong, Christopher D Manning, and Quoc V Le. Semi-supervised sequence modeling with cross-view training. arXiv preprint arXiv:1809.08370, 2018.
|
| 206 |
+
|
| 207 |
+
Alice Coucke, Alaa Saade, Adrien Ball, Theodore Bluche, Alexandre Caulier, David Leroy, Cl ´ ement ´ Doumouro, Thibault Gisselbrecht, Francesco Caltagirone, Thibaut Lavril, Mael Primet, and ¨ Joseph Dureau. Snips voice platform: an embedded spoken language understanding system for private-by-design voice interfaces. In Privacy in Machine Learning and Artificial Intelligence workshop, ICML2018, 2018.
|
| 208 |
+
|
| 209 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pp. 4171–4186, 2019.
|
| 210 |
+
|
| 211 |
+
Yarin Gal, Riashat Islam, and Zoubin Ghahramani. Deep bayesian active learning with image data. In Doina Precup and Yee Whye Teh (eds.), Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, pp. 1183–1192. PMLR, 2017.
|
| 212 |
+
|
| 213 |
+
Junxian He, Jiatao Gu, Jiajun Shen, and Marc’Aurelio Ranzato. Revisiting self-training for neural sequence generation, 2019.
|
| 214 |
+
|
| 215 |
+
H. J. Scudder III. Probability of error of some adaptive pattern-recognition machines. IEEE Trans. Inf. Theory, 11(3):363–371, 1965. doi: 10.1109/TIT.1965.1053799.
|
| 216 |
+
|
| 217 |
+
Diederik P. Kingma, Shakir Mohamed, Danilo Jimenez Rezende, and Max Welling. Semisupervised learning with deep generative models. In Zoubin Ghahramani, Max Welling, Corinna Cortes, Neil D. Lawrence, and Kilian Q. Weinberger (eds.), Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pp. 3581–3589, 2014.
|
| 218 |
+
|
| 219 |
+
Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. arXiv preprint arXiv:1703.04730, 2017.
|
| 220 |
+
|
| 221 |
+
Ksenia Konyushkova, Raphael Sznitman, and Pascal Fua. Learning active learning from data. In Advances in Neural Information Processing Systems, pp. 4225–4235, 2017.
|
| 222 |
+
|
| 223 |
+
Ananya Kumar, Tengyu Ma, and Percy Liang. Understanding self-training for gradual domain adaptation. arXiv preprint arXiv:2002.11361, 2020.
|
| 224 |
+
|
| 225 |
+
M. P. Kumar, Benjamin Packer, and Daphne Koller. Self-paced learning for latent variable models. In J. D. Lafferty, C. K. I. Williams, J. Shawe-Taylor, R. S. Zemel, and A. Culotta (eds.), Advances in Neural Information Processing Systems 23, pp. 1189–1197. Curran Associates, Inc., 2010.
|
| 226 |
+
|
| 227 |
+
Samuli Laine and Timo Aila. Temporal ensembling for semi-supervised learning. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017.
|
| 228 |
+
|
| 229 |
+
Xinzhe Li, Qianru Sun, Yaoyao Liu, Qin Zhou, Shibao Zheng, Tat-Seng Chua, and Bernt Schiele. Learning to self-train for semi-supervised few-shot classification. In Advances in Neural Information Processing Systems 32, pp. 10276–10286. Curran Associates, Inc., 2019.
|
| 230 |
+
|
| 231 |
+
Chen Liang, Yue Yu, Haoming Jiang, Siawpeng Er, Ruijia Wang, Tuo Zhao, and Chao Zhang. Bond: Bert-assisted open-domain named entity recognition with distant supervision. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 1054–1064, 2020.
|
| 232 |
+
|
| 233 |
+
J. Liu, Panupong Pasupat, D. Cyphers, and James R. Glass. Asgard: A portable architecture for multilingual dialogue systems. 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, pp. 8386–8390, 2013.
|
| 234 |
+
|
| 235 |
+
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692, 2019.
|
| 236 |
+
|
| 237 |
+
Fan Ma, Deyu Meng, Qi Xie, Zina Li, and Xuanyi Dong. Self-paced co-training. 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. 2275–2284, International Convention Centre, Sydney, Australia, 06–11 Aug 2017. PMLR.
|
| 238 |
+
|
| 239 |
+
Yishu Miao and Phil Blunsom. Language as a latent variable: Discrete generative models for sentence compression. In Jian Su, Xavier Carreras, and Kevin Duh (eds.), Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4, 2016, pp. 319–328. The Association for Computational Linguistics, 2016. doi: 10.18653/v1/d16-1031.
|
| 240 |
+
|
| 241 |
+
Scott Miller, Jethran Guinness, and Alex Zamanian. Name tagging with word clusters and discriminative training. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics: HLT-NAACL 2004, pp. 337– 342, 2004.
|
| 242 |
+
|
| 243 |
+
Takeru Miyato, Shin-ichi Maeda, Masanori Koyama, and Shin Ishii. Virtual adversarial training: a regularization method for supervised and semi-supervised learning. IEEE transactions on pattern analysis and machine intelligence, 41(8):1979–1993, 2018.
|
| 244 |
+
|
| 245 |
+
Xiaoman Pan, Boliang Zhang, Jonathan May, Joel Nothman, Kevin Knight, and Heng Ji. Crosslingual name tagging and linking for 282 languages. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1946–1958, Vancouver, Canada, July 2017. Association for Computational Linguistics.
|
| 246 |
+
|
| 247 |
+
Emmeleia Panagiota Mastoropoulou. Enhancing deep active learning using selective self-training for image classification. Master’s thesis, KTH, School of Electrical Engineering and Computer Science (EECS), 2019.
|
| 248 |
+
|
| 249 |
+
Matthew E Peters, Waleed Ammar, Chandra Bhagavatula, and Russell Power. Semi-supervised sequence tagging with bidirectional language models. arXiv preprint arXiv:1705.00108, 2017.
|
| 250 |
+
|
| 251 |
+
Slav Petrov and Ryan McDonald. Overview of the 2012 shared task on parsing the web. 2012.
|
| 252 |
+
|
| 253 |
+
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners. 2019.
|
| 254 |
+
|
| 255 |
+
Antti Rasmus, Mathias Berglund, Mikko Honkala, Harri Valpola, and Tapani Raiko. Semisupervised learning with ladder networks. In Corinna Cortes, Neil D. Lawrence, Daniel D. Lee, Masashi Sugiyama, and Roman Garnett (eds.), Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal, Quebec, Canada, pp. 3546–3554, 2015.
|
| 256 |
+
|
| 257 |
+
Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In International Conference on Machine Learning, pp. 4334–4343, 2018.
|
| 258 |
+
|
| 259 |
+
Sebastian Ruder and Barbara Plank. Strong baselines for neural semi-supervised learning under domain shift. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1044–1054, 2018.
|
| 260 |
+
|
| 261 |
+
Erik F. Tjong Kim Sang and Fien De Meulder. Introduction to the conll-2003 shared task: Languageindependent named entity recognition. In Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003, 2003.
|
| 262 |
+
|
| 263 |
+
Rico Sennrich, Barry Haddow, and Alexandra Birch. Improving neural machine translation models with monolingual data. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016, August 7-12, 2016, Berlin, Germany, Volume 1: Long Papers. The Association for Computer Linguistics, 2016. doi: 10.18653/v1/p16-1009.
|
| 264 |
+
|
| 265 |
+
Abhinav Shrivastava, Abhinav Gupta, and Ross Girshick. Training region-based object detectors with online hard example mining. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 761–769, 2016.
|
| 266 |
+
|
| 267 |
+
Jun Shu, Qi Xie, Lixuan Yi, Qian Zhao, Sanping Zhou, Zongben Xu, and Deyu Meng. Meta-weightnet: Learning an explicit mapping for sample weighting. In Advances in Neural Information Processing Systems, pp. 1919–1930, 2019.
|
| 268 |
+
|
| 269 |
+
Q. Sun, Y. Liu, T. Chua, and B. Schiele. Meta-transfer learning for few-shot learning. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 403–412, 2019.
|
| 270 |
+
|
| 271 |
+
Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Workshop Track Proceedings. OpenReview.net, 2017.
|
| 272 |
+
|
| 273 |
+
Erik F Tjong, Kim Sang, and Jorn Veenstra. Representing text chunks. In Ninth Conference of the European Chapter of the Association for Computational Linguistics, 1999.
|
| 274 |
+
|
| 275 |
+
Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V. Le. Unsupervised data augmentation for consistency training, 2019.
|
| 276 |
+
|
| 277 |
+
Qizhe Xie, Minh-Thang Luong, Eduard Hovy, and Quoc V. Le. Self-training with noisy student improves imagenet classification. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020.
|
| 278 |
+
|
| 279 |
+
Pengcheng Yin, Chunting Zhou, Junxian He, and Graham Neubig. Structvae: Tree-structured latent variable models for semi-supervised semantic parsing. In Iryna Gurevych and Yusuke Miyao (eds.), Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volume 1: Long Papers, pp. 754–765. Association for Computational Linguistics, 2018. doi: 10.18653/v1/P18-1070.
|
| 280 |
+
|
| 281 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017.
|
| 282 |
+
|
| 283 |
+
Chunting Zhou and Graham Neubig. Multi-space variational encoder-decoders for semi-supervised labeled sequence transduction. arXiv preprint arXiv:1704.01691, 2017.
|
| 284 |
+
|
| 285 |
+
Barret Zoph, Golnaz Ghiasi, Tsung-Yi Lin, Yin Cui, Hanxiao Liu, Ekin Dogus Cubuk, and Quoc Le. Rethinking pre-training and self-training. Advances in Neural Information Processing Systems, 33, 2020.
|
| 286 |
+
|
| 287 |
+
# A APPENDIX
|
| 288 |
+
|
| 289 |
+
# A.1 EXPLORATIONS ON UNLABELED DATA AND MINI-BATCH S
|
| 290 |
+
|
| 291 |
+
Variation in model performance with unlabeled data. Table 12 shows the improvement in model performance as we inject more unlabeled data with diminishing returns after a certain point.
|
| 292 |
+
|
| 293 |
+
Variation in model performance with mini-batch S. We set the value of $S$ in Eq. 8 to $\{ 1 , 3 , 5 \}$ respectively to explore its impact on the re-weighting mechanism. From Figure 3 we observe that the model is not super sensitive to hyper-parameter $S$ but can achieve a better estimate of the weights of the pseudo-labeled data with increasing mini-batch values.
|
| 294 |
+
|
| 295 |
+
Table 7: Varying proportion of unlabeled data for MetaST with 10 labels per slot.
|
| 296 |
+
|
| 297 |
+
<table><tr><td rowspan="2">Ratio of Unlabeled Data</td><td colspan="2">Datasets</td></tr><tr><td>SNIPS</td><td>CoNLL03</td></tr><tr><td>5%</td><td>84.47</td><td>72.92</td></tr><tr><td>25%</td><td>87.10</td><td>76.46</td></tr><tr><td>75%</td><td>87.50</td><td>76.56</td></tr></table>
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
Figure 3: Varying $S$ mini-batch labeled data for re-weighting.
|
| 301 |
+
|
| 302 |
+
# A.2 ANALYSIS OF RE-WEIGHTING ON SNIPS AND CONLL03
|
| 303 |
+
|
| 304 |
+
Analysis of pseudo-labeled data re-weighting. To visually explore the adaptive re-weighting mechanism, we illustrate token re-weighting of MetaST on CoNLL03 and SNIPS datasets with ${ \mathrm { K } } { = } 1 0$ shot at step 100 in Fig. 4. Besides the observation in the experimental section, we observe that many difficult and correct pseudo-labeled samples (low teacher confidence) are selected according to Fig. 4a.
|
| 305 |
+
|
| 306 |
+

|
| 307 |
+
Figure 4: Visualization of MetaST re-weighting examples on SNIPS and CoNLL03 (EN).
|
| 308 |
+
|
| 309 |
+
# A.3 K-SHOTS
|
| 310 |
+
|
| 311 |
+
Effect of varying the number of few-shots K. We show the performance changes with respect to varying number of few-shots K $\{ 5 , 1 0 , 2 0 , 1 0 0 \}$ on Wikiann (en), MIT movie, MIT Restaurant, CoNLL2003 (En), Multilingual CoNLL and Multilingual Wikiann in Table 9-13. Since the number of labeled examples for some slots in Email dataset is around 10, we only show 5 and 10 shots for Email dataset in Table 8.
|
| 312 |
+
|
| 313 |
+
Table 8: Email Dataset.
|
| 314 |
+
|
| 315 |
+
<table><tr><td rowspan="2">Method</td><td colspan="2">Shots</td></tr><tr><td>5</td><td>10</td></tr><tr><td colspan="3">Full-supervision</td></tr><tr><td>BERT</td><td></td><td>0.9444</td></tr><tr><td colspan="3">Few-shot Supervision</td></tr><tr><td>BERT</td><td>0.8211</td><td>0.8785</td></tr><tr><td colspan="3">Few-shot Supervision + unlabeled data</td></tr><tr><td>CVT</td><td>67.44</td><td>78.24</td></tr><tr><td>SeqVAT</td><td>64.67</td><td>72.65</td></tr><tr><td>Mean Teacher</td><td>84.10</td><td>89.53</td></tr><tr><td>VAT</td><td>83.24</td><td>89.71</td></tr><tr><td>Classic ST</td><td>86.88</td><td>90.70</td></tr><tr><td>BOND</td><td>84.92</td><td>89.75</td></tr><tr><td>MetaST</td><td>89.21</td><td>92.18</td></tr></table>
|
| 316 |
+
|
| 317 |
+
Table 9: Wikiann (En) Dataset.
|
| 318 |
+
|
| 319 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Shots (3 Slot Types)</td></tr><tr><td>5</td><td>10</td><td>20</td><td>100</td></tr><tr><td colspan="5">Full-supervision</td></tr><tr><td>BERT</td><td colspan="3">84.04</td><td></td></tr><tr><td colspan="5">Few-shot Supervision</td></tr><tr><td>BERT</td><td>37.01</td><td>45.61</td><td>54.53</td><td>67.87</td></tr><tr><td colspan="5">Few-shot Supervision +unlabeled data</td></tr><tr><td>CVT</td><td>16.05</td><td>27.89</td><td>46.42</td><td>66.36</td></tr><tr><td>SeqVAT</td><td>21.11</td><td>35.16</td><td>42.26</td><td>62.37</td></tr><tr><td>Mean Teacher</td><td>30.92</td><td>41.43</td><td>50.61</td><td>67.16</td></tr><tr><td>VAT</td><td>24.72</td><td>38.81</td><td>50.15</td><td>66.31</td></tr><tr><td>Classic ST</td><td>32.72</td><td>46.15</td><td>54.41</td><td>68.64</td></tr><tr><td>BOND</td><td>34.22</td><td>48.73</td><td>52.45</td><td>68.89</td></tr><tr><td>MetaST</td><td>55.04</td><td>56.61</td><td>60.38</td><td>73.20</td></tr></table>
|
| 320 |
+
|
| 321 |
+
Figure 5: MIT Movie Dataset.
|
| 322 |
+
|
| 323 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Shots (12 Slot Types)</td></tr><tr><td>5</td><td>10</td><td>20</td><td>100</td></tr><tr><td>Full-supervision</td><td colspan="4">87.87</td></tr><tr><td>BERT</td><td colspan="4"></td></tr><tr><td>Few-shot Supervision</td><td></td><td></td><td></td><td></td></tr><tr><td>BERT</td><td>62.80</td><td>69.50</td><td>75.81</td><td>82.49</td></tr><tr><td colspan="5">Few-shot Supervision +unlabeled data</td></tr><tr><td>CVT</td><td>57.48</td><td>62.73</td><td>70.20</td><td>81.82</td></tr><tr><td>SeqVAT</td><td>60.94</td><td>67.10</td><td>74.15</td><td>82.73</td></tr><tr><td>Mean Teacher</td><td>58.92</td><td>67.62</td><td>75.24</td><td>82.20</td></tr><tr><td>VAT</td><td>60.75</td><td>70.17</td><td>75.41</td><td>82.39</td></tr><tr><td>Classic ST</td><td>63.39</td><td>71.88</td><td>76.58</td><td>83.06</td></tr><tr><td>BOND</td><td>62.50</td><td>70.91</td><td>75.52</td><td>82.65</td></tr><tr><td>MetaST</td><td>72.57</td><td>77.67</td><td>80.33</td><td>84.35</td></tr></table>
|
| 324 |
+
|
| 325 |
+
Table 10: MIT Restaurant Dataset.
|
| 326 |
+
|
| 327 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Shots (8 Slot Types)</td></tr><tr><td>5</td><td>10</td><td>20</td><td>100</td></tr><tr><td colspan="5">Full-supervision</td></tr><tr><td>BERT</td><td colspan="4">78.95</td></tr><tr><td colspan="5">Few-shot Supervision</td></tr><tr><td>BERT</td><td>41.39</td><td>54.06</td><td>60.12</td><td>72.24</td></tr><tr><td colspan="5">Few-shot Supervision +unlabeled data</td></tr><tr><td>CVT</td><td>33.74</td><td>42.57</td><td>51.33</td><td>70.84</td></tr><tr><td>SeqVAT</td><td>41.94</td><td>51.55</td><td>56.15</td><td>71.39</td></tr><tr><td>Mean Teacher</td><td>40.37</td><td>51.75</td><td>57.34</td><td>72.40</td></tr><tr><td>VAT</td><td>41.29</td><td>53.34</td><td>59.68</td><td>72.65</td></tr><tr><td>Classic ST</td><td>44.35</td><td>56.80</td><td>60.28</td><td>73.13</td></tr><tr><td>BOND</td><td>43.01</td><td>55.78</td><td>59.96</td><td>73.60</td></tr><tr><td>MetaST</td><td>53.02</td><td>63.83</td><td>67.86</td><td>75.25</td></tr></table>
|
| 328 |
+
|
| 329 |
+
Table 11: CoNLL2003 (EN)
|
| 330 |
+
|
| 331 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Shots (4 Slot Types)</td></tr><tr><td>5</td><td>10</td><td>20</td><td>100</td></tr><tr><td>Full-supervision</td><td colspan="4">92.40</td></tr><tr><td>BERT</td><td colspan="4"></td></tr><tr><td>Few-shot Supervision</td><td></td><td></td><td></td><td></td></tr><tr><td>BERT</td><td>63.87</td><td>71.15</td><td>73.57</td><td>84.36</td></tr><tr><td colspan="5">Few-shot Supervision +unlabeled data</td></tr><tr><td>CVT</td><td>51.15</td><td>54.31</td><td>66.11</td><td>81.99</td></tr><tr><td>SeqVAT</td><td>58.02</td><td>67.21</td><td>74.15</td><td>82.20</td></tr><tr><td>Mean Teacher</td><td>59.04</td><td>68.67</td><td>72.62</td><td>84.17</td></tr><tr><td>VAT</td><td>57.03</td><td>65.03</td><td>72.69</td><td>84.43</td></tr><tr><td>Classic ST</td><td>64.04</td><td>70.99</td><td>74.65</td><td>84.93</td></tr><tr><td>BOND</td><td>62.52</td><td>69.56</td><td>74.19</td><td>83.87</td></tr><tr><td>MetaST</td><td>71.49</td><td>76.65</td><td>78.54</td><td>85.77</td></tr></table>
|
| 332 |
+
|
| 333 |
+
Table 12: Multilingual CoNLL03.
|
| 334 |
+
|
| 335 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Shots (4 Slot Types)</td></tr><tr><td>5</td><td>10</td><td>20</td><td>100</td></tr><tr><td colspan="5">Full-supervision</td></tr><tr><td>BERT</td><td colspan="3"></td><td></td></tr><tr><td colspan="5">Few-shot Supervision</td></tr><tr><td>BERT</td><td>64.80</td><td>70.77</td><td>73.89</td><td>80.61</td></tr><tr><td colspan="5">Few-shot Supervision +unlabeled data</td></tr><tr><td>Mean Teacher</td><td>64.55</td><td>68.34</td><td>73.87</td><td>79.21</td></tr><tr><td>VAT</td><td>64.97</td><td>67.63</td><td>74.26</td><td>80.70</td></tr><tr><td>Classic ST</td><td>67.95</td><td>72.69</td><td>73.79</td><td>81.82</td></tr><tr><td>BOND</td><td>69.42</td><td>72.79</td><td>76.02</td><td>80.62</td></tr><tr><td>MetaST</td><td>73.34</td><td>76.65</td><td>77.01</td><td>82.11</td></tr></table>
|
| 336 |
+
|
| 337 |
+
Table 13: Multilingual Wikiann
|
| 338 |
+
|
| 339 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">Shots (3 Slot Types X 41 languages)</td></tr><tr><td>5</td><td>10</td><td>20</td><td>100</td></tr><tr><td colspan="5">Full-supervision</td></tr><tr><td>BERT</td><td colspan="3"></td></tr><tr><td>Few-shot Supervision</td><td></td><td></td><td>82.33</td><td>85.70</td></tr><tr><td>BERT</td><td>77.68</td><td>79.67</td><td></td><td></td></tr><tr><td colspan="5">Few-shot Supervision +unlabeled data</td></tr><tr><td>Mean Teacher</td><td>77.09</td><td>80.23</td><td>82.19</td><td>85.34</td></tr><tr><td>VAT</td><td>74.71</td><td>78.82</td><td>82.60</td><td>85.82</td></tr><tr><td>Classic ST</td><td>76.73</td><td>80.24</td><td>82.39</td><td>86.08</td></tr><tr><td>BOND</td><td>78.81</td><td>79.57</td><td>82.19</td><td>86.14</td></tr><tr><td>MetaST</td><td>79.10</td><td>81.61</td><td>83.14</td><td>85.57</td></tr></table>
|
| 340 |
+
|
| 341 |
+
# A.4 IMPLEMENTATIONS AND HYPER-PARAMETER
|
| 342 |
+
|
| 343 |
+
We do not perform any hyper-parameter tuning for different datasets. The batch size and maximum sequence length varies due to data characteristics and are as shown in Tbale 14. The hyperparameters are as shown in Table 14.
|
| 344 |
+
|
| 345 |
+
Also, we retain parameters from original BERT implementation from https://github.com/ huggingface/transformers.
|
| 346 |
+
|
| 347 |
+
We implement SeqVAT based on https://github.com/jiesutd/NCRFpp and implement CVT following https://github.com/tensorflow/models/tree/master/ research/cvt_text.
|
| 348 |
+
|
| 349 |
+
Table 14: Batch size, sequence length and BERT encoder choices across datasets
|
| 350 |
+
|
| 351 |
+
<table><tr><td>Dataset</td><td>Sequence Length</td><td></td><td>Batch SizeLabeled data sample size B|</td><td>Unlabeled Batch Size</td><td>BERT Encoder</td></tr><tr><td>SNIPS</td><td>64</td><td>16</td><td>32</td><td>32</td><td>BERT-base-uncased</td></tr><tr><td>Email</td><td>64</td><td>16</td><td>32</td><td>32</td><td>BERT-base-cased</td></tr><tr><td>Movie</td><td>64</td><td>16</td><td>32</td><td>32</td><td>BERT-base-uncased</td></tr><tr><td>Restaurant</td><td>64</td><td>16</td><td>16</td><td>32</td><td>BERT-base-uncased</td></tr><tr><td>CoNLL03 (EN)</td><td>128</td><td>16</td><td>8</td><td>32</td><td>BERT-base-cased</td></tr><tr><td>Wikiann (EN)</td><td>128</td><td>16</td><td>8</td><td>32</td><td>BERT-base-cased</td></tr><tr><td>CoNLLO3 (multilingual)</td><td>128</td><td>16</td><td>32</td><td>32</td><td>BERT-multilingual-base-cased</td></tr><tr><td>Wikiann (multilingaul)</td><td>128</td><td>16</td><td>32</td><td>32</td><td>BERT-multilingual-base-cased</td></tr></table>
|
| 352 |
+
|
| 353 |
+
Table 15: Hyper-parameters.
|
| 354 |
+
|
| 355 |
+
<table><tr><td>BERT attention dropout BERT hidden dropout Latest Iteration R in labeled data acquisition BERT output hidden size h</td><td>0.3 0.3 5 768</td></tr><tr><td>Steps for fine-tuning teacher model on labeled data</td><td>2000</td></tr><tr><td>Steps T for self-training model on unlabeled data</td><td>3000</td></tr><tr><td>Mini-batch S Re-initialize Student</td><td>5</td></tr><tr><td>Pseudo-label Type</td><td>Y Hard</td></tr><tr><td>Warmup steps</td><td>20</td></tr><tr><td>learning rate α</td><td>5e-5</td></tr><tr><td>Weight_decay</td><td>5e-6</td></tr></table>
|
parse/train/ARFshOO1Iu/ARFshOO1Iu_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ARFshOO1Iu/ARFshOO1Iu_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ARFshOO1Iu/ARFshOO1Iu_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/B1l8BtlCb/B1l8BtlCb.md
ADDED
|
@@ -0,0 +1,318 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NON-AUTOREGRESSIVE NEURAL MACHINE TRANSLATION
|
| 2 |
+
|
| 3 |
+
Jiatao $\mathbf { G u } ^ { \dagger }$ ∗, James Bradbury‡, Caiming Xiong‡, Victor O.K. Li†& Richard Socher‡
|
| 4 |
+
|
| 5 |
+
‡Salesforce Research
|
| 6 |
+
{james.bradbury,cxiong,rsocher}@salesforce.com
|
| 7 |
+
†The University of Hong Kong
|
| 8 |
+
{jiataogu, vli}@eee.hku.hk
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Existing approaches to neural machine translation condition each output word on previously generated outputs. We introduce a model that avoids this autoregressive property and produces its outputs in parallel, allowing an order of magnitude lower latency during inference. Through knowledge distillation, the use of input token fertilities as a latent variable, and policy gradient fine-tuning, we achieve this at a cost of as little as 2.0 BLEU points relative to the autoregressive Transformer network used as a teacher. We demonstrate substantial cumulative improvements associated with each of the three aspects of our training strategy, and validate our approach on IWSLT 2016 English–German and two WMT language pairs. By sampling fertilities in parallel at inference time, our non-autoregressive model achieves near-state-of-the-art performance of 29.8 BLEU on WMT 2016 English– Romanian.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
Neural network based models outperform traditional statistical models for machine translation (MT) (Bahdanau et al., 2015; Luong et al., 2015). However, state-of-the-art neural models are much slower than statistical MT approaches at inference time (Wu et al., 2016). Both model families use autoregressive decoders that operate one step at a time: they generate each token conditioned on the sequence of tokens previously generated. This process is not parallelizable, and, in the case of neural MT models, it is particularly slow because a computationally intensive neural network is used to generate each token.
|
| 17 |
+
|
| 18 |
+
While several recently proposed models avoid recurrence at train time by leveraging convolutions (Kalchbrenner et al., 2016; Gehring et al., 2017; Kaiser et al., 2017) or self-attention (Vaswani et al., 2017) as more-parallelizable alternatives to recurrent neural networks (RNNs), use of autoregressive decoding makes it impossible to take full advantage of parallelism during inference.
|
| 19 |
+
|
| 20 |
+
We introduce a non-autoregressive translation model based on the Transformer network (Vaswani et al., 2017). We modify the encoder of the original Transformer network by adding a module that predicts fertilities, sequences of numbers that form an important component of many traditional machine translation models (Brown et al., 1993). These fertilities are supervised during training and provide the decoder at inference time with a globally consistent plan on which to condition its simultaneously computed outputs.
|
| 21 |
+
|
| 22 |
+
# 2 BACKGROUND
|
| 23 |
+
|
| 24 |
+
# 2.1 AUTOREGRESSIVE NEURAL MACHINE TRANSLATION
|
| 25 |
+
|
| 26 |
+
Given a source sentence $X = \{ x _ { 1 } , . . . , x _ { T ^ { \prime } } \}$ , a neural machine translation model factors the distribution over possible output sentences $Y = \{ y _ { 1 } , . . . , y _ { T } \}$ into a chain of conditional probabilities with a
|
| 27 |
+
|
| 28 |
+
left-to-right causal structure:
|
| 29 |
+
|
| 30 |
+
$$
|
| 31 |
+
p _ { \mathcal { A } \mathcal { R } } ( \boldsymbol { Y } | \boldsymbol { X } ; \theta ) = \prod _ { t = 1 } ^ { T + 1 } p ( y _ { t } | y _ { 0 : t - 1 } , x _ { 1 : T ^ { \prime } } ; \theta ) ,
|
| 32 |
+
$$
|
| 33 |
+
|
| 34 |
+
where the special tokens $y _ { 0 }$ (e.g. $\left. \mathrm { b o s } \right.$ ) and $y _ { T + 1 }$ (e.g. $\langle \cos \rangle$ ) are used to represent the beginning and end of all target sentences. These conditional probabilities are parameterized using a neural network. Typically, an encoder-decoder architecture (Sutskever et al., 2014) with a unidirectional RNN-based decoder is used to capture the causal structure of the output distribution.
|
| 35 |
+
|
| 36 |
+
Maximum Likelihood training Choosing to factorize the machine translation output distribution autoregressively enables straightforward maximum likelihood training with a cross-entropy loss applied at each decoding step:
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\mathcal { L } _ { \mathrm { M L } } = \log p _ { \mathcal { A R } } ( Y | X ; \theta ) = \sum _ { t = 1 } ^ { T + 1 } \log p ( y _ { t } | y _ { 0 : t - 1 } , x _ { 1 : T ^ { \prime } } ; \theta ) .
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
This loss provides direct supervision for each conditional probability prediction.
|
| 43 |
+
|
| 44 |
+
Autoregressive NMT without RNNs Since the entire target translation is known at training time, the calculation of later conditional probabilities (and their corresponding losses) does not depend on the output words chosen during earlier decoding steps. Even though decoding must remain entirely sequential during inference, models can take advantage of this parallelism during training. One such approach replaces recurrent layers in the decoder with masked convolution layers (Kalchbrenner et al., 2016; Gehring et al., 2017) that provide the causal structure required by the autoregressive factorization.
|
| 45 |
+
|
| 46 |
+
A recently introduced option which reduces sequential computation still further is to construct the decoder layers out of self-attention computations that have been causally masked in an analogous way. The state-of-the-art Transformer network takes this approach, which allows information to flow in the decoder across arbitrarily long distances in a constant number of operations, asymptotically fewer than required by convolutional architectures (Vaswani et al., 2017).
|
| 47 |
+
|
| 48 |
+
# 2.2 NON-AUTOREGRESSIVE DECODING
|
| 49 |
+
|
| 50 |
+
Pros and cons of autoregressive decoding The autoregressive factorization used by conventional NMT models has several benefits. It corresponds to the word-by-word nature of human language production and effectively captures the distribution of real translations. Autoregressive models achieve state-of-the-art performance on large-scale corpora and are easy to train, while beam search provides an effective local search method for finding approximately-optimal output translations.
|
| 51 |
+
|
| 52 |
+
But there are also drawbacks. As the individual steps of the decoder must be run sequentially rather than in parallel, autoregressive decoding prevents architectures like the Transformer from fully realizing their train-time performance advantage during inference. Meanwhile, beam search suffers from diminishing returns with respect to beam size (Koehn & Knowles, 2017) and exhibits limited search parallelism because it introduces computational dependence between beams.
|
| 53 |
+
|
| 54 |
+
Towards non-autoregressive decoding A na¨ıve solution is to remove the autoregressive connection directly from an existing encoder-decoder model. Assuming that the target sequence length $T$ can be modeled with a separate conditional distribution $p _ { L }$ , this becomes
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
Figure 1: Translating “A B C” to $^ { 6 6 } \mathrm { X }$ Y” using autoregressive and non-autoregressive neural MT architectures. The latter generates all output tokens in parallel.
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
p _ { \mathcal N A } ( Y | X ; \theta ) = p _ { L } ( T | x _ { 1 : T ^ { \prime } } ; \theta ) \cdot \prod _ { t = 1 } ^ { T } p ( y _ { t } | x _ { 1 : T ^ { \prime } } ; \theta ) .
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
This model still has an explicit likelihood function, and it can still be trained using independent cross-entropy losses on each output distribution. Now, however, these distributions can be computed in parallel at inference time.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 2: The architecture of the NAT, where the black solid arrows represent differentiable connections and the purple dashed arrows are non-differentiable operations. Each sublayer inside the encoder and decoder stacks also includes layer normalization and a residual connection.
|
| 67 |
+
|
| 68 |
+
# 2.3 THE MULTIMODALITY PROBLEM
|
| 69 |
+
|
| 70 |
+
However, this na¨ıve approach does not yield good results, because such a model exhibits complete conditional independence. Each token’s distribution $p ( y _ { t } )$ depends only on the source sentence $X$ . This makes it a poor approximation to the true target distribution, which exhibits strong correlation across time. Intuitively, such a decoder is akin to a panel of human translators each asked to provide a single word of a translation independently of the words their colleagues choose.
|
| 71 |
+
|
| 72 |
+
In particular, consider an English source sentence like “Thank you.” This can be accurately translated into German as any one of “Danke.”, “Danke schon.”, or “Vielen Dank.”, all of which may ¨ occur in a given training corpus. This target distribution cannot be represented as a product of independent probability distributions for each of the first, second, and third words, because a conditionally independent distribution cannot allow “Danke schon.” and “Vielen Dank.” without also ¨ licensing “Danke Dank.” and “Vielen schon.”¨
|
| 73 |
+
|
| 74 |
+
The conditional independence assumption prevents a model from properly capturing the highly multimodal distribution of target translations. We call this the “multimodality problem” and introduce both a modified model and new training techniques to tackle this issue.
|
| 75 |
+
|
| 76 |
+
# 3 THE NON-AUTOREGRESSIVE TRANSFORMER (NAT)
|
| 77 |
+
|
| 78 |
+
We introduce a novel NMT model—the Non-Autoregressive Transformer (NAT)—that can produce an entire output translation in parallel. As shown in Fig. 2, the model is composed of the following four modules: an encoder stack, a decoder stack, a newly added fertility predictor (details in 3.3), and a translation predictor for token decoding.
|
| 79 |
+
|
| 80 |
+
# 3.1 ENCODER STACK
|
| 81 |
+
|
| 82 |
+
Similar to the autoregressive Transformer, both the encoder and decoder stacks are composed entirely of feed-forward networks (MLPs) and multi-head attention modules. Since no RNNs are used, there is no inherent requirement for sequential execution, making non-autoregressive decoding possible. For our proposed NAT, the encoder stays unchanged from the original Transformer network.
|
| 83 |
+
|
| 84 |
+
# 3.2 DECODER STACK
|
| 85 |
+
|
| 86 |
+
In order to translate non-autoregressively and parallelize the decoding process, we modify the decoder stack as follows.
|
| 87 |
+
|
| 88 |
+
Decoder Inputs Before decoding starts, the NAT needs to know how long the target sentence will be in order to generate all words in parallel. More crucially, we cannot use time-shifted target outputs (during training) or previously predicted outputs (during inference) as the inputs to the first decoder layer. Omitting inputs to the first decoder layer entirely, or using only positional embeddings, resulted in very poor performance. Instead, we initialize the decoding process using copied source inputs from the encoder side. As the source and target sentences are often of different lengths, we propose two methods:
|
| 89 |
+
|
| 90 |
+
• Copy source inputs uniformly: Each decoder input $t$ is a copy of the Round $( T ^ { \prime } t / T )$ -th encoder input. This is equivalent to “scanning” source inputs from left to right with a constant “speed,” and results in a decoding process that is deterministic given a (predicted) target length. • Copy source inputs using fertilities: A more powerful way, depicted in Fig. 2 and discussed in more detail below, is to copy each encoder input as a decoder input zero or more times, with the number of times each input is copied referred to as that input word’s “fertility.” In this case the source inputs are scanned from left to right at a “speed” that varies inversely with the fertility of each input; the decoding process is now conditioned on the sequence of fertilities, while the resulting output length is determined by the sum of all fertility values.
|
| 91 |
+
|
| 92 |
+
Non-causal self-attention Without the constraint of an autoregressive factorization of the output distribution, we no longer need to prevent earlier decoding steps from accessing information from later steps. Thus we can avoid the causal mask used in the self-attention module of the conventional Transformer’s decoder. Instead, we mask out each query position only from attending to itself, which we found to improve decoder performance relative to unmasked self-attention.
|
| 93 |
+
|
| 94 |
+
Positional attention We also include an additional positional attention module in each decoder layer, which is a multi-head attention module with the same general attention mechanism used in other parts of the Transformer network, i.e.
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
{ \mathrm { A t t e n t i o n } } ( Q , K , V ) = { \mathrm { s o f t m a x } } \left( { \frac { Q K ^ { T } } { \sqrt { d _ { \mathrm { m o d e l } } } } } \right) \cdot V ,
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $d _ { \mathrm { m o d e l } }$ is the model hidden size, but with the positional encoding1 as both query and key and the decoder states as the value. This incorporates positional information directly into the attention process and provides a stronger positional signal than the embedding layer alone. We also hypothesize that this additional information improves the decoder’s ability to perform local reordering.
|
| 101 |
+
|
| 102 |
+
# 3.3 MODELING FERTILITY TO TACKLE THE MULTIMODALITY PROBLEM
|
| 103 |
+
|
| 104 |
+
The multimodality problem can be attacked by introducing a latent variable $z$ to directly model the nondeterminism in the translation process: we first sample $z$ from a prior distribution and then condition on $z$ to non-autoregressively generate a translation.
|
| 105 |
+
|
| 106 |
+
One way to interpret this latent variable is as a sentence-level “plan” akin to those discussed in the language production literature (Martin et al., 2010). There are several desirable properties for this latent variable:
|
| 107 |
+
|
| 108 |
+
• It should be simple to infer a value for the latent variable given a particular input-output pair, as this is needed to train the model end-to-end. • Adding $z$ to the conditioning context should account as much as possible for the correlations across time between different outputs, so that the remaining marginal probabilities at each output location are as close as possible to satisfying conditional independence. • It should not account for the variation in output translations so directly that $p ( y | x , z )$ becomes trivial to learn, since that is the function our decoder neural network will approximate.
|
| 109 |
+
|
| 110 |
+
The factorization by length introduced in Eq. 3 provides a very weak example of a latent variable model, satisfying the first and third property but not the first. We propose the use of fertilities instead. These are integers for each word in the source sentence that correspond to the number of words in the target sentence that can be aligned to that source word using a hard alignment algorithm like IBM Model 2 (Brown et al., 1993).
|
| 111 |
+
|
| 112 |
+
One of the most important properties of the proposed NAT is that it naturally introduces an informative latent variable when we choose to copy the encoder inputs based on predicted fertilities. More precisely, given a source sentence $X$ , the conditional probability of a target translation $Y$ is:
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
p _ { \mathcal N \mathcal M } ( Y | X ; \theta ) = \sum _ { f _ { 1 } , . . . , f _ { T ^ { \prime } } \in \mathcal F } \left( \prod _ { t ^ { \prime } = 1 } ^ { T ^ { \prime } } p _ { F } ( f _ { t ^ { \prime } } | x _ { 1 : T ^ { \prime } } ; \theta ) \cdot \prod _ { t = 1 } ^ { T } p ( y _ { t } | x _ { 1 } \{ f _ { 1 } \} , . . , x _ { T ^ { \prime } } \{ f _ { T ^ { \prime } } \} ; \theta ) \right)
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
where value $\begin{array} { r } { \mathcal { F } = \{ f _ { 1 } , . . . , f _ { T ^ { \prime } } | \sum _ { t ^ { \prime } = 1 } ^ { T ^ { \prime } } f _ { t ^ { \prime } } = T , f _ { t ^ { \prime } } \in \mathbb { Z } ^ { * } \} } \end{array}$ is thand of all fertility sequdenotes the token ces—onerepeated ertilitytimes. $Y$ $x \{ f \}$ $x$ $f$
|
| 119 |
+
|
| 120 |
+
Fertility prediction As shown in Fig. 2, we model the fertility $p _ { F } \big ( f _ { t ^ { \prime } } | x _ { 1 : T ^ { \prime } } \big )$ at each position independently using a one-layer neural network with a softmax classifier $L = 5 0$ in our experiments) on top of the output of the last encoder layer. This models the way that fertility values are a property of each input word but depend on information and context from the entire sentence.
|
| 121 |
+
|
| 122 |
+
Benefits of fertility Fertilities possess all three of the properties listed earlier as desired of a latent variable for non-autoregressive machine translation:
|
| 123 |
+
|
| 124 |
+
• An external aligner provides a simple and fast approximate inference model that effectively reduces the unsupervised training problem to two supervised ones.
|
| 125 |
+
• Using fertilities as a latent variable makes significant progress towards solving the multimodality problem by providing a natural factorization of the output space. Given a source sentence, restricting the output distribution to those target sentences consistent with a particular fertility sequence dramatically reduces the mode space. Furthermore, the global choice of mode is factored into a set of local mode choices: namely, how to translate each input word. These local mode choices can be effectively supervised because the fertilities provide a fixed “scaffold.”
|
| 126 |
+
Including both fertilities and reordering in the latent variable would provide complete alignment statistics. This would make the decoding function trivially easy to approximate given the latent variable and force all of the modeling complexity into the encoder. Using fertilities alone allows the decoder to take some of this burden off of the encoder.
|
| 127 |
+
|
| 128 |
+
Our use of fertilities as a latent variable also means that there is no need to have a separate means of explicitly modeling the length of the translation, which is simply the sum of fertilities. And fertilities provide a powerful way to condition the decoding process, allowing the model to generate diverse translations by sampling over the fertility space.
|
| 129 |
+
|
| 130 |
+
# 3.4 TRANSLATION PREDICTOR AND THE DECODING PROCESS
|
| 131 |
+
|
| 132 |
+
At inference time, the model can identify the translation with the highest conditional probability (see Eq. 5) by marginalizing over all possible latent fertility sequences. Given a fertility sequence, however, identifying the optimal translation only requires independently maximizing the local probability for each output position. We define $Y \overset { \cdot } { = } G ( x _ { 1 : T ^ { \prime } } , f _ { 1 : T ^ { \prime } } ; \theta )$ to represent the optimal translation given a source sentence and a sequence of fertility values.
|
| 133 |
+
|
| 134 |
+
But searching and marginalizing over the whole fertility space is still intractable. We propose three heuristic decoding algorithms to reduce the search space of the NAT model:
|
| 135 |
+
|
| 136 |
+
Argmax decoding Since the fertility sequence is also modeled with a conditionally independent factorization, we can simply estimate the best translation by choosing the highest-probability fertility for each input word:
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\hat { Y } _ { \mathrm { a r g m a x } } = G ( x _ { 1 : T ^ { \prime } } , \hat { f } _ { 1 : T ^ { \prime } } ; \theta ) , \mathrm { w h e r e \ } \hat { f } _ { t ^ { \prime } } = \underset { f } { \operatorname { a r g m a x } } p _ { F } ( f _ { t ^ { \prime } } | x _ { 1 : T ^ { \prime } } ; \theta )
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
Average decoding We can also estimate each fertility as the expectation of its corresponding softmax distribution:
|
| 143 |
+
|
| 144 |
+
$$
|
| 145 |
+
\hat { Y } _ { \mathrm { a v e r a g e } } = G ( x _ { 1 : T ^ { \prime } } , \hat { f } _ { 1 : T ^ { \prime } } ; \theta ) , \mathrm { w h e r e } \hat { f } _ { t ^ { \prime } } = \mathrm { R o u n d } \left( \sum _ { f _ { t ^ { \prime } } = 1 } ^ { L } p _ { F } \big ( f _ { t ^ { \prime } } | x _ { 1 : T ^ { \prime } } ; \theta \big ) f _ { t ^ { \prime } } \right)
|
| 146 |
+
$$
|
| 147 |
+
|
| 148 |
+
Noisy parallel decoding (NPD) A more accurate approximation of the true optimum of the target distribution, inspired by Cho (2016), is to draw samples from the fertility space and compute the best translation for each fertility sequence. We can then use the autoregressive teacher to identify the best overall translation:
|
| 149 |
+
|
| 150 |
+
$$
|
| 151 |
+
\hat { Y } _ { \mathrm { N P D } } = G ( x _ { 1 : T ^ { \prime } } , \underset { f _ { t ^ { \prime } } \sim p _ { F } } { \mathrm { a r g m a x } } p _ { \mathcal { A R } } ( G ( x _ { 1 : T ^ { \prime } } , f _ { 1 : T ^ { \prime } } ; \theta ) | X ; \theta ) ; \theta )
|
| 152 |
+
$$
|
| 153 |
+
|
| 154 |
+
Note that, when using an autoregressive model as a scoring function for a set of decoded translations, it can run as fast as it does at train time because it can be provided with all decoder inputs in parallel.
|
| 155 |
+
|
| 156 |
+
NPD is a stochastic search method, and it also increases the computational resources required linearly by the sample size. However, because all the search samples can be computed and scored entirely independently, the process only doubles the latency compared to computing a single translation if sufficient parallelism is available.
|
| 157 |
+
|
| 158 |
+
# 4 TRAINING
|
| 159 |
+
|
| 160 |
+
The proposed NAT contains a discrete sequential latent variable $f _ { 1 : T ^ { \prime } }$ , whose conditional posterior distribution $p ( f _ { 1 : T ^ { \prime } } | x _ { 1 : T ^ { \prime } } , y _ { 1 : T } ; \theta )$ we can approximate using a proposal distribution $q ( f _ { 1 : T ^ { \prime } } | x _ { 1 : T ^ { \prime } } , y _ { 1 : T } )$ . This provides a variational bound for the overall maximum likelihood loss:
|
| 161 |
+
|
| 162 |
+
$$
|
| 163 |
+
\begin{array} { r l } & { \mathcal { L } _ { \mathrm { M L } } = \log p _ { \mathcal { N A } } ( Y | X ; \theta ) = \log \displaystyle \sum _ { f _ { 1 : T ^ { \prime } } \in \mathcal { F } } p _ { F } ( f _ { 1 : T ^ { \prime } } | x _ { 1 : T ^ { \prime } } ; \theta ) \cdot p ( y _ { 1 : T } | x _ { 1 : T ^ { \prime } } , f _ { 1 : T ^ { \prime } } ; \theta ) } \\ & { \geq \displaystyle \sum _ { f _ { 1 : T ^ { \prime } \sim \mathcal { I } } } \left( \underbrace { T } _ { \mathrm { t - 1 } } \log p ( y _ { t } | x _ { 1 } \{ f _ { 1 } \} , . . . , x _ { T ^ { \prime } } \{ f _ { T ^ { \prime } } \} ; \theta ) \right)} _ { \mathrm { T r a n s l a t i o n ~ L o s s } } + \underbrace { \sum _ { t ^ { \prime } = 1 } ^ { T ^ { \prime } } \log p _ { F } ( f _ { t ^ { \prime } } | x _ { 1 : T ^ { \prime } } ; \theta ) } _ { \mathrm { F e r t i l i t y ~ L o s s } } + \mathcal { H } ( q ) \end{array}
|
| 164 |
+
$$
|
| 165 |
+
|
| 166 |
+
We choose a proposal distribution $q$ defined by a separate, fixed fertility model. Possible options include the output of an external aligner, which produces a deterministic sequence of integer fertilities for each (source, target) pair in a training corpus, or fertilities computed from the attention weights used in our fixed autoregressive teacher model. This simplifies the inference process considerably, as the expectation over $q$ is deterministic.
|
| 167 |
+
|
| 168 |
+
The resulting loss function, consisting of the two bracketed terms in Eq. 9, allows us to train the entire model in a supervised fashion, using the inferred fertilities to simultaneously train the translation model $p$ and supervise the fertility neural network model $p _ { F }$ .
|
| 169 |
+
|
| 170 |
+
# 4.1 SEQUENCE-LEVEL KNOWLEDGE DISTILLATION
|
| 171 |
+
|
| 172 |
+
While the latent fertility model substantially improves the ability of the non-autoregressive output distribution to approximate the multimodal target distribution, it does not completely solve the problem of nondeterminism in the training data. In many cases, there are multiple correct translations consistent with a single sequence of fertilities—for instance, both “Danke schon.” and “Vielen ¨ dank.” are consistent with the English input “Thank you.” and the fertility sequence [2, 0, 1], because “you” is not directly translated in either German sentence.
|
| 173 |
+
|
| 174 |
+
Thus we additionally apply sequence-level knowledge distillation (Kim & Rush, 2016) to construct a new corpus by training an autoregressive machine translation model, known as the teacher, on an existing training corpus, then using that model’s greedy outputs as the targets for training the nonautoregressive student. The resulting targets are less noisy and more deterministic, as the trained model will consistently translate a sentence like “Thank you.” into the same German translation every time; on the other hand, they are also lower in quality than the original dataset.
|
| 175 |
+
|
| 176 |
+
# 4.2 FINE-TUNING
|
| 177 |
+
|
| 178 |
+
Our supervised fertility model enables a decomposition of the overall maximum likelihood loss into translation and fertility terms, but it has some drawbacks compared to variational training. In particular, it heavily relies on the deterministic, approximate inference model provided by the external alignment system, while it would be desirable to train the entire model, including the fertility predictor, end to end.
|
| 179 |
+
|
| 180 |
+
Thus we propose a fine-tuning step after training the NAT to convergence. We introduce an additional loss term consisting of the reverse K-L divergence with the teacher output distribution, a form of word-level knowledge distillation:
|
| 181 |
+
|
| 182 |
+
$$
|
| 183 |
+
\mathcal { L } _ { \mathrm { R K L } } \left( f _ { 1 : T ^ { \prime } } ; \theta \right) = \sum _ { t = 1 } ^ { T } \sum _ { y _ { t } } \left[ \log p _ { \mathcal { A R } } \left( y _ { t } | \hat { y } _ { 1 : t - 1 } , x _ { 1 : T ^ { \prime } } \right) \cdot p _ { \mathcal { N A } } \left( y _ { t } | x _ { 1 : T ^ { \prime } } , f _ { 1 : T ^ { \prime } } ; \theta \right) \right] ,
|
| 184 |
+
$$
|
| 185 |
+
|
| 186 |
+
where $\hat { y } _ { 1 : T } = G ( x _ { 1 : T ^ { \prime } } , f _ { 1 : T ^ { \prime } } ; \theta )$ . Such a loss is more favorable towards highly peaked student output distributions than a standard cross-entropy error would be.
|
| 187 |
+
|
| 188 |
+
Then we train the whole model jointly with a weighted sum of the original distillation loss and two such terms, one an expectation over the predicted fertility distribution, normalized with a baseline, and the other based on the external fertility inference model:
|
| 189 |
+
|
| 190 |
+
$$
|
| 191 |
+
\mathcal { L } _ { \mathrm { F T } } = \lambda \left( \underbrace { \mathbb { E } } _ { \int _ { \mathrm { I : T : } } r \sim p _ { F } } \left( \mathcal { L } _ { \mathrm { R K L } } \left( f _ { 1 : T ^ { \prime } } \right) - \mathcal { L } _ { \mathrm { R K L } } \left( \bar { f } _ { 1 : T ^ { \prime } } \right) \right) + \underbrace { \mathbb { E } } _ { f _ { 1 : T ^ { \prime } \sim q } } \left( \mathcal { L } _ { \mathrm { R K L } } \left( f _ { 1 : T ^ { \prime } } \right) \right) _ { \mathcal { L } _ { \mathrm { R P } } } \right) + ( 1 - \lambda ) \mathcal { L } _ { \mathrm { K D } } ,
|
| 192 |
+
$$
|
| 193 |
+
|
| 194 |
+
where ${ \bar { f } } _ { 1 : T ^ { \prime } }$ is the average fertility computed by Eq. 7. The gradient with respect to the nondifferentiable ${ \mathcal { L } } _ { \mathrm { R L } }$ term can be estimated with REINFORCE (Williams, 1992), while the $\mathcal { L } _ { \mathrm { B P } }$ term can be trained using ordinary backpropagation.
|
| 195 |
+
|
| 196 |
+
# 5 EXPERIMENTS
|
| 197 |
+
|
| 198 |
+
# 5.1 EXPERIMENTAL SETTINGS
|
| 199 |
+
|
| 200 |
+
Dataset We evaluate the proposed NAT on three widely used public machine translation corpora: IWSLT16 En–De2, WMT14 En–De,3 and WMT16 En–Ro4. We use IWSLT—which is smaller than the other two datasets—as the development dataset for ablation experiments, and additionally train and test our primary models on both directions of both WMT datasets. All the data are tokenized and segmented into subword symbols using byte-pair encoding (BPE) (Sennrich et al., 2015) to restrict the size of the vocabulary. For both WMT datasets, we use shared BPE vocabulary and additionally share encoder and decoder word embeddings; for IWSLT, we use separate English and German vocabulary and embeddings.
|
| 201 |
+
|
| 202 |
+
Teacher Sequence-level knowledge distillation is applied to alleviate multimodality in the training dataset, using autoregressive models as the teachers. The same teacher model used for distillation is also used as a scoring function for fine-tuning and noisy parallel decoding.
|
| 203 |
+
|
| 204 |
+
To enable a fair comparison, and benefit from its high translation quality, we implemented the autoregressive teachers using the state-of-the-art Transformer architecture. In addition, we use the same sizes and hyperparameters for each student and its respective teacher, with the exception of the newly added positional self-attention and fertility prediction modules.
|
| 205 |
+
|
| 206 |
+
<table><tr><td rowspan="2">Models</td><td colspan="2">WMT14</td><td colspan="2">WMT16</td><td colspan="2">IWSLT16</td><td></td></tr><tr><td>En→De</td><td>De→En</td><td>En→Ro</td><td>Ro→En</td><td>En→De</td><td>Latency / Speedup</td><td></td></tr><tr><td>NAT</td><td>17.35</td><td>20.62</td><td>26.22</td><td>27.83</td><td>25.20</td><td>39 ms</td><td>15.6×</td></tr><tr><td>NAT (+FT)</td><td>17.69</td><td>21.47</td><td>27.29</td><td>29.06</td><td>26.52</td><td>39 ms</td><td>15.6×</td></tr><tr><td>NAT (+FT + NPD s = 10)</td><td>18.66</td><td>22.41</td><td>29.02</td><td>30.76</td><td>27.44</td><td>79 ms</td><td>7.68×</td></tr><tr><td>NAT (+FT + NPD s = 100)</td><td>19.17</td><td>23.20</td><td>29.79</td><td>31.44</td><td>28.16</td><td>257 ms</td><td>2.36×</td></tr><tr><td>Autoregressive (b = 1)</td><td>22.71</td><td>26.39</td><td>31.35</td><td>31.03</td><td>28.89</td><td>408 ms</td><td>1.49×</td></tr><tr><td>Autoregressive (b = 4)</td><td>23.45</td><td>27.02</td><td>31.91</td><td>31.76</td><td>29.70</td><td>607ms</td><td>1.00×</td></tr></table>
|
| 207 |
+
|
| 208 |
+
Table 1: BLEU scores on official test sets (newstest2014 for WMT En-De and newstest2016 for WMT En-Ro) or the development set for IWSLT. NAT models without NPD use argmax decoding. Latency is computed as the time to decode a single sentence without minibatching, averaged over the whole test set; decoding is implemented in PyTorch on a single NVIDIA Tesla P100.
|
| 209 |
+
|
| 210 |
+
Preparation for knowledge distillation We first train all teacher models using maximum likelihood, then freeze their parameters. To avoid the redundancy of running fixed teacher models repeatedly on the same data, we decode the entire training set once using each teacher to create a new training dataset for its respective student.
|
| 211 |
+
|
| 212 |
+
Encoder initialization We find it helpful to initialize the weights in the NAT student’s encoder with the encoder weights from its teacher, as the autoregressive and non-autoregressive models share the same encoder input and architecture.
|
| 213 |
+
|
| 214 |
+
Fertility supervision during training As described above, we supervise the fertility predictions at train time by using a fixed aligner as a fertility inference function. We use the fast align5 implementation of IBM Model 2 for this purpose, with default parameters (Dyer et al., 2013).
|
| 215 |
+
|
| 216 |
+

|
| 217 |
+
Figure 3: BLEU scores on IWSLT development set as a function of sample size for noisy parallel decoding. NPD matches the performance of the other two decoding strategies after two samples, and exceeds the performance of the autoregressive teacher with around 1000.
|
| 218 |
+
|
| 219 |
+
Hyperparameters For experiments on WMT datasets, we use the hyperparameter settings of the base Transformer model described in Vaswani et al. (2017), though without label smoothing. As IWSLT is a smaller corpus, and to reduce training time, we use a set of smaller hyperparameters $( d _ { \mathrm { m o d e l } } = 2 8 7 , d _ { \mathrm { h i d d e n } } = 5 0 7 , n _ { \mathrm { l a y e r } } = 5 , n _ { \mathrm { h e a d } } = \mathrm { \Omega } ^ { \ast }$ , and $t _ { \mathrm { w a r m u p } } = 7 4 6 )$ for all experiments on that dataset. For fine-tuning we use $\lambda = 0 . 2 5$ .
|
| 220 |
+
|
| 221 |
+
Evaluation metrics We evaluate using tokenized and cased BLEU scores (Papineni et al., 2002).
|
| 222 |
+
|
| 223 |
+
Implementation We have open-sourced our PyTorch implementation of the $\mathrm { N A T ^ { 6 } }$ .
|
| 224 |
+
|
| 225 |
+
# 5.2 RESULTS
|
| 226 |
+
|
| 227 |
+
Across the three datasets we used, the NAT performs between 2-5 BLEU points worse than its autoregressive teacher, with part or all of this gap addressed by the use of noisy parallel decoding. In the case of WMT16 English–Romanian, NPD improves the performance of our non-autoregressive model to within 0.2 BLEU points of the previous overall state of the art (Gehring et al., 2017).
|
| 228 |
+
|
| 229 |
+
Comparing latencies on the development model shows a speedup of more than a factor of 10 over greedy autoregressive decoding, or a factor of 15 over beam search. Latencies for decoding with NPD, regardless of sample size, could be reduced to about $8 0 \mathrm { m s }$ by parallelizing across multiple GPUs because each sample can be generated, then scored, independently from the others.
|
| 230 |
+
|
| 231 |
+
# 5.3 ABLATION STUDY
|
| 232 |
+
|
| 233 |
+
We also conduct an extensive ablation study with the proposed NAT on the IWSLT dataset. First, we note that the model fails to train when provided with only positional embeddings as input to the decoder. Second, we see that training on the distillation corpus rather than the ground truth provides a fairly consistent improvement of around 5 BLEU points. Third, switching from uniform copying of source inputs to fertility-based copying improves performance by four BLEU points when using ground-truth training or two when using distillation.
|
| 234 |
+
|
| 235 |
+
<table><tr><td>Distillation b=1 b=4</td><td>Decoder Inputs +uniform</td><td>+fertility</td><td>+PosAtt</td><td>Fine-tuning +LKD +LBP</td><td>BLEU +CRL</td><td>BLEU (T)</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>~2</td><td></td></tr><tr><td></td><td>√</td><td></td><td></td><td></td><td>16.51</td><td></td></tr><tr><td></td><td></td><td></td><td>√</td><td></td><td>18.87</td><td></td></tr><tr><td>√</td><td>√</td><td></td><td>√</td><td></td><td>20.72</td><td></td></tr><tr><td></td><td>√</td><td></td><td>√</td><td></td><td>21.12</td><td></td></tr><tr><td><</td><td></td><td></td><td>√</td><td></td><td>24.02</td><td>43.91</td></tr><tr><td></td><td></td><td></td><td>√</td><td></td><td>25.20</td><td>45.41</td></tr><tr><td></td><td>√</td><td></td><td></td><td>√</td><td>22.44 厂</td><td></td></tr><tr><td>兴 √</td><td></td><td>√</td><td></td><td></td><td>×</td><td>×</td></tr><tr><td></td><td></td><td>√</td><td></td><td>√</td><td>×</td><td>×</td></tr><tr><td>√</td><td></td><td>√</td><td>√</td><td>√</td><td>25.76</td><td>46.11</td></tr><tr><td>√</td><td></td><td>√</td><td>√</td><td>√</td><td>26.52</td><td>47.38</td></tr></table>
|
| 236 |
+
|
| 237 |
+
Table 2: Ablation performance on the IWSLT development set. BLEU (T) refers to the BLEU score on a version of the development set that has been translated by the teacher model. An $\times$ indicates that fine-tuning caused that model to get worse. When uniform copying is used as the decoder inputs, the ground-truth target lengths are provided. All models use argmax decoding.
|
| 238 |
+
|
| 239 |
+
Fine-tuning does not converge with reinforcement learning alone, or with the $\mathcal { L } _ { \mathrm { B P } }$ term alone, but use of all three fine-tuning terms together leads to an improvement of around 1.5 BLEU points. Training the student model from a distillation corpus produced using beam search is similar to training from the greedily-distilled corpus.
|
| 240 |
+
|
| 241 |
+
Figure 4: Two examples comparing translations produced by an autoregressive (AR) and nonautoregressive Transformer as well as the result of noisy parallel decoding with sample size 100. Repeated words are highlighted in gray.
|
| 242 |
+
|
| 243 |
+
<table><tr><td>Source:</td><td>politicians try to pick wordsand use words to shape realityand control reality,butin fact,reality changes words</td></tr><tr><td></td><td>far more than words can ever change reality.</td></tr><tr><td rowspan="3">Target: AR:</td><td>Politiker versuchen Worte zu benutzen,um die Realitat zu formen und die Realitat zu kontrolieren,aber</td></tr><tr><td>tatsächlich verandert die Realitat Worte viel mehr,als Worte die Realitat jemals verändern konnten.</td></tr><tr><td>Politikerversuchen Worter zu wahlen und Worter zur Realitat zu gestalten und Realitätzu steuern,aber in</td></tr><tr><td rowspan="2">NAT:</td><td>Wirklichkeit verändert sich die Realitat viel mehrals Worte,die die Realität verändern konnen.</td></tr><tr><td>Politikerversuchen,Worter wahlen und zu verwenden,um Realitatzu formen und Realitatzu formen,aber</td></tr><tr><td rowspan="2">NAT+NPD:</td><td>tatsächlich ändert Realitat Realitat viel mehrals Wortedie Realität Realitat verändern.</td></tr><tr><td>Politikerversuchen,Worter wahlenund zu verwenden,um Realitat Realitat formenund die Realitatzu formen, aber tatsächlich ändert die Realität Worte viel mehrals Worte jemals die Realität verändern konnen.</td></tr><tr><td>Source:</td><td>Isee wheelchairs bought and sold like used cars.</td></tr><tr><td>Target:</td><td>ich erlebe,dass Rollstuhle gekauft und verkauft werden wie Gebrauchtwagen</td></tr><tr><td>AR: NAT:</td><td>ich sehe Rollstuhlen,die wie Autos verkauft und verkauft werden.</td></tr><tr><td>NAT+NPD:</td><td>ich sehe,dass Stuhle Stuhle und verkauftwie Autos verkauft.</td></tr><tr><td></td><td>ich sehe Rollühle kauften und verkaufte wie Autos.</td></tr></table>
|
| 244 |
+
|
| 245 |
+
We include two examples of translations from the IWSLT development set in Fig. 4. Instances of repeated words or phrases, highlighted in gray, are most prevalent in the non-autoregressive output for the relatively complex first example sentence. Two pairs of repeated words in the first example, as
|
| 246 |
+
|
| 247 |
+
se lucreaza la soluti de genul acesta .
|
| 248 |
+
|
| 249 |
+
se la solutii de genul acesta .
|
| 250 |
+
se lucreaza la solutii de acesta .
|
| 251 |
+
se lucreaza solutii de genul acesta .
|
| 252 |
+
se se lucreaza la solutii de acesta .
|
| 253 |
+
se lucreaza lucreaza la solutii de acesta .
|
| 254 |
+
se se lucreaza lucreaza la solutii de acesta .
|
| 255 |
+
se se lucreaza lucreaza la solutii de de acesta .
|
| 256 |
+
se se lucreaza lucreaza la solutii de genul acesta . solutions on this kind are done.
|
| 257 |
+
work done on solutions like this .
|
| 258 |
+
solutions on this kind is done .
|
| 259 |
+
work is done on solutions like this .
|
| 260 |
+
work is done on solutions like this .
|
| 261 |
+
work is being done on solutions like this .
|
| 262 |
+
work is being done on solutions such as this.
|
| 263 |
+
work is being done on solutions such this kind .
|
| 264 |
+
|
| 265 |
+
Figure 5: A Romanian–English example translated with noisy parallel decoding. At left are eight sampled fertility sequences from the encoder, represented with their corresponding decoder input sequences. Each of these values for the latent variable leads to a different possible output translation, shown at right. The autoregressive Transformer then picks the best translation, shown in red, a process which is much faster than directly using it to generate output.
|
| 266 |
+
|
| 267 |
+
well as a pair in the second, are not present in the versions with noisy parallel decoding, suggesting that NPD scoring using the teacher model can filter out such mistakes. The translations produced by the NAT with NPD, while of a similar quality to those produced by the autoregressive model, are also noticeably more literal.
|
| 268 |
+
|
| 269 |
+
We also show an example of the noisy parallel decoding process in Fig. 5, demonstrating the diversity of translations that can be found by sampling from the fertility space.
|
| 270 |
+
|
| 271 |
+
# 6 CONCLUSION
|
| 272 |
+
|
| 273 |
+
We introduce a latent variable model for non-autoregressive machine translation that enables a decoder based on Vaswani et al. (2017) to take full advantage of its exceptional degree of internal parallelism even at inference time. As a result, we measure translation latencies of one-tenth that of an equal-sized autoregressive model, while maintaining competitive BLEU scores.
|
| 274 |
+
|
| 275 |
+
# REFERENCES
|
| 276 |
+
|
| 277 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015.
|
| 278 |
+
|
| 279 |
+
Peter Brown, Vincent della Pietra, Stephen della Pietra, and Robert Mercer. The mathematics of statistical machine translation: Parameter estimation. Computational Linguistics, 19(2):263–311, 1993.
|
| 280 |
+
|
| 281 |
+
Kyunghyun Cho. Noisy parallel approximate decoding for conditional recurrent language model. arXiv preprint arXiv:1605.03835, 2016.
|
| 282 |
+
|
| 283 |
+
Chris Dyer, Victor Chahuneau, and Noah Smith. A simple, fast, and effective reparameterization of IBM Model 2. In NAACL, 2013.
|
| 284 |
+
|
| 285 |
+
Jonas Gehring, Michael Auli, David Grangier, Denis Yarats, and Yann Dauphin. Convolutional sequence to sequence learning. arXiv preprint arXiv:1705.03122, 2017.
|
| 286 |
+
|
| 287 |
+
Łukasz Kaiser, Aidan Gomez, and Franc¸ois Chollet. Depthwise separable convolutions for neural machine translation. arXiv preprint arXiv:1706.03059, 2017.
|
| 288 |
+
|
| 289 |
+
Nal Kalchbrenner, Lasse Espeholt, Karen Simonyan, Aaron van den Oord, Alex Graves, and Koray Kavukc¸uoglu. Neural machine translation in linear time. ˇ arXiv preprint arXiv:1610.10099, 2016.
|
| 290 |
+
|
| 291 |
+
Yoon Kim and Alexander Rush. Sequence-level knowledge distillation. In EMNLP, 2016.
|
| 292 |
+
|
| 293 |
+
Philipp Koehn and Rebecca Knowles. Six challenges for neural machine translation. arXiv preprint arXiv:1706.03872, 2017.
|
| 294 |
+
|
| 295 |
+
Minh-Thang Luong, Hieu Pham, and Christopher D Manning. Effective approaches to attentionbased neural machine translation. In EMNLP, 2015.
|
| 296 |
+
|
| 297 |
+
Randi Martin, Jason Crowther, Meredith Knight, Franklin Tamborello, and Chin-Lung Yang. Planning in sentence production: Evidence for the phrase as a default planning scope. Cognition, 116 (2):177–192, 2010.
|
| 298 |
+
|
| 299 |
+
Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. BLEU: A method for automatic evaluation of machine translation. In ACL, pp. 311–318, 2002.
|
| 300 |
+
|
| 301 |
+
Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. arXiv preprint arXiv:1508.07909, 2015.
|
| 302 |
+
|
| 303 |
+
Ilya Sutskever, Oriol Vinyals, and Quoc L ˆ e. Sequence to sequence learning with neural networks. ˆ In NIPS, 2014.
|
| 304 |
+
|
| 305 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017.
|
| 306 |
+
|
| 307 |
+
Ronald Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3-4):229–256, 1992.
|
| 308 |
+
|
| 309 |
+
Y. Wu, M. Schuster, Z. Chen, Q. V. Le, M. Norouzi, W. Macherey, M. Krikun, Y. Cao, Q. Gao, K. Macherey, J. Klingner, A. Shah, M. Johnson, X. Liu, Ł. Kaiser, S. Gouws, Y. Kato, T. Kudo, H. Kazawa, K. Stevens, G. Kurian, N. Patil, W. Wang, C. Young, J. Smith, J. Riesa, A. Rudnick, O. Vinyals, G. Corrado, M. Hughes, and J. Dean. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016.
|
| 310 |
+
|
| 311 |
+

|
| 312 |
+
Figure 6: The schematic structure of training and inference for the NAT. The “distilled data” contains target sentences decoded by the autoregressive model and ground-truth source sentences.
|
| 313 |
+
|
| 314 |
+

|
| 315 |
+
Figure 7: The translation latency, computed as the time to decode a single sentence without minibatching, for each sentence in the IWSLT development set as a function of its length. The autoregressive model has latency linear in the decoding length, while the latency of the NAT is nearly constant for typical lengths, even with NPD with sample size 10. When using NPD with sample size 100, the level of parallelism is enough to more than saturate the GPU, leading again to linear latencies.
|
| 316 |
+
|
| 317 |
+

|
| 318 |
+
Figure 8: Learning curves for training and fine-tuning of the NAT on IWSLT. BLEU scores are on the development set.
|
parse/train/B1l8BtlCb/B1l8BtlCb_content_list.json
ADDED
|
@@ -0,0 +1,1587 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "NON-AUTOREGRESSIVE NEURAL MACHINE TRANSLATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
101,
|
| 9 |
+
586,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jiatao $\\mathbf { G u } ^ { \\dagger }$ ∗, James Bradbury‡, Caiming Xiong‡, Victor O.K. Li†& Richard Socher‡ ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
758,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "‡Salesforce Research \n{james.bradbury,cxiong,rsocher}@salesforce.com \n†The University of Hong Kong \n{jiataogu, vli}@eee.hku.hk ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
186,
|
| 31 |
+
633,
|
| 32 |
+
242
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
279,
|
| 43 |
+
544,
|
| 44 |
+
294
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Existing approaches to neural machine translation condition each output word on previously generated outputs. We introduce a model that avoids this autoregressive property and produces its outputs in parallel, allowing an order of magnitude lower latency during inference. Through knowledge distillation, the use of input token fertilities as a latent variable, and policy gradient fine-tuning, we achieve this at a cost of as little as 2.0 BLEU points relative to the autoregressive Transformer network used as a teacher. We demonstrate substantial cumulative improvements associated with each of the three aspects of our training strategy, and validate our approach on IWSLT 2016 English–German and two WMT language pairs. By sampling fertilities in parallel at inference time, our non-autoregressive model achieves near-state-of-the-art performance of 29.8 BLEU on WMT 2016 English– Romanian. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
310,
|
| 54 |
+
764,
|
| 55 |
+
477
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
506,
|
| 66 |
+
336,
|
| 67 |
+
522
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Neural network based models outperform traditional statistical models for machine translation (MT) (Bahdanau et al., 2015; Luong et al., 2015). However, state-of-the-art neural models are much slower than statistical MT approaches at inference time (Wu et al., 2016). Both model families use autoregressive decoders that operate one step at a time: they generate each token conditioned on the sequence of tokens previously generated. This process is not parallelizable, and, in the case of neural MT models, it is particularly slow because a computationally intensive neural network is used to generate each token. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
539,
|
| 77 |
+
825,
|
| 78 |
+
636
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "While several recently proposed models avoid recurrence at train time by leveraging convolutions (Kalchbrenner et al., 2016; Gehring et al., 2017; Kaiser et al., 2017) or self-attention (Vaswani et al., 2017) as more-parallelizable alternatives to recurrent neural networks (RNNs), use of autoregressive decoding makes it impossible to take full advantage of parallelism during inference. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
643,
|
| 88 |
+
823,
|
| 89 |
+
699
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We introduce a non-autoregressive translation model based on the Transformer network (Vaswani et al., 2017). We modify the encoder of the original Transformer network by adding a module that predicts fertilities, sequences of numbers that form an important component of many traditional machine translation models (Brown et al., 1993). These fertilities are supervised during training and provide the decoder at inference time with a globally consistent plan on which to condition its simultaneously computed outputs. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
707,
|
| 99 |
+
825,
|
| 100 |
+
790
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "2 BACKGROUND ",
|
| 107 |
+
"text_level": 1,
|
| 108 |
+
"bbox": [
|
| 109 |
+
176,
|
| 110 |
+
810,
|
| 111 |
+
326,
|
| 112 |
+
828
|
| 113 |
+
],
|
| 114 |
+
"page_idx": 0
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"type": "text",
|
| 118 |
+
"text": "2.1 AUTOREGRESSIVE NEURAL MACHINE TRANSLATION ",
|
| 119 |
+
"text_level": 1,
|
| 120 |
+
"bbox": [
|
| 121 |
+
174,
|
| 122 |
+
843,
|
| 123 |
+
583,
|
| 124 |
+
858
|
| 125 |
+
],
|
| 126 |
+
"page_idx": 0
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"type": "text",
|
| 130 |
+
"text": "Given a source sentence $X = \\{ x _ { 1 } , . . . , x _ { T ^ { \\prime } } \\}$ , a neural machine translation model factors the distribution over possible output sentences $Y = \\{ y _ { 1 } , . . . , y _ { T } \\}$ into a chain of conditional probabilities with a ",
|
| 131 |
+
"bbox": [
|
| 132 |
+
176,
|
| 133 |
+
869,
|
| 134 |
+
823,
|
| 135 |
+
900
|
| 136 |
+
],
|
| 137 |
+
"page_idx": 0
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"type": "text",
|
| 141 |
+
"text": "left-to-right causal structure: ",
|
| 142 |
+
"bbox": [
|
| 143 |
+
174,
|
| 144 |
+
103,
|
| 145 |
+
362,
|
| 146 |
+
118
|
| 147 |
+
],
|
| 148 |
+
"page_idx": 1
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"type": "equation",
|
| 152 |
+
"img_path": "images/633a748a4002cb496ac4d94d9bde49381f4173fa71b235023f3e7a76c5656215.jpg",
|
| 153 |
+
"text": "$$\np _ { \\mathcal { A } \\mathcal { R } } ( \\boldsymbol { Y } | \\boldsymbol { X } ; \\theta ) = \\prod _ { t = 1 } ^ { T + 1 } p ( y _ { t } | y _ { 0 : t - 1 } , x _ { 1 : T ^ { \\prime } } ; \\theta ) ,\n$$",
|
| 154 |
+
"text_format": "latex",
|
| 155 |
+
"bbox": [
|
| 156 |
+
354,
|
| 157 |
+
122,
|
| 158 |
+
642,
|
| 159 |
+
166
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "where the special tokens $y _ { 0 }$ (e.g. $\\left. \\mathrm { b o s } \\right.$ ) and $y _ { T + 1 }$ (e.g. $\\langle \\cos \\rangle$ ) are used to represent the beginning and end of all target sentences. These conditional probabilities are parameterized using a neural network. Typically, an encoder-decoder architecture (Sutskever et al., 2014) with a unidirectional RNN-based decoder is used to capture the causal structure of the output distribution. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
174,
|
| 168 |
+
170,
|
| 169 |
+
825,
|
| 170 |
+
227
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "Maximum Likelihood training Choosing to factorize the machine translation output distribution autoregressively enables straightforward maximum likelihood training with a cross-entropy loss applied at each decoding step: ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
174,
|
| 179 |
+
234,
|
| 180 |
+
823,
|
| 181 |
+
279
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "equation",
|
| 187 |
+
"img_path": "images/975cc03de217f9263a661785207cd37c0ad59d69289d6f9743d2345d95881151.jpg",
|
| 188 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { M L } } = \\log p _ { \\mathcal { A R } } ( Y | X ; \\theta ) = \\sum _ { t = 1 } ^ { T + 1 } \\log p ( y _ { t } | y _ { 0 : t - 1 } , x _ { 1 : T ^ { \\prime } } ; \\theta ) .\n$$",
|
| 189 |
+
"text_format": "latex",
|
| 190 |
+
"bbox": [
|
| 191 |
+
305,
|
| 192 |
+
282,
|
| 193 |
+
691,
|
| 194 |
+
325
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "This loss provides direct supervision for each conditional probability prediction. ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
176,
|
| 203 |
+
329,
|
| 204 |
+
699,
|
| 205 |
+
344
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Autoregressive NMT without RNNs Since the entire target translation is known at training time, the calculation of later conditional probabilities (and their corresponding losses) does not depend on the output words chosen during earlier decoding steps. Even though decoding must remain entirely sequential during inference, models can take advantage of this parallelism during training. One such approach replaces recurrent layers in the decoder with masked convolution layers (Kalchbrenner et al., 2016; Gehring et al., 2017) that provide the causal structure required by the autoregressive factorization. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
352,
|
| 215 |
+
825,
|
| 216 |
+
450
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 1
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "A recently introduced option which reduces sequential computation still further is to construct the decoder layers out of self-attention computations that have been causally masked in an analogous way. The state-of-the-art Transformer network takes this approach, which allows information to flow in the decoder across arbitrarily long distances in a constant number of operations, asymptotically fewer than required by convolutional architectures (Vaswani et al., 2017). ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
457,
|
| 226 |
+
825,
|
| 227 |
+
527
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 1
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "2.2 NON-AUTOREGRESSIVE DECODING ",
|
| 234 |
+
"text_level": 1,
|
| 235 |
+
"bbox": [
|
| 236 |
+
176,
|
| 237 |
+
544,
|
| 238 |
+
462,
|
| 239 |
+
558
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 1
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Pros and cons of autoregressive decoding The autoregressive factorization used by conventional NMT models has several benefits. It corresponds to the word-by-word nature of human language production and effectively captures the distribution of real translations. Autoregressive models achieve state-of-the-art performance on large-scale corpora and are easy to train, while beam search provides an effective local search method for finding approximately-optimal output translations. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
173,
|
| 248 |
+
563,
|
| 249 |
+
823,
|
| 250 |
+
633
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 1
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "But there are also drawbacks. As the individual steps of the decoder must be run sequentially rather than in parallel, autoregressive decoding prevents architectures like the Transformer from fully realizing their train-time performance advantage during inference. Meanwhile, beam search suffers from diminishing returns with respect to beam size (Koehn & Knowles, 2017) and exhibits limited search parallelism because it introduces computational dependence between beams. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
640,
|
| 260 |
+
581,
|
| 261 |
+
752
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 1
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "Towards non-autoregressive decoding A na¨ıve solution is to remove the autoregressive connection directly from an existing encoder-decoder model. Assuming that the target sequence length $T$ can be modeled with a separate conditional distribution $p _ { L }$ , this becomes ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
173,
|
| 270 |
+
760,
|
| 271 |
+
581,
|
| 272 |
+
830
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 1
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "image",
|
| 278 |
+
"img_path": "images/fb73e32da81d3465f857ae37043ab008349971a74c732394fc409a62ee78d60d.jpg",
|
| 279 |
+
"image_caption": [
|
| 280 |
+
"Figure 1: Translating “A B C” to $^ { 6 6 } \\mathrm { X }$ Y” using autoregressive and non-autoregressive neural MT architectures. The latter generates all output tokens in parallel. "
|
| 281 |
+
],
|
| 282 |
+
"image_footnote": [],
|
| 283 |
+
"bbox": [
|
| 284 |
+
598,
|
| 285 |
+
643,
|
| 286 |
+
825,
|
| 287 |
+
786
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 1
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "equation",
|
| 293 |
+
"img_path": "images/d97e3003546373ed25378b0bc946fe1615293facf85f3967deae841210d37fb1.jpg",
|
| 294 |
+
"text": "$$\np _ { \\mathcal N A } ( Y | X ; \\theta ) = p _ { L } ( T | x _ { 1 : T ^ { \\prime } } ; \\theta ) \\cdot \\prod _ { t = 1 } ^ { T } p ( y _ { t } | x _ { 1 : T ^ { \\prime } } ; \\theta ) .\n$$",
|
| 295 |
+
"text_format": "latex",
|
| 296 |
+
"bbox": [
|
| 297 |
+
194,
|
| 298 |
+
834,
|
| 299 |
+
539,
|
| 300 |
+
877
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 1
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "This model still has an explicit likelihood function, and it can still be trained using independent cross-entropy losses on each output distribution. Now, however, these distributions can be computed in parallel at inference time. ",
|
| 307 |
+
"bbox": [
|
| 308 |
+
174,
|
| 309 |
+
881,
|
| 310 |
+
823,
|
| 311 |
+
924
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 1
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "image",
|
| 317 |
+
"img_path": "images/899dc15129b43e72de49a617f813130a25104e3d34171cb067e8d5c905671e3e.jpg",
|
| 318 |
+
"image_caption": [
|
| 319 |
+
"Figure 2: The architecture of the NAT, where the black solid arrows represent differentiable connections and the purple dashed arrows are non-differentiable operations. Each sublayer inside the encoder and decoder stacks also includes layer normalization and a residual connection. "
|
| 320 |
+
],
|
| 321 |
+
"image_footnote": [],
|
| 322 |
+
"bbox": [
|
| 323 |
+
189,
|
| 324 |
+
99,
|
| 325 |
+
797,
|
| 326 |
+
366
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 2
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "2.3 THE MULTIMODALITY PROBLEM ",
|
| 333 |
+
"text_level": 1,
|
| 334 |
+
"bbox": [
|
| 335 |
+
176,
|
| 336 |
+
434,
|
| 337 |
+
444,
|
| 338 |
+
449
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 2
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "text",
|
| 344 |
+
"text": "However, this na¨ıve approach does not yield good results, because such a model exhibits complete conditional independence. Each token’s distribution $p ( y _ { t } )$ depends only on the source sentence $X$ . This makes it a poor approximation to the true target distribution, which exhibits strong correlation across time. Intuitively, such a decoder is akin to a panel of human translators each asked to provide a single word of a translation independently of the words their colleagues choose. ",
|
| 345 |
+
"bbox": [
|
| 346 |
+
174,
|
| 347 |
+
465,
|
| 348 |
+
825,
|
| 349 |
+
535
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 2
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "In particular, consider an English source sentence like “Thank you.” This can be accurately translated into German as any one of “Danke.”, “Danke schon.”, or “Vielen Dank.”, all of which may ¨ occur in a given training corpus. This target distribution cannot be represented as a product of independent probability distributions for each of the first, second, and third words, because a conditionally independent distribution cannot allow “Danke schon.” and “Vielen Dank.” without also ¨ licensing “Danke Dank.” and “Vielen schon.”¨ ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
174,
|
| 358 |
+
542,
|
| 359 |
+
825,
|
| 360 |
+
626
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 2
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "text",
|
| 366 |
+
"text": "The conditional independence assumption prevents a model from properly capturing the highly multimodal distribution of target translations. We call this the “multimodality problem” and introduce both a modified model and new training techniques to tackle this issue. ",
|
| 367 |
+
"bbox": [
|
| 368 |
+
174,
|
| 369 |
+
633,
|
| 370 |
+
825,
|
| 371 |
+
675
|
| 372 |
+
],
|
| 373 |
+
"page_idx": 2
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"type": "text",
|
| 377 |
+
"text": "3 THE NON-AUTOREGRESSIVE TRANSFORMER (NAT) ",
|
| 378 |
+
"text_level": 1,
|
| 379 |
+
"bbox": [
|
| 380 |
+
176,
|
| 381 |
+
709,
|
| 382 |
+
640,
|
| 383 |
+
726
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 2
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "We introduce a novel NMT model—the Non-Autoregressive Transformer (NAT)—that can produce an entire output translation in parallel. As shown in Fig. 2, the model is composed of the following four modules: an encoder stack, a decoder stack, a newly added fertility predictor (details in 3.3), and a translation predictor for token decoding. ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
174,
|
| 392 |
+
750,
|
| 393 |
+
825,
|
| 394 |
+
805
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 2
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "3.1 ENCODER STACK ",
|
| 401 |
+
"text_level": 1,
|
| 402 |
+
"bbox": [
|
| 403 |
+
176,
|
| 404 |
+
835,
|
| 405 |
+
334,
|
| 406 |
+
851
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 2
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "Similar to the autoregressive Transformer, both the encoder and decoder stacks are composed entirely of feed-forward networks (MLPs) and multi-head attention modules. Since no RNNs are used, there is no inherent requirement for sequential execution, making non-autoregressive decoding possible. For our proposed NAT, the encoder stays unchanged from the original Transformer network. ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
174,
|
| 415 |
+
867,
|
| 416 |
+
823,
|
| 417 |
+
924
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 2
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "3.2 DECODER STACK ",
|
| 424 |
+
"text_level": 1,
|
| 425 |
+
"bbox": [
|
| 426 |
+
176,
|
| 427 |
+
103,
|
| 428 |
+
334,
|
| 429 |
+
117
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 3
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "text",
|
| 435 |
+
"text": "In order to translate non-autoregressively and parallelize the decoding process, we modify the decoder stack as follows. ",
|
| 436 |
+
"bbox": [
|
| 437 |
+
173,
|
| 438 |
+
128,
|
| 439 |
+
823,
|
| 440 |
+
157
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "Decoder Inputs Before decoding starts, the NAT needs to know how long the target sentence will be in order to generate all words in parallel. More crucially, we cannot use time-shifted target outputs (during training) or previously predicted outputs (during inference) as the inputs to the first decoder layer. Omitting inputs to the first decoder layer entirely, or using only positional embeddings, resulted in very poor performance. Instead, we initialize the decoding process using copied source inputs from the encoder side. As the source and target sentences are often of different lengths, we propose two methods: ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
173,
|
| 449 |
+
166,
|
| 450 |
+
825,
|
| 451 |
+
263
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "text",
|
| 457 |
+
"text": "• Copy source inputs uniformly: Each decoder input $t$ is a copy of the Round $( T ^ { \\prime } t / T )$ -th encoder input. This is equivalent to “scanning” source inputs from left to right with a constant “speed,” and results in a decoding process that is deterministic given a (predicted) target length. • Copy source inputs using fertilities: A more powerful way, depicted in Fig. 2 and discussed in more detail below, is to copy each encoder input as a decoder input zero or more times, with the number of times each input is copied referred to as that input word’s “fertility.” In this case the source inputs are scanned from left to right at a “speed” that varies inversely with the fertility of each input; the decoding process is now conditioned on the sequence of fertilities, while the resulting output length is determined by the sum of all fertility values. ",
|
| 458 |
+
"bbox": [
|
| 459 |
+
174,
|
| 460 |
+
273,
|
| 461 |
+
825,
|
| 462 |
+
405
|
| 463 |
+
],
|
| 464 |
+
"page_idx": 3
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"type": "text",
|
| 468 |
+
"text": "Non-causal self-attention Without the constraint of an autoregressive factorization of the output distribution, we no longer need to prevent earlier decoding steps from accessing information from later steps. Thus we can avoid the causal mask used in the self-attention module of the conventional Transformer’s decoder. Instead, we mask out each query position only from attending to itself, which we found to improve decoder performance relative to unmasked self-attention. ",
|
| 469 |
+
"bbox": [
|
| 470 |
+
174,
|
| 471 |
+
416,
|
| 472 |
+
825,
|
| 473 |
+
487
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 3
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Positional attention We also include an additional positional attention module in each decoder layer, which is a multi-head attention module with the same general attention mechanism used in other parts of the Transformer network, i.e. ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
174,
|
| 482 |
+
494,
|
| 483 |
+
825,
|
| 484 |
+
537
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 3
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "equation",
|
| 490 |
+
"img_path": "images/7591f42425b5f5d9a239ca6fc7711621177920ae7db10daccd0a298639ff6dee.jpg",
|
| 491 |
+
"text": "$$\n{ \\mathrm { A t t e n t i o n } } ( Q , K , V ) = { \\mathrm { s o f t m a x } } \\left( { \\frac { Q K ^ { T } } { \\sqrt { d _ { \\mathrm { m o d e l } } } } } \\right) \\cdot V ,\n$$",
|
| 492 |
+
"text_format": "latex",
|
| 493 |
+
"bbox": [
|
| 494 |
+
339,
|
| 495 |
+
541,
|
| 496 |
+
656,
|
| 497 |
+
577
|
| 498 |
+
],
|
| 499 |
+
"page_idx": 3
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"type": "text",
|
| 503 |
+
"text": "where $d _ { \\mathrm { m o d e l } }$ is the model hidden size, but with the positional encoding1 as both query and key and the decoder states as the value. This incorporates positional information directly into the attention process and provides a stronger positional signal than the embedding layer alone. We also hypothesize that this additional information improves the decoder’s ability to perform local reordering. ",
|
| 504 |
+
"bbox": [
|
| 505 |
+
174,
|
| 506 |
+
580,
|
| 507 |
+
823,
|
| 508 |
+
637
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 3
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "3.3 MODELING FERTILITY TO TACKLE THE MULTIMODALITY PROBLEM ",
|
| 515 |
+
"text_level": 1,
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
652,
|
| 519 |
+
687,
|
| 520 |
+
667
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 3
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "text",
|
| 526 |
+
"text": "The multimodality problem can be attacked by introducing a latent variable $z$ to directly model the nondeterminism in the translation process: we first sample $z$ from a prior distribution and then condition on $z$ to non-autoregressively generate a translation. ",
|
| 527 |
+
"bbox": [
|
| 528 |
+
176,
|
| 529 |
+
679,
|
| 530 |
+
825,
|
| 531 |
+
722
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 3
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "One way to interpret this latent variable is as a sentence-level “plan” akin to those discussed in the language production literature (Martin et al., 2010). There are several desirable properties for this latent variable: ",
|
| 538 |
+
"bbox": [
|
| 539 |
+
176,
|
| 540 |
+
728,
|
| 541 |
+
823,
|
| 542 |
+
770
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 3
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "• It should be simple to infer a value for the latent variable given a particular input-output pair, as this is needed to train the model end-to-end. • Adding $z$ to the conditioning context should account as much as possible for the correlations across time between different outputs, so that the remaining marginal probabilities at each output location are as close as possible to satisfying conditional independence. • It should not account for the variation in output translations so directly that $p ( y | x , z )$ becomes trivial to learn, since that is the function our decoder neural network will approximate. ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
173,
|
| 551 |
+
781,
|
| 552 |
+
826,
|
| 553 |
+
888
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 3
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "The factorization by length introduced in Eq. 3 provides a very weak example of a latent variable model, satisfying the first and third property but not the first. We propose the use of fertilities instead. These are integers for each word in the source sentence that correspond to the number of words in the target sentence that can be aligned to that source word using a hard alignment algorithm like IBM Model 2 (Brown et al., 1993). ",
|
| 560 |
+
"bbox": [
|
| 561 |
+
174,
|
| 562 |
+
103,
|
| 563 |
+
825,
|
| 564 |
+
174
|
| 565 |
+
],
|
| 566 |
+
"page_idx": 4
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"type": "text",
|
| 570 |
+
"text": "One of the most important properties of the proposed NAT is that it naturally introduces an informative latent variable when we choose to copy the encoder inputs based on predicted fertilities. More precisely, given a source sentence $X$ , the conditional probability of a target translation $Y$ is: ",
|
| 571 |
+
"bbox": [
|
| 572 |
+
174,
|
| 573 |
+
180,
|
| 574 |
+
823,
|
| 575 |
+
223
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 4
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "equation",
|
| 581 |
+
"img_path": "images/addbc095e30bd0f2ec3e327b7ac2d196aff125984ec04b5d2c19836176794d07.jpg",
|
| 582 |
+
"text": "$$\np _ { \\mathcal N \\mathcal M } ( Y | X ; \\theta ) = \\sum _ { f _ { 1 } , . . . , f _ { T ^ { \\prime } } \\in \\mathcal F } \\left( \\prod _ { t ^ { \\prime } = 1 } ^ { T ^ { \\prime } } p _ { F } ( f _ { t ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } ; \\theta ) \\cdot \\prod _ { t = 1 } ^ { T } p ( y _ { t } | x _ { 1 } \\{ f _ { 1 } \\} , . . , x _ { T ^ { \\prime } } \\{ f _ { T ^ { \\prime } } \\} ; \\theta ) \\right)\n$$",
|
| 583 |
+
"text_format": "latex",
|
| 584 |
+
"bbox": [
|
| 585 |
+
199,
|
| 586 |
+
229,
|
| 587 |
+
777,
|
| 588 |
+
280
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 4
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "where value $\\begin{array} { r } { \\mathcal { F } = \\{ f _ { 1 } , . . . , f _ { T ^ { \\prime } } | \\sum _ { t ^ { \\prime } = 1 } ^ { T ^ { \\prime } } f _ { t ^ { \\prime } } = T , f _ { t ^ { \\prime } } \\in \\mathbb { Z } ^ { * } \\} } \\end{array}$ is thand of all fertility sequdenotes the token ces—onerepeated ertilitytimes. $Y$ $x \\{ f \\}$ $x$ $f$ ",
|
| 595 |
+
"bbox": [
|
| 596 |
+
171,
|
| 597 |
+
287,
|
| 598 |
+
825,
|
| 599 |
+
320
|
| 600 |
+
],
|
| 601 |
+
"page_idx": 4
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"type": "text",
|
| 605 |
+
"text": "Fertility prediction As shown in Fig. 2, we model the fertility $p _ { F } \\big ( f _ { t ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } \\big )$ at each position independently using a one-layer neural network with a softmax classifier $L = 5 0$ in our experiments) on top of the output of the last encoder layer. This models the way that fertility values are a property of each input word but depend on information and context from the entire sentence. ",
|
| 606 |
+
"bbox": [
|
| 607 |
+
173,
|
| 608 |
+
328,
|
| 609 |
+
825,
|
| 610 |
+
385
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 4
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "Benefits of fertility Fertilities possess all three of the properties listed earlier as desired of a latent variable for non-autoregressive machine translation: ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
174,
|
| 619 |
+
393,
|
| 620 |
+
823,
|
| 621 |
+
422
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 4
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "• An external aligner provides a simple and fast approximate inference model that effectively reduces the unsupervised training problem to two supervised ones. \n• Using fertilities as a latent variable makes significant progress towards solving the multimodality problem by providing a natural factorization of the output space. Given a source sentence, restricting the output distribution to those target sentences consistent with a particular fertility sequence dramatically reduces the mode space. Furthermore, the global choice of mode is factored into a set of local mode choices: namely, how to translate each input word. These local mode choices can be effectively supervised because the fertilities provide a fixed “scaffold.” \nIncluding both fertilities and reordering in the latent variable would provide complete alignment statistics. This would make the decoding function trivially easy to approximate given the latent variable and force all of the modeling complexity into the encoder. Using fertilities alone allows the decoder to take some of this burden off of the encoder. ",
|
| 628 |
+
"bbox": [
|
| 629 |
+
173,
|
| 630 |
+
435,
|
| 631 |
+
825,
|
| 632 |
+
612
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 4
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "Our use of fertilities as a latent variable also means that there is no need to have a separate means of explicitly modeling the length of the translation, which is simply the sum of fertilities. And fertilities provide a powerful way to condition the decoding process, allowing the model to generate diverse translations by sampling over the fertility space. ",
|
| 639 |
+
"bbox": [
|
| 640 |
+
173,
|
| 641 |
+
625,
|
| 642 |
+
825,
|
| 643 |
+
681
|
| 644 |
+
],
|
| 645 |
+
"page_idx": 4
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"type": "text",
|
| 649 |
+
"text": "3.4 TRANSLATION PREDICTOR AND THE DECODING PROCESS ",
|
| 650 |
+
"text_level": 1,
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
698,
|
| 654 |
+
616,
|
| 655 |
+
713
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 4
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "At inference time, the model can identify the translation with the highest conditional probability (see Eq. 5) by marginalizing over all possible latent fertility sequences. Given a fertility sequence, however, identifying the optimal translation only requires independently maximizing the local probability for each output position. We define $Y \\overset { \\cdot } { = } G ( x _ { 1 : T ^ { \\prime } } , f _ { 1 : T ^ { \\prime } } ; \\theta )$ to represent the optimal translation given a source sentence and a sequence of fertility values. ",
|
| 662 |
+
"bbox": [
|
| 663 |
+
173,
|
| 664 |
+
724,
|
| 665 |
+
825,
|
| 666 |
+
795
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 4
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "But searching and marginalizing over the whole fertility space is still intractable. We propose three heuristic decoding algorithms to reduce the search space of the NAT model: ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
171,
|
| 675 |
+
801,
|
| 676 |
+
823,
|
| 677 |
+
830
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 4
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "Argmax decoding Since the fertility sequence is also modeled with a conditionally independent factorization, we can simply estimate the best translation by choosing the highest-probability fertility for each input word: ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
174,
|
| 686 |
+
839,
|
| 687 |
+
823,
|
| 688 |
+
882
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 4
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "equation",
|
| 694 |
+
"img_path": "images/c87b82f443ad023fe764cc137a25c0b5f30813f1855f5398ec17018f945487d0.jpg",
|
| 695 |
+
"text": "$$\n\\hat { Y } _ { \\mathrm { a r g m a x } } = G ( x _ { 1 : T ^ { \\prime } } , \\hat { f } _ { 1 : T ^ { \\prime } } ; \\theta ) , \\mathrm { w h e r e \\ } \\hat { f } _ { t ^ { \\prime } } = \\underset { f } { \\operatorname { a r g m a x } } p _ { F } ( f _ { t ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } ; \\theta )\n$$",
|
| 696 |
+
"text_format": "latex",
|
| 697 |
+
"bbox": [
|
| 698 |
+
279,
|
| 699 |
+
888,
|
| 700 |
+
718,
|
| 701 |
+
917
|
| 702 |
+
],
|
| 703 |
+
"page_idx": 4
|
| 704 |
+
},
|
| 705 |
+
{
|
| 706 |
+
"type": "text",
|
| 707 |
+
"text": "Average decoding We can also estimate each fertility as the expectation of its corresponding softmax distribution: ",
|
| 708 |
+
"bbox": [
|
| 709 |
+
171,
|
| 710 |
+
103,
|
| 711 |
+
823,
|
| 712 |
+
132
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 5
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "equation",
|
| 718 |
+
"img_path": "images/cddc8316aa514a2040ceed5ae75c4f96052fd7ea9df38f637de3023bdc4c2c2c.jpg",
|
| 719 |
+
"text": "$$\n\\hat { Y } _ { \\mathrm { a v e r a g e } } = G ( x _ { 1 : T ^ { \\prime } } , \\hat { f } _ { 1 : T ^ { \\prime } } ; \\theta ) , \\mathrm { w h e r e } \\hat { f } _ { t ^ { \\prime } } = \\mathrm { R o u n d } \\left( \\sum _ { f _ { t ^ { \\prime } } = 1 } ^ { L } p _ { F } \\big ( f _ { t ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } ; \\theta \\big ) f _ { t ^ { \\prime } } \\right)\n$$",
|
| 720 |
+
"text_format": "latex",
|
| 721 |
+
"bbox": [
|
| 722 |
+
241,
|
| 723 |
+
136,
|
| 724 |
+
754,
|
| 725 |
+
188
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 5
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "text",
|
| 731 |
+
"text": "Noisy parallel decoding (NPD) A more accurate approximation of the true optimum of the target distribution, inspired by Cho (2016), is to draw samples from the fertility space and compute the best translation for each fertility sequence. We can then use the autoregressive teacher to identify the best overall translation: ",
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
204,
|
| 735 |
+
823,
|
| 736 |
+
260
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 5
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "equation",
|
| 742 |
+
"img_path": "images/ddb83a2f54effd61e8585241161c5ecfe255d9b7958c6a9e1d1be0a28272f922.jpg",
|
| 743 |
+
"text": "$$\n\\hat { Y } _ { \\mathrm { N P D } } = G ( x _ { 1 : T ^ { \\prime } } , \\underset { f _ { t ^ { \\prime } } \\sim p _ { F } } { \\mathrm { a r g m a x } } p _ { \\mathcal { A R } } ( G ( x _ { 1 : T ^ { \\prime } } , f _ { 1 : T ^ { \\prime } } ; \\theta ) | X ; \\theta ) ; \\theta )\n$$",
|
| 744 |
+
"text_format": "latex",
|
| 745 |
+
"bbox": [
|
| 746 |
+
303,
|
| 747 |
+
266,
|
| 748 |
+
694,
|
| 749 |
+
295
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 5
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "Note that, when using an autoregressive model as a scoring function for a set of decoded translations, it can run as fast as it does at train time because it can be provided with all decoder inputs in parallel. ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
171,
|
| 758 |
+
303,
|
| 759 |
+
823,
|
| 760 |
+
332
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 5
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "NPD is a stochastic search method, and it also increases the computational resources required linearly by the sample size. However, because all the search samples can be computed and scored entirely independently, the process only doubles the latency compared to computing a single translation if sufficient parallelism is available. ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
174,
|
| 769 |
+
338,
|
| 770 |
+
825,
|
| 771 |
+
393
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 5
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "4 TRAINING ",
|
| 778 |
+
"text_level": 1,
|
| 779 |
+
"bbox": [
|
| 780 |
+
174,
|
| 781 |
+
415,
|
| 782 |
+
292,
|
| 783 |
+
431
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 5
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "The proposed NAT contains a discrete sequential latent variable $f _ { 1 : T ^ { \\prime } }$ , whose conditional posterior distribution $p ( f _ { 1 : T ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } , y _ { 1 : T } ; \\theta )$ we can approximate using a proposal distribution $q ( f _ { 1 : T ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } , y _ { 1 : T } )$ . This provides a variational bound for the overall maximum likelihood loss: ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
174,
|
| 792 |
+
446,
|
| 793 |
+
825,
|
| 794 |
+
491
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 5
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "equation",
|
| 800 |
+
"img_path": "images/98d5a44ed0ad3d2976698667125e9e76d3327aac64ae197046cd812c046fa407.jpg",
|
| 801 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathcal { L } _ { \\mathrm { M L } } = \\log p _ { \\mathcal { N A } } ( Y | X ; \\theta ) = \\log \\displaystyle \\sum _ { f _ { 1 : T ^ { \\prime } } \\in \\mathcal { F } } p _ { F } ( f _ { 1 : T ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } ; \\theta ) \\cdot p ( y _ { 1 : T } | x _ { 1 : T ^ { \\prime } } , f _ { 1 : T ^ { \\prime } } ; \\theta ) } \\\\ & { \\geq \\displaystyle \\sum _ { f _ { 1 : T ^ { \\prime } \\sim \\mathcal { I } } } \\left( \\underbrace { T } _ { \\mathrm { t - 1 } } \\log p ( y _ { t } | x _ { 1 } \\{ f _ { 1 } \\} , . . . , x _ { T ^ { \\prime } } \\{ f _ { T ^ { \\prime } } \\} ; \\theta ) \\right)} _ { \\mathrm { T r a n s l a t i o n ~ L o s s } } + \\underbrace { \\sum _ { t ^ { \\prime } = 1 } ^ { T ^ { \\prime } } \\log p _ { F } ( f _ { t ^ { \\prime } } | x _ { 1 : T ^ { \\prime } } ; \\theta ) } _ { \\mathrm { F e r t i l i t y ~ L o s s } } + \\mathcal { H } ( q ) \\end{array}\n$$",
|
| 802 |
+
"text_format": "latex",
|
| 803 |
+
"bbox": [
|
| 804 |
+
187,
|
| 805 |
+
507,
|
| 806 |
+
790,
|
| 807 |
+
628
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 5
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "We choose a proposal distribution $q$ defined by a separate, fixed fertility model. Possible options include the output of an external aligner, which produces a deterministic sequence of integer fertilities for each (source, target) pair in a training corpus, or fertilities computed from the attention weights used in our fixed autoregressive teacher model. This simplifies the inference process considerably, as the expectation over $q$ is deterministic. ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
174,
|
| 816 |
+
641,
|
| 817 |
+
825,
|
| 818 |
+
712
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 5
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "The resulting loss function, consisting of the two bracketed terms in Eq. 9, allows us to train the entire model in a supervised fashion, using the inferred fertilities to simultaneously train the translation model $p$ and supervise the fertility neural network model $p _ { F }$ . ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
174,
|
| 827 |
+
718,
|
| 828 |
+
825,
|
| 829 |
+
761
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 5
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "4.1 SEQUENCE-LEVEL KNOWLEDGE DISTILLATION ",
|
| 836 |
+
"text_level": 1,
|
| 837 |
+
"bbox": [
|
| 838 |
+
173,
|
| 839 |
+
777,
|
| 840 |
+
545,
|
| 841 |
+
792
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 5
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "While the latent fertility model substantially improves the ability of the non-autoregressive output distribution to approximate the multimodal target distribution, it does not completely solve the problem of nondeterminism in the training data. In many cases, there are multiple correct translations consistent with a single sequence of fertilities—for instance, both “Danke schon.” and “Vielen ¨ dank.” are consistent with the English input “Thank you.” and the fertility sequence [2, 0, 1], because “you” is not directly translated in either German sentence. ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
174,
|
| 850 |
+
804,
|
| 851 |
+
825,
|
| 852 |
+
888
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 5
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "Thus we additionally apply sequence-level knowledge distillation (Kim & Rush, 2016) to construct a new corpus by training an autoregressive machine translation model, known as the teacher, on an existing training corpus, then using that model’s greedy outputs as the targets for training the nonautoregressive student. The resulting targets are less noisy and more deterministic, as the trained model will consistently translate a sentence like “Thank you.” into the same German translation every time; on the other hand, they are also lower in quality than the original dataset. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
173,
|
| 861 |
+
895,
|
| 862 |
+
823,
|
| 863 |
+
924
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 5
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "",
|
| 870 |
+
"bbox": [
|
| 871 |
+
174,
|
| 872 |
+
103,
|
| 873 |
+
825,
|
| 874 |
+
160
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 6
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "text",
|
| 880 |
+
"text": "4.2 FINE-TUNING ",
|
| 881 |
+
"text_level": 1,
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
176,
|
| 885 |
+
312,
|
| 886 |
+
190
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 6
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "text",
|
| 892 |
+
"text": "Our supervised fertility model enables a decomposition of the overall maximum likelihood loss into translation and fertility terms, but it has some drawbacks compared to variational training. In particular, it heavily relies on the deterministic, approximate inference model provided by the external alignment system, while it would be desirable to train the entire model, including the fertility predictor, end to end. ",
|
| 893 |
+
"bbox": [
|
| 894 |
+
173,
|
| 895 |
+
202,
|
| 896 |
+
825,
|
| 897 |
+
272
|
| 898 |
+
],
|
| 899 |
+
"page_idx": 6
|
| 900 |
+
},
|
| 901 |
+
{
|
| 902 |
+
"type": "text",
|
| 903 |
+
"text": "Thus we propose a fine-tuning step after training the NAT to convergence. We introduce an additional loss term consisting of the reverse K-L divergence with the teacher output distribution, a form of word-level knowledge distillation: ",
|
| 904 |
+
"bbox": [
|
| 905 |
+
174,
|
| 906 |
+
279,
|
| 907 |
+
823,
|
| 908 |
+
320
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 6
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "equation",
|
| 914 |
+
"img_path": "images/e65993392162bd75d4d5f03dbe09c11504275ad6f8a4d1ecdf2eaf6fe3d240bf.jpg",
|
| 915 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { R K L } } \\left( f _ { 1 : T ^ { \\prime } } ; \\theta \\right) = \\sum _ { t = 1 } ^ { T } \\sum _ { y _ { t } } \\left[ \\log p _ { \\mathcal { A R } } \\left( y _ { t } | \\hat { y } _ { 1 : t - 1 } , x _ { 1 : T ^ { \\prime } } \\right) \\cdot p _ { \\mathcal { N A } } \\left( y _ { t } | x _ { 1 : T ^ { \\prime } } , f _ { 1 : T ^ { \\prime } } ; \\theta \\right) \\right] ,\n$$",
|
| 916 |
+
"text_format": "latex",
|
| 917 |
+
"bbox": [
|
| 918 |
+
233,
|
| 919 |
+
324,
|
| 920 |
+
763,
|
| 921 |
+
369
|
| 922 |
+
],
|
| 923 |
+
"page_idx": 6
|
| 924 |
+
},
|
| 925 |
+
{
|
| 926 |
+
"type": "text",
|
| 927 |
+
"text": "where $\\hat { y } _ { 1 : T } = G ( x _ { 1 : T ^ { \\prime } } , f _ { 1 : T ^ { \\prime } } ; \\theta )$ . Such a loss is more favorable towards highly peaked student output distributions than a standard cross-entropy error would be. ",
|
| 928 |
+
"bbox": [
|
| 929 |
+
173,
|
| 930 |
+
373,
|
| 931 |
+
826,
|
| 932 |
+
402
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 6
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "Then we train the whole model jointly with a weighted sum of the original distillation loss and two such terms, one an expectation over the predicted fertility distribution, normalized with a baseline, and the other based on the external fertility inference model: ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
173,
|
| 941 |
+
409,
|
| 942 |
+
825,
|
| 943 |
+
450
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 6
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "equation",
|
| 949 |
+
"img_path": "images/57b8b0401c44a9da9dffb4a771b588d3f01db84a0e94c59950fcea341c8459e4.jpg",
|
| 950 |
+
"text": "$$\n\\mathcal { L } _ { \\mathrm { F T } } = \\lambda \\left( \\underbrace { \\mathbb { E } } _ { \\int _ { \\mathrm { I : T : } } r \\sim p _ { F } } \\left( \\mathcal { L } _ { \\mathrm { R K L } } \\left( f _ { 1 : T ^ { \\prime } } \\right) - \\mathcal { L } _ { \\mathrm { R K L } } \\left( \\bar { f } _ { 1 : T ^ { \\prime } } \\right) \\right) + \\underbrace { \\mathbb { E } } _ { f _ { 1 : T ^ { \\prime } \\sim q } } \\left( \\mathcal { L } _ { \\mathrm { R K L } } \\left( f _ { 1 : T ^ { \\prime } } \\right) \\right) _ { \\mathcal { L } _ { \\mathrm { R P } } } \\right) + ( 1 - \\lambda ) \\mathcal { L } _ { \\mathrm { K D } } ,\n$$",
|
| 951 |
+
"text_format": "latex",
|
| 952 |
+
"bbox": [
|
| 953 |
+
179,
|
| 954 |
+
454,
|
| 955 |
+
789,
|
| 956 |
+
530
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 6
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "where ${ \\bar { f } } _ { 1 : T ^ { \\prime } }$ is the average fertility computed by Eq. 7. The gradient with respect to the nondifferentiable ${ \\mathcal { L } } _ { \\mathrm { R L } }$ term can be estimated with REINFORCE (Williams, 1992), while the $\\mathcal { L } _ { \\mathrm { B P } }$ term can be trained using ordinary backpropagation. ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
174,
|
| 965 |
+
534,
|
| 966 |
+
823,
|
| 967 |
+
577
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 6
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "5 EXPERIMENTS ",
|
| 974 |
+
"text_level": 1,
|
| 975 |
+
"bbox": [
|
| 976 |
+
174,
|
| 977 |
+
595,
|
| 978 |
+
326,
|
| 979 |
+
612
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 6
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "5.1 EXPERIMENTAL SETTINGS ",
|
| 986 |
+
"text_level": 1,
|
| 987 |
+
"bbox": [
|
| 988 |
+
174,
|
| 989 |
+
627,
|
| 990 |
+
400,
|
| 991 |
+
642
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 6
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Dataset We evaluate the proposed NAT on three widely used public machine translation corpora: IWSLT16 En–De2, WMT14 En–De,3 and WMT16 En–Ro4. We use IWSLT—which is smaller than the other two datasets—as the development dataset for ablation experiments, and additionally train and test our primary models on both directions of both WMT datasets. All the data are tokenized and segmented into subword symbols using byte-pair encoding (BPE) (Sennrich et al., 2015) to restrict the size of the vocabulary. For both WMT datasets, we use shared BPE vocabulary and additionally share encoder and decoder word embeddings; for IWSLT, we use separate English and German vocabulary and embeddings. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
173,
|
| 1000 |
+
646,
|
| 1001 |
+
825,
|
| 1002 |
+
758
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 6
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Teacher Sequence-level knowledge distillation is applied to alleviate multimodality in the training dataset, using autoregressive models as the teachers. The same teacher model used for distillation is also used as a scoring function for fine-tuning and noisy parallel decoding. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
174,
|
| 1011 |
+
766,
|
| 1012 |
+
823,
|
| 1013 |
+
809
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 6
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "To enable a fair comparison, and benefit from its high translation quality, we implemented the autoregressive teachers using the state-of-the-art Transformer architecture. In addition, we use the same sizes and hyperparameters for each student and its respective teacher, with the exception of the newly added positional self-attention and fertility prediction modules. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
815,
|
| 1023 |
+
825,
|
| 1024 |
+
872
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 6
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "table",
|
| 1030 |
+
"img_path": "images/b27d229f92b1dc501a1101859c66ddaef0b786b8513588c7b5b795ee0a526bb9.jpg",
|
| 1031 |
+
"table_caption": [],
|
| 1032 |
+
"table_footnote": [],
|
| 1033 |
+
"table_body": "<table><tr><td rowspan=\"2\">Models</td><td colspan=\"2\">WMT14</td><td colspan=\"2\">WMT16</td><td colspan=\"2\">IWSLT16</td><td></td></tr><tr><td>En→De</td><td>De→En</td><td>En→Ro</td><td>Ro→En</td><td>En→De</td><td>Latency / Speedup</td><td></td></tr><tr><td>NAT</td><td>17.35</td><td>20.62</td><td>26.22</td><td>27.83</td><td>25.20</td><td>39 ms</td><td>15.6×</td></tr><tr><td>NAT (+FT)</td><td>17.69</td><td>21.47</td><td>27.29</td><td>29.06</td><td>26.52</td><td>39 ms</td><td>15.6×</td></tr><tr><td>NAT (+FT + NPD s = 10)</td><td>18.66</td><td>22.41</td><td>29.02</td><td>30.76</td><td>27.44</td><td>79 ms</td><td>7.68×</td></tr><tr><td>NAT (+FT + NPD s = 100)</td><td>19.17</td><td>23.20</td><td>29.79</td><td>31.44</td><td>28.16</td><td>257 ms</td><td>2.36×</td></tr><tr><td>Autoregressive (b = 1)</td><td>22.71</td><td>26.39</td><td>31.35</td><td>31.03</td><td>28.89</td><td>408 ms</td><td>1.49×</td></tr><tr><td>Autoregressive (b = 4)</td><td>23.45</td><td>27.02</td><td>31.91</td><td>31.76</td><td>29.70</td><td>607ms</td><td>1.00×</td></tr></table>",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
173,
|
| 1036 |
+
101,
|
| 1037 |
+
828,
|
| 1038 |
+
224
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 7
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Table 1: BLEU scores on official test sets (newstest2014 for WMT En-De and newstest2016 for WMT En-Ro) or the development set for IWSLT. NAT models without NPD use argmax decoding. Latency is computed as the time to decode a single sentence without minibatching, averaged over the whole test set; decoding is implemented in PyTorch on a single NVIDIA Tesla P100. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
234,
|
| 1048 |
+
825,
|
| 1049 |
+
290
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 7
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Preparation for knowledge distillation We first train all teacher models using maximum likelihood, then freeze their parameters. To avoid the redundancy of running fixed teacher models repeatedly on the same data, we decode the entire training set once using each teacher to create a new training dataset for its respective student. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
173,
|
| 1058 |
+
306,
|
| 1059 |
+
516,
|
| 1060 |
+
404
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 7
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Encoder initialization We find it helpful to initialize the weights in the NAT student’s encoder with the encoder weights from its teacher, as the autoregressive and non-autoregressive models share the same encoder input and architecture. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
173,
|
| 1069 |
+
416,
|
| 1070 |
+
516,
|
| 1071 |
+
484
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 7
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Fertility supervision during training As described above, we supervise the fertility predictions at train time by using a fixed aligner as a fertility inference function. We use the fast align5 implementation of IBM Model 2 for this purpose, with default parameters (Dyer et al., 2013). ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
174,
|
| 1080 |
+
497,
|
| 1081 |
+
516,
|
| 1082 |
+
580
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 7
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "image",
|
| 1088 |
+
"img_path": "images/ff2cfd4d2f25ef6e98d968d65066c8e02ea0f947a91d09952aa8c8ffbab3302a.jpg",
|
| 1089 |
+
"image_caption": [
|
| 1090 |
+
"Figure 3: BLEU scores on IWSLT development set as a function of sample size for noisy parallel decoding. NPD matches the performance of the other two decoding strategies after two samples, and exceeds the performance of the autoregressive teacher with around 1000. "
|
| 1091 |
+
],
|
| 1092 |
+
"image_footnote": [],
|
| 1093 |
+
"bbox": [
|
| 1094 |
+
535,
|
| 1095 |
+
300,
|
| 1096 |
+
795,
|
| 1097 |
+
434
|
| 1098 |
+
],
|
| 1099 |
+
"page_idx": 7
|
| 1100 |
+
},
|
| 1101 |
+
{
|
| 1102 |
+
"type": "text",
|
| 1103 |
+
"text": "Hyperparameters For experiments on WMT datasets, we use the hyperparameter settings of the base Transformer model described in Vaswani et al. (2017), though without label smoothing. As IWSLT is a smaller corpus, and to reduce training time, we use a set of smaller hyperparameters $( d _ { \\mathrm { m o d e l } } = 2 8 7 , d _ { \\mathrm { h i d d e n } } = 5 0 7 , n _ { \\mathrm { l a y e r } } = 5 , n _ { \\mathrm { h e a d } } = \\mathrm { \\Omega } ^ { \\ast }$ , and $t _ { \\mathrm { w a r m u p } } = 7 4 6 )$ for all experiments on that dataset. For fine-tuning we use $\\lambda = 0 . 2 5$ . ",
|
| 1104 |
+
"bbox": [
|
| 1105 |
+
174,
|
| 1106 |
+
593,
|
| 1107 |
+
825,
|
| 1108 |
+
662
|
| 1109 |
+
],
|
| 1110 |
+
"page_idx": 7
|
| 1111 |
+
},
|
| 1112 |
+
{
|
| 1113 |
+
"type": "text",
|
| 1114 |
+
"text": "Evaluation metrics We evaluate using tokenized and cased BLEU scores (Papineni et al., 2002). ",
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
176,
|
| 1117 |
+
674,
|
| 1118 |
+
820,
|
| 1119 |
+
689
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 7
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "Implementation We have open-sourced our PyTorch implementation of the $\\mathrm { N A T ^ { 6 } }$ . ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
173,
|
| 1128 |
+
700,
|
| 1129 |
+
730,
|
| 1130 |
+
715
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 7
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "5.2 RESULTS ",
|
| 1137 |
+
"text_level": 1,
|
| 1138 |
+
"bbox": [
|
| 1139 |
+
176,
|
| 1140 |
+
734,
|
| 1141 |
+
277,
|
| 1142 |
+
750
|
| 1143 |
+
],
|
| 1144 |
+
"page_idx": 7
|
| 1145 |
+
},
|
| 1146 |
+
{
|
| 1147 |
+
"type": "text",
|
| 1148 |
+
"text": "Across the three datasets we used, the NAT performs between 2-5 BLEU points worse than its autoregressive teacher, with part or all of this gap addressed by the use of noisy parallel decoding. In the case of WMT16 English–Romanian, NPD improves the performance of our non-autoregressive model to within 0.2 BLEU points of the previous overall state of the art (Gehring et al., 2017). ",
|
| 1149 |
+
"bbox": [
|
| 1150 |
+
176,
|
| 1151 |
+
762,
|
| 1152 |
+
825,
|
| 1153 |
+
818
|
| 1154 |
+
],
|
| 1155 |
+
"page_idx": 7
|
| 1156 |
+
},
|
| 1157 |
+
{
|
| 1158 |
+
"type": "text",
|
| 1159 |
+
"text": "Comparing latencies on the development model shows a speedup of more than a factor of 10 over greedy autoregressive decoding, or a factor of 15 over beam search. Latencies for decoding with NPD, regardless of sample size, could be reduced to about $8 0 \\mathrm { m s }$ by parallelizing across multiple GPUs because each sample can be generated, then scored, independently from the others. ",
|
| 1160 |
+
"bbox": [
|
| 1161 |
+
174,
|
| 1162 |
+
825,
|
| 1163 |
+
825,
|
| 1164 |
+
881
|
| 1165 |
+
],
|
| 1166 |
+
"page_idx": 7
|
| 1167 |
+
},
|
| 1168 |
+
{
|
| 1169 |
+
"type": "text",
|
| 1170 |
+
"text": "5.3 ABLATION STUDY ",
|
| 1171 |
+
"text_level": 1,
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
174,
|
| 1174 |
+
103,
|
| 1175 |
+
341,
|
| 1176 |
+
117
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 8
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "We also conduct an extensive ablation study with the proposed NAT on the IWSLT dataset. First, we note that the model fails to train when provided with only positional embeddings as input to the decoder. Second, we see that training on the distillation corpus rather than the ground truth provides a fairly consistent improvement of around 5 BLEU points. Third, switching from uniform copying of source inputs to fertility-based copying improves performance by four BLEU points when using ground-truth training or two when using distillation. ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
174,
|
| 1185 |
+
130,
|
| 1186 |
+
825,
|
| 1187 |
+
214
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 8
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "table",
|
| 1193 |
+
"img_path": "images/e54d8b7021cfac76f841f708bf7c607fe1294c5aa3739137af72c28cad0aff7f.jpg",
|
| 1194 |
+
"table_caption": [],
|
| 1195 |
+
"table_footnote": [],
|
| 1196 |
+
"table_body": "<table><tr><td>Distillation b=1 b=4</td><td>Decoder Inputs +uniform</td><td>+fertility</td><td>+PosAtt</td><td>Fine-tuning +LKD +LBP</td><td>BLEU +CRL</td><td>BLEU (T)</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td>~2</td><td></td></tr><tr><td></td><td>√</td><td></td><td></td><td></td><td>16.51</td><td></td></tr><tr><td></td><td></td><td></td><td>√</td><td></td><td>18.87</td><td></td></tr><tr><td>√</td><td>√</td><td></td><td>√</td><td></td><td>20.72</td><td></td></tr><tr><td></td><td>√</td><td></td><td>√</td><td></td><td>21.12</td><td></td></tr><tr><td><</td><td></td><td></td><td>√</td><td></td><td>24.02</td><td>43.91</td></tr><tr><td></td><td></td><td></td><td>√</td><td></td><td>25.20</td><td>45.41</td></tr><tr><td></td><td>√</td><td></td><td></td><td>√</td><td>22.44 厂</td><td></td></tr><tr><td>兴 √</td><td></td><td>√</td><td></td><td></td><td>×</td><td>×</td></tr><tr><td></td><td></td><td>√</td><td></td><td>√</td><td>×</td><td>×</td></tr><tr><td>√</td><td></td><td>√</td><td>√</td><td>√</td><td>25.76</td><td>46.11</td></tr><tr><td>√</td><td></td><td>√</td><td>√</td><td>√</td><td>26.52</td><td>47.38</td></tr></table>",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
199,
|
| 1199 |
+
228,
|
| 1200 |
+
797,
|
| 1201 |
+
433
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 8
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Table 2: Ablation performance on the IWSLT development set. BLEU (T) refers to the BLEU score on a version of the development set that has been translated by the teacher model. An $\\times$ indicates that fine-tuning caused that model to get worse. When uniform copying is used as the decoder inputs, the ground-truth target lengths are provided. All models use argmax decoding. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
173,
|
| 1210 |
+
443,
|
| 1211 |
+
825,
|
| 1212 |
+
500
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 8
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Fine-tuning does not converge with reinforcement learning alone, or with the $\\mathcal { L } _ { \\mathrm { B P } }$ term alone, but use of all three fine-tuning terms together leads to an improvement of around 1.5 BLEU points. Training the student model from a distillation corpus produced using beam search is similar to training from the greedily-distilled corpus. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
173,
|
| 1221 |
+
513,
|
| 1222 |
+
825,
|
| 1223 |
+
570
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 8
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "table",
|
| 1229 |
+
"img_path": "images/f8421f544ec54c247fda2ccf5acde08a1d896cc7e4be518f611e266b0beaaf82.jpg",
|
| 1230 |
+
"table_caption": [
|
| 1231 |
+
"Figure 4: Two examples comparing translations produced by an autoregressive (AR) and nonautoregressive Transformer as well as the result of noisy parallel decoding with sample size 100. Repeated words are highlighted in gray. "
|
| 1232 |
+
],
|
| 1233 |
+
"table_footnote": [],
|
| 1234 |
+
"table_body": "<table><tr><td>Source:</td><td>politicians try to pick wordsand use words to shape realityand control reality,butin fact,reality changes words</td></tr><tr><td></td><td>far more than words can ever change reality.</td></tr><tr><td rowspan=\"3\">Target: AR:</td><td>Politiker versuchen Worte zu benutzen,um die Realitat zu formen und die Realitat zu kontrolieren,aber</td></tr><tr><td>tatsächlich verandert die Realitat Worte viel mehr,als Worte die Realitat jemals verändern konnten.</td></tr><tr><td>Politikerversuchen Worter zu wahlen und Worter zur Realitat zu gestalten und Realitätzu steuern,aber in</td></tr><tr><td rowspan=\"2\">NAT:</td><td>Wirklichkeit verändert sich die Realitat viel mehrals Worte,die die Realität verändern konnen.</td></tr><tr><td>Politikerversuchen,Worter wahlen und zu verwenden,um Realitatzu formen und Realitatzu formen,aber</td></tr><tr><td rowspan=\"2\">NAT+NPD:</td><td>tatsächlich ändert Realitat Realitat viel mehrals Wortedie Realität Realitat verändern.</td></tr><tr><td>Politikerversuchen,Worter wahlenund zu verwenden,um Realitat Realitat formenund die Realitatzu formen, aber tatsächlich ändert die Realität Worte viel mehrals Worte jemals die Realität verändern konnen.</td></tr><tr><td>Source:</td><td>Isee wheelchairs bought and sold like used cars.</td></tr><tr><td>Target:</td><td>ich erlebe,dass Rollstuhle gekauft und verkauft werden wie Gebrauchtwagen</td></tr><tr><td>AR: NAT:</td><td>ich sehe Rollstuhlen,die wie Autos verkauft und verkauft werden.</td></tr><tr><td>NAT+NPD:</td><td>ich sehe,dass Stuhle Stuhle und verkauftwie Autos verkauft.</td></tr><tr><td></td><td>ich sehe Rollühle kauften und verkaufte wie Autos.</td></tr></table>",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
184,
|
| 1237 |
+
597,
|
| 1238 |
+
805,
|
| 1239 |
+
801
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 8
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "We include two examples of translations from the IWSLT development set in Fig. 4. Instances of repeated words or phrases, highlighted in gray, are most prevalent in the non-autoregressive output for the relatively complex first example sentence. Two pairs of repeated words in the first example, as ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
176,
|
| 1248 |
+
882,
|
| 1249 |
+
825,
|
| 1250 |
+
924
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 8
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "se lucreaza la soluti de genul acesta . ",
|
| 1257 |
+
"bbox": [
|
| 1258 |
+
210,
|
| 1259 |
+
107,
|
| 1260 |
+
428,
|
| 1261 |
+
119
|
| 1262 |
+
],
|
| 1263 |
+
"page_idx": 9
|
| 1264 |
+
},
|
| 1265 |
+
{
|
| 1266 |
+
"type": "text",
|
| 1267 |
+
"text": "se la solutii de genul acesta . \nse lucreaza la solutii de acesta . \nse lucreaza solutii de genul acesta . \nse se lucreaza la solutii de acesta . \nse lucreaza lucreaza la solutii de acesta . \nse se lucreaza lucreaza la solutii de acesta . \nse se lucreaza lucreaza la solutii de de acesta . \nse se lucreaza lucreaza la solutii de genul acesta . solutions on this kind are done. \nwork done on solutions like this . \nsolutions on this kind is done . \nwork is done on solutions like this . \nwork is done on solutions like this . \nwork is being done on solutions like this . \nwork is being done on solutions such as this. \nwork is being done on solutions such this kind . ",
|
| 1268 |
+
"bbox": [
|
| 1269 |
+
207,
|
| 1270 |
+
132,
|
| 1271 |
+
493,
|
| 1272 |
+
255
|
| 1273 |
+
],
|
| 1274 |
+
"page_idx": 9
|
| 1275 |
+
},
|
| 1276 |
+
{
|
| 1277 |
+
"type": "text",
|
| 1278 |
+
"text": "",
|
| 1279 |
+
"bbox": [
|
| 1280 |
+
521,
|
| 1281 |
+
132,
|
| 1282 |
+
790,
|
| 1283 |
+
256
|
| 1284 |
+
],
|
| 1285 |
+
"page_idx": 9
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"type": "text",
|
| 1289 |
+
"text": "Figure 5: A Romanian–English example translated with noisy parallel decoding. At left are eight sampled fertility sequences from the encoder, represented with their corresponding decoder input sequences. Each of these values for the latent variable leads to a different possible output translation, shown at right. The autoregressive Transformer then picks the best translation, shown in red, a process which is much faster than directly using it to generate output. ",
|
| 1290 |
+
"bbox": [
|
| 1291 |
+
173,
|
| 1292 |
+
276,
|
| 1293 |
+
826,
|
| 1294 |
+
345
|
| 1295 |
+
],
|
| 1296 |
+
"page_idx": 9
|
| 1297 |
+
},
|
| 1298 |
+
{
|
| 1299 |
+
"type": "text",
|
| 1300 |
+
"text": "well as a pair in the second, are not present in the versions with noisy parallel decoding, suggesting that NPD scoring using the teacher model can filter out such mistakes. The translations produced by the NAT with NPD, while of a similar quality to those produced by the autoregressive model, are also noticeably more literal. ",
|
| 1301 |
+
"bbox": [
|
| 1302 |
+
174,
|
| 1303 |
+
372,
|
| 1304 |
+
825,
|
| 1305 |
+
428
|
| 1306 |
+
],
|
| 1307 |
+
"page_idx": 9
|
| 1308 |
+
},
|
| 1309 |
+
{
|
| 1310 |
+
"type": "text",
|
| 1311 |
+
"text": "We also show an example of the noisy parallel decoding process in Fig. 5, demonstrating the diversity of translations that can be found by sampling from the fertility space. ",
|
| 1312 |
+
"bbox": [
|
| 1313 |
+
174,
|
| 1314 |
+
435,
|
| 1315 |
+
823,
|
| 1316 |
+
463
|
| 1317 |
+
],
|
| 1318 |
+
"page_idx": 9
|
| 1319 |
+
},
|
| 1320 |
+
{
|
| 1321 |
+
"type": "text",
|
| 1322 |
+
"text": "6 CONCLUSION ",
|
| 1323 |
+
"text_level": 1,
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
176,
|
| 1326 |
+
484,
|
| 1327 |
+
318,
|
| 1328 |
+
501
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 9
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "We introduce a latent variable model for non-autoregressive machine translation that enables a decoder based on Vaswani et al. (2017) to take full advantage of its exceptional degree of internal parallelism even at inference time. As a result, we measure translation latencies of one-tenth that of an equal-sized autoregressive model, while maintaining competitive BLEU scores. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
174,
|
| 1337 |
+
517,
|
| 1338 |
+
825,
|
| 1339 |
+
573
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 9
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"text": "REFERENCES ",
|
| 1346 |
+
"text_level": 1,
|
| 1347 |
+
"bbox": [
|
| 1348 |
+
174,
|
| 1349 |
+
595,
|
| 1350 |
+
285,
|
| 1351 |
+
611
|
| 1352 |
+
],
|
| 1353 |
+
"page_idx": 9
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"type": "text",
|
| 1357 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015. ",
|
| 1358 |
+
"bbox": [
|
| 1359 |
+
176,
|
| 1360 |
+
619,
|
| 1361 |
+
823,
|
| 1362 |
+
647
|
| 1363 |
+
],
|
| 1364 |
+
"page_idx": 9
|
| 1365 |
+
},
|
| 1366 |
+
{
|
| 1367 |
+
"type": "text",
|
| 1368 |
+
"text": "Peter Brown, Vincent della Pietra, Stephen della Pietra, and Robert Mercer. The mathematics of statistical machine translation: Parameter estimation. Computational Linguistics, 19(2):263–311, 1993. ",
|
| 1369 |
+
"bbox": [
|
| 1370 |
+
173,
|
| 1371 |
+
657,
|
| 1372 |
+
826,
|
| 1373 |
+
700
|
| 1374 |
+
],
|
| 1375 |
+
"page_idx": 9
|
| 1376 |
+
},
|
| 1377 |
+
{
|
| 1378 |
+
"type": "text",
|
| 1379 |
+
"text": "Kyunghyun Cho. Noisy parallel approximate decoding for conditional recurrent language model. arXiv preprint arXiv:1605.03835, 2016. ",
|
| 1380 |
+
"bbox": [
|
| 1381 |
+
174,
|
| 1382 |
+
712,
|
| 1383 |
+
821,
|
| 1384 |
+
741
|
| 1385 |
+
],
|
| 1386 |
+
"page_idx": 9
|
| 1387 |
+
},
|
| 1388 |
+
{
|
| 1389 |
+
"type": "text",
|
| 1390 |
+
"text": "Chris Dyer, Victor Chahuneau, and Noah Smith. A simple, fast, and effective reparameterization of IBM Model 2. In NAACL, 2013. ",
|
| 1391 |
+
"bbox": [
|
| 1392 |
+
176,
|
| 1393 |
+
751,
|
| 1394 |
+
823,
|
| 1395 |
+
780
|
| 1396 |
+
],
|
| 1397 |
+
"page_idx": 9
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"type": "text",
|
| 1401 |
+
"text": "Jonas Gehring, Michael Auli, David Grangier, Denis Yarats, and Yann Dauphin. Convolutional sequence to sequence learning. arXiv preprint arXiv:1705.03122, 2017. ",
|
| 1402 |
+
"bbox": [
|
| 1403 |
+
173,
|
| 1404 |
+
790,
|
| 1405 |
+
823,
|
| 1406 |
+
820
|
| 1407 |
+
],
|
| 1408 |
+
"page_idx": 9
|
| 1409 |
+
},
|
| 1410 |
+
{
|
| 1411 |
+
"type": "text",
|
| 1412 |
+
"text": "Łukasz Kaiser, Aidan Gomez, and Franc¸ois Chollet. Depthwise separable convolutions for neural machine translation. arXiv preprint arXiv:1706.03059, 2017. ",
|
| 1413 |
+
"bbox": [
|
| 1414 |
+
171,
|
| 1415 |
+
830,
|
| 1416 |
+
823,
|
| 1417 |
+
859
|
| 1418 |
+
],
|
| 1419 |
+
"page_idx": 9
|
| 1420 |
+
},
|
| 1421 |
+
{
|
| 1422 |
+
"type": "text",
|
| 1423 |
+
"text": "Nal Kalchbrenner, Lasse Espeholt, Karen Simonyan, Aaron van den Oord, Alex Graves, and Koray Kavukc¸uoglu. Neural machine translation in linear time. ˇ arXiv preprint arXiv:1610.10099, 2016. ",
|
| 1424 |
+
"bbox": [
|
| 1425 |
+
174,
|
| 1426 |
+
869,
|
| 1427 |
+
826,
|
| 1428 |
+
898
|
| 1429 |
+
],
|
| 1430 |
+
"page_idx": 9
|
| 1431 |
+
},
|
| 1432 |
+
{
|
| 1433 |
+
"type": "text",
|
| 1434 |
+
"text": "Yoon Kim and Alexander Rush. Sequence-level knowledge distillation. In EMNLP, 2016. ",
|
| 1435 |
+
"bbox": [
|
| 1436 |
+
171,
|
| 1437 |
+
909,
|
| 1438 |
+
764,
|
| 1439 |
+
924
|
| 1440 |
+
],
|
| 1441 |
+
"page_idx": 9
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"type": "text",
|
| 1445 |
+
"text": "Philipp Koehn and Rebecca Knowles. Six challenges for neural machine translation. arXiv preprint arXiv:1706.03872, 2017. ",
|
| 1446 |
+
"bbox": [
|
| 1447 |
+
171,
|
| 1448 |
+
103,
|
| 1449 |
+
823,
|
| 1450 |
+
132
|
| 1451 |
+
],
|
| 1452 |
+
"page_idx": 10
|
| 1453 |
+
},
|
| 1454 |
+
{
|
| 1455 |
+
"type": "text",
|
| 1456 |
+
"text": "Minh-Thang Luong, Hieu Pham, and Christopher D Manning. Effective approaches to attentionbased neural machine translation. In EMNLP, 2015. ",
|
| 1457 |
+
"bbox": [
|
| 1458 |
+
173,
|
| 1459 |
+
140,
|
| 1460 |
+
823,
|
| 1461 |
+
170
|
| 1462 |
+
],
|
| 1463 |
+
"page_idx": 10
|
| 1464 |
+
},
|
| 1465 |
+
{
|
| 1466 |
+
"type": "text",
|
| 1467 |
+
"text": "Randi Martin, Jason Crowther, Meredith Knight, Franklin Tamborello, and Chin-Lung Yang. Planning in sentence production: Evidence for the phrase as a default planning scope. Cognition, 116 (2):177–192, 2010. ",
|
| 1468 |
+
"bbox": [
|
| 1469 |
+
174,
|
| 1470 |
+
178,
|
| 1471 |
+
823,
|
| 1472 |
+
222
|
| 1473 |
+
],
|
| 1474 |
+
"page_idx": 10
|
| 1475 |
+
},
|
| 1476 |
+
{
|
| 1477 |
+
"type": "text",
|
| 1478 |
+
"text": "Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. BLEU: A method for automatic evaluation of machine translation. In ACL, pp. 311–318, 2002. ",
|
| 1479 |
+
"bbox": [
|
| 1480 |
+
171,
|
| 1481 |
+
229,
|
| 1482 |
+
823,
|
| 1483 |
+
260
|
| 1484 |
+
],
|
| 1485 |
+
"page_idx": 10
|
| 1486 |
+
},
|
| 1487 |
+
{
|
| 1488 |
+
"type": "text",
|
| 1489 |
+
"text": "Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. arXiv preprint arXiv:1508.07909, 2015. ",
|
| 1490 |
+
"bbox": [
|
| 1491 |
+
171,
|
| 1492 |
+
268,
|
| 1493 |
+
823,
|
| 1494 |
+
297
|
| 1495 |
+
],
|
| 1496 |
+
"page_idx": 10
|
| 1497 |
+
},
|
| 1498 |
+
{
|
| 1499 |
+
"type": "text",
|
| 1500 |
+
"text": "Ilya Sutskever, Oriol Vinyals, and Quoc L ˆ e. Sequence to sequence learning with neural networks. ˆ In NIPS, 2014. ",
|
| 1501 |
+
"bbox": [
|
| 1502 |
+
171,
|
| 1503 |
+
305,
|
| 1504 |
+
823,
|
| 1505 |
+
334
|
| 1506 |
+
],
|
| 1507 |
+
"page_idx": 10
|
| 1508 |
+
},
|
| 1509 |
+
{
|
| 1510 |
+
"type": "text",
|
| 1511 |
+
"text": "Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017. ",
|
| 1512 |
+
"bbox": [
|
| 1513 |
+
173,
|
| 1514 |
+
343,
|
| 1515 |
+
821,
|
| 1516 |
+
373
|
| 1517 |
+
],
|
| 1518 |
+
"page_idx": 10
|
| 1519 |
+
},
|
| 1520 |
+
{
|
| 1521 |
+
"type": "text",
|
| 1522 |
+
"text": "Ronald Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3-4):229–256, 1992. ",
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
169,
|
| 1525 |
+
381,
|
| 1526 |
+
823,
|
| 1527 |
+
410
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 10
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "Y. Wu, M. Schuster, Z. Chen, Q. V. Le, M. Norouzi, W. Macherey, M. Krikun, Y. Cao, Q. Gao, K. Macherey, J. Klingner, A. Shah, M. Johnson, X. Liu, Ł. Kaiser, S. Gouws, Y. Kato, T. Kudo, H. Kazawa, K. Stevens, G. Kurian, N. Patil, W. Wang, C. Young, J. Smith, J. Riesa, A. Rudnick, O. Vinyals, G. Corrado, M. Hughes, and J. Dean. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016. ",
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
176,
|
| 1536 |
+
419,
|
| 1537 |
+
826,
|
| 1538 |
+
502
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 10
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "image",
|
| 1544 |
+
"img_path": "images/8397d58044f6d9c8a19dcbb03ac376664021ffaa63d7eac01c5e0d5c288a1df7.jpg",
|
| 1545 |
+
"image_caption": [
|
| 1546 |
+
"Figure 6: The schematic structure of training and inference for the NAT. The “distilled data” contains target sentences decoded by the autoregressive model and ground-truth source sentences. "
|
| 1547 |
+
],
|
| 1548 |
+
"image_footnote": [],
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
179,
|
| 1551 |
+
135,
|
| 1552 |
+
815,
|
| 1553 |
+
446
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 11
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "image",
|
| 1559 |
+
"img_path": "images/65e35fd7ac2e233ef8cdae03751ebce2756e57bc1378b23f1a59c83c62823be8.jpg",
|
| 1560 |
+
"image_caption": [
|
| 1561 |
+
"Figure 7: The translation latency, computed as the time to decode a single sentence without minibatching, for each sentence in the IWSLT development set as a function of its length. The autoregressive model has latency linear in the decoding length, while the latency of the NAT is nearly constant for typical lengths, even with NPD with sample size 10. When using NPD with sample size 100, the level of parallelism is enough to more than saturate the GPU, leading again to linear latencies. "
|
| 1562 |
+
],
|
| 1563 |
+
"image_footnote": [],
|
| 1564 |
+
"bbox": [
|
| 1565 |
+
230,
|
| 1566 |
+
541,
|
| 1567 |
+
733,
|
| 1568 |
+
790
|
| 1569 |
+
],
|
| 1570 |
+
"page_idx": 11
|
| 1571 |
+
},
|
| 1572 |
+
{
|
| 1573 |
+
"type": "image",
|
| 1574 |
+
"img_path": "images/19326d4ac73a662073b026f5ada8aa0be903a2801d0ffdb32756ff0c9f97cdcc.jpg",
|
| 1575 |
+
"image_caption": [
|
| 1576 |
+
"Figure 8: Learning curves for training and fine-tuning of the NAT on IWSLT. BLEU scores are on the development set. "
|
| 1577 |
+
],
|
| 1578 |
+
"image_footnote": [],
|
| 1579 |
+
"bbox": [
|
| 1580 |
+
246,
|
| 1581 |
+
381,
|
| 1582 |
+
720,
|
| 1583 |
+
627
|
| 1584 |
+
],
|
| 1585 |
+
"page_idx": 12
|
| 1586 |
+
}
|
| 1587 |
+
]
|
parse/train/B1l8BtlCb/B1l8BtlCb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/B1l8BtlCb/B1l8BtlCb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkxfshNYwB/BkxfshNYwB.md
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MINCUT POOLING IN GRAPH NEURAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
The advance of node pooling operations in Graph Neural Networks (GNNs) has lagged behind the feverish design of new message-passing techniques, and pooling remains an important and challenging endeavor for the design of deep architectures. In this paper, we propose a pooling operation for GNNs that leverages a differentiable unsupervised loss based on the minCUT optimization objective. For each node, our method learns a soft cluster assignment vector that depends on the node features, the target inference task (e.g., a graph classification loss), and, thanks to the minCUT objective, also on the connectivity structure of the graph. Graph pooling is obtained by applying the matrix of assignment vectors to the adjacency matrix and the node features. The proposed method can also be used as a stand-alone module to cluster vertexes in annotated graphs and solve unsupervised problems. We validate the effectiveness of the proposed pooling method on downstream tasks, including supervised graph classification and a set of unsupervised tasks, which reveal the limitations of existing GNN pooling approaches.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
A fundamental component in deep convolutional neural networks is the pooling operation, which replaces the output of convolutions with local summaries of nearby points and is usually implemented by maximum or average operations (Lee et al., 2016). State-of-the-art architectures alternate convolutions, which extrapolate local patterns irrespective of the specific location on the input signal, and pooling, which lets the ensuing convolutions capture aggregated patterns. Pooling allows to learn abstract representations in deeper layers of the network by discarding information that is superfluous for the task, and keeps model complexity under control by limiting the growth of intermediate features.
|
| 12 |
+
|
| 13 |
+
Graph Neural Networks (GNNs) extend the convolution operation from regular domains, such as images or time series, to data with arbitrary topologies and unordered structures described by graphs (Battaglia et al., 2018). The development of pooling strategies for GNNs, however, has lagged behind the design of newer and more effective message-passing (MP) operations (Gilmer et al., 2017), such as graph convolutions, mainly due to the difficulty of defining an aggregated version of the original graph that supports the pooled signal.
|
| 14 |
+
|
| 15 |
+
A na¨ıve pooling strategy in GNNs is to average all nodes features (Li et al., 2016), but it has limited flexibility since it does not extract local summaries of the graph structure, and no further MP operations can be applied afterwards. An alternative approach consists in pre-computing coarsened versions of the original graph and then fit the data to these deterministic structures (Bruna et al., 2013). While this aggregation accounts for the connectivity of the graph, it ignores task-specific objectives as well as the node features.
|
| 16 |
+
|
| 17 |
+
In this paper, we propose a differentiable pooling operation implemented as a neural network layer, which can be seamlessly combined with other MP layers (see Fig. 1). The parameters in the pooling layer are learned by combining the task-specific loss with an unsupervised regularization term, which optimizes a continuous relaxation of the normalized minCUT objective. The minCUT identifies dense graph components, where the nodes features become locally homogeneous after the message-passing. By gradually aggregating these components, the GNN learns to distil global properties from the graph. The proposed minCUT pooling operator (minCUTpool) yields partitions that 1) cluster together nodes which have similar features and are strongly connected on the graph, and 2) take into account the objective of the downstream task.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: A deep GNN architecture where message-passing is followed by minCUT pooling.
|
| 21 |
+
|
| 22 |
+
# 2 BACKGROUND
|
| 23 |
+
|
| 24 |
+
# 2.1 MINCUT AND SPECTRAL CLUSTERING
|
| 25 |
+
|
| 26 |
+
Given a graph $G = \{ \nu , \mathcal { E } \}$ , $| \nu | = N$ , and the associated adjacency matrix $\mathbf { A } \in \mathbb { R } ^ { N \times N }$ , the $K$ -way normalized minCUT (simply referred to as minCUT) aims at partitioning $\nu$ in $K$ disjoint subsets by removing the minimum volume of edges. The problem is equivalent to maximizing
|
| 27 |
+
|
| 28 |
+
$$
|
| 29 |
+
\frac { 1 } { K } \sum _ { k = 1 } ^ { K } \frac { \operatorname* { l i n k s } ( \mathcal { V } _ { k } ) } { \deg \mathrm { r e e } ( \mathcal { V } _ { k } ) } = \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \frac { \sum _ { i , j \in \mathcal { V } _ { k } } \mathcal { E } _ { i , j } } { \sum _ { i \in \mathcal { V } _ { k } , j \in \mathcal { V } \backslash \mathcal { V } _ { k } } \mathcal { E } _ { i , j } } ,
|
| 30 |
+
$$
|
| 31 |
+
|
| 32 |
+
where the numerator counts the edge volume within each cluster, and the denominator counts the edges between the nodes in a cluster and the rest of the graph (Shi & Malik, 2000). Let $\mathbf { C } \in \mathbb { R } ^ { N \times K }$ be a cluster assignment matrix, so that $\mathbf { C } _ { i , j } = 1$ if node $i$ belongs to cluster $j$ , and 0 otherwise. The minCUT problem can be expressed as
|
| 33 |
+
|
| 34 |
+
$$
|
| 35 |
+
\mathrm { m a x i m i z e } \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \frac { { \bf C } _ { k } ^ { T } { \bf A } { \bf C } _ { k } } { { \bf C } _ { k } ^ { T } { \bf D } { \bf C } _ { k } } , \mathrm { s . t . } { \bf C } \in \{ 0 , 1 \} ^ { N \times K } , { \bf C } { \bf 1 } _ { K } = { \bf 1 } _ { N } ,
|
| 36 |
+
$$
|
| 37 |
+
|
| 38 |
+
where $\mathbf { D } = \mathrm { d i a g } ( \mathbf { A } \mathbf { 1 } _ { N } )$ is the degree matrix (Dhillon et al., 2004). Since problem (2) is NP-hard, it is usually recast in a relaxed formulation that can be solved in polynomial time and guarantees a near-optimal solution (Yu & Shi, 2003):
|
| 39 |
+
|
| 40 |
+
$$
|
| 41 |
+
\arg \operatorname* { m a x } _ { \mathbf { Q } \in \mathbb { R } ^ { N \times K } } \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \mathbf { Q } _ { k } ^ { T } \mathbf { A } \mathbf { Q } _ { k } , \quad \mathrm { s . t . } \mathbf { Q } = \mathbf { C } ( \mathbf { C } ^ { T } \mathbf { D } \mathbf { C } ) ^ { - \frac { 1 } { 2 } } , \ \mathbf { Q } ^ { T } \mathbf { Q } = \mathbf { I } _ { K } .
|
| 42 |
+
$$
|
| 43 |
+
|
| 44 |
+
While the optimization problem (3) is still non-convex, there exists an optimal solution $\mathbf { Q } ^ { * } = \mathbf { U } _ { K } \mathbf { O }$ , where ${ \bf U } _ { K } \dot { } \in \mathbb { R } ^ { N \times K }$ contains the eigenvectors of A corresponding to the $K$ largest eigenvalues, and $\mathbf { O } \in \mathbb { R } ^ { K \times K }$ is an orthogonal transformation (Ikebe et al., 1987).
|
| 45 |
+
|
| 46 |
+
Since the elements of $\mathbf { Q } ^ { * }$ are real values rather than binary cluster indicators, the spectral clustering (SC) approach can be used to find discrete cluster assignments. In SC, the rows of $\mathbf { Q } ^ { * }$ are treated as node representations embedded in the eigenspace of the Laplacian, and are clustered together with standard algorithms such as $k$ -means (Von Luxburg, 2007). One of the main limitations of SC lies in the computation of the spectrum of A, which has a memory complexity of $\mathcal { O } ( N ^ { 2 } )$ and a computational complexity of $\mathcal { O } ( \bar { N } ^ { 3 } )$ . This prevents its applicability to large datasets.
|
| 47 |
+
|
| 48 |
+
To deal with such scalability issues, the constrained optimization in (3) can be solved by gradient descent algorithms that refine the solution by iterating operations whose individual complexity is $\mathcal { O } ( N ^ { 2 } )$ , or even $\mathcal { O } ( N )$ (Han & Filippone, 2017). Those algorithms search the solution on the manifold induced by the orthogonality constraint on the columns of $\mathbf { Q }$ , by performing gradient updates along the geodesics (Wen & Yin, 2013; Collins et al., 2014). Alternative approaches rely on the QR factorization to constrain the space of feasible solutions (Damle et al., 2016), and alleviate the cost $\mathcal { O } ( N ^ { 3 } )$ of the factorization by ensuring that orthogonality holds only on one minibatch at a time (Shaham et al., 2018).
|
| 49 |
+
|
| 50 |
+
Other works based on neural networks include an autoencoder trained to map the $i$ th row of the Laplacian to the ith components of the first $K$ eigenvectors, to avoid the spectral decomposition (Tian et al., 2014). Yi et al. (2017) use a soft orthogonality constraint to learn spectral embeddings as a volumetric reparametrization of a precomputed Laplacian eigenbase. Shaham et al. (2018); Kampffmeyer et al. (2019) propose differentiable loss functions to partition generic data and process out-of-sample data at inference time. Nazi et al. (2019) generate balanced node partitions with a GNN, but adopt an optimization that does not encourage cluster assignments to be orthogonal.
|
| 51 |
+
|
| 52 |
+
# 2.2 GRAPH NEURAL NETWORKS
|
| 53 |
+
|
| 54 |
+
Many approaches have been proposed to process graphs with neural networks, including recurrent architectures (Scarselli et al., 2009; Li et al., 2016) or convolutional operations inspired by filters used in graph signal processing (Defferrard et al., 2016; Bianchi et al., 2019). Since our focus is on graph pooling, we base our GNN implementation on a simple MP operation, which combines the features of each node with its 1st-order neighbors. To account for the initial node features, it is possible to introduce self-loops by adding a (scaled) identity matrix to the diagonal of A (Kipf & Welling, 2017). Since our pooling will modify the structure of the adjacency matrix, we prefer a MP implementation that leaves the original A unaltered and accounts for the initial node features by means of skip connections.
|
| 55 |
+
|
| 56 |
+
Let $\tilde { \mathbf { A } } = \mathbf { D } ^ { - \frac { 1 } { 2 } } \mathbf { A } \mathbf { D } ^ { - \frac { 1 } { 2 } } \in \mathbb { R } ^ { N \times N }$ be the symmetrically normalized adjacency matrix and $\mathbf { X } \in \mathbb { R } ^ { N \times F }$ the matrix containing the node features. The output of the MP layer is
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
\mathbf { X } ^ { ( t + 1 ) } = M P ( \mathbf { X } ^ { ( t ) } , \tilde { \mathbf { A } } ) = \operatorname { R e L U } ( \tilde { \mathbf { A } } \mathbf { X } ^ { ( t ) } \mathbf { W } _ { m } + \mathbf { X } ^ { ( t ) } \mathbf { W } _ { s } ) ,
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
where $\boldsymbol { \Theta } _ { M P } = \{ \mathbf { W } _ { m } , \mathbf { W } _ { s } \}$ are the trainable weights relative to the mixing and skip component of the layer, respectively.
|
| 63 |
+
|
| 64 |
+
# 3 PROPOSED METHOD
|
| 65 |
+
|
| 66 |
+
The minCUT pooling strategy computes a cluster assignment matrix $\mathbf { S } \in \mathbb { R } ^ { N \times K }$ by means of a multi-layer perceptron, which maps each node feature $\mathbf { x } _ { i }$ into the ith row of S:
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\begin{array} { r } { \mathbf { S } = s o f t m a x ( \mathbf { R e L U } ( \mathbf { X } \mathbf { W } _ { 1 } ) \mathbf { W } _ { 2 } ) , } \end{array}
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
where $\boldsymbol { \Theta } _ { P o o l } = \{ \mathbf { W } _ { 1 } \in \mathbb { R } ^ { F \times H } , \mathbf { W } _ { 2 } \in \mathbb { R } ^ { H \times K } \}$ are trainable parameters. The softmax function guarantees that $s _ { i , j } \in [ 0 , 1 ]$ and enforces the constraints $\mathbf { S 1 } _ { K } = \mathbf { 1 } _ { N }$ inherited from the optimization problem in (2). The parameters $\Theta _ { M P }$ and $\Theta _ { P o o l }$ are jointly optimized by minimizing the usual task-specific loss, as well as an unsupervised loss $\mathcal { L } _ { u }$ , which is composed of two terms
|
| 73 |
+
|
| 74 |
+
$$
|
| 75 |
+
\mathcal { L } _ { u } = \mathcal { L } _ { c } + \mathcal { L } _ { o } = \underbrace { - \frac { T r ( \mathbf { S } ^ { T } \tilde { \mathbf { A } } \mathbf { S } ) } { T r ( \mathbf { S } ^ { T } \tilde { \mathbf { D } } \mathbf { S } ) } } _ { \mathcal { L } _ { c } } + \underbrace { \left\| \frac { \mathbf { S } ^ { T } \mathbf { S } } { \| \mathbf { S } ^ { T } \mathbf { S } \| _ { F } } - \frac { \mathbf { I } _ { K } } { \sqrt { K } } \right\| _ { F } } _ { \mathcal { L } _ { o } } ,
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
where $\| \cdot \| _ { F }$ indicates the Frobenius norm.
|
| 79 |
+
|
| 80 |
+
The cut loss term, $\mathcal { L } _ { c }$ , evaluates the minCUT given by the cluster assignment S, and is bounded by $- 1 \leq \mathcal { L } _ { c } \leq 0$ . Minimizing $\mathcal { L } _ { c }$ encourages strongly connected nodes to be clustered together, since the inner product $\left. \mathbf { s } _ { i } , \mathbf { s } _ { j } \right.$ increases when $\tilde { a } _ { i , j }$ is large. $\mathcal { L } _ { c }$ has a single maximum, reached when the numerator $\begin{array} { r } { T r ( \mathbf { S } ^ { T } \tilde { \mathbf { A } } \mathbf { S } ) = \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \mathbf { S } _ { k } ^ { T } \tilde { \mathbf { A } } \mathbf { S } _ { k } = 0 } \end{array}$ . This occurs if, for each pair of connected nodes (i.e., $\tilde { a } _ { i , j } > 0 \rangle$ ), the cluster assignments are orthogonal (i.e., $\langle \mathbf { s } _ { i } , \mathbf { s } _ { j } \rangle = 0 ,$ ). $\mathcal { L } _ { c }$ reaches its minimum, $- 1$ , when $T r ( \mathbf { S } ^ { T } \tilde { \mathbf { A } } \mathbf { S } ) = T r ( \mathbf { S } ^ { T } \tilde { \mathbf { D } } \mathbf { S } )$ . This occurs when in a graph with $K$ disconnected components the cluster assignments are equal for all the nodes in the same component and orthogonal to the cluster assignments of nodes in different components. However, $\mathcal { L } _ { c }$ is a non-convex function and its minimization can lead to local minima or degenerate solutions. For example, given a connected graph, a trivial optimal solution is the one that assigns all nodes to the same cluster. As a consequence of the continuous relaxation, another degenerate minimum occurs when the cluster assignments are all uniform, that is, all nodes are equally assigned to all clusters. This problem is exacerbated by prior message-passing operations, which make the node features more uniform.
|
| 81 |
+
|
| 82 |
+
The orthogonality loss term, $\mathcal { L } _ { o }$ , penalizes the degenerate minima of $\mathcal { L } _ { c }$ by encouraging the cluster assignments to be orthogonal and the clusters to be of similar size. Since the two matrices in $\mathcal { L } _ { o }$ have unitary norm it is easy to see that $0 \leq \mathcal { L } _ { o } \leq 2$ . Therefore, $\mathcal { L } _ { o }$ does not dominate over $\mathcal { L } _ { c }$ and the two terms can be safely summed directly (see Fig. 4 for an example). ${ \mathbf { I } } _ { K }$ can be interpreted as a (rescaled) clustering matrix $\mathbf { I } _ { K } = \hat { \mathbf { S } } ^ { T } \hat { \mathbf { S } }$ , where $\hat { \bf S }$ assigns exactly $N / K$ points to each cluster. The value of the Frobenius norm between clustering matrices is not dominated by the performance on the largest clusters (Law et al., 2017) and, thus, can be used to optimize intra-cluster variance.
|
| 83 |
+
|
| 84 |
+
Contrarily to SC methods that search for feasible solutions only within the space of orthogonal matrices, $\mathcal { L } _ { o }$ only introduces a soft constraint that could be violated during the learning procedure. Since $\mathcal { L } _ { c }$ is non-convex, the violation compromises the theoretical guarantee of convergence to the optimum of (3). However, we note that:
|
| 85 |
+
|
| 86 |
+
1. the cluster assignments S are well initialized: after the MP operation, the features of the connected vertices become similar and, since the MLP is a smooth function (Nelles, 2013), it yields similar cluster assignments for those vertices;
|
| 87 |
+
2. in the GNN architecture, the minCUT objective is a regularization term and, therefore, a solution which is sub-optimal for (3) could instead be adequate for the specific objective of the downstream task;
|
| 88 |
+
3. optimizing the task-specific loss helps the GNN to avoid the degenerate minima of $\mathcal { L } _ { c }$ .
|
| 89 |
+
|
| 90 |
+
# 3.1 COARSENING
|
| 91 |
+
|
| 92 |
+
The coarsened version of the adjacency matrix and the graph signal are computed as
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
{ \bf A } ^ { p o o l } = { \bf S } ^ { T } { \tilde { \bf A } } { \bf S } ; ~ { \bf X } ^ { p o o l } = { \bf S } ^ { T } { \bf X } ,
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
where the entry xpooi,j in $\mathbf { X } ^ { p o o l } ~ \in ~ \mathbb { R } ^ { K \times F }$ is the weighted average value of feature $j$ among the elements in cluster $i$ . $\mathbf { A } ^ { p o o l } ~ \in ~ \mathbb { R } ^ { K \times K }$ is a symmetric matrix, whose entries $a _ { i , i } ^ { p o o l }$ are the total number of edges between the nodes in the cluster i, while apooi,j is the number of edges between cluster $i$ and $j$ . Since $\mathbf { A } ^ { p o o l }$ corresponds to the numerator of $\mathcal { L } _ { c }$ in (7), the trace maximization yields clusters with many internal connections and weakly connected to each other. Hence, $\mathbf { A } ^ { p o o l }$ will be a diagonal-dominant matrix, which describes a graph with self-loops much stronger than any other connection. Because self-loops hamper the propagation across adjacent nodes in the MP operations following the pooling layer, we compute the new adjacency matrix $\tilde { \mathbf { A } } ^ { p o o l }$ by zeroing the diagonal and by applying the degree normalization
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\hat { \bf A } = { \bf A } ^ { p o o l } - { \bf I } _ { K } d i a g ( { \bf A } ^ { p o o l } ) ; \quad \tilde { \bf A } ^ { p o o l } = \hat { \bf D } ^ { - \frac { 1 } { 2 } } \hat { \bf A } \hat { \bf D } ^ { - \frac { 1 } { 2 } } .
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
where $d i a g ( \cdot )$ returns the matrix diagonal.
|
| 105 |
+
|
| 106 |
+
# 3.2 DISCUSSION AND RELATIONSHIP WITH SPECTRAL CLUSTERING
|
| 107 |
+
|
| 108 |
+
The proposed method is straightforward to implement: the cluster assignments, the loss, graph coarsening, and feature pooling are all computed with standard linear algebra operations.
|
| 109 |
+
|
| 110 |
+
There are several differences between minCUTpool and classic SC methods. SC partitions the graph based on the Laplacian, but does not account for the node features. Instead, the cluster assignments $\mathbf { s } _ { i }$ found by minCUTpool depend on $\mathbf { x } _ { i }$ , which works well if connected nodes have similar features. This is a reasonable assumption in GNNs since, even in disassortative graphs (i.e., networks where dissimilar nodes are likely to be connected (Newman, 2003)), the features tend to become similar due to the MP operations.
|
| 111 |
+
|
| 112 |
+
Another difference is that SC handles a single graph and is not conceived for tasks with multiple graphs to be partitioned independently. Instead, thanks to the independence of the model parameters from the number of nodes $N$ and from the graph spectrum, minCUTpool can generalize to outof-sample data. This feature is fundamental in problems such as graph classification, where each sample is a graph with a different structure, and allows to train the model on small graphs and process larger ones at inference time. Finally, minCUTpool directly uses the soft cluster assignments rather than performing $k$ -means afterwards.
|
| 113 |
+
|
| 114 |
+
# 4 RELATED WORK ON POOLING IN GNNS
|
| 115 |
+
|
| 116 |
+
Trainable pooling methods. Similarly to our method, these approaches learn how to generate coarsened version of the graph through differentiable functions, which take as input the nodes features $\mathbf { X }$ and are parametrized by weights optimized on the task at hand.
|
| 117 |
+
|
| 118 |
+
Diffpool (Ying et al., 2018) is a pooling module that includes two parallel MP layers: one to compute the new node features $\mathbf { X } ^ { ( t + 1 ) }$ and another to generate the cluster assignments S. Diffpool implements an unsupervised loss that consists of two terms. First, the link prediction term $\| \mathbf { A } - \mathbf { S } \mathbf { \dot { S } } ^ { T } \| _ { F }$ minimizes the Frobenius norm of the difference between the adjacency and the Gram matrix of the cluster assignments, encouraging nearby nodes to be clustered together. The second term $\begin{array} { r } { \frac { 1 } { N } \sum _ { i = 1 } ^ { N } H ( \mathbf { S } _ { i } ) } \end{array}$ minimizes the entropy of the cluster assignments to make them alike to one-hot vectors. Like minCUTpool, Diffpool clusters the vertices of annotated graphs, but yields completely different partitions, since it computes differently the clustering assignments, the coarsened adjacency matrix and, most importantly, the unsupervised loss. In Diffpool, such a loss shows pathological behaviors that are discussed later in the experiments.
|
| 119 |
+
|
| 120 |
+
The approach dubbed Top- $K$ pooling (Hongyang Gao, 2019; Lee et al., 2019), learns a projection vector that is applied to each node feature to obtain a score. The nodes with the $K$ highest scores are retained, the others are dropped. Since the top- $K$ selection is not differentiable, the scores are also used as a gate/attention for the node features, letting the projection vector to be trained with backpropagation. Top- $K$ is memory efficient as it avoids generating cluster assignments. To prevent A from becoming disconnected after nodes removal, Top- $K$ drops the rows and the columns from ${ \bf A } ^ { 2 }$ and uses it as the new adjacency matrix. However, computing ${ \bf A } ^ { 2 }$ costs $\mathcal { O } ( N ^ { 2 } )$ and it is inefficient to implement with sparse operations.
|
| 121 |
+
|
| 122 |
+
Topological pooling methods. These methods pre-compute a pyramid of coarsened graphs, only taking into account the topology (A), but not the node features $\mathbf { \Pi } ( \mathbf { X } )$ . During training, the node features are pooled with standard procedures and are fit into these deterministic graph structures. These methods are less flexible, but provide a stronger bias that can prevent degenerate solutions (e.g., coarsened graphs collapsing in a single node).
|
| 123 |
+
|
| 124 |
+
The approach proposed by Bruna et al. (2013), which has been adopted also in other GNN architectures (Defferrard et al., 2016; Fey et al., 2018), exploits GRACLUS (Dhillon et al., 2004), a hierarchical algorithm based on SC. At each pooling level $l$ , GRACLUS indetifies the pairs of maximally similar nodes $i _ { l }$ and $j _ { l }$ to be clustered together into a new vertex $k _ { ( l + 1 ) }$ . At inference phase, max-pooling is used to determine which node in the pair is kept. Fake vertices are added so that the number of nodes can be halved each time, but this injects noisy information in the graph.
|
| 125 |
+
|
| 126 |
+
Node decimation is a method originally proposed in graph signal processing literature (Shuman et al., 2016), which as been adapted also for GNNs (Simonovsky & Komodakis, 2017). The nodes are partitioned in two sets, according to the signs of the Laplacian eigenvector associated to the largest eigenvalue. One of the two sets is dropped, reducing the number of nodes each time approximately by half. Kron reduction is used to compute a pyramid of coarsened Laplacians from the remaining nodes.
|
| 127 |
+
|
| 128 |
+
A procedure proposed in Gama et al. (2018) diffuses a signal from designated nodes on the graph and stores the observed sequence of diffused components. The resulting stream of information is interpreted as a time signal, where standard CNN pooling is applied. We also mention a pooling operation for coarsening binary unweighted graphs by aggregating maximal cliques (Luzhnica et al., 2019). Nodes assigned to the same clique are summarized by max or average pooling and become a new node in the coarsened graph.
|
| 129 |
+
|
| 130 |
+
# 5 EXPERIMENTS
|
| 131 |
+
|
| 132 |
+
We consider both supervised and unsupervised tasks, and compare minCUTpool with other GNN pooling strategies. The Appendix provides further details on the experiments and a schematic depiction of the architectures used in each task. In addition, the Appendix reports two additional experiments: i) graph reconstruction by means of an Auto Encoder with bottleneck, implemented with pooling and un-pooling layers, ii) an architecture with pooling for graph regression.
|
| 133 |
+
|
| 134 |
+
# 5.1 CLUSTERING THE GRAPH NODES
|
| 135 |
+
|
| 136 |
+
To study the effectiveness of the proposed loss, we perform different node clustering tasks with a simple GNN composed of a single MP layer followed by a pooling layer. The GNN is trained by minimizing $\mathcal { L } _ { u }$ only, so that its effect is evaluated without the “interference” of a supervised loss.
|
| 137 |
+
|
| 138 |
+
Clustering on synthetic networks We consider two simple graphs: the first is a network with 6 communities and the second is a regular grid. The adjacency matrix A is binary and the features X are the 2-D node coordinates. Fig. 2 depicts the node partitions generated by SC (a, d), Diffpool (b, e), and minCUTpool (c, f). Cluster indexes for Diffpool and minCUTpool are obtained by taking the argmax of S row-wise. Compared to SC, Diffpool and minCUTpool leverage the information contained in X. minCUTpool generates very accurate and balanced partitions, demonstrating that the cluster assignment matrix S is well formed. On the other hand, Diffpool assigns some nodes to the wrong community in the first example, and produces an imbalanced partition of the grid.
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
Figure 2: Node clustering on a community network $K { = } 6 )$ and on a grid graph $( K { = } 5 )$
|
| 142 |
+
|
| 143 |
+
Image segmentation Given an image, we build a Region Adjacency Graph (Tremeau & Colan- ´ toni, 2000) using as nodes the regions generated by an oversegmentation procedure (Felzenszwalb & Huttenlocher, 2004). The SC technique used in this example is the recursive normalized cut (Shi & Malik, 2000), which recursively clusters the nodes until convergence. For Diffpool and minCUTpool, we include node features consisting of the average and total color in each oversegmented region. We set the number of desired clusters to $K = 4$ . The results in Fig. 3 show that minCUTpool yields a more precise segmentation. On the other hand, SC and Diffpool aggregate wrong regions and, in addition, SC finds too many segments.
|
| 144 |
+
|
| 145 |
+
Clustering on citation networks We cluster the nodes of three popular citation networks: Cora, Citeseer, and Pubmed. The nodes are documents represented by sparse bag-of-words feature vectors stored in $\mathbf { X }$ and the binary undirected edges in $\mathbf { A }$ indicate citation links between documents. Each node $i$ is labeled with the document class $y _ { i }$ . Once the training is over, to test the quality of the partitions generated by each method we check the agreement between the cluster assignments and the true class labels. Tab. 1 reports the Completeness Score $\begin{array} { r } { \mathrm { C S } ( \tilde { \bf y } , { \bf y } ) = 1 - \frac { H ( \tilde { \bf y } | { \bf y } ) } { H ( \tilde { \bf y } ) } } \end{array}$ and Normalized Mutual Information $\begin{array} { r } { \mathbf { N M I } ( \tilde { \mathbf { y } } , \mathbf { y } ) = \frac { H ( \tilde { \mathbf { y } } ) - H ( \tilde { \mathbf { y } } | \mathbf { y } ) } { \sqrt { H ( \tilde { \mathbf { y } } ) - H ( \mathbf { y } ) } } } \end{array}$ where $H ( \cdot )$ is the entropy.
|
| 146 |
+
|
| 147 |
+
The GNN architecture configured with minCUTpool achieves a higher NMI score than SC, which does not account for the node features $\mathbf { X }$ when generating the partitions. Our pooling operation outperforms also Diffpool, since the minimization of the unsupervised loss in Diffpool yields degenerate solutions. The pathological behavior is shown in Fig. 4, which depicts the evolution of the NMI scores as the unsupervised losses in Diffpool and minCUTpool are minimized in training.
|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
Figure 3: Image segmentation by clustering the nodes of the Region Adjacency Graph.
|
| 151 |
+
|
| 152 |
+

|
| 153 |
+
Figure 4: Unsupervised losses and NMI of Diffpool and minCUTpool on Cora.
|
| 154 |
+
|
| 155 |
+
Table 1: NMI and CS obtained by clustering the nodes on citation networks over 10 different runs. The number of clusters $K$ is equal to the number of node classes.
|
| 156 |
+
|
| 157 |
+
<table><tr><td>Dataset</td><td>K</td><td colspan="2">Spectral clustering</td><td colspan="2">Diffpool</td><td colspan="2">minCUTpool</td></tr><tr><td></td><td></td><td>NMI</td><td>cs</td><td>NMI</td><td>CS</td><td>NMI</td><td>CS</td></tr><tr><td>Cora</td><td>7</td><td>0.025 ± 0.014</td><td>0.126 ± 0.042</td><td>0.315 ± 0.005</td><td>0.309 ±0.005</td><td>0.404 ± 0.018</td><td>0.392 ± 0.018</td></tr><tr><td>Citeseer</td><td>6</td><td>0.014 ± 0.003</td><td>0.033 ±0.000</td><td>0.139 ± 0.016</td><td>0.153 ± 0.020</td><td>0.287 ±0.047</td><td>0.283 ± 0.046</td></tr><tr><td>Pubmed</td><td>3</td><td>0.182 ± 0.000</td><td>0.261 ± 0.000</td><td>0.079 ±0.001</td><td>0.085 ±0.001</td><td>0.200 ± 0.020</td><td>0.197 ± 0.019</td></tr></table>
|
| 158 |
+
|
| 159 |
+
# 5.2 SUPERVISED GRAPH CLASSIFICATION
|
| 160 |
+
|
| 161 |
+
In this task, the $i$ -th datum is a graph with $N _ { i }$ nodes represented by a pair $\{ \mathbf { A } _ { i } , \mathbf { X } _ { i } \}$ and must be associated to the correct label $\mathbf { y } _ { i }$ . We test the models on different graph classification datasets. For featureless graphs, we used the node degree information and the clustering coefficient as surrogate node features. We evaluate model performance with a 10-fold train/test split, using $1 0 \%$ of the training set in each fold as validation for early stopping. We adopt a fixed network architecture, MP(32)-poolMP(32)-pool-MP(32)-GlobalAvgPool-softmax, where MP is the message-passing operation in (4)
|
| 162 |
+
|
| 163 |
+
with 32 hidden units. The pooling module is implemented either by Graclus, Decimation pooling, Top- $K$ , SAGPool (Lee et al., 2019), Diffpool, or the proposed minCUTpool. Each pooling method is configured to drop half of the nodes in a graph $K = N / 2$ in Top- $K$ , Diffpool, and minCUTpool). As baselines, we consider the popular Weisfeiler-Lehman (WL) graph kernel (Shervashidze et al., 2011), a network with only MP layers (Flat), and a fully connected network (Dense).
|
| 164 |
+
|
| 165 |
+
Table 2: Graph classification accuracy. Significantly better results $( p < 0 . 0 5 )$ are in bold.
|
| 166 |
+
|
| 167 |
+
<table><tr><td>Dataset</td><td>WL</td><td>Dense</td><td>Flat</td><td>Graclus</td><td>Decim.</td><td>Diffpool</td><td>Top-K</td><td>SAGpool</td><td>minCUT</td></tr><tr><td>Bench-easy</td><td>92.6</td><td>29.3±0.3</td><td>98.5±0.3</td><td>97.5±0.5</td><td>97.9±0.5</td><td>98.6±0.4</td><td>82.4±8.9</td><td>84.2±2.3</td><td>99.0±0.0</td></tr><tr><td>Bench-hard</td><td>60.0</td><td>29.4±0.3</td><td>67.6±2.8</td><td>69.0±1.5</td><td>72.6±0.9</td><td>69.9±1.9</td><td>42.7±15.2</td><td>37.7±14.5</td><td>73.8±1.9</td></tr><tr><td>Mutagenicity</td><td>81.7±1.1</td><td>68.4±0.3</td><td>78.0±1.3</td><td>74.4±1.8</td><td>77.8±2.3</td><td>77.6±2.7</td><td>71.9±3.7</td><td>72.4±2.4</td><td>79.9±2.1</td></tr><tr><td>Proteins</td><td>71.2±2.6</td><td>68.7±3.3</td><td>72.6±4.8</td><td>68.6±4.6</td><td>73.3±3.7</td><td>72.7±3.8</td><td>69.6±3.5</td><td>70.5±2.6</td><td>76.5±2.6</td></tr><tr><td>DD</td><td>78.6±2.7</td><td>70.6±5.2</td><td>76.8±1.5</td><td>70.5±4.8</td><td>72.0±3.1</td><td>79.3±2.4</td><td>69.4±7.8</td><td>71.5±4.5</td><td>80.8±2.3</td></tr><tr><td>COLLAB</td><td>74.8±1.3</td><td>79.3±1.6</td><td>82.1±1.8</td><td>77.1±2.1</td><td>79.1±1.5</td><td>81.8±1.4</td><td>79.3±1.8</td><td>79.2±2.0</td><td>83.4±1.7</td></tr><tr><td>Reddit-Binary</td><td>68.2±1.7</td><td>48.5±2.6</td><td>80.3±2.6</td><td>79.2±0.4</td><td>84.3±2.4</td><td>86.8±2.1</td><td>74.7±4.5</td><td>73.9±5.1</td><td>91.4±1.5</td></tr></table>
|
| 168 |
+
|
| 169 |
+
Tab. 2 reports the classification results, highlighting those that are significantly better ( $\dot { p }$ -value $< ~ 0 . 0 5$ w.r.t. the method with the highest mean accuracy). The comparison with Flat helps to understand if a pooling operation is useful or not. The results of Dense, instead, help to quantify how much additional information is brought by the graph structure, with respect to the node features alone. It can be seen that minCUTpool obtains always equal or better results with respect to every other GNN architecture. On the other hand, some pooling procedures do not always improve the performance compared to the Flat baseline, making them not advisable to use in some cases. The WL kernel generally performs worse than the GNNs, except for the Mutagenicity dataset. This is probably because Mutagenicity has smaller graphs than the other datasets, and the adopted GNN architecture is overparametrized for this task. Interestingly, in some dataset such as Proteins and COLLAB it is possible to obtain fairly good classification accuracy with the Dense architecture, meaning that the graph structure only adds limited information.
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
Figure 5: Average duration of one epoch using the same GNN with different pooling operations. Times were computed with an Nvidia GeForce GTX 1050, on the DD dataset with batch size of 1.
|
| 173 |
+
|
| 174 |
+
Fig. 5 reports a comparison of the execution time per training epoch for each pooling algorithm. Graclus and Decimation are understandably the fastest methods, since the coarsened graphs are precomputed. Among the differentiable pooling methods, minCUTpool is faster than Diffpool, which uses a slower MP layer rather than a MLP to compute cluster assignments, and than Top- $K$ , which computes the square of A at every forward pass.
|
| 175 |
+
|
| 176 |
+
# 6 CONCLUSIONS
|
| 177 |
+
|
| 178 |
+
We proposed a pooling layer for GNNs that coarsens a graph by taking into account both the the connectivity structure and the node features. The layer optimizes a regularization term based on the minCUT objective, which is minimized in conjunction with the task-specific loss to produce node partitions that are optimal for the task at hand.
|
| 179 |
+
|
| 180 |
+
We tested the effectiveness of our pooling strategy on unsupervised node clustering tasks, by optimizing only the unsupervised clustering loss, as well as supervised graph classification tasks on several popular benchmark datasets. Results show that minCUTpool performs significantly better than existing pooling strategies for GNNs.
|
| 181 |
+
|
| 182 |
+
# REFERENCES
|
| 183 |
+
|
| 184 |
+
Peter W Battaglia, Jessica B Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, et al. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261, 2018.
|
| 185 |
+
|
| 186 |
+
Filippo Maria Bianchi, Daniele Grattarola, L Livi, and C Alippi. Graph neural networks with convolutional arma filters. arXiv preprint arXiv:1901.01343, 2019.
|
| 187 |
+
|
| 188 |
+
Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. arXiv preprint arXiv:1312.6203, 2013.
|
| 189 |
+
|
| 190 |
+
Maxwell D Collins, Ji Liu, Jia Xu, Lopamudra Mukherjee, and Vikas Singh. Spectral clustering with a convex regularizer on millions of images. In European Conference on Computer Vision, pp. 282–298. Springer, 2014.
|
| 191 |
+
|
| 192 |
+
Anil Damle, Victor Minden, and Lexing Ying. Robust and efficient multi-way spectral clustering. arXiv preprint arXiv:1609.08251, 2016.
|
| 193 |
+
|
| 194 |
+
Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks ¨ on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pp. 3844–3852, 2016.
|
| 195 |
+
|
| 196 |
+
Inderjit S Dhillon, Yuqiang Guan, and Brian Kulis. Kernel k-means: spectral clustering and normalized cuts. In Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 551–556. ACM, 2004.
|
| 197 |
+
|
| 198 |
+
Pedro F Felzenszwalb and Daniel P Huttenlocher. Efficient graph-based image segmentation. International journal of computer vision, 59(2):167–181, 2004.
|
| 199 |
+
|
| 200 |
+
Matthias Fey, Jan Eric Lenssen, Frank Weichert, and Heinrich Muller. Splinecnn: Fast geomet- ¨ ric deep learning with continuous b-spline kernels. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 869–877, 2018.
|
| 201 |
+
|
| 202 |
+
Fernando Gama, Antonio G Marques, Geert Leus, and Alejandro Ribeiro. Convolutional neural network architectures for signals supported on graphs. IEEE Transactions on Signal Processing, 67(4):1034–1049, 2018.
|
| 203 |
+
|
| 204 |
+
Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1263–1272. JMLR. org, 2017.
|
| 205 |
+
|
| 206 |
+
Yufei Han and Maurizio Filippone. Mini-batch spectral clustering. In 2017 International Joint Conference on Neural Networks (IJCNN), pp. 3888–3895. IEEE, 2017.
|
| 207 |
+
|
| 208 |
+
Shuiwang Ji Hongyang Gao. Graph u-nets. In Proceedings of the 36th International conference on Machine learning (ICML), 2019.
|
| 209 |
+
|
| 210 |
+
Yasuhiko Ikebe, Toshiyuki Inagaki, and Sadaaki Miyamoto. The monotonicity theorem, cauchy’s interlace theorem, and the courant-fischer theorem. The American Mathematical Monthly, 94(4): 352–354, 1987.
|
| 211 |
+
|
| 212 |
+
Michael Kampffmeyer, Sigurd Løkse, Filippo M. Bianchi, Lorenzo Livi, Arnt-Børre Salberg, and Robert Jenssen. Deep divergence-based approach to clustering. Neural Networks, 113:91 – 101, 2019.
|
| 213 |
+
|
| 214 |
+
Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. International Conference of Learning Representations (ICLR), 2017.
|
| 215 |
+
|
| 216 |
+
Marc T Law, Raquel Urtasun, and Richard S Zemel. Deep spectral clustering learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1985–1994. JMLR. org, 2017.
|
| 217 |
+
|
| 218 |
+
Chen-Yu Lee, Patrick W Gallagher, and Zhuowen Tu. Generalizing pooling functions in convolutional neural networks: Mixed, gated, and tree. In Artificial Intelligence and Statistics, pp. 464–472, 2016.
|
| 219 |
+
|
| 220 |
+
Junhyun Lee, Inyeop Lee, and Jaewoo Kang. Self-attention graph pooling. In Proceedings of the 36th International conference on Machine learning (ICML-19), 2019.
|
| 221 |
+
|
| 222 |
+
Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. International Conference of Learning Representations (ICLR), 2016.
|
| 223 |
+
|
| 224 |
+
Enxhell Luzhnica, Ben Day, and Pietro Lio. Clique pooling for graph classification. International Conference of Learning Representations (ICLR) – Representation Learning on Graphs and Manifolds workshop, 2019.
|
| 225 |
+
|
| 226 |
+
Azade Nazi, Will Hang, Anna Goldie, Sujith Ravi, and Azalia Mirhoseini. Gap: Generalizable approximate graph partitioning framework. arXiv preprint arXiv:1903.00614, 2019.
|
| 227 |
+
|
| 228 |
+
Oliver Nelles. Nonlinear system identification: from classical approaches to neural networks and fuzzy models. Springer Science & Business Media, 2013.
|
| 229 |
+
|
| 230 |
+
Mark EJ Newman. Mixing patterns in networks. Physical Review E, 67(2):026126, 2003.
|
| 231 |
+
|
| 232 |
+
Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, 2009.
|
| 233 |
+
|
| 234 |
+
Uri Shaham, Kelly Stanton, Henry Li, Boaz Nadler, Ronen Basri, and Yuval Kluger. Spectralnet: Spectral clustering using deep neural networks. arXiv preprint arXiv:1801.01587, 2018.
|
| 235 |
+
|
| 236 |
+
Nino Shervashidze, Pascal Schweitzer, Erik Jan van Leeuwen, Kurt Mehlhorn, and Karsten M Borgwardt. Weisfeiler-lehman graph kernels. Journal of Machine Learning Research, 12(Sep):2539– 2561, 2011.
|
| 237 |
+
|
| 238 |
+
Jianbo Shi and Jitendra Malik. Normalized cuts and image segmentation. Departmental Papers (CIS), pp. 107, 2000.
|
| 239 |
+
|
| 240 |
+
David I Shuman, Mohammad Javad Faraji, and Pierre Vandergheynst. A multiscale pyramid transform for graph signals. IEEE Transactions on Signal Processing, 64(8):2119–2134, 2016.
|
| 241 |
+
|
| 242 |
+
Martin Simonovsky and Nikos Komodakis. Dynamic edgeconditioned filters in convolutional neural networks on graphs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017.
|
| 243 |
+
|
| 244 |
+
Fei Tian, Bin Gao, Qing Cui, Enhong Chen, and Tie-Yan Liu. Learning deep representations for graph clustering. In AAAI, pp. 1293–1299, 2014.
|
| 245 |
+
|
| 246 |
+
Alain Tremeau and Philippe Colantoni. Regions adjacency graph applied to color image segmenta-´ tion. IEEE Transactions on image processing, 9(4):735–744, 2000.
|
| 247 |
+
|
| 248 |
+
Ulrike Von Luxburg. A tutorial on spectral clustering. Statistics and computing, 17(4):395–416, 2007.
|
| 249 |
+
|
| 250 |
+
Zaiwen Wen and Wotao Yin. A feasible method for optimization with orthogonality constraints. Mathematical Programming, 142(1-2):397–434, 2013.
|
| 251 |
+
|
| 252 |
+
Li Yi, Hao Su, Xingwen Guo, and Leonidas J Guibas. Syncspeccnn: Synchronized spectral cnn for 3d shape segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2282–2290, 2017.
|
| 253 |
+
|
| 254 |
+
Zhitao Ying, Jiaxuan You, Christopher Morris, Xiang Ren, Will Hamilton, and Jure Leskovec. Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, pp. 4800–4810, 2018.
|
| 255 |
+
|
| 256 |
+
Yu and Shi. Multiclass spectral clustering. In Proceedings Ninth IEEE International Conference on Computer Vision, pp. 313–319 vol.1, Oct 2003.
|
| 257 |
+
|
| 258 |
+
# APPENDIX
|
| 259 |
+
|
| 260 |
+
A ADDITIONAL EXPERIMENTS
|
| 261 |
+
|
| 262 |
+
# A.1 GNN AUTOENCODER
|
| 263 |
+
|
| 264 |
+
To compare the amount of information retained by the pooling layers in the coarsened graphs, we train an autoencoder (AE) to reconstruct a input graph signal $\mathbf { X }$ from its pooled version. The AE architecture is MP(32)-MP(32)-pool-unpool-MP(32)-MP(32)-MP, and is trained by minimizing the mean squared error between the original and the reconstructed graph signal, $\lVert \bf { X } - \bf { X } ^ { \mathrm { { r e c } } } \rVert ^ { 2 }$ . All the pooling operations are configured to retain $2 5 \%$ of the original nodes.
|
| 265 |
+
|
| 266 |
+
In Diffpool and minCUTpool, the unpool step is simply implemented by transposing the original pooling operations
|
| 267 |
+
|
| 268 |
+
$$
|
| 269 |
+
{ \bf X } ^ { \mathrm { r e c } } = { \bf S } { \bf X } ^ { \mathrm { p o o l } } ; ~ { \bf A } ^ { \mathrm { r e c } } = { \bf S } { \bf A } ^ { \mathrm { p o o l } } { \bf S } ^ { T } .
|
| 270 |
+
$$
|
| 271 |
+
|
| 272 |
+
Top- $K$ does not generate a cluster assignment matrix, but returns a binary mask $\mathbf { m } = \{ 0 , 1 \} ^ { N }$ that indicates the nodes to drop (0) or to retain (1). Therefore, an upsamplig matrix $\mathbf { U }$ is built by dropping the columns of the identity matrix ${ \mathbf { I } } _ { N }$ that correspond to a 0 in $\mathbf { m }$ , $\bar { \mathbf { U } } = [ \mathbf { I } _ { N } ] _ { : , \mathbf { m } = = 1 }$ . The unpooling operation is performed by replacing S with $\mathbf { U }$ in (9), and the resulting upscaled graph is a version of the original graph with zeroes in correspondence of the dropped nodes.
|
| 273 |
+
|
| 274 |
+

|
| 275 |
+
Figure 6: AE reconstruction of a ring graph
|
| 276 |
+
|
| 277 |
+

|
| 278 |
+
Figure 7: AE reconstruction of a grid graph
|
| 279 |
+
|
| 280 |
+
Fig. 6 and 7 report the original graph signal $\mathbf { X }$ (the node features are the 2-D coordinates of the nodes) and the reconstruction $\mathbf { X } ^ { \mathrm { r e c } }$ obtained by using the different pooling methods, for a ring graph and a regular grid graph. The reconstruction produced by Diffpool is worse for the ring graph, but is almost perfect for the grid graph, while minCUTpool yields good results in both cases. On the other hand, Top- $K$ clearly fails in generating a coarsened representation that maintains enough information from the original graph.
|
| 281 |
+
|
| 282 |
+
This experiment highlights a major issue in Top- $K$ pooling, which retains the nodes associated to the highest $K$ values of a score vector s, computed by projecting the node features onto a trainable vector p: $\mathbf { s } = \mathbf { X } \mathbf { p } $ . Nodes that are connected on the graph usually share similar features, and their similarity further increases after the MP operations, which combine the features of neighboring nodes. Retaining the nodes associated to the top $K$ scores in s corresponds to keeping those nodes that are alike and highly connected, as it can be seen in Fig. 6-7. Therefore, Top- $K$ discards entire portions of the graphs, which might contain important information. This explains why Top- $K$ fails to recover the original graph signal when used as bottleneck for the AE, and yields the worse performance among all GNN methods in the graph classification task.
|
| 283 |
+
|
| 284 |
+
# A.2 GRAPH REGRESSION OF MOLECULAR PROPERTIES ON QM9
|
| 285 |
+
|
| 286 |
+
The QM9 chemical database is a collection of ${ \approx } 1 3 5 \mathrm { k }$ small organic molecules, associated to continuous labels describing several geometric, energetic, electronic, and thermodynamic properties1. Each molecule in the dataset is represented as a graph $\{ \mathbf { A } _ { i } , \mathbf { X } _ { i } \}$ , where atoms are associated to nodes, and edges represent chemical bonds. The atomic number of each atom (one-hot encoded; C, N, F, O) is taken as node feature and the type of bond (one-hot encoded; single, double, triple, aromatic) can be used as edge attribute. In this experiment, we ignore the edge attributes in order to use all pooling algorithms without modifications.
|
| 287 |
+
|
| 288 |
+
The purpose of this experiment is to compare the trainable pooling methods also on a graph regression task, but it must be intended as a proof of concept. In fact, the graphs in this dataset are extremely small (the average number of nodes is 8) and, therefore, a pooling operation is arguably not necessary. We consider a GNN with architecture MP(32)-pool-MP(32)-GlobalAvgPool-Dense, where pool is implemented by Top- $K$ , Diffpool, or minCUTpool. The network is trained to predict a given chemical property from the input molecular graphs. Performance is evaluated with a 10-fold cross-validation, using $1 \dot { 0 } \%$ of the training set for validation in each split. The GNNs are trained for 50 epochs, using Adam with learning rate 5e-4, batch size 32, and ReLU activations. We use the mean squared error (MSE) as supervised loss.
|
| 289 |
+
|
| 290 |
+
The MSE obtained on the prediction of each property for different pooling methods is reported in Tab. 3. As expected, the flat baseline with no pooling operation (MP(32)-MP(32)-GlobalAvgPoolDense) yields a lower error in most cases. Contrarily to the graph classification and the AE task, Top- $K$ achieves better results than Diffpool in average. Once again, minCUTpool significantly outperforms the other methods on each regression task and, in one case, also the flat baseline.
|
| 291 |
+
|
| 292 |
+
<table><tr><td>Property</td><td>Top-K</td><td>Diffpool</td><td>minCUTpool</td><td>Flat baseline</td></tr><tr><td>mu</td><td>0.600±0.085</td><td>0.651±0.026</td><td>0.538±0.012</td><td>0.559±0.007</td></tr><tr><td>alpha</td><td>0.197±0.087</td><td>0.114±0.001</td><td>0.078±0.007</td><td>0.065±0.006</td></tr><tr><td>homo</td><td>0.698±0.102</td><td>0.712±0.015</td><td>0.526±0.021</td><td>0.435±0.013</td></tr><tr><td>lumo</td><td>0.601±0.050</td><td>0.646±0.013</td><td>0.540±0.005</td><td>0.515±0.007</td></tr><tr><td>gap</td><td>0.630±0.044</td><td>0.698±0.004</td><td>0.584±0.007</td><td>0.552±0.008</td></tr><tr><td>r2</td><td>0.452±0.087</td><td>0.440±0.024</td><td>0.261±0.006</td><td>0.204±0.006</td></tr><tr><td>zpve</td><td>0.402±0.032</td><td>0.410±0.004</td><td>0.328±0.005</td><td>0.284±0.005</td></tr><tr><td>uO_atom</td><td>0.308±0.055</td><td>0.245±0.006</td><td>0.193±0.002</td><td>0.163±0.001</td></tr><tr><td>cv</td><td>0.291±0.118</td><td>0.337±0.018</td><td>0.148±0.004</td><td>0.127±0.002</td></tr></table>
|
| 293 |
+
|
| 294 |
+
Table 3: MSE on the graph regression task. The best results with a statistical significance of $p < 0 . 0 5$ are highlighted: the best overall are in bold, the best among pooling methods are underlined.
|
| 295 |
+
|
| 296 |
+
# B EXPERIMENTAL DETAILS
|
| 297 |
+
|
| 298 |
+
For the WL kernel, we used the implementation provided in the GraKeL library2. The pooling strategy based on Graclus, is taken from the ChebyNets repository3.
|
| 299 |
+
|
| 300 |
+
# B.1 CLUSTERING ON CITATION NETWORKS
|
| 301 |
+
|
| 302 |
+
Diffpool and minCUTpool are configured with 16 hidden neurons with linear activations in the MLP and MP layer, respectively used to compute the cluster assignment matrix S. The MP layer used to compute the propagated node features $\mathbf { X } ^ { ( 1 ) }$ uses an ELU activation in both architectures. The learning rate for Adam is 5e-4, and the models are trained for 10000 iterations. The details of the citation networks dataset are reported in Tab. 4.
|
| 303 |
+
|
| 304 |
+
Table 4: Details of the citation networks datasets
|
| 305 |
+
|
| 306 |
+
<table><tr><td>Dataset</td><td>Nodes</td><td>Edges</td><td>Node features</td><td>Node classes</td></tr><tr><td>Cora</td><td>2708</td><td>5429</td><td>1433</td><td>7</td></tr><tr><td>Citeseer</td><td>3327</td><td>9228</td><td>3703</td><td>6</td></tr><tr><td>Pubmed</td><td>19717</td><td>88651</td><td>500</td><td>3</td></tr></table>
|
| 307 |
+
|
| 308 |
+
# B.2 GRAPH CLASSIFICATION
|
| 309 |
+
|
| 310 |
+
We train the GNN architectures with Adam, an $\mathrm { L } _ { 2 }$ penalty loss with weight 1e-4, and 16 hidden units $( H )$ both in the MLP of minCUTpool and in the internal MP of Diffpool. Mutagenicity, Proteins, DD, COLLAB, and Reddit- ${ \it 2 k }$ are datasets representing real-world graphs and are taken from the repository of benchmark datasets for graph kernels4. Bench-easy and Bench-hard5 are datasets where the node features $\mathbf { X }$ and the adjacency matrix A are completely uninformative if considered alone. Hence, algorithms that account only for the node features or the graph structure will fail to classify the graphs. Since Bench-easy and Bench-hard come with a train/validation/test split, the 10-fold split is not necessary to evaluate the performance. The statistics of all the datasets are reported in Tab. 5.
|
| 311 |
+
|
| 312 |
+
Table 5: Summary of statistics of the graph classification datasets
|
| 313 |
+
|
| 314 |
+
<table><tr><td>Dataset</td><td>samples</td><td>classes</td><td>avg. nodes</td><td>avg. edges</td><td>node attr.</td><td>node labels</td></tr><tr><td>Bench-easy</td><td>1800</td><td>3</td><td>147.82</td><td>922.66</td><td></td><td>yes</td></tr><tr><td>Bench-hard</td><td>1800</td><td>3</td><td>148.32</td><td>572.32</td><td></td><td>yes</td></tr><tr><td>Mutagenicity</td><td>4337</td><td>2</td><td>30.32</td><td>30.77</td><td></td><td>yes</td></tr><tr><td>Proteins</td><td>1113</td><td>2</td><td>39.06</td><td>72.82</td><td>1</td><td>no</td></tr><tr><td>DD</td><td>1178</td><td>2</td><td>284.32</td><td>715.66</td><td>1</td><td>yes</td></tr><tr><td>COLLAB</td><td>5000</td><td>3</td><td>74.49</td><td>2457.78</td><td></td><td>no</td></tr><tr><td>Reddit-2K</td><td>2000</td><td>2</td><td>429.63</td><td>497.75</td><td>1</td><td>no</td></tr></table>
|
| 315 |
+
|
| 316 |
+
# C ARCHITECTURES SCHEMATA
|
| 317 |
+
|
| 318 |
+
Fig. 8 reports the schematic representation of the minCUTpool layer; Fig. 9 the GNN architecture used in the clustering and segmentation tasks; Fig. 10 the GNN architecture used in the graph classification task; Fig. 12 the GNN architecture used in the graph regression task; Fig. 11 the graph autoencoder used in the graph signal reconstruction task.
|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
Figure 8: Schema of the minCUTpool layer.
|
| 322 |
+
|
| 323 |
+

|
| 324 |
+
Figure 9: Architecture for clustering/segmentation.
|
| 325 |
+
|
| 326 |
+

|
| 327 |
+
Figure 10: Architecture for graph classification.
|
| 328 |
+
|
| 329 |
+

|
| 330 |
+
Figure 11: Architecture for the autoencoder.
|
| 331 |
+
|
| 332 |
+

|
| 333 |
+
Figure 12: Architecture for graph regression.
|
parse/train/BkxfshNYwB/BkxfshNYwB_content_list.json
ADDED
|
@@ -0,0 +1,1752 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "MINCUT POOLING IN GRAPH NEURAL NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
782,
|
| 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 |
+
398,
|
| 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 |
+
226
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "The advance of node pooling operations in Graph Neural Networks (GNNs) has lagged behind the feverish design of new message-passing techniques, and pooling remains an important and challenging endeavor for the design of deep architectures. In this paper, we propose a pooling operation for GNNs that leverages a differentiable unsupervised loss based on the minCUT optimization objective. For each node, our method learns a soft cluster assignment vector that depends on the node features, the target inference task (e.g., a graph classification loss), and, thanks to the minCUT objective, also on the connectivity structure of the graph. Graph pooling is obtained by applying the matrix of assignment vectors to the adjacency matrix and the node features. The proposed method can also be used as a stand-alone module to cluster vertexes in annotated graphs and solve unsupervised problems. We validate the effectiveness of the proposed pooling method on downstream tasks, including supervised graph classification and a set of unsupervised tasks, which reveal the limitations of existing GNN pooling approaches. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
242,
|
| 43 |
+
764,
|
| 44 |
+
436
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
467,
|
| 55 |
+
334,
|
| 56 |
+
482
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "A fundamental component in deep convolutional neural networks is the pooling operation, which replaces the output of convolutions with local summaries of nearby points and is usually implemented by maximum or average operations (Lee et al., 2016). State-of-the-art architectures alternate convolutions, which extrapolate local patterns irrespective of the specific location on the input signal, and pooling, which lets the ensuing convolutions capture aggregated patterns. Pooling allows to learn abstract representations in deeper layers of the network by discarding information that is superfluous for the task, and keeps model complexity under control by limiting the growth of intermediate features. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
498,
|
| 66 |
+
825,
|
| 67 |
+
609
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Graph Neural Networks (GNNs) extend the convolution operation from regular domains, such as images or time series, to data with arbitrary topologies and unordered structures described by graphs (Battaglia et al., 2018). The development of pooling strategies for GNNs, however, has lagged behind the design of newer and more effective message-passing (MP) operations (Gilmer et al., 2017), such as graph convolutions, mainly due to the difficulty of defining an aggregated version of the original graph that supports the pooled signal. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
617,
|
| 77 |
+
825,
|
| 78 |
+
702
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "A na¨ıve pooling strategy in GNNs is to average all nodes features (Li et al., 2016), but it has limited flexibility since it does not extract local summaries of the graph structure, and no further MP operations can be applied afterwards. An alternative approach consists in pre-computing coarsened versions of the original graph and then fit the data to these deterministic structures (Bruna et al., 2013). While this aggregation accounts for the connectivity of the graph, it ignores task-specific objectives as well as the node features. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
708,
|
| 88 |
+
823,
|
| 89 |
+
791
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this paper, we propose a differentiable pooling operation implemented as a neural network layer, which can be seamlessly combined with other MP layers (see Fig. 1). The parameters in the pooling layer are learned by combining the task-specific loss with an unsupervised regularization term, which optimizes a continuous relaxation of the normalized minCUT objective. The minCUT identifies dense graph components, where the nodes features become locally homogeneous after the message-passing. By gradually aggregating these components, the GNN learns to distil global properties from the graph. The proposed minCUT pooling operator (minCUTpool) yields partitions that 1) cluster together nodes which have similar features and are strongly connected on the graph, and 2) take into account the objective of the downstream task. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
799,
|
| 99 |
+
825,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/2f1bdb5271287007bfb404fabc54a4bd48a828a415e925e71e65dd38e08b6950.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: A deep GNN architecture where message-passing is followed by minCUT pooling. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
308,
|
| 113 |
+
99,
|
| 114 |
+
687,
|
| 115 |
+
251
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "2 BACKGROUND ",
|
| 122 |
+
"text_level": 1,
|
| 123 |
+
"bbox": [
|
| 124 |
+
174,
|
| 125 |
+
305,
|
| 126 |
+
326,
|
| 127 |
+
321
|
| 128 |
+
],
|
| 129 |
+
"page_idx": 1
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"type": "text",
|
| 133 |
+
"text": "2.1 MINCUT AND SPECTRAL CLUSTERING ",
|
| 134 |
+
"text_level": 1,
|
| 135 |
+
"bbox": [
|
| 136 |
+
174,
|
| 137 |
+
337,
|
| 138 |
+
478,
|
| 139 |
+
352
|
| 140 |
+
],
|
| 141 |
+
"page_idx": 1
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"type": "text",
|
| 145 |
+
"text": "Given a graph $G = \\{ \\nu , \\mathcal { E } \\}$ , $| \\nu | = N$ , and the associated adjacency matrix $\\mathbf { A } \\in \\mathbb { R } ^ { N \\times N }$ , the $K$ -way normalized minCUT (simply referred to as minCUT) aims at partitioning $\\nu$ in $K$ disjoint subsets by removing the minimum volume of edges. The problem is equivalent to maximizing ",
|
| 146 |
+
"bbox": [
|
| 147 |
+
174,
|
| 148 |
+
362,
|
| 149 |
+
825,
|
| 150 |
+
406
|
| 151 |
+
],
|
| 152 |
+
"page_idx": 1
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"type": "equation",
|
| 156 |
+
"img_path": "images/bed538315cdc4b11b03e72a1f8508838e1bc29db0005bb3d50c0b887200c4dfa.jpg",
|
| 157 |
+
"text": "$$\n\\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\frac { \\operatorname* { l i n k s } ( \\mathcal { V } _ { k } ) } { \\deg \\mathrm { r e e } ( \\mathcal { V } _ { k } ) } = \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\frac { \\sum _ { i , j \\in \\mathcal { V } _ { k } } \\mathcal { E } _ { i , j } } { \\sum _ { i \\in \\mathcal { V } _ { k } , j \\in \\mathcal { V } \\backslash \\mathcal { V } _ { k } } \\mathcal { E } _ { i , j } } ,\n$$",
|
| 158 |
+
"text_format": "latex",
|
| 159 |
+
"bbox": [
|
| 160 |
+
333,
|
| 161 |
+
411,
|
| 162 |
+
665,
|
| 163 |
+
455
|
| 164 |
+
],
|
| 165 |
+
"page_idx": 1
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"type": "text",
|
| 169 |
+
"text": "where the numerator counts the edge volume within each cluster, and the denominator counts the edges between the nodes in a cluster and the rest of the graph (Shi & Malik, 2000). Let $\\mathbf { C } \\in \\mathbb { R } ^ { N \\times K }$ be a cluster assignment matrix, so that $\\mathbf { C } _ { i , j } = 1$ if node $i$ belongs to cluster $j$ , and 0 otherwise. The minCUT problem can be expressed as ",
|
| 170 |
+
"bbox": [
|
| 171 |
+
174,
|
| 172 |
+
460,
|
| 173 |
+
825,
|
| 174 |
+
517
|
| 175 |
+
],
|
| 176 |
+
"page_idx": 1
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"type": "equation",
|
| 180 |
+
"img_path": "images/1bc8a238d93fae41b9a6b3f91c0e932f6d25110d313c304a11065a033efcef83.jpg",
|
| 181 |
+
"text": "$$\n\\mathrm { m a x i m i z e } \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\frac { { \\bf C } _ { k } ^ { T } { \\bf A } { \\bf C } _ { k } } { { \\bf C } _ { k } ^ { T } { \\bf D } { \\bf C } _ { k } } , \\mathrm { s . t . } { \\bf C } \\in \\{ 0 , 1 \\} ^ { N \\times K } , { \\bf C } { \\bf 1 } _ { K } = { \\bf 1 } _ { N } ,\n$$",
|
| 182 |
+
"text_format": "latex",
|
| 183 |
+
"bbox": [
|
| 184 |
+
274,
|
| 185 |
+
523,
|
| 186 |
+
722,
|
| 187 |
+
568
|
| 188 |
+
],
|
| 189 |
+
"page_idx": 1
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"type": "text",
|
| 193 |
+
"text": "where $\\mathbf { D } = \\mathrm { d i a g } ( \\mathbf { A } \\mathbf { 1 } _ { N } )$ is the degree matrix (Dhillon et al., 2004). Since problem (2) is NP-hard, it is usually recast in a relaxed formulation that can be solved in polynomial time and guarantees a near-optimal solution (Yu & Shi, 2003): ",
|
| 194 |
+
"bbox": [
|
| 195 |
+
174,
|
| 196 |
+
574,
|
| 197 |
+
826,
|
| 198 |
+
617
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 1
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "equation",
|
| 204 |
+
"img_path": "images/8b4a96c5fa8a262b25a42766484b99a8cfede951176181e475f73ecda54a5854.jpg",
|
| 205 |
+
"text": "$$\n\\arg \\operatorname* { m a x } _ { \\mathbf { Q } \\in \\mathbb { R } ^ { N \\times K } } \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\mathbf { Q } _ { k } ^ { T } \\mathbf { A } \\mathbf { Q } _ { k } , \\quad \\mathrm { s . t . } \\mathbf { Q } = \\mathbf { C } ( \\mathbf { C } ^ { T } \\mathbf { D } \\mathbf { C } ) ^ { - \\frac { 1 } { 2 } } , \\ \\mathbf { Q } ^ { T } \\mathbf { Q } = \\mathbf { I } _ { K } .\n$$",
|
| 206 |
+
"text_format": "latex",
|
| 207 |
+
"bbox": [
|
| 208 |
+
269,
|
| 209 |
+
623,
|
| 210 |
+
728,
|
| 211 |
+
667
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "While the optimization problem (3) is still non-convex, there exists an optimal solution $\\mathbf { Q } ^ { * } = \\mathbf { U } _ { K } \\mathbf { O }$ , where ${ \\bf U } _ { K } \\dot { } \\in \\mathbb { R } ^ { N \\times K }$ contains the eigenvectors of A corresponding to the $K$ largest eigenvalues, and $\\mathbf { O } \\in \\mathbb { R } ^ { K \\times K }$ is an orthogonal transformation (Ikebe et al., 1987). ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
174,
|
| 220 |
+
672,
|
| 221 |
+
826,
|
| 222 |
+
715
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "Since the elements of $\\mathbf { Q } ^ { * }$ are real values rather than binary cluster indicators, the spectral clustering (SC) approach can be used to find discrete cluster assignments. In SC, the rows of $\\mathbf { Q } ^ { * }$ are treated as node representations embedded in the eigenspace of the Laplacian, and are clustered together with standard algorithms such as $k$ -means (Von Luxburg, 2007). One of the main limitations of SC lies in the computation of the spectrum of A, which has a memory complexity of $\\mathcal { O } ( N ^ { 2 } )$ and a computational complexity of $\\mathcal { O } ( \\bar { N } ^ { 3 } )$ . This prevents its applicability to large datasets. ",
|
| 229 |
+
"bbox": [
|
| 230 |
+
173,
|
| 231 |
+
722,
|
| 232 |
+
825,
|
| 233 |
+
806
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "To deal with such scalability issues, the constrained optimization in (3) can be solved by gradient descent algorithms that refine the solution by iterating operations whose individual complexity is $\\mathcal { O } ( N ^ { 2 } )$ , or even $\\mathcal { O } ( N )$ (Han & Filippone, 2017). Those algorithms search the solution on the manifold induced by the orthogonality constraint on the columns of $\\mathbf { Q }$ , by performing gradient updates along the geodesics (Wen & Yin, 2013; Collins et al., 2014). Alternative approaches rely on the QR factorization to constrain the space of feasible solutions (Damle et al., 2016), and alleviate the cost $\\mathcal { O } ( N ^ { 3 } )$ of the factorization by ensuring that orthogonality holds only on one minibatch at a time (Shaham et al., 2018). ",
|
| 240 |
+
"bbox": [
|
| 241 |
+
173,
|
| 242 |
+
811,
|
| 243 |
+
825,
|
| 244 |
+
924
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 1
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "Other works based on neural networks include an autoencoder trained to map the $i$ th row of the Laplacian to the ith components of the first $K$ eigenvectors, to avoid the spectral decomposition (Tian et al., 2014). Yi et al. (2017) use a soft orthogonality constraint to learn spectral embeddings as a volumetric reparametrization of a precomputed Laplacian eigenbase. Shaham et al. (2018); Kampffmeyer et al. (2019) propose differentiable loss functions to partition generic data and process out-of-sample data at inference time. Nazi et al. (2019) generate balanced node partitions with a GNN, but adopt an optimization that does not encourage cluster assignments to be orthogonal. ",
|
| 251 |
+
"bbox": [
|
| 252 |
+
173,
|
| 253 |
+
103,
|
| 254 |
+
825,
|
| 255 |
+
202
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "2.2 GRAPH NEURAL NETWORKS ",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
176,
|
| 265 |
+
219,
|
| 266 |
+
415,
|
| 267 |
+
233
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "Many approaches have been proposed to process graphs with neural networks, including recurrent architectures (Scarselli et al., 2009; Li et al., 2016) or convolutional operations inspired by filters used in graph signal processing (Defferrard et al., 2016; Bianchi et al., 2019). Since our focus is on graph pooling, we base our GNN implementation on a simple MP operation, which combines the features of each node with its 1st-order neighbors. To account for the initial node features, it is possible to introduce self-loops by adding a (scaled) identity matrix to the diagonal of A (Kipf & Welling, 2017). Since our pooling will modify the structure of the adjacency matrix, we prefer a MP implementation that leaves the original A unaltered and accounts for the initial node features by means of skip connections. ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
244,
|
| 277 |
+
825,
|
| 278 |
+
371
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "Let $\\tilde { \\mathbf { A } } = \\mathbf { D } ^ { - \\frac { 1 } { 2 } } \\mathbf { A } \\mathbf { D } ^ { - \\frac { 1 } { 2 } } \\in \\mathbb { R } ^ { N \\times N }$ be the symmetrically normalized adjacency matrix and $\\mathbf { X } \\in \\mathbb { R } ^ { N \\times F }$ the matrix containing the node features. The output of the MP layer is ",
|
| 285 |
+
"bbox": [
|
| 286 |
+
171,
|
| 287 |
+
378,
|
| 288 |
+
823,
|
| 289 |
+
409
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "equation",
|
| 295 |
+
"img_path": "images/34c777764a42e47800439e8acb679c0fc313d00d93b57909084dfaca360baee8.jpg",
|
| 296 |
+
"text": "$$\n\\mathbf { X } ^ { ( t + 1 ) } = M P ( \\mathbf { X } ^ { ( t ) } , \\tilde { \\mathbf { A } } ) = \\operatorname { R e L U } ( \\tilde { \\mathbf { A } } \\mathbf { X } ^ { ( t ) } \\mathbf { W } _ { m } + \\mathbf { X } ^ { ( t ) } \\mathbf { W } _ { s } ) ,\n$$",
|
| 297 |
+
"text_format": "latex",
|
| 298 |
+
"bbox": [
|
| 299 |
+
299,
|
| 300 |
+
416,
|
| 301 |
+
696,
|
| 302 |
+
436
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "where $\\boldsymbol { \\Theta } _ { M P } = \\{ \\mathbf { W } _ { m } , \\mathbf { W } _ { s } \\}$ are the trainable weights relative to the mixing and skip component of the layer, respectively. ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
173,
|
| 311 |
+
443,
|
| 312 |
+
823,
|
| 313 |
+
473
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 2
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "3 PROPOSED METHOD ",
|
| 320 |
+
"text_level": 1,
|
| 321 |
+
"bbox": [
|
| 322 |
+
176,
|
| 323 |
+
493,
|
| 324 |
+
372,
|
| 325 |
+
510
|
| 326 |
+
],
|
| 327 |
+
"page_idx": 2
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"type": "text",
|
| 331 |
+
"text": "The minCUT pooling strategy computes a cluster assignment matrix $\\mathbf { S } \\in \\mathbb { R } ^ { N \\times K }$ by means of a multi-layer perceptron, which maps each node feature $\\mathbf { x } _ { i }$ into the ith row of S: ",
|
| 332 |
+
"bbox": [
|
| 333 |
+
171,
|
| 334 |
+
525,
|
| 335 |
+
825,
|
| 336 |
+
554
|
| 337 |
+
],
|
| 338 |
+
"page_idx": 2
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"type": "equation",
|
| 342 |
+
"img_path": "images/eb9b8566cc8d18dce23ac90d2d6d28532fcd23484c72c59fadfa52de34d9d2e9.jpg",
|
| 343 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { S } = s o f t m a x ( \\mathbf { R e L U } ( \\mathbf { X } \\mathbf { W } _ { 1 } ) \\mathbf { W } _ { 2 } ) , } \\end{array}\n$$",
|
| 344 |
+
"text_format": "latex",
|
| 345 |
+
"bbox": [
|
| 346 |
+
379,
|
| 347 |
+
563,
|
| 348 |
+
616,
|
| 349 |
+
579
|
| 350 |
+
],
|
| 351 |
+
"page_idx": 2
|
| 352 |
+
},
|
| 353 |
+
{
|
| 354 |
+
"type": "text",
|
| 355 |
+
"text": "where $\\boldsymbol { \\Theta } _ { P o o l } = \\{ \\mathbf { W } _ { 1 } \\in \\mathbb { R } ^ { F \\times H } , \\mathbf { W } _ { 2 } \\in \\mathbb { R } ^ { H \\times K } \\}$ are trainable parameters. The softmax function guarantees that $s _ { i , j } \\in [ 0 , 1 ]$ and enforces the constraints $\\mathbf { S 1 } _ { K } = \\mathbf { 1 } _ { N }$ inherited from the optimization problem in (2). The parameters $\\Theta _ { M P }$ and $\\Theta _ { P o o l }$ are jointly optimized by minimizing the usual task-specific loss, as well as an unsupervised loss $\\mathcal { L } _ { u }$ , which is composed of two terms ",
|
| 356 |
+
"bbox": [
|
| 357 |
+
174,
|
| 358 |
+
585,
|
| 359 |
+
825,
|
| 360 |
+
643
|
| 361 |
+
],
|
| 362 |
+
"page_idx": 2
|
| 363 |
+
},
|
| 364 |
+
{
|
| 365 |
+
"type": "equation",
|
| 366 |
+
"img_path": "images/093c5d20482e4733720500e265f3b4b47793157e111ce4ec091ed8c0b6c46652.jpg",
|
| 367 |
+
"text": "$$\n\\mathcal { L } _ { u } = \\mathcal { L } _ { c } + \\mathcal { L } _ { o } = \\underbrace { - \\frac { T r ( \\mathbf { S } ^ { T } \\tilde { \\mathbf { A } } \\mathbf { S } ) } { T r ( \\mathbf { S } ^ { T } \\tilde { \\mathbf { D } } \\mathbf { S } ) } } _ { \\mathcal { L } _ { c } } + \\underbrace { \\left\\| \\frac { \\mathbf { S } ^ { T } \\mathbf { S } } { \\| \\mathbf { S } ^ { T } \\mathbf { S } \\| _ { F } } - \\frac { \\mathbf { I } _ { K } } { \\sqrt { K } } \\right\\| _ { F } } _ { \\mathcal { L } _ { o } } ,\n$$",
|
| 368 |
+
"text_format": "latex",
|
| 369 |
+
"bbox": [
|
| 370 |
+
305,
|
| 371 |
+
651,
|
| 372 |
+
689,
|
| 373 |
+
708
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 2
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "text",
|
| 379 |
+
"text": "where $\\| \\cdot \\| _ { F }$ indicates the Frobenius norm. ",
|
| 380 |
+
"bbox": [
|
| 381 |
+
174,
|
| 382 |
+
715,
|
| 383 |
+
455,
|
| 384 |
+
731
|
| 385 |
+
],
|
| 386 |
+
"page_idx": 2
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"type": "text",
|
| 390 |
+
"text": "The cut loss term, $\\mathcal { L } _ { c }$ , evaluates the minCUT given by the cluster assignment S, and is bounded by $- 1 \\leq \\mathcal { L } _ { c } \\leq 0$ . Minimizing $\\mathcal { L } _ { c }$ encourages strongly connected nodes to be clustered together, since the inner product $\\left. \\mathbf { s } _ { i } , \\mathbf { s } _ { j } \\right.$ increases when $\\tilde { a } _ { i , j }$ is large. $\\mathcal { L } _ { c }$ has a single maximum, reached when the numerator $\\begin{array} { r } { T r ( \\mathbf { S } ^ { T } \\tilde { \\mathbf { A } } \\mathbf { S } ) = \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\mathbf { S } _ { k } ^ { T } \\tilde { \\mathbf { A } } \\mathbf { S } _ { k } = 0 } \\end{array}$ . This occurs if, for each pair of connected nodes (i.e., $\\tilde { a } _ { i , j } > 0 \\rangle$ ), the cluster assignments are orthogonal (i.e., $\\langle \\mathbf { s } _ { i } , \\mathbf { s } _ { j } \\rangle = 0 ,$ ). $\\mathcal { L } _ { c }$ reaches its minimum, $- 1$ , when $T r ( \\mathbf { S } ^ { T } \\tilde { \\mathbf { A } } \\mathbf { S } ) = T r ( \\mathbf { S } ^ { T } \\tilde { \\mathbf { D } } \\mathbf { S } )$ . This occurs when in a graph with $K$ disconnected components the cluster assignments are equal for all the nodes in the same component and orthogonal to the cluster assignments of nodes in different components. However, $\\mathcal { L } _ { c }$ is a non-convex function and its minimization can lead to local minima or degenerate solutions. For example, given a connected graph, a trivial optimal solution is the one that assigns all nodes to the same cluster. As a consequence of the continuous relaxation, another degenerate minimum occurs when the cluster assignments are all uniform, that is, all nodes are equally assigned to all clusters. This problem is exacerbated by prior message-passing operations, which make the node features more uniform. ",
|
| 391 |
+
"bbox": [
|
| 392 |
+
173,
|
| 393 |
+
736,
|
| 394 |
+
825,
|
| 395 |
+
924
|
| 396 |
+
],
|
| 397 |
+
"page_idx": 2
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"type": "text",
|
| 401 |
+
"text": "The orthogonality loss term, $\\mathcal { L } _ { o }$ , penalizes the degenerate minima of $\\mathcal { L } _ { c }$ by encouraging the cluster assignments to be orthogonal and the clusters to be of similar size. Since the two matrices in $\\mathcal { L } _ { o }$ have unitary norm it is easy to see that $0 \\leq \\mathcal { L } _ { o } \\leq 2$ . Therefore, $\\mathcal { L } _ { o }$ does not dominate over $\\mathcal { L } _ { c }$ and the two terms can be safely summed directly (see Fig. 4 for an example). ${ \\mathbf { I } } _ { K }$ can be interpreted as a (rescaled) clustering matrix $\\mathbf { I } _ { K } = \\hat { \\mathbf { S } } ^ { T } \\hat { \\mathbf { S } }$ , where $\\hat { \\bf S }$ assigns exactly $N / K$ points to each cluster. The value of the Frobenius norm between clustering matrices is not dominated by the performance on the largest clusters (Law et al., 2017) and, thus, can be used to optimize intra-cluster variance. ",
|
| 402 |
+
"bbox": [
|
| 403 |
+
173,
|
| 404 |
+
103,
|
| 405 |
+
825,
|
| 406 |
+
204
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "Contrarily to SC methods that search for feasible solutions only within the space of orthogonal matrices, $\\mathcal { L } _ { o }$ only introduces a soft constraint that could be violated during the learning procedure. Since $\\mathcal { L } _ { c }$ is non-convex, the violation compromises the theoretical guarantee of convergence to the optimum of (3). However, we note that: ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
176,
|
| 415 |
+
209,
|
| 416 |
+
825,
|
| 417 |
+
266
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "1. the cluster assignments S are well initialized: after the MP operation, the features of the connected vertices become similar and, since the MLP is a smooth function (Nelles, 2013), it yields similar cluster assignments for those vertices; \n2. in the GNN architecture, the minCUT objective is a regularization term and, therefore, a solution which is sub-optimal for (3) could instead be adequate for the specific objective of the downstream task; \n3. optimizing the task-specific loss helps the GNN to avoid the degenerate minima of $\\mathcal { L } _ { c }$ . ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
210,
|
| 426 |
+
276,
|
| 427 |
+
825,
|
| 428 |
+
386
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "3.1 COARSENING ",
|
| 435 |
+
"text_level": 1,
|
| 436 |
+
"bbox": [
|
| 437 |
+
174,
|
| 438 |
+
401,
|
| 439 |
+
310,
|
| 440 |
+
416
|
| 441 |
+
],
|
| 442 |
+
"page_idx": 3
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"type": "text",
|
| 446 |
+
"text": "The coarsened version of the adjacency matrix and the graph signal are computed as ",
|
| 447 |
+
"bbox": [
|
| 448 |
+
174,
|
| 449 |
+
426,
|
| 450 |
+
725,
|
| 451 |
+
443
|
| 452 |
+
],
|
| 453 |
+
"page_idx": 3
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"type": "equation",
|
| 457 |
+
"img_path": "images/c14e7c61c40a2f766857a297640952b7ad643866d8ac0d1f6858958d0c1eb67a.jpg",
|
| 458 |
+
"text": "$$\n{ \\bf A } ^ { p o o l } = { \\bf S } ^ { T } { \\tilde { \\bf A } } { \\bf S } ; ~ { \\bf X } ^ { p o o l } = { \\bf S } ^ { T } { \\bf X } ,\n$$",
|
| 459 |
+
"text_format": "latex",
|
| 460 |
+
"bbox": [
|
| 461 |
+
382,
|
| 462 |
+
446,
|
| 463 |
+
612,
|
| 464 |
+
465
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "where the entry xpooi,j in $\\mathbf { X } ^ { p o o l } ~ \\in ~ \\mathbb { R } ^ { K \\times F }$ is the weighted average value of feature $j$ among the elements in cluster $i$ . $\\mathbf { A } ^ { p o o l } ~ \\in ~ \\mathbb { R } ^ { K \\times K }$ is a symmetric matrix, whose entries $a _ { i , i } ^ { p o o l }$ are the total number of edges between the nodes in the cluster i, while apooi,j is the number of edges between cluster $i$ and $j$ . Since $\\mathbf { A } ^ { p o o l }$ corresponds to the numerator of $\\mathcal { L } _ { c }$ in (7), the trace maximization yields clusters with many internal connections and weakly connected to each other. Hence, $\\mathbf { A } ^ { p o o l }$ will be a diagonal-dominant matrix, which describes a graph with self-loops much stronger than any other connection. Because self-loops hamper the propagation across adjacent nodes in the MP operations following the pooling layer, we compute the new adjacency matrix $\\tilde { \\mathbf { A } } ^ { p o o l }$ by zeroing the diagonal and by applying the degree normalization ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
173,
|
| 473 |
+
470,
|
| 474 |
+
825,
|
| 475 |
+
613
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 3
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "equation",
|
| 481 |
+
"img_path": "images/cdc85379486e51b65f69e07f035aec1a89b20127fdc77e297c858fa7fe2513dd.jpg",
|
| 482 |
+
"text": "$$\n\\hat { \\bf A } = { \\bf A } ^ { p o o l } - { \\bf I } _ { K } d i a g ( { \\bf A } ^ { p o o l } ) ; \\quad \\tilde { \\bf A } ^ { p o o l } = \\hat { \\bf D } ^ { - \\frac { 1 } { 2 } } \\hat { \\bf A } \\hat { \\bf D } ^ { - \\frac { 1 } { 2 } } .\n$$",
|
| 483 |
+
"text_format": "latex",
|
| 484 |
+
"bbox": [
|
| 485 |
+
312,
|
| 486 |
+
617,
|
| 487 |
+
684,
|
| 488 |
+
638
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "where $d i a g ( \\cdot )$ returns the matrix diagonal. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
176,
|
| 497 |
+
643,
|
| 498 |
+
452,
|
| 499 |
+
659
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 3
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "3.2 DISCUSSION AND RELATIONSHIP WITH SPECTRAL CLUSTERING ",
|
| 506 |
+
"text_level": 1,
|
| 507 |
+
"bbox": [
|
| 508 |
+
176,
|
| 509 |
+
675,
|
| 510 |
+
653,
|
| 511 |
+
689
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 3
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "text",
|
| 517 |
+
"text": "The proposed method is straightforward to implement: the cluster assignments, the loss, graph coarsening, and feature pooling are all computed with standard linear algebra operations. ",
|
| 518 |
+
"bbox": [
|
| 519 |
+
174,
|
| 520 |
+
700,
|
| 521 |
+
825,
|
| 522 |
+
729
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 3
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "There are several differences between minCUTpool and classic SC methods. SC partitions the graph based on the Laplacian, but does not account for the node features. Instead, the cluster assignments $\\mathbf { s } _ { i }$ found by minCUTpool depend on $\\mathbf { x } _ { i }$ , which works well if connected nodes have similar features. This is a reasonable assumption in GNNs since, even in disassortative graphs (i.e., networks where dissimilar nodes are likely to be connected (Newman, 2003)), the features tend to become similar due to the MP operations. ",
|
| 529 |
+
"bbox": [
|
| 530 |
+
174,
|
| 531 |
+
734,
|
| 532 |
+
825,
|
| 533 |
+
819
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 3
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "text",
|
| 539 |
+
"text": "Another difference is that SC handles a single graph and is not conceived for tasks with multiple graphs to be partitioned independently. Instead, thanks to the independence of the model parameters from the number of nodes $N$ and from the graph spectrum, minCUTpool can generalize to outof-sample data. This feature is fundamental in problems such as graph classification, where each sample is a graph with a different structure, and allows to train the model on small graphs and process larger ones at inference time. Finally, minCUTpool directly uses the soft cluster assignments rather than performing $k$ -means afterwards. ",
|
| 540 |
+
"bbox": [
|
| 541 |
+
174,
|
| 542 |
+
825,
|
| 543 |
+
825,
|
| 544 |
+
924
|
| 545 |
+
],
|
| 546 |
+
"page_idx": 3
|
| 547 |
+
},
|
| 548 |
+
{
|
| 549 |
+
"type": "text",
|
| 550 |
+
"text": "4 RELATED WORK ON POOLING IN GNNS ",
|
| 551 |
+
"text_level": 1,
|
| 552 |
+
"bbox": [
|
| 553 |
+
174,
|
| 554 |
+
102,
|
| 555 |
+
534,
|
| 556 |
+
117
|
| 557 |
+
],
|
| 558 |
+
"page_idx": 4
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"type": "text",
|
| 562 |
+
"text": "Trainable pooling methods. Similarly to our method, these approaches learn how to generate coarsened version of the graph through differentiable functions, which take as input the nodes features $\\mathbf { X }$ and are parametrized by weights optimized on the task at hand. ",
|
| 563 |
+
"bbox": [
|
| 564 |
+
174,
|
| 565 |
+
133,
|
| 566 |
+
823,
|
| 567 |
+
175
|
| 568 |
+
],
|
| 569 |
+
"page_idx": 4
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"type": "text",
|
| 573 |
+
"text": "Diffpool (Ying et al., 2018) is a pooling module that includes two parallel MP layers: one to compute the new node features $\\mathbf { X } ^ { ( t + 1 ) }$ and another to generate the cluster assignments S. Diffpool implements an unsupervised loss that consists of two terms. First, the link prediction term $\\| \\mathbf { A } - \\mathbf { S } \\mathbf { \\dot { S } } ^ { T } \\| _ { F }$ minimizes the Frobenius norm of the difference between the adjacency and the Gram matrix of the cluster assignments, encouraging nearby nodes to be clustered together. The second term $\\begin{array} { r } { \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } H ( \\mathbf { S } _ { i } ) } \\end{array}$ minimizes the entropy of the cluster assignments to make them alike to one-hot vectors. Like minCUTpool, Diffpool clusters the vertices of annotated graphs, but yields completely different partitions, since it computes differently the clustering assignments, the coarsened adjacency matrix and, most importantly, the unsupervised loss. In Diffpool, such a loss shows pathological behaviors that are discussed later in the experiments. ",
|
| 574 |
+
"bbox": [
|
| 575 |
+
174,
|
| 576 |
+
183,
|
| 577 |
+
825,
|
| 578 |
+
325
|
| 579 |
+
],
|
| 580 |
+
"page_idx": 4
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"type": "text",
|
| 584 |
+
"text": "The approach dubbed Top- $K$ pooling (Hongyang Gao, 2019; Lee et al., 2019), learns a projection vector that is applied to each node feature to obtain a score. The nodes with the $K$ highest scores are retained, the others are dropped. Since the top- $K$ selection is not differentiable, the scores are also used as a gate/attention for the node features, letting the projection vector to be trained with backpropagation. Top- $K$ is memory efficient as it avoids generating cluster assignments. To prevent A from becoming disconnected after nodes removal, Top- $K$ drops the rows and the columns from ${ \\bf A } ^ { 2 }$ and uses it as the new adjacency matrix. However, computing ${ \\bf A } ^ { 2 }$ costs $\\mathcal { O } ( N ^ { 2 } )$ and it is inefficient to implement with sparse operations. ",
|
| 585 |
+
"bbox": [
|
| 586 |
+
174,
|
| 587 |
+
332,
|
| 588 |
+
825,
|
| 589 |
+
444
|
| 590 |
+
],
|
| 591 |
+
"page_idx": 4
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"type": "text",
|
| 595 |
+
"text": "Topological pooling methods. These methods pre-compute a pyramid of coarsened graphs, only taking into account the topology (A), but not the node features $\\mathbf { \\Pi } ( \\mathbf { X } )$ . During training, the node features are pooled with standard procedures and are fit into these deterministic graph structures. These methods are less flexible, but provide a stronger bias that can prevent degenerate solutions (e.g., coarsened graphs collapsing in a single node). ",
|
| 596 |
+
"bbox": [
|
| 597 |
+
174,
|
| 598 |
+
460,
|
| 599 |
+
823,
|
| 600 |
+
530
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 4
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "The approach proposed by Bruna et al. (2013), which has been adopted also in other GNN architectures (Defferrard et al., 2016; Fey et al., 2018), exploits GRACLUS (Dhillon et al., 2004), a hierarchical algorithm based on SC. At each pooling level $l$ , GRACLUS indetifies the pairs of maximally similar nodes $i _ { l }$ and $j _ { l }$ to be clustered together into a new vertex $k _ { ( l + 1 ) }$ . At inference phase, max-pooling is used to determine which node in the pair is kept. Fake vertices are added so that the number of nodes can be halved each time, but this injects noisy information in the graph. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
536,
|
| 610 |
+
825,
|
| 611 |
+
619
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 4
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "Node decimation is a method originally proposed in graph signal processing literature (Shuman et al., 2016), which as been adapted also for GNNs (Simonovsky & Komodakis, 2017). The nodes are partitioned in two sets, according to the signs of the Laplacian eigenvector associated to the largest eigenvalue. One of the two sets is dropped, reducing the number of nodes each time approximately by half. Kron reduction is used to compute a pyramid of coarsened Laplacians from the remaining nodes. ",
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
627,
|
| 621 |
+
823,
|
| 622 |
+
710
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 4
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "A procedure proposed in Gama et al. (2018) diffuses a signal from designated nodes on the graph and stores the observed sequence of diffused components. The resulting stream of information is interpreted as a time signal, where standard CNN pooling is applied. We also mention a pooling operation for coarsening binary unweighted graphs by aggregating maximal cliques (Luzhnica et al., 2019). Nodes assigned to the same clique are summarized by max or average pooling and become a new node in the coarsened graph. ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
174,
|
| 631 |
+
717,
|
| 632 |
+
825,
|
| 633 |
+
801
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 4
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "5 EXPERIMENTS ",
|
| 640 |
+
"text_level": 1,
|
| 641 |
+
"bbox": [
|
| 642 |
+
176,
|
| 643 |
+
821,
|
| 644 |
+
326,
|
| 645 |
+
838
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 4
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": "We consider both supervised and unsupervised tasks, and compare minCUTpool with other GNN pooling strategies. The Appendix provides further details on the experiments and a schematic depiction of the architectures used in each task. In addition, the Appendix reports two additional experiments: i) graph reconstruction by means of an Auto Encoder with bottleneck, implemented with pooling and un-pooling layers, ii) an architecture with pooling for graph regression. ",
|
| 652 |
+
"bbox": [
|
| 653 |
+
174,
|
| 654 |
+
853,
|
| 655 |
+
823,
|
| 656 |
+
924
|
| 657 |
+
],
|
| 658 |
+
"page_idx": 4
|
| 659 |
+
},
|
| 660 |
+
{
|
| 661 |
+
"type": "text",
|
| 662 |
+
"text": "5.1 CLUSTERING THE GRAPH NODES ",
|
| 663 |
+
"text_level": 1,
|
| 664 |
+
"bbox": [
|
| 665 |
+
176,
|
| 666 |
+
104,
|
| 667 |
+
442,
|
| 668 |
+
117
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 5
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "To study the effectiveness of the proposed loss, we perform different node clustering tasks with a simple GNN composed of a single MP layer followed by a pooling layer. The GNN is trained by minimizing $\\mathcal { L } _ { u }$ only, so that its effect is evaluated without the “interference” of a supervised loss. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
176,
|
| 677 |
+
128,
|
| 678 |
+
823,
|
| 679 |
+
171
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 5
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "Clustering on synthetic networks We consider two simple graphs: the first is a network with 6 communities and the second is a regular grid. The adjacency matrix A is binary and the features X are the 2-D node coordinates. Fig. 2 depicts the node partitions generated by SC (a, d), Diffpool (b, e), and minCUTpool (c, f). Cluster indexes for Diffpool and minCUTpool are obtained by taking the argmax of S row-wise. Compared to SC, Diffpool and minCUTpool leverage the information contained in X. minCUTpool generates very accurate and balanced partitions, demonstrating that the cluster assignment matrix S is well formed. On the other hand, Diffpool assigns some nodes to the wrong community in the first example, and produces an imbalanced partition of the grid. ",
|
| 686 |
+
"bbox": [
|
| 687 |
+
173,
|
| 688 |
+
186,
|
| 689 |
+
825,
|
| 690 |
+
299
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 5
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "image",
|
| 696 |
+
"img_path": "images/f54a1747a2f3fb20dd6df85e294051b41f7c8f617ba05ec5ba321652a3688701.jpg",
|
| 697 |
+
"image_caption": [
|
| 698 |
+
"Figure 2: Node clustering on a community network $K { = } 6 )$ and on a grid graph $( K { = } 5 )$ "
|
| 699 |
+
],
|
| 700 |
+
"image_footnote": [],
|
| 701 |
+
"bbox": [
|
| 702 |
+
259,
|
| 703 |
+
316,
|
| 704 |
+
738,
|
| 705 |
+
595
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 5
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Image segmentation Given an image, we build a Region Adjacency Graph (Tremeau & Colan- ´ toni, 2000) using as nodes the regions generated by an oversegmentation procedure (Felzenszwalb & Huttenlocher, 2004). The SC technique used in this example is the recursive normalized cut (Shi & Malik, 2000), which recursively clusters the nodes until convergence. For Diffpool and minCUTpool, we include node features consisting of the average and total color in each oversegmented region. We set the number of desired clusters to $K = 4$ . The results in Fig. 3 show that minCUTpool yields a more precise segmentation. On the other hand, SC and Diffpool aggregate wrong regions and, in addition, SC finds too many segments. ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
173,
|
| 714 |
+
647,
|
| 715 |
+
825,
|
| 716 |
+
760
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 5
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "Clustering on citation networks We cluster the nodes of three popular citation networks: Cora, Citeseer, and Pubmed. The nodes are documents represented by sparse bag-of-words feature vectors stored in $\\mathbf { X }$ and the binary undirected edges in $\\mathbf { A }$ indicate citation links between documents. Each node $i$ is labeled with the document class $y _ { i }$ . Once the training is over, to test the quality of the partitions generated by each method we check the agreement between the cluster assignments and the true class labels. Tab. 1 reports the Completeness Score $\\begin{array} { r } { \\mathrm { C S } ( \\tilde { \\bf y } , { \\bf y } ) = 1 - \\frac { H ( \\tilde { \\bf y } | { \\bf y } ) } { H ( \\tilde { \\bf y } ) } } \\end{array}$ and Normalized Mutual Information $\\begin{array} { r } { \\mathbf { N M I } ( \\tilde { \\mathbf { y } } , \\mathbf { y } ) = \\frac { H ( \\tilde { \\mathbf { y } } ) - H ( \\tilde { \\mathbf { y } } | \\mathbf { y } ) } { \\sqrt { H ( \\tilde { \\mathbf { y } } ) - H ( \\mathbf { y } ) } } } \\end{array}$ where $H ( \\cdot )$ is the entropy. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
173,
|
| 725 |
+
775,
|
| 726 |
+
825,
|
| 727 |
+
890
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 5
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "The GNN architecture configured with minCUTpool achieves a higher NMI score than SC, which does not account for the node features $\\mathbf { X }$ when generating the partitions. Our pooling operation outperforms also Diffpool, since the minimization of the unsupervised loss in Diffpool yields degenerate solutions. The pathological behavior is shown in Fig. 4, which depicts the evolution of the NMI scores as the unsupervised losses in Diffpool and minCUTpool are minimized in training. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
173,
|
| 736 |
+
895,
|
| 737 |
+
825,
|
| 738 |
+
924
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 5
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "image",
|
| 744 |
+
"img_path": "images/81a3f7ffc1776e74fbc56b414ab1c318578c5dc39e05ac6ea084422888017b44.jpg",
|
| 745 |
+
"image_caption": [
|
| 746 |
+
"Figure 3: Image segmentation by clustering the nodes of the Region Adjacency Graph. "
|
| 747 |
+
],
|
| 748 |
+
"image_footnote": [],
|
| 749 |
+
"bbox": [
|
| 750 |
+
199,
|
| 751 |
+
108,
|
| 752 |
+
807,
|
| 753 |
+
337
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 6
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "image",
|
| 759 |
+
"img_path": "images/4067d319802597da0f8a99d17f9a05ae75ef1d9974bd1b46567b315150d067c6.jpg",
|
| 760 |
+
"image_caption": [
|
| 761 |
+
"Figure 4: Unsupervised losses and NMI of Diffpool and minCUTpool on Cora. "
|
| 762 |
+
],
|
| 763 |
+
"image_footnote": [],
|
| 764 |
+
"bbox": [
|
| 765 |
+
183,
|
| 766 |
+
390,
|
| 767 |
+
812,
|
| 768 |
+
546
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 6
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "",
|
| 775 |
+
"bbox": [
|
| 776 |
+
174,
|
| 777 |
+
604,
|
| 778 |
+
825,
|
| 779 |
+
647
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 6
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "table",
|
| 785 |
+
"img_path": "images/4158255af3330a03321c8d25f82fd169f90fca4a4f87f98e57d954019d96471f.jpg",
|
| 786 |
+
"table_caption": [
|
| 787 |
+
"Table 1: NMI and CS obtained by clustering the nodes on citation networks over 10 different runs. The number of clusters $K$ is equal to the number of node classes. "
|
| 788 |
+
],
|
| 789 |
+
"table_footnote": [],
|
| 790 |
+
"table_body": "<table><tr><td>Dataset</td><td>K</td><td colspan=\"2\">Spectral clustering</td><td colspan=\"2\">Diffpool</td><td colspan=\"2\">minCUTpool</td></tr><tr><td></td><td></td><td>NMI</td><td>cs</td><td>NMI</td><td>CS</td><td>NMI</td><td>CS</td></tr><tr><td>Cora</td><td>7</td><td>0.025 ± 0.014</td><td>0.126 ± 0.042</td><td>0.315 ± 0.005</td><td>0.309 ±0.005</td><td>0.404 ± 0.018</td><td>0.392 ± 0.018</td></tr><tr><td>Citeseer</td><td>6</td><td>0.014 ± 0.003</td><td>0.033 ±0.000</td><td>0.139 ± 0.016</td><td>0.153 ± 0.020</td><td>0.287 ±0.047</td><td>0.283 ± 0.046</td></tr><tr><td>Pubmed</td><td>3</td><td>0.182 ± 0.000</td><td>0.261 ± 0.000</td><td>0.079 ±0.001</td><td>0.085 ±0.001</td><td>0.200 ± 0.020</td><td>0.197 ± 0.019</td></tr></table>",
|
| 791 |
+
"bbox": [
|
| 792 |
+
187,
|
| 793 |
+
703,
|
| 794 |
+
810,
|
| 795 |
+
784
|
| 796 |
+
],
|
| 797 |
+
"page_idx": 6
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"type": "text",
|
| 801 |
+
"text": "5.2 SUPERVISED GRAPH CLASSIFICATION ",
|
| 802 |
+
"text_level": 1,
|
| 803 |
+
"bbox": [
|
| 804 |
+
176,
|
| 805 |
+
814,
|
| 806 |
+
473,
|
| 807 |
+
828
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 6
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "In this task, the $i$ -th datum is a graph with $N _ { i }$ nodes represented by a pair $\\{ \\mathbf { A } _ { i } , \\mathbf { X } _ { i } \\}$ and must be associated to the correct label $\\mathbf { y } _ { i }$ . We test the models on different graph classification datasets. For featureless graphs, we used the node degree information and the clustering coefficient as surrogate node features. We evaluate model performance with a 10-fold train/test split, using $1 0 \\%$ of the training set in each fold as validation for early stopping. We adopt a fixed network architecture, MP(32)-poolMP(32)-pool-MP(32)-GlobalAvgPool-softmax, where MP is the message-passing operation in (4) ",
|
| 814 |
+
"bbox": [
|
| 815 |
+
173,
|
| 816 |
+
839,
|
| 817 |
+
825,
|
| 818 |
+
924
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 6
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "with 32 hidden units. The pooling module is implemented either by Graclus, Decimation pooling, Top- $K$ , SAGPool (Lee et al., 2019), Diffpool, or the proposed minCUTpool. Each pooling method is configured to drop half of the nodes in a graph $K = N / 2$ in Top- $K$ , Diffpool, and minCUTpool). As baselines, we consider the popular Weisfeiler-Lehman (WL) graph kernel (Shervashidze et al., 2011), a network with only MP layers (Flat), and a fully connected network (Dense). ",
|
| 825 |
+
"bbox": [
|
| 826 |
+
174,
|
| 827 |
+
103,
|
| 828 |
+
825,
|
| 829 |
+
174
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 7
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "table",
|
| 835 |
+
"img_path": "images/f42ea0a0a3ed9e12ba04e59f7afa9d42c08e5d9a16acdb713d983a07264519c7.jpg",
|
| 836 |
+
"table_caption": [
|
| 837 |
+
"Table 2: Graph classification accuracy. Significantly better results $( p < 0 . 0 5 )$ are in bold. "
|
| 838 |
+
],
|
| 839 |
+
"table_footnote": [],
|
| 840 |
+
"table_body": "<table><tr><td>Dataset</td><td>WL</td><td>Dense</td><td>Flat</td><td>Graclus</td><td>Decim.</td><td>Diffpool</td><td>Top-K</td><td>SAGpool</td><td>minCUT</td></tr><tr><td>Bench-easy</td><td>92.6</td><td>29.3±0.3</td><td>98.5±0.3</td><td>97.5±0.5</td><td>97.9±0.5</td><td>98.6±0.4</td><td>82.4±8.9</td><td>84.2±2.3</td><td>99.0±0.0</td></tr><tr><td>Bench-hard</td><td>60.0</td><td>29.4±0.3</td><td>67.6±2.8</td><td>69.0±1.5</td><td>72.6±0.9</td><td>69.9±1.9</td><td>42.7±15.2</td><td>37.7±14.5</td><td>73.8±1.9</td></tr><tr><td>Mutagenicity</td><td>81.7±1.1</td><td>68.4±0.3</td><td>78.0±1.3</td><td>74.4±1.8</td><td>77.8±2.3</td><td>77.6±2.7</td><td>71.9±3.7</td><td>72.4±2.4</td><td>79.9±2.1</td></tr><tr><td>Proteins</td><td>71.2±2.6</td><td>68.7±3.3</td><td>72.6±4.8</td><td>68.6±4.6</td><td>73.3±3.7</td><td>72.7±3.8</td><td>69.6±3.5</td><td>70.5±2.6</td><td>76.5±2.6</td></tr><tr><td>DD</td><td>78.6±2.7</td><td>70.6±5.2</td><td>76.8±1.5</td><td>70.5±4.8</td><td>72.0±3.1</td><td>79.3±2.4</td><td>69.4±7.8</td><td>71.5±4.5</td><td>80.8±2.3</td></tr><tr><td>COLLAB</td><td>74.8±1.3</td><td>79.3±1.6</td><td>82.1±1.8</td><td>77.1±2.1</td><td>79.1±1.5</td><td>81.8±1.4</td><td>79.3±1.8</td><td>79.2±2.0</td><td>83.4±1.7</td></tr><tr><td>Reddit-Binary</td><td>68.2±1.7</td><td>48.5±2.6</td><td>80.3±2.6</td><td>79.2±0.4</td><td>84.3±2.4</td><td>86.8±2.1</td><td>74.7±4.5</td><td>73.9±5.1</td><td>91.4±1.5</td></tr></table>",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
214,
|
| 844 |
+
828,
|
| 845 |
+
333
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 7
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "Tab. 2 reports the classification results, highlighting those that are significantly better ( $\\dot { p }$ -value $< ~ 0 . 0 5$ w.r.t. the method with the highest mean accuracy). The comparison with Flat helps to understand if a pooling operation is useful or not. The results of Dense, instead, help to quantify how much additional information is brought by the graph structure, with respect to the node features alone. It can be seen that minCUTpool obtains always equal or better results with respect to every other GNN architecture. On the other hand, some pooling procedures do not always improve the performance compared to the Flat baseline, making them not advisable to use in some cases. The WL kernel generally performs worse than the GNNs, except for the Mutagenicity dataset. This is probably because Mutagenicity has smaller graphs than the other datasets, and the adopted GNN architecture is overparametrized for this task. Interestingly, in some dataset such as Proteins and COLLAB it is possible to obtain fairly good classification accuracy with the Dense architecture, meaning that the graph structure only adds limited information. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
173,
|
| 854 |
+
349,
|
| 855 |
+
825,
|
| 856 |
+
517
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 7
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "image",
|
| 862 |
+
"img_path": "images/e375310d148f5976514d2295a7d3c8830c48da3e0966c6040f4a07d9c8821927.jpg",
|
| 863 |
+
"image_caption": [
|
| 864 |
+
"Figure 5: Average duration of one epoch using the same GNN with different pooling operations. Times were computed with an Nvidia GeForce GTX 1050, on the DD dataset with batch size of 1. "
|
| 865 |
+
],
|
| 866 |
+
"image_footnote": [],
|
| 867 |
+
"bbox": [
|
| 868 |
+
178,
|
| 869 |
+
535,
|
| 870 |
+
459,
|
| 871 |
+
628
|
| 872 |
+
],
|
| 873 |
+
"page_idx": 7
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"type": "text",
|
| 877 |
+
"text": "Fig. 5 reports a comparison of the execution time per training epoch for each pooling algorithm. Graclus and Decimation are understandably the fastest methods, since the coarsened graphs are precomputed. Among the differentiable pooling methods, minCUTpool is faster than Diffpool, which uses a slower MP layer rather than a MLP to compute cluster assignments, and than Top- $K$ , which computes the square of A at every forward pass. ",
|
| 878 |
+
"bbox": [
|
| 879 |
+
173,
|
| 880 |
+
646,
|
| 881 |
+
825,
|
| 882 |
+
717
|
| 883 |
+
],
|
| 884 |
+
"page_idx": 7
|
| 885 |
+
},
|
| 886 |
+
{
|
| 887 |
+
"type": "text",
|
| 888 |
+
"text": "6 CONCLUSIONS ",
|
| 889 |
+
"text_level": 1,
|
| 890 |
+
"bbox": [
|
| 891 |
+
176,
|
| 892 |
+
736,
|
| 893 |
+
328,
|
| 894 |
+
752
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 7
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "We proposed a pooling layer for GNNs that coarsens a graph by taking into account both the the connectivity structure and the node features. The layer optimizes a regularization term based on the minCUT objective, which is minimized in conjunction with the task-specific loss to produce node partitions that are optimal for the task at hand. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
174,
|
| 903 |
+
768,
|
| 904 |
+
825,
|
| 905 |
+
824
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 7
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "We tested the effectiveness of our pooling strategy on unsupervised node clustering tasks, by optimizing only the unsupervised clustering loss, as well as supervised graph classification tasks on several popular benchmark datasets. Results show that minCUTpool performs significantly better than existing pooling strategies for GNNs. ",
|
| 912 |
+
"bbox": [
|
| 913 |
+
174,
|
| 914 |
+
830,
|
| 915 |
+
823,
|
| 916 |
+
887
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 7
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "REFERENCES ",
|
| 923 |
+
"text_level": 1,
|
| 924 |
+
"bbox": [
|
| 925 |
+
176,
|
| 926 |
+
102,
|
| 927 |
+
285,
|
| 928 |
+
117
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 8
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Peter W Battaglia, Jessica B Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, et al. Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261, 2018. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
173,
|
| 937 |
+
126,
|
| 938 |
+
825,
|
| 939 |
+
181
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 8
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Filippo Maria Bianchi, Daniele Grattarola, L Livi, and C Alippi. Graph neural networks with convolutional arma filters. arXiv preprint arXiv:1901.01343, 2019. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
171,
|
| 948 |
+
193,
|
| 949 |
+
823,
|
| 950 |
+
222
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 8
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. arXiv preprint arXiv:1312.6203, 2013. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
171,
|
| 959 |
+
229,
|
| 960 |
+
823,
|
| 961 |
+
260
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 8
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Maxwell D Collins, Ji Liu, Jia Xu, Lopamudra Mukherjee, and Vikas Singh. Spectral clustering with a convex regularizer on millions of images. In European Conference on Computer Vision, pp. 282–298. Springer, 2014. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
173,
|
| 970 |
+
268,
|
| 971 |
+
825,
|
| 972 |
+
311
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 8
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Anil Damle, Victor Minden, and Lexing Ying. Robust and efficient multi-way spectral clustering. arXiv preprint arXiv:1609.08251, 2016. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
171,
|
| 981 |
+
320,
|
| 982 |
+
821,
|
| 983 |
+
351
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 8
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks ¨ on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pp. 3844–3852, 2016. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
359,
|
| 993 |
+
825,
|
| 994 |
+
404
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 8
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Inderjit S Dhillon, Yuqiang Guan, and Brian Kulis. Kernel k-means: spectral clustering and normalized cuts. In Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 551–556. ACM, 2004. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
169,
|
| 1003 |
+
412,
|
| 1004 |
+
823,
|
| 1005 |
+
455
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 8
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Pedro F Felzenszwalb and Daniel P Huttenlocher. Efficient graph-based image segmentation. International journal of computer vision, 59(2):167–181, 2004. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
168,
|
| 1014 |
+
464,
|
| 1015 |
+
823,
|
| 1016 |
+
494
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 8
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Matthias Fey, Jan Eric Lenssen, Frank Weichert, and Heinrich Muller. Splinecnn: Fast geomet- ¨ ric deep learning with continuous b-spline kernels. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 869–877, 2018. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
176,
|
| 1025 |
+
503,
|
| 1026 |
+
823,
|
| 1027 |
+
547
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 8
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Fernando Gama, Antonio G Marques, Geert Leus, and Alejandro Ribeiro. Convolutional neural network architectures for signals supported on graphs. IEEE Transactions on Signal Processing, 67(4):1034–1049, 2018. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
174,
|
| 1036 |
+
555,
|
| 1037 |
+
823,
|
| 1038 |
+
598
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 8
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1263–1272. JMLR. org, 2017. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
608,
|
| 1048 |
+
825,
|
| 1049 |
+
651
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 8
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Yufei Han and Maurizio Filippone. Mini-batch spectral clustering. In 2017 International Joint Conference on Neural Networks (IJCNN), pp. 3888–3895. IEEE, 2017. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
174,
|
| 1058 |
+
660,
|
| 1059 |
+
825,
|
| 1060 |
+
690
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 8
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Shuiwang Ji Hongyang Gao. Graph u-nets. In Proceedings of the 36th International conference on Machine learning (ICML), 2019. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
699,
|
| 1070 |
+
823,
|
| 1071 |
+
728
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 8
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Yasuhiko Ikebe, Toshiyuki Inagaki, and Sadaaki Miyamoto. The monotonicity theorem, cauchy’s interlace theorem, and the courant-fischer theorem. The American Mathematical Monthly, 94(4): 352–354, 1987. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
173,
|
| 1080 |
+
737,
|
| 1081 |
+
825,
|
| 1082 |
+
780
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 8
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Michael Kampffmeyer, Sigurd Løkse, Filippo M. Bianchi, Lorenzo Livi, Arnt-Børre Salberg, and Robert Jenssen. Deep divergence-based approach to clustering. Neural Networks, 113:91 – 101, 2019. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
176,
|
| 1091 |
+
790,
|
| 1092 |
+
825,
|
| 1093 |
+
833
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 8
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. International Conference of Learning Representations (ICLR), 2017. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
171,
|
| 1102 |
+
843,
|
| 1103 |
+
823,
|
| 1104 |
+
872
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 8
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Marc T Law, Raquel Urtasun, and Richard S Zemel. Deep spectral clustering learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1985–1994. JMLR. org, 2017. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
174,
|
| 1113 |
+
881,
|
| 1114 |
+
823,
|
| 1115 |
+
924
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 8
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Chen-Yu Lee, Patrick W Gallagher, and Zhuowen Tu. Generalizing pooling functions in convolutional neural networks: Mixed, gated, and tree. In Artificial Intelligence and Statistics, pp. 464–472, 2016. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
173,
|
| 1124 |
+
103,
|
| 1125 |
+
823,
|
| 1126 |
+
146
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 9
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Junhyun Lee, Inyeop Lee, and Jaewoo Kang. Self-attention graph pooling. In Proceedings of the 36th International conference on Machine learning (ICML-19), 2019. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
171,
|
| 1135 |
+
155,
|
| 1136 |
+
823,
|
| 1137 |
+
184
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 9
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. International Conference of Learning Representations (ICLR), 2016. ",
|
| 1144 |
+
"bbox": [
|
| 1145 |
+
173,
|
| 1146 |
+
191,
|
| 1147 |
+
823,
|
| 1148 |
+
222
|
| 1149 |
+
],
|
| 1150 |
+
"page_idx": 9
|
| 1151 |
+
},
|
| 1152 |
+
{
|
| 1153 |
+
"type": "text",
|
| 1154 |
+
"text": "Enxhell Luzhnica, Ben Day, and Pietro Lio. Clique pooling for graph classification. International Conference of Learning Representations (ICLR) – Representation Learning on Graphs and Manifolds workshop, 2019. ",
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
174,
|
| 1157 |
+
229,
|
| 1158 |
+
823,
|
| 1159 |
+
273
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 9
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "Azade Nazi, Will Hang, Anna Goldie, Sujith Ravi, and Azalia Mirhoseini. Gap: Generalizable approximate graph partitioning framework. arXiv preprint arXiv:1903.00614, 2019. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
281,
|
| 1169 |
+
823,
|
| 1170 |
+
311
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Oliver Nelles. Nonlinear system identification: from classical approaches to neural networks and fuzzy models. Springer Science & Business Media, 2013. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
174,
|
| 1179 |
+
319,
|
| 1180 |
+
825,
|
| 1181 |
+
348
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 9
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "Mark EJ Newman. Mixing patterns in networks. Physical Review E, 67(2):026126, 2003. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
171,
|
| 1190 |
+
357,
|
| 1191 |
+
763,
|
| 1192 |
+
373
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 9
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, 2009. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
174,
|
| 1201 |
+
381,
|
| 1202 |
+
820,
|
| 1203 |
+
410
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 9
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "Uri Shaham, Kelly Stanton, Henry Li, Boaz Nadler, Ronen Basri, and Yuval Kluger. Spectralnet: Spectral clustering using deep neural networks. arXiv preprint arXiv:1801.01587, 2018. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
176,
|
| 1212 |
+
417,
|
| 1213 |
+
821,
|
| 1214 |
+
448
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 9
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "Nino Shervashidze, Pascal Schweitzer, Erik Jan van Leeuwen, Kurt Mehlhorn, and Karsten M Borgwardt. Weisfeiler-lehman graph kernels. Journal of Machine Learning Research, 12(Sep):2539– 2561, 2011. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
174,
|
| 1223 |
+
455,
|
| 1224 |
+
825,
|
| 1225 |
+
500
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 9
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "Jianbo Shi and Jitendra Malik. Normalized cuts and image segmentation. Departmental Papers (CIS), pp. 107, 2000. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
173,
|
| 1234 |
+
507,
|
| 1235 |
+
821,
|
| 1236 |
+
537
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 9
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "David I Shuman, Mohammad Javad Faraji, and Pierre Vandergheynst. A multiscale pyramid transform for graph signals. IEEE Transactions on Signal Processing, 64(8):2119–2134, 2016. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
173,
|
| 1245 |
+
545,
|
| 1246 |
+
820,
|
| 1247 |
+
575
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 9
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "Martin Simonovsky and Nikos Komodakis. Dynamic edgeconditioned filters in convolutional neural networks on graphs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
173,
|
| 1256 |
+
583,
|
| 1257 |
+
825,
|
| 1258 |
+
626
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 9
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "Fei Tian, Bin Gao, Qing Cui, Enhong Chen, and Tie-Yan Liu. Learning deep representations for graph clustering. In AAAI, pp. 1293–1299, 2014. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
173,
|
| 1267 |
+
635,
|
| 1268 |
+
823,
|
| 1269 |
+
665
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 9
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "Alain Tremeau and Philippe Colantoni. Regions adjacency graph applied to color image segmenta-´ tion. IEEE Transactions on image processing, 9(4):735–744, 2000. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
173,
|
| 1278 |
+
672,
|
| 1279 |
+
823,
|
| 1280 |
+
702
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 9
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "Ulrike Von Luxburg. A tutorial on spectral clustering. Statistics and computing, 17(4):395–416, 2007. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
173,
|
| 1289 |
+
710,
|
| 1290 |
+
823,
|
| 1291 |
+
739
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 9
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "Zaiwen Wen and Wotao Yin. A feasible method for optimization with orthogonality constraints. Mathematical Programming, 142(1-2):397–434, 2013. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
173,
|
| 1300 |
+
747,
|
| 1301 |
+
823,
|
| 1302 |
+
777
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 9
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "Li Yi, Hao Su, Xingwen Guo, and Leonidas J Guibas. Syncspeccnn: Synchronized spectral cnn for 3d shape segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2282–2290, 2017. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
173,
|
| 1311 |
+
785,
|
| 1312 |
+
825,
|
| 1313 |
+
829
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 9
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "Zhitao Ying, Jiaxuan You, Christopher Morris, Xiang Ren, Will Hamilton, and Jure Leskovec. Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, pp. 4800–4810, 2018. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
173,
|
| 1322 |
+
837,
|
| 1323 |
+
823,
|
| 1324 |
+
881
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 9
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "Yu and Shi. Multiclass spectral clustering. In Proceedings Ninth IEEE International Conference on Computer Vision, pp. 313–319 vol.1, Oct 2003. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
174,
|
| 1333 |
+
888,
|
| 1334 |
+
823,
|
| 1335 |
+
917
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 9
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "APPENDIX ",
|
| 1342 |
+
"text_level": 1,
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
176,
|
| 1345 |
+
102,
|
| 1346 |
+
263,
|
| 1347 |
+
118
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 10
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "text",
|
| 1353 |
+
"text": "A ADDITIONAL EXPERIMENTS ",
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
178,
|
| 1356 |
+
137,
|
| 1357 |
+
442,
|
| 1358 |
+
154
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 10
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "A.1 GNN AUTOENCODER ",
|
| 1365 |
+
"text_level": 1,
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
176,
|
| 1368 |
+
169,
|
| 1369 |
+
367,
|
| 1370 |
+
184
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 10
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "To compare the amount of information retained by the pooling layers in the coarsened graphs, we train an autoencoder (AE) to reconstruct a input graph signal $\\mathbf { X }$ from its pooled version. The AE architecture is MP(32)-MP(32)-pool-unpool-MP(32)-MP(32)-MP, and is trained by minimizing the mean squared error between the original and the reconstructed graph signal, $\\lVert \\bf { X } - \\bf { X } ^ { \\mathrm { { r e c } } } \\rVert ^ { 2 }$ . All the pooling operations are configured to retain $2 5 \\%$ of the original nodes. ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
174,
|
| 1379 |
+
195,
|
| 1380 |
+
825,
|
| 1381 |
+
267
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 10
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "In Diffpool and minCUTpool, the unpool step is simply implemented by transposing the original pooling operations ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
173,
|
| 1390 |
+
272,
|
| 1391 |
+
823,
|
| 1392 |
+
301
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 10
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "equation",
|
| 1398 |
+
"img_path": "images/8bbce8dd36526a6342dc4574ef8b5dab6566229c68e0a0326d22de1f3f93de0b.jpg",
|
| 1399 |
+
"text": "$$\n{ \\bf X } ^ { \\mathrm { r e c } } = { \\bf S } { \\bf X } ^ { \\mathrm { p o o l } } ; ~ { \\bf A } ^ { \\mathrm { r e c } } = { \\bf S } { \\bf A } ^ { \\mathrm { p o o l } } { \\bf S } ^ { T } .\n$$",
|
| 1400 |
+
"text_format": "latex",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
379,
|
| 1403 |
+
301,
|
| 1404 |
+
619,
|
| 1405 |
+
319
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 10
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "Top- $K$ does not generate a cluster assignment matrix, but returns a binary mask $\\mathbf { m } = \\{ 0 , 1 \\} ^ { N }$ that indicates the nodes to drop (0) or to retain (1). Therefore, an upsamplig matrix $\\mathbf { U }$ is built by dropping the columns of the identity matrix ${ \\mathbf { I } } _ { N }$ that correspond to a 0 in $\\mathbf { m }$ , $\\bar { \\mathbf { U } } = [ \\mathbf { I } _ { N } ] _ { : , \\mathbf { m } = = 1 }$ . The unpooling operation is performed by replacing S with $\\mathbf { U }$ in (9), and the resulting upscaled graph is a version of the original graph with zeroes in correspondence of the dropped nodes. ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
174,
|
| 1414 |
+
333,
|
| 1415 |
+
825,
|
| 1416 |
+
404
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 10
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "image",
|
| 1422 |
+
"img_path": "images/441bd5ff28bf0dbad772497856fe6d0256f85ad6ae1cfa337d7be79956b30a09.jpg",
|
| 1423 |
+
"image_caption": [
|
| 1424 |
+
"Figure 6: AE reconstruction of a ring graph "
|
| 1425 |
+
],
|
| 1426 |
+
"image_footnote": [],
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
200,
|
| 1429 |
+
425,
|
| 1430 |
+
795,
|
| 1431 |
+
555
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 10
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"type": "image",
|
| 1437 |
+
"img_path": "images/4b22636cf4edd79e814a6d27c3e71aeabc0f8293196e377e997385878fcd0602.jpg",
|
| 1438 |
+
"image_caption": [
|
| 1439 |
+
"Figure 7: AE reconstruction of a grid graph "
|
| 1440 |
+
],
|
| 1441 |
+
"image_footnote": [],
|
| 1442 |
+
"bbox": [
|
| 1443 |
+
202,
|
| 1444 |
+
614,
|
| 1445 |
+
795,
|
| 1446 |
+
744
|
| 1447 |
+
],
|
| 1448 |
+
"page_idx": 10
|
| 1449 |
+
},
|
| 1450 |
+
{
|
| 1451 |
+
"type": "text",
|
| 1452 |
+
"text": "Fig. 6 and 7 report the original graph signal $\\mathbf { X }$ (the node features are the 2-D coordinates of the nodes) and the reconstruction $\\mathbf { X } ^ { \\mathrm { r e c } }$ obtained by using the different pooling methods, for a ring graph and a regular grid graph. The reconstruction produced by Diffpool is worse for the ring graph, but is almost perfect for the grid graph, while minCUTpool yields good results in both cases. On the other hand, Top- $K$ clearly fails in generating a coarsened representation that maintains enough information from the original graph. ",
|
| 1453 |
+
"bbox": [
|
| 1454 |
+
173,
|
| 1455 |
+
790,
|
| 1456 |
+
825,
|
| 1457 |
+
875
|
| 1458 |
+
],
|
| 1459 |
+
"page_idx": 10
|
| 1460 |
+
},
|
| 1461 |
+
{
|
| 1462 |
+
"type": "text",
|
| 1463 |
+
"text": "This experiment highlights a major issue in Top- $K$ pooling, which retains the nodes associated to the highest $K$ values of a score vector s, computed by projecting the node features onto a trainable vector p: $\\mathbf { s } = \\mathbf { X } \\mathbf { p } $ . Nodes that are connected on the graph usually share similar features, and their similarity further increases after the MP operations, which combine the features of neighboring nodes. Retaining the nodes associated to the top $K$ scores in s corresponds to keeping those nodes that are alike and highly connected, as it can be seen in Fig. 6-7. Therefore, Top- $K$ discards entire portions of the graphs, which might contain important information. This explains why Top- $K$ fails to recover the original graph signal when used as bottleneck for the AE, and yields the worse performance among all GNN methods in the graph classification task. ",
|
| 1464 |
+
"bbox": [
|
| 1465 |
+
176,
|
| 1466 |
+
881,
|
| 1467 |
+
825,
|
| 1468 |
+
924
|
| 1469 |
+
],
|
| 1470 |
+
"page_idx": 10
|
| 1471 |
+
},
|
| 1472 |
+
{
|
| 1473 |
+
"type": "text",
|
| 1474 |
+
"text": "",
|
| 1475 |
+
"bbox": [
|
| 1476 |
+
174,
|
| 1477 |
+
103,
|
| 1478 |
+
825,
|
| 1479 |
+
188
|
| 1480 |
+
],
|
| 1481 |
+
"page_idx": 11
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"type": "text",
|
| 1485 |
+
"text": "A.2 GRAPH REGRESSION OF MOLECULAR PROPERTIES ON QM9",
|
| 1486 |
+
"text_level": 1,
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
176,
|
| 1489 |
+
212,
|
| 1490 |
+
629,
|
| 1491 |
+
226
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 11
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"type": "text",
|
| 1497 |
+
"text": "The QM9 chemical database is a collection of ${ \\approx } 1 3 5 \\mathrm { k }$ small organic molecules, associated to continuous labels describing several geometric, energetic, electronic, and thermodynamic properties1. Each molecule in the dataset is represented as a graph $\\{ \\mathbf { A } _ { i } , \\mathbf { X } _ { i } \\}$ , where atoms are associated to nodes, and edges represent chemical bonds. The atomic number of each atom (one-hot encoded; C, N, F, O) is taken as node feature and the type of bond (one-hot encoded; single, double, triple, aromatic) can be used as edge attribute. In this experiment, we ignore the edge attributes in order to use all pooling algorithms without modifications. ",
|
| 1498 |
+
"bbox": [
|
| 1499 |
+
174,
|
| 1500 |
+
239,
|
| 1501 |
+
825,
|
| 1502 |
+
337
|
| 1503 |
+
],
|
| 1504 |
+
"page_idx": 11
|
| 1505 |
+
},
|
| 1506 |
+
{
|
| 1507 |
+
"type": "text",
|
| 1508 |
+
"text": "The purpose of this experiment is to compare the trainable pooling methods also on a graph regression task, but it must be intended as a proof of concept. In fact, the graphs in this dataset are extremely small (the average number of nodes is 8) and, therefore, a pooling operation is arguably not necessary. We consider a GNN with architecture MP(32)-pool-MP(32)-GlobalAvgPool-Dense, where pool is implemented by Top- $K$ , Diffpool, or minCUTpool. The network is trained to predict a given chemical property from the input molecular graphs. Performance is evaluated with a 10-fold cross-validation, using $1 \\dot { 0 } \\%$ of the training set for validation in each split. The GNNs are trained for 50 epochs, using Adam with learning rate 5e-4, batch size 32, and ReLU activations. We use the mean squared error (MSE) as supervised loss. ",
|
| 1509 |
+
"bbox": [
|
| 1510 |
+
173,
|
| 1511 |
+
344,
|
| 1512 |
+
825,
|
| 1513 |
+
469
|
| 1514 |
+
],
|
| 1515 |
+
"page_idx": 11
|
| 1516 |
+
},
|
| 1517 |
+
{
|
| 1518 |
+
"type": "text",
|
| 1519 |
+
"text": "The MSE obtained on the prediction of each property for different pooling methods is reported in Tab. 3. As expected, the flat baseline with no pooling operation (MP(32)-MP(32)-GlobalAvgPoolDense) yields a lower error in most cases. Contrarily to the graph classification and the AE task, Top- $K$ achieves better results than Diffpool in average. Once again, minCUTpool significantly outperforms the other methods on each regression task and, in one case, also the flat baseline. ",
|
| 1520 |
+
"bbox": [
|
| 1521 |
+
174,
|
| 1522 |
+
477,
|
| 1523 |
+
823,
|
| 1524 |
+
546
|
| 1525 |
+
],
|
| 1526 |
+
"page_idx": 11
|
| 1527 |
+
},
|
| 1528 |
+
{
|
| 1529 |
+
"type": "table",
|
| 1530 |
+
"img_path": "images/abf2e28f0c4594a1f795c78d14e892f9e76511066dff22a973092bd24eabf709.jpg",
|
| 1531 |
+
"table_caption": [],
|
| 1532 |
+
"table_footnote": [],
|
| 1533 |
+
"table_body": "<table><tr><td>Property</td><td>Top-K</td><td>Diffpool</td><td>minCUTpool</td><td>Flat baseline</td></tr><tr><td>mu</td><td>0.600±0.085</td><td>0.651±0.026</td><td>0.538±0.012</td><td>0.559±0.007</td></tr><tr><td>alpha</td><td>0.197±0.087</td><td>0.114±0.001</td><td>0.078±0.007</td><td>0.065±0.006</td></tr><tr><td>homo</td><td>0.698±0.102</td><td>0.712±0.015</td><td>0.526±0.021</td><td>0.435±0.013</td></tr><tr><td>lumo</td><td>0.601±0.050</td><td>0.646±0.013</td><td>0.540±0.005</td><td>0.515±0.007</td></tr><tr><td>gap</td><td>0.630±0.044</td><td>0.698±0.004</td><td>0.584±0.007</td><td>0.552±0.008</td></tr><tr><td>r2</td><td>0.452±0.087</td><td>0.440±0.024</td><td>0.261±0.006</td><td>0.204±0.006</td></tr><tr><td>zpve</td><td>0.402±0.032</td><td>0.410±0.004</td><td>0.328±0.005</td><td>0.284±0.005</td></tr><tr><td>uO_atom</td><td>0.308±0.055</td><td>0.245±0.006</td><td>0.193±0.002</td><td>0.163±0.001</td></tr><tr><td>cv</td><td>0.291±0.118</td><td>0.337±0.018</td><td>0.148±0.004</td><td>0.127±0.002</td></tr></table>",
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
259,
|
| 1536 |
+
568,
|
| 1537 |
+
736,
|
| 1538 |
+
712
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 11
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "text",
|
| 1544 |
+
"text": "Table 3: MSE on the graph regression task. The best results with a statistical significance of $p < 0 . 0 5$ are highlighted: the best overall are in bold, the best among pooling methods are underlined. ",
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
169,
|
| 1547 |
+
726,
|
| 1548 |
+
825,
|
| 1549 |
+
755
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 11
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "text",
|
| 1555 |
+
"text": "B EXPERIMENTAL DETAILS ",
|
| 1556 |
+
"text_level": 1,
|
| 1557 |
+
"bbox": [
|
| 1558 |
+
176,
|
| 1559 |
+
796,
|
| 1560 |
+
416,
|
| 1561 |
+
811
|
| 1562 |
+
],
|
| 1563 |
+
"page_idx": 11
|
| 1564 |
+
},
|
| 1565 |
+
{
|
| 1566 |
+
"type": "text",
|
| 1567 |
+
"text": "For the WL kernel, we used the implementation provided in the GraKeL library2. The pooling strategy based on Graclus, is taken from the ChebyNets repository3. ",
|
| 1568 |
+
"bbox": [
|
| 1569 |
+
171,
|
| 1570 |
+
830,
|
| 1571 |
+
823,
|
| 1572 |
+
859
|
| 1573 |
+
],
|
| 1574 |
+
"page_idx": 11
|
| 1575 |
+
},
|
| 1576 |
+
{
|
| 1577 |
+
"type": "text",
|
| 1578 |
+
"text": "B.1 CLUSTERING ON CITATION NETWORKS ",
|
| 1579 |
+
"text_level": 1,
|
| 1580 |
+
"bbox": [
|
| 1581 |
+
176,
|
| 1582 |
+
103,
|
| 1583 |
+
485,
|
| 1584 |
+
118
|
| 1585 |
+
],
|
| 1586 |
+
"page_idx": 12
|
| 1587 |
+
},
|
| 1588 |
+
{
|
| 1589 |
+
"type": "text",
|
| 1590 |
+
"text": "Diffpool and minCUTpool are configured with 16 hidden neurons with linear activations in the MLP and MP layer, respectively used to compute the cluster assignment matrix S. The MP layer used to compute the propagated node features $\\mathbf { X } ^ { ( 1 ) }$ uses an ELU activation in both architectures. The learning rate for Adam is 5e-4, and the models are trained for 10000 iterations. The details of the citation networks dataset are reported in Tab. 4. ",
|
| 1591 |
+
"bbox": [
|
| 1592 |
+
174,
|
| 1593 |
+
128,
|
| 1594 |
+
825,
|
| 1595 |
+
200
|
| 1596 |
+
],
|
| 1597 |
+
"page_idx": 12
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"type": "table",
|
| 1601 |
+
"img_path": "images/83643cb5b85febe056dfd089e5192e8b209287c5ac7b40081e179d6e516f65fb.jpg",
|
| 1602 |
+
"table_caption": [
|
| 1603 |
+
"Table 4: Details of the citation networks datasets "
|
| 1604 |
+
],
|
| 1605 |
+
"table_footnote": [],
|
| 1606 |
+
"table_body": "<table><tr><td>Dataset</td><td>Nodes</td><td>Edges</td><td>Node features</td><td>Node classes</td></tr><tr><td>Cora</td><td>2708</td><td>5429</td><td>1433</td><td>7</td></tr><tr><td>Citeseer</td><td>3327</td><td>9228</td><td>3703</td><td>6</td></tr><tr><td>Pubmed</td><td>19717</td><td>88651</td><td>500</td><td>3</td></tr></table>",
|
| 1607 |
+
"bbox": [
|
| 1608 |
+
312,
|
| 1609 |
+
239,
|
| 1610 |
+
684,
|
| 1611 |
+
308
|
| 1612 |
+
],
|
| 1613 |
+
"page_idx": 12
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"type": "text",
|
| 1617 |
+
"text": "B.2 GRAPH CLASSIFICATION ",
|
| 1618 |
+
"text_level": 1,
|
| 1619 |
+
"bbox": [
|
| 1620 |
+
174,
|
| 1621 |
+
334,
|
| 1622 |
+
387,
|
| 1623 |
+
349
|
| 1624 |
+
],
|
| 1625 |
+
"page_idx": 12
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"type": "text",
|
| 1629 |
+
"text": "We train the GNN architectures with Adam, an $\\mathrm { L } _ { 2 }$ penalty loss with weight 1e-4, and 16 hidden units $( H )$ both in the MLP of minCUTpool and in the internal MP of Diffpool. Mutagenicity, Proteins, DD, COLLAB, and Reddit- ${ \\it 2 k }$ are datasets representing real-world graphs and are taken from the repository of benchmark datasets for graph kernels4. Bench-easy and Bench-hard5 are datasets where the node features $\\mathbf { X }$ and the adjacency matrix A are completely uninformative if considered alone. Hence, algorithms that account only for the node features or the graph structure will fail to classify the graphs. Since Bench-easy and Bench-hard come with a train/validation/test split, the 10-fold split is not necessary to evaluate the performance. The statistics of all the datasets are reported in Tab. 5. ",
|
| 1630 |
+
"bbox": [
|
| 1631 |
+
173,
|
| 1632 |
+
359,
|
| 1633 |
+
826,
|
| 1634 |
+
486
|
| 1635 |
+
],
|
| 1636 |
+
"page_idx": 12
|
| 1637 |
+
},
|
| 1638 |
+
{
|
| 1639 |
+
"type": "table",
|
| 1640 |
+
"img_path": "images/8139375cff6db7f44f94bbb4867d33a66608ffa28a0ec65a6dcfdb33bd0f0efa.jpg",
|
| 1641 |
+
"table_caption": [
|
| 1642 |
+
"Table 5: Summary of statistics of the graph classification datasets "
|
| 1643 |
+
],
|
| 1644 |
+
"table_footnote": [],
|
| 1645 |
+
"table_body": "<table><tr><td>Dataset</td><td>samples</td><td>classes</td><td>avg. nodes</td><td>avg. edges</td><td>node attr.</td><td>node labels</td></tr><tr><td>Bench-easy</td><td>1800</td><td>3</td><td>147.82</td><td>922.66</td><td></td><td>yes</td></tr><tr><td>Bench-hard</td><td>1800</td><td>3</td><td>148.32</td><td>572.32</td><td></td><td>yes</td></tr><tr><td>Mutagenicity</td><td>4337</td><td>2</td><td>30.32</td><td>30.77</td><td></td><td>yes</td></tr><tr><td>Proteins</td><td>1113</td><td>2</td><td>39.06</td><td>72.82</td><td>1</td><td>no</td></tr><tr><td>DD</td><td>1178</td><td>2</td><td>284.32</td><td>715.66</td><td>1</td><td>yes</td></tr><tr><td>COLLAB</td><td>5000</td><td>3</td><td>74.49</td><td>2457.78</td><td></td><td>no</td></tr><tr><td>Reddit-2K</td><td>2000</td><td>2</td><td>429.63</td><td>497.75</td><td>1</td><td>no</td></tr></table>",
|
| 1646 |
+
"bbox": [
|
| 1647 |
+
225,
|
| 1648 |
+
527,
|
| 1649 |
+
772,
|
| 1650 |
+
645
|
| 1651 |
+
],
|
| 1652 |
+
"page_idx": 12
|
| 1653 |
+
},
|
| 1654 |
+
{
|
| 1655 |
+
"type": "text",
|
| 1656 |
+
"text": "C ARCHITECTURES SCHEMATA ",
|
| 1657 |
+
"text_level": 1,
|
| 1658 |
+
"bbox": [
|
| 1659 |
+
176,
|
| 1660 |
+
676,
|
| 1661 |
+
446,
|
| 1662 |
+
693
|
| 1663 |
+
],
|
| 1664 |
+
"page_idx": 12
|
| 1665 |
+
},
|
| 1666 |
+
{
|
| 1667 |
+
"type": "text",
|
| 1668 |
+
"text": "Fig. 8 reports the schematic representation of the minCUTpool layer; Fig. 9 the GNN architecture used in the clustering and segmentation tasks; Fig. 10 the GNN architecture used in the graph classification task; Fig. 12 the GNN architecture used in the graph regression task; Fig. 11 the graph autoencoder used in the graph signal reconstruction task. ",
|
| 1669 |
+
"bbox": [
|
| 1670 |
+
173,
|
| 1671 |
+
707,
|
| 1672 |
+
825,
|
| 1673 |
+
763
|
| 1674 |
+
],
|
| 1675 |
+
"page_idx": 12
|
| 1676 |
+
},
|
| 1677 |
+
{
|
| 1678 |
+
"type": "image",
|
| 1679 |
+
"img_path": "images/d9ade9085ab54361a1aa6626d8499f13441a1f331f8a266df6a2b0894a69a6db.jpg",
|
| 1680 |
+
"image_caption": [
|
| 1681 |
+
"Figure 8: Schema of the minCUTpool layer. "
|
| 1682 |
+
],
|
| 1683 |
+
"image_footnote": [],
|
| 1684 |
+
"bbox": [
|
| 1685 |
+
299,
|
| 1686 |
+
103,
|
| 1687 |
+
699,
|
| 1688 |
+
236
|
| 1689 |
+
],
|
| 1690 |
+
"page_idx": 13
|
| 1691 |
+
},
|
| 1692 |
+
{
|
| 1693 |
+
"type": "image",
|
| 1694 |
+
"img_path": "images/d710cb546df4f56d39a534e37d809d53060d1d9bc2b6ee1c45fe2367b58e3ef9.jpg",
|
| 1695 |
+
"image_caption": [
|
| 1696 |
+
"Figure 9: Architecture for clustering/segmentation. "
|
| 1697 |
+
],
|
| 1698 |
+
"image_footnote": [],
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
400,
|
| 1701 |
+
304,
|
| 1702 |
+
591,
|
| 1703 |
+
361
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 13
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "image",
|
| 1709 |
+
"img_path": "images/da255a17d1270f108c2393a35c6f5725d6c431af5f91c472b5369ec2db9913d6.jpg",
|
| 1710 |
+
"image_caption": [
|
| 1711 |
+
"Figure 10: Architecture for graph classification. "
|
| 1712 |
+
],
|
| 1713 |
+
"image_footnote": [],
|
| 1714 |
+
"bbox": [
|
| 1715 |
+
230,
|
| 1716 |
+
426,
|
| 1717 |
+
766,
|
| 1718 |
+
482
|
| 1719 |
+
],
|
| 1720 |
+
"page_idx": 13
|
| 1721 |
+
},
|
| 1722 |
+
{
|
| 1723 |
+
"type": "image",
|
| 1724 |
+
"img_path": "images/969e11240083f473509da7280d39c4b88009ae72ad1c88f632f5a4207bc0742d.jpg",
|
| 1725 |
+
"image_caption": [
|
| 1726 |
+
"Figure 11: Architecture for the autoencoder. "
|
| 1727 |
+
],
|
| 1728 |
+
"image_footnote": [],
|
| 1729 |
+
"bbox": [
|
| 1730 |
+
222,
|
| 1731 |
+
541,
|
| 1732 |
+
774,
|
| 1733 |
+
599
|
| 1734 |
+
],
|
| 1735 |
+
"page_idx": 13
|
| 1736 |
+
},
|
| 1737 |
+
{
|
| 1738 |
+
"type": "image",
|
| 1739 |
+
"img_path": "images/031a97e555c2460b138d4ed99d26909b098af1b3775c29da264c3560104df77d.jpg",
|
| 1740 |
+
"image_caption": [
|
| 1741 |
+
"Figure 12: Architecture for graph regression. "
|
| 1742 |
+
],
|
| 1743 |
+
"image_footnote": [],
|
| 1744 |
+
"bbox": [
|
| 1745 |
+
294,
|
| 1746 |
+
659,
|
| 1747 |
+
700,
|
| 1748 |
+
715
|
| 1749 |
+
],
|
| 1750 |
+
"page_idx": 13
|
| 1751 |
+
}
|
| 1752 |
+
]
|
parse/train/BkxfshNYwB/BkxfshNYwB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BkxfshNYwB/BkxfshNYwB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Byf5-30qFX/Byf5-30qFX.md
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DHER: HINDSIGHT EXPERIENCE REPLAY FOR DYNAMIC GOALS
|
| 2 |
+
|
| 3 |
+
Meng Fang∗, Cheng Zhou, Bei Shi, Boqing Gong, Jia Xu, Tong Zhang Tencent AI Lab
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Dealing with sparse rewards is one of the most important challenges in reinforcement learning (RL), especially when a goal is dynamic (e.g., to grasp a moving object). Hindsight experience replay (HER) has been shown an effective solution to handling sparse rewards with fixed goals. However, it does not account for dynamic goals in its vanilla form and, as a result, even degrades the performance of existing off-policy RL algorithms when the goal is changing over time.
|
| 8 |
+
|
| 9 |
+
In this paper, we present Dynamic Hindsight Experience Replay (DHER), a novel approach for tasks with dynamic goals in the presence of sparse rewards. DHER automatically assembles successful experiences from two relevant failures and can be used to enhance an arbitrary off-policy RL algorithm when the tasks’ goals are dynamic. We evaluate DHER on tasks of robotic manipulation and moving object tracking, and transfer the polices from simulation to physical robots. Extensive comparison and ablation studies demonstrate the superiority of our approach, showing that DHER is a crucial ingredient to enable RL to solve tasks with dynamic goals in manipulation and grid world domains.
|
| 10 |
+
|
| 11 |
+
# 1 INTRODUCTION
|
| 12 |
+
|
| 13 |
+
Deep reinforcement learning has been shown an effective framework for solving a rich repertoire of complex control problems. In simulated domains, agents have been trained to perform a diverse array of challenging tasks (Mnih et al., 2015; Lillicrap et al., 2015; Duan et al., 2016). In order to train such agents, it is often the case that one has to design a reward function that not only reflects the task at hand but also is carefully shaped $\mathrm { N g }$ et al., 1999) to guide the policy optimization. Unfortunately, many of the capabilities demonstrated by reward engineering are often limited to specific tasks. Moreover, it requires both RL expertise and domain-specific knowledge to reshape the reward functions. For situations where we do not know what admissible behavior may look like, for example, using LEGO bricks to build a desired architecture, it is difficult to apply reward engineering. Therefore, it is essential to develop algorithms which can learn from unshaped and usually sparse reward signals.
|
| 14 |
+
|
| 15 |
+
Learning with sparse rewards is challenging, especially when a goal is dynamic. Dynamic goals are common in games and planning problems, often addressed using reward shaping or search (Kaelbling, 1993; Mnih et al., 2015; Di Rocco et al., 2013). However, the difficulty posed by a sparse reward is exacerbated by the complicated environment dynamics in robotics (Andrychowicz et al., 2017). For instance, system dynamics around contacts are difficult to model and induce sensitivity in the system to small errors. Many robotic tasks also need executing multiple steps successfully over a long horizon, involve enormous search space, and require generalization to varying task instances. Policy gradient methods are breakthroughs in the challenging environments, such as PPO (Heess et al., 2017; Schulman et al., 2017), ACER (Wang et al., 2016), TRPO (Schulman et al., 2015) and so on. They are used in environments, where an agent tries to reach a target, learns to walk, runs, and so on. Recently, sampling-efficient learning is introduced and demonstrates a significant increase in performance for off-policy actor-critic DQN (Mnih et al., 2015) and DDPG (Lillicrap et al., 2015) algorithms. Hindsight experience replay (HER) is very effective for improving the performance of off-policy RL algorithms in solving goal-based tasks with sparse rewards (Andrychowicz et al., 2017). Similar to UVFA (Schaul et al., 2015a), it takes a goal state as part of input. However, it assumes the goal is fixed. As a result, this assumption actually impedes the learning of RL agents in the environments of moving goals.
|
| 16 |
+
|
| 17 |
+

|
| 18 |
+
Figure 1: The framework of DHER. DHER is a kind of experience replay method. It searches relevant failed experiences and then assembles them into successful experiences.
|
| 19 |
+
|
| 20 |
+
In this paper, we address this challenge with a new method, Dynamic Hindsight Experience Replay (DHER), for accomplishing tasks with moving goals. We follow the multi-goal setting in UVFA (Schaul et al., 2015a) and HER (Andrychowicz et al., 2017). It assumes that the goal being pursued does not influence the environment dynamics. We also need to have the knowledge of goal similarity. For example, in manipulation or grid world domains, we can use Euclidean distance between positions to measure the goal similarity. HER turns a failed episode to a success by composing a new task whose goal is achieved by that episode. Our idea allows an agent to learn from the failure one step further than HER: the agent not only sets a new goal but also hallucinates how to reach the original goal from the new one. Take playing frisbee for instance. When an agent jumps to catch the frisbee and yet misses it, the agent receives no positive feedback under the sparse reward setting. Using HER, the agent could set the end of its episode as the new goal — position of the frisbee; with DHER, however, the agent finds a trajectory from its past experiences as the imagined path of the frisbee, and thereby extrapolates towards the original goal.
|
| 21 |
+
|
| 22 |
+
In particular, we do the following for DHER. To finish the tasks with dynamic goals needs to explore experience and understand multiple goals. DHER uses replay buffers to allow the agent to learn from a couple of failures by assembling new ‘experience’ from different episodes. The proposed method retrieves memories to find the connection between the experience of different episodes. It largely improves the sample efficiency in dynamic goal task settings. More importantly, this strategy makes it possible to learn in the setting that both sparse rewards and dynamic goals exist.
|
| 23 |
+
|
| 24 |
+
We evaluate our method along with the state-of-the-art baselines on new environments and manipulation tasks, which have sparse rewards and dynamic goals. Our results demonstrate that DHER is clearly better than others for these tasks. We also transfer policies trained in our simulation based on DHER to a physical robot and show that DHER can be applied to solving real-world robotics problems.
|
| 25 |
+
|
| 26 |
+
We summarize our main contributions as follows: (1) We demonstrate that, both in simulation and real worlds, DHER succeeds in continuous control with a moving target. To our knowledge, this is the first empirical result on manipulation tasks that demonstrates model-free learning methods can tackle tasks of this complexity. (2) We show that with assembling new experience from two failures, the sample complexity can be reduced dramatically. We attribute this to global knowledge learning in a set of failed experience which breaks the constraint of local one-episode experience towards more robust strategies. (3) We design and implement a set of new environments and continuous tasks with dynamic goals, which would be of interest to researchers at the intersection of robotics and reinforcement learning.1
|
| 27 |
+
|
| 28 |
+
# 2 RELATED WORK
|
| 29 |
+
|
| 30 |
+
Recent works in deep RL have shown impressive results in different domains, such as games (Bellemare et al., 2013; Silver et al., 2016), simulated control tasks (Brockman et al., 2016) and so on. There have been several proposed RL methods for playing Atari games, including DQN (Mnih et al., 2015), UVFA (Schaul et al., 2015b) and so on. UVFA trains a single neural network approximating multiple value functions for state and goal. For the continuous control, DDPG (Lillicrap et al., 2015) is a popular actor-critic algorithm that has shown impressive results in continuous control tasks. Dynamic goals appear in games and planning, often addressed by rewards shaping or search (Kaelbling, 1993; Mnih et al., 2015; Di Rocco et al., 2013). When the rewards are sparse, there is few work studying the dynamic goals to the best of our knowledge.
|
| 31 |
+
|
| 32 |
+
Curriculum learning is also used for reinforcement learning scenarios. The idea is that solving easier problems first has advantages to learn more complex goals later and thus that learning can be optimized by presenting the problems in an optimal order, a curriculum (Bengio et al., 2009). Narvekar et al. (2017) and Florensa et al. (2018) proposed methods to automatically produce subtasks or subgoals for a given target. Narvekar et al. (2017) produce subtasks according to predefined tasks of a given domain problem. Florensa et al. (2018) use a Generative Adversarial Network (GAN) to produce goals with different difficulties. Different from these methods, our approach produces a series of goals for an episode from failed experience.
|
| 33 |
+
|
| 34 |
+
Experience replay is an important technique and introduced to break temporal correlations by mixing more and less recent experience for updating policies (Lin, 1992). It was demonstrated for its efficiency in DQN (Mnih et al., 2015). Prioritized experience replay improves the speed of training by considering prioritizing transitions in the replay buffer (Schaul et al., 2015b). HER considers modifying experience in the replay buffer for continuous control (Andrychowicz et al., 2017). By contrary, our approach assembles successful experience from two failures. Comparing with these methods, which do not consider dynamic goals, our approach uses a series of goals to assemble successful experience. As a result, our method is able to accomplish the tasks with sparse rewards and dynamic goals.
|
| 35 |
+
|
| 36 |
+
# 3 METHODOLOGY
|
| 37 |
+
|
| 38 |
+
We first review how HER works (Andrychowicz et al., 2017), followed by details of the proposed DHER for dealing with dynamic goals.
|
| 39 |
+
|
| 40 |
+
HER is a simple and effective method of manipulating the replay buffer used in off-policy RL algorithms that allows it to learn policies more efficiently from sparse rewards. It assumes the goal being pursued does not influence the environment dynamics. After experiencing an episode $\bar { \{ } s _ { 0 } , s _ { 1 } , \dotsb , s _ { T } \}$ , every transition $s _ { t } \to s _ { t + 1 }$ along with the goal for this episode is usually stored in the replay buffer. Some of the saved episodes fail to reach the goal, providing no positive feedback to the agent. However, with HER, the failed experience is modified and also stored in the replay buffer in the following manner. The idea is to replace the original goal with a state visited by the failed episode. As the reward function remains unchanged, this change of goals hints the agent how to achieve the new goal in the environment. HER assumes that the mechanism of reaching the new goal helps the agent learn for the original goal.
|
| 41 |
+
|
| 42 |
+
# 3.1 DYNAMIC GOALS
|
| 43 |
+
|
| 44 |
+
Dynamic goals are not static and change at every timestep. We follow the multi-goal setting of Andrychowicz et al. (2017). The goals are part of the environment and do not influence the environment dynamics. We also assume that a dynamic goal $g _ { t } \in \mathcal G$ moves by following some law $g _ { t } = g ( t ; \gamma )$ , where $\gamma$ parameterizes the law (e.g., acceleration in Newton’s law of motion), and yet its underlying moving law is unknown to the agent.
|
| 45 |
+
|
| 46 |
+
Moreover, we need to have some basic knowledge of goals, i.e., the measure of goal similarity on $\mathcal { G }$ . We assume that $g _ { t } \in \mathcal G$ corresponds to some predicate $f _ { g _ { t } } : S \{ 0 , 1 \}$ and that the agent’s goal is to achieve any state $s$ that satisfies $f _ { g _ { t } } ( s ) = 1$ . We use $S = \mathcal { G }$ and define $f _ { g _ { t } } ( s ) : = [ s = g _ { t } ]$ , which can be considered as a measure of goal similarity between $g _ { t }$ and $s$ . The goals can also specify only some properties of the state. Take manipulation tasks for instance: $\mathcal { G } = \mathbb { R } ^ { 3 }$ corresponds to the 3D
|
| 47 |
+
|
| 48 |
+
# Algorithm 1 Dynamic Hindsight Experience Replay with Experience Assembling
|
| 49 |
+
|
| 50 |
+
Require: an off-policy RL algorithm A, replay buffer $R$ , a reward function $r$
|
| 51 |
+
|
| 52 |
+
1: Initialize A and replay buffer $R$
|
| 53 |
+
2: for episode $\mathbf { \Omega } = 1 , 2 , \cdots , M$ do
|
| 54 |
+
3: Sample an initial goal $g _ { 0 }$ and an initial state $s _ { 0 }$
|
| 55 |
+
4: for $t = 0 , \cdots , T - 1$ do
|
| 56 |
+
5: Sample an action $a _ { t }$ using the behavioral policy from A:
|
| 57 |
+
6: $a _ { t } \pi ( s _ { t } | g _ { t } )$
|
| 58 |
+
7: Execute the action $a _ { t }$ and observe a new state $s _ { t + 1 }$ and a new goal $g _ { t + 1 }$
|
| 59 |
+
8: end for
|
| 60 |
+
9: for $t = 0 , \cdots , T - 1$ do
|
| 61 |
+
10: $r _ { t } : = r ( s _ { t } , a _ { t } , g _ { t + 1 } )$
|
| 62 |
+
11: Store the transitions $\left( s _ { t } | g _ { t } , a _ { t } , r _ { t } , s _ { t + 1 } | g _ { t + 1 } \right)$ in $R$ (Standard experience replay)
|
| 63 |
+
12: end for
|
| 64 |
+
13: Collect failed episodes to $\mathcal { E }$
|
| 65 |
+
14: 15: for S $E _ { i } \in \mathcal { E }$ donother $E _ { j } ( i \neq j ) \in \mathcal { E }$ where $g _ { i , p } ^ { a c } = g _ { j , q } ^ { d e }$
|
| 66 |
+
16: if $E _ { j } \neq \boldsymbol { \mathcal { O } }$ then
|
| 67 |
+
17: Clone a goal trajectory $\{ g _ { 0 } ^ { \prime } , \cdot \cdot \cdot , g _ { m } ^ { \prime } \} _ { m = \operatorname* { m i n } \{ p , q \} }$ in which $g _ { t } ^ { \prime } = g _ { j , q - m + t } ^ { d e }$ from $E _ { j }$
|
| 68 |
+
18: for $t = \{ 0 , \cdots , m - 1 \}$ do
|
| 69 |
+
19: $r _ { t } ^ { \prime } : = r ( s _ { i , p - m + t } , a _ { i , p - m + t } , g _ { t + 1 } ^ { \prime } )$
|
| 70 |
+
20: Store the transition $\left( s _ { i , p - m + t } | g _ { t } ^ { \prime } , a _ { i , p - m + t } , r _ { t } ^ { \prime } , s _ { i , p - m + t + 1 } | g _ { t + 1 } ^ { \prime } \right) \mathrm { i n } R \left( \mathrm { D H E R } \right)$
|
| 71 |
+
21: end for
|
| 72 |
+
22: end if
|
| 73 |
+
23: end for
|
| 74 |
+
24: for $t = 1 , \cdots , N$ do
|
| 75 |
+
25: Sample a minibatch $B$ from the replay buffer $R$
|
| 76 |
+
26: Optimize A using the minibatch $B$
|
| 77 |
+
27: end for
|
| 78 |
+
28: end for
|
| 79 |
+
|
| 80 |
+
positions of an object $s ^ { \mathrm { o b j } }$ about which the observation could include additional properties of the object. For a more concrete example, consider pushing a block towards a moving target position. The success of a task is defined as $f \big ( s _ { t } , g _ { t } \big ) = \mathbf { 1 } _ { \mathrm { c o n d i t i o n } } \big ( \| s _ { t } ^ { \mathrm { o b j } } - g _ { t } \| \leq \epsilon \big )$ , where $s _ { t } ^ { \mathrm { o b j } }$ is the position of the object in the state $s _ { t }$ and $\epsilon$ denotes a tolerance by the environment. $\mathbf { 1 } _ { \mathrm { c o n d i t i o n } }$ is an indicator function. The agent aims to achieve any state $s _ { t }$ that satisfies $f ( s _ { t } , g _ { t } ) = 1$ . It receives a sparse reward $r _ { t } : = r ( \tilde { s } _ { t } , a _ { t } , g _ { t + 1 } ) = - \mathbf { 1 } _ { \mathrm { c o n d i t i o n } } ( f ( s _ { t + 1 } , g _ { t + 1 } ) \neq 1 )$ upon making an action $a _ { t }$ .
|
| 81 |
+
|
| 82 |
+
It is worth discussing the main difference between the implications of the dynamic goals and the static ones. Expressing a static goal in the following way, $g _ { t } ^ { \mathrm { s t a t i c } } = g ^ { \mathrm { s t a t i c } } , \forall t$ , highlights the key challenge of dealing with the dynamic goal. Namely, the agent has no access to the underlying law of the dynamic goal in our setting, whereas the law of being static is known to the agent in Andrychowicz et al. (2017). In other words, the agent has no clue at all how to construct a new dynamic goal that is admissible by the environment.
|
| 83 |
+
|
| 84 |
+
# 3.2 DYNAMIC HINDSIGHT EXPERIENCE REPLAY
|
| 85 |
+
|
| 86 |
+
At the first glance, we shall compose a new dynamic goal $g ^ { \mathrm { d y n a m i c } } = \{ s _ { t _ { 0 } } ^ { \mathrm { o b j } } , s _ { t _ { 1 } } ^ { \mathrm { o b j } } , \cdot \cdot \cdot , s _ { t _ { T ^ { \prime } } } ^ { \mathrm { o b j } } \}$ from a in order to apply HER (Andrychowicz et al., 2017) to our problem setting. However, per the discussion above, this new dynamic goal $g ^ { \mathrm { d y n a m i c } }$ may be inadmissible by the environment, leading to no positive feedback to the agent at all.
|
| 87 |
+
|
| 88 |
+
We tackle the challenge by drawing the following two observations. One is that many episodes fail in the replay buffer, implying that the agent can actually build a new goal upon more than one episodes. The other is that the more failed experience the agent has, the more possible for the agent to use the connection between achieved goals in an episode and desired goals in some other episode. Take the example of a moving object that the agent must reach, desired goals are the positions of the moving object and achieved goals are the positions of a gripper (controlled by the agent). There may exist some positions that both the object and the gripper have ever reached respectively.
|
| 89 |
+
|
| 90 |
+

|
| 91 |
+
Figure 2: The proposed tasks with dynamic goals (red objects). Arrow indicates the movement of a goal. The first row indicates initial states. The second row indicates final states.
|
| 92 |
+
|
| 93 |
+
After experiencing some episode $s _ { 0 } , s _ { 1 } , \cdots , s _ { T }$ , we store in the replay buffer every transition $s _ { t } \ \to \ s _ { t + 1 }$ for this episode, defined as $\left( { { s _ { t } } , { a _ { t } } , { r _ { t } } , { s _ { t + 1 } } } \right)$ , where $s _ { t }$ indicates a state $s _ { t }$ at timestep $t$ , and $a _ { t }$ indicates an action and $r _ { t }$ indicates a reward. Thus before $t$ , there are a series of records $\left\{ \left( s _ { 0 } , a _ { 0 } , r _ { 0 } , s _ { 1 } \right) \cdot \cdot \cdot , \left( s _ { t } , a _ { t } , r _ { t } , s _ { t + 1 } \right) \right\}$ . A state consists of three parts: observation $o _ { t }$ , desired goal $g _ { t } ^ { d e }$ and achieved goal $g _ { t } ^ { a c }$ , define as $\dot { s } _ { t } = \langle o _ { t } , g _ { t } ^ { a c } , g _ { t } ^ { d e } \rangle$ , where normally $g _ { t } ^ { d e } = g _ { t }$ and $g _ { t } ^ { a c }$ indicates goals that the agent has achieved.
|
| 94 |
+
|
| 95 |
+
We reuse the failed experience from the replay buffer with inverse simulation to create successful rewards for the agent, as shown in Algorithm 1 (lines 13-23). Our inverse simulation contains two main steps: First, given a failed episode, for its achieved goal trajectory, we try to find a desired goal trajectory from other episodes that could match it (line 15). Second, we assemble a new episode by matching the achieved goal trajectory of the given episode to the desired goal trajectory of the founded one (lines 17-21). Let $g _ { i , q } ^ { a c }$ indicate the achieved goal of the agent at timestep $q$ in episodxperience $i$ $g _ { j , p } ^ { d e }$ te the desired goal at timestep , we search and draw two faile $p$ in episoepisodes $j$ . Gand n of failed), where $\{ E _ { 0 } , E _ { 1 } , \stackrel { \cdot } { E } _ { 2 } , \cdot \cdot \cdot \}$ $E _ { i }$ $E _ { j }$ $( i \neq j )$ $\exists i , j , p , q ,$ s.t. $g _ { i , p } ^ { a c } = g _ { j , q } ^ { d e }$ . If we find two such failed episodes, we combine the two experience by replacing the desired goals in $E _ { i }$ by $\{ g _ { j , t } ^ { d e } \}$ , where $j$ indicates $E _ { j }$ and $t \leq \operatorname* { m i n } \{ p , q \}$ . Based on this, we end up assembling a new experience $E _ { i } ^ { \prime }$ based on $E _ { i }$ with a new “imagined” goal trajectory $\{ g _ { j , 0 } ^ { d e } , \cdot \cdot \cdot , g _ { j , t } ^ { d e } \}$ where $t \leq \operatorname* { m i n } \{ p , q \}$ .
|
| 96 |
+
|
| 97 |
+
More details of the complete $\mathrm { R L + D H E R }$ method are shown in Algorithm 1. Unlike HER, our DHER needs to search all failed experiences to compose a “imagined” goal trajectory. Hence, the efficiency of searching the memory is important. In our implementation, we use two hash tables to store the trajectories of achieved goals and desired goals, respectively.
|
| 98 |
+
|
| 99 |
+
# 4 EXPERIMENT
|
| 100 |
+
|
| 101 |
+
We run extensive experiments to examine the proposed DHER for moving goals and compare it with some competing baselines. We first introduce the environments and tasks that we want to address, followed by the experimental results. Demo videos from our experiments are available at https://sites.google.com/view/dher.
|
| 102 |
+
|
| 103 |
+

|
| 104 |
+
Figure 3: Results on different environments.
|
| 105 |
+
|
| 106 |
+
# 4.1 ENVIRONMENTS
|
| 107 |
+
|
| 108 |
+
Whereas grasping moving targets are fairly common in robotic applications, there are rarely existing environments featuring dynamic goals. We modify the robotic manipulation environments created by OpenAI (Brockman et al., 2016) for our experiments. As shown in Figure 2, we assign certain rules to the goals so that they accordingly move in the environments while an agent is required to control the robotic arm’s grippers to reach the goal that moves along a straight line (Dy-Reaching), to reach the goal that moves in a circle (Dy-Circling), or to push a block to the goal that moves along a straight line (Dy-Pushing). In addition, we also develop a new GREEDY SNAKE environment (DySnake), in which the goal moves from one discrete cell to another. The greedy snake aims to reach the goal (and eat it). No matter what actions are taken by the agent, the underlying rule of changing the goals’ positions remain the same. We assume that the law of the goal’s motion is unknown to the agent. More details of the tasks are described in the appendix.
|
| 109 |
+
|
| 110 |
+
For the first three tasks, we follow the basic settings of OpenAI robotics environments (Brockman et al., 2016). States are read from the MuJoCo physics engine. An observation consists of relative positions of the object and the target (grippers are blocked) Goals are positions in the 3D world coordinate system with a fixed tolerance (we use $\epsilon = 0 . 0 1$ for the tolerance). Note the goals are able to move in our tasks. The velocity we use is $v = 0 . 0 1 1$ . 1 epoch indicates 100 episodes. The start positions of the goals are randomly chosen. Rewards are binary and sparse: $r ( s _ { t } , a _ { t } , g _ { t } ) =$ $- \mathbf { 1 } _ { \mathrm { c o n d i t i o n } } \big ( | s _ { t + 1 } ^ { \mathrm { o b j } } - g _ { t + 1 } | \geq \epsilon \big )$ where $s _ { t + 1 }$ and $g _ { t + 1 }$ are respectively the state and dynamic goal after the execution of the action $a _ { t }$ in the state $s _ { t }$ . Two positions are overlapped if they are close within the tolerance $\epsilon$ . We use 3-dimensional actions, in which three dimensions correspond to the desired relative gripper position at the next timestep.
|
| 111 |
+
|
| 112 |
+
For the last task, it is very similar to the standard snake game. There is a 2D plane grid whose size is $3 0 \times 4 0$ . A snake and a goal (food) both move in this grid. We use a $1 \times 1$ square as the body of the snake and do not allow the snake to grow any longer as it moves. The states of the system are represented by using the positions of the snake and food. Goals are the positions of the food. The snake has to move itself such that it resides in the same cell as the food at a certain timestep. The velocity of the goal is set to $( 0 , 1 )$ . The start positions of the goal are set randomly in different episodes of the game, so are the start positions of the snake. Rewards are binary and sparse: $r \big ( s _ { t } , \bar { a } _ { t } , g _ { t + 1 } \big ) = - \bar { \mathbf { 1 } } _ { \mathrm { c o n d i t i o n } } \big ( \big | s _ { t + 1 } ^ { \mathrm { s n a k e } } - g _ { t + 1 } \big | \bar { \neq } 0 \big )$ where $s _ { t + 1 }$ and $g _ { t + 1 }$ are the environment’s state and goal after the agent executes action $a _ { t }$ in the state $s _ { t }$ . Observations are represented by the positions of the snake and food. We also add to the state the distance between the snake and food. Actions allowed in the game are the following: move up, move down, move left, and move right, for one cell per timestep.
|
| 113 |
+
|
| 114 |
+
# 4.2 BASELINES
|
| 115 |
+
|
| 116 |
+
For the first three tasks which call for continuous control, we consider two competing baselines:2 • DDPG, which is a model-free RL algorithm for continuous control (Lillicrap et al., 2015). It learns a deterministic policy by using a stochastic counterpart to explore in the training.
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
Figure 4: Low velocity: 0.001.
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 5: High velocity: 0.016.
|
| 123 |
+
|
| 124 |
+
• $\mathrm { D D P G } + \mathrm { H E R }$ , which improves the replay buffer of DDPG by the hindsight experience replay (Andrychowicz et al., 2017).
|
| 125 |
+
DDPG (dense), which employs the negative distance $( - d )$ as dense rewards.
|
| 126 |
+
DDPG (dense-2), which employs the negative distance $( - d )$ as dense rewards if $d \geq \epsilon$ . However, if $d < \epsilon$ (i.e., success) it uses $( - d + 1 . 0 )$ as rewards. 1.0 is a bonus.
|
| 127 |
+
|
| 128 |
+
For the last task of discrete control, we use the following baselines in the experiments: DQN (Mnih et al., 2015) and $\mathrm { D Q N + H E R }$ , which uses HER to enhance the replay in DQN.
|
| 129 |
+
|
| 130 |
+
• DQN, which is a powerful model-free RL algorithm for discrete action spaces (Mnih et al., 2015).
|
| 131 |
+
• $\mathrm { D Q N + H E R }$ , which uses HER to enhance the replay in DQN.
|
| 132 |
+
• DQN (dense), which uses the negative distance $( - d )$ as dense rewards.
|
| 133 |
+
• DQN (dense-2), which uses the negative distance $( - d )$ as dense rewards. However, if $d = 0 . 0$ (i.e., success) it uses $( - d + 1 . 0 )$ as rewards instead. 1.0 is a bonus.
|
| 134 |
+
|
| 135 |
+
# 4.3 COMPARISON RESULTS ON THE ROBOTIC ENVIRONMENTS
|
| 136 |
+
|
| 137 |
+
For the continuous control, we present three sets of comparison results in Figure 3 for the first three tasks, respectively. Consistently, the results show our DHER algorithm outperforms the others. The two baselines are not able to catch up even after we train them for thousands of iterations. Vanilla DDPG is slightly better than the version with HER. HER does not benefit DDPG in these tasks because the goals in HER are fixed, fundamentally misleading the agent in the attempt of solving the tasks with dynamic goals. The results of DDPG (dense) and DDPG (dense-2) suggest that even the dense rewards do not work well as they are agnostic to the task of interest. A good reward shaping may give rise to better performance by carefully tuning it for the task of dynamic goals.
|
| 138 |
+
|
| 139 |
+
Comparing Figure 3a and Figure 3b with Figure 3c, we find that DHER learns faster in Dy-Reaching and Dy-Circling than Dy-Pushing probably because Dy-Reaching and Dy-Circling are easier tasks than Dy-Pushing. In Dy-Pushing, all the algorithms take a fairly big amount of time to explore without receiving any positive feedback. However, the more failed experiences the agent encounters, the better change our algorithm is able to identify relevant episodes from them for assembling useful dynamic goals. As a result, DHER is able to pick up the momentum and learns faster and better than the baselines after a certain point. In Figure 3a, the performance decreases a little. The reason may be that as successful experience increases, some assembled experience is inconsistent with these successful experience.
|
| 140 |
+
|
| 141 |
+
# 4.3.1 COMPARISON USING DIFFERENT VELOCITIES OF GOALS
|
| 142 |
+
|
| 143 |
+
To show the performance of our method on more complex tasks with different velocities, we study different methods in Dy-Reaching environment as shown in Figures 4 and 5 with the same physical properties as the previous experiments. Overall the results show our method is much better than DDPG and HER. As a reminder, the threshold for calculating rewards we used is 0.01. In Figure 4, the task becomes an easier task because of the slower velocity. It shows that our method quickly achieves to a good result around 5 epoch. Comparing with Figure 3a, it shows that the performance with $v = 0 . 0 0 1$ is better than the performance with $v = 0 . 0 1 1$ and get $1 5 \%$ improvements. However, it also shows the performance with $v = 0 . 0 1 6$ is worse than the performance with $v = 0 . 0 1 1$ . Both DDPG and $\mathrm { \Delta D D P G + H E R }$ failed when $v = 0 . 0 1 6$ and their performance is 0. This performance is consistent because the task becomes more difficult when the velocity increases.
|
| 144 |
+
|
| 145 |
+

|
| 146 |
+
Figure 6: Snake with dynamic goals.
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 7: Special: $\mathrm { H E R + }$ knows how goals move.
|
| 150 |
+
|
| 151 |
+
# 4.4 COMPARISON ON THE DYNAMIC SNAKE ENVIRONMENT
|
| 152 |
+
|
| 153 |
+
In the Dy-Snake environment, which is a discrete control environment, we present the results of the chasing food task in Figure 6. The results show that the proposed algorithm works best. DQN is better than HER. HER fails for this task. That HER fails for this task shows just using achieved goals is not enough for the tasks with dynamic goals and can lead wrong direction. The results also show that around 800 episodes, the performance of DQN and DHER is close and DHER is slightly better than DQN. This is because the chasing food task is a simple task. The action space is very small and just 4 types of actions. After enough exploration, DQN also has competitive performance. However, at the beginning, DHER quickly achieves very good performance. It shows that assembling experience from two failures improves the performance very efficiently in this task. DQN (dense) and DQN (dense-2) help learn the policy at the early stage. However, in the long run, it does not lead to any particular benefits.
|
| 154 |
+
|
| 155 |
+
# 4.5 SIM TO REAL ADAPTATION
|
| 156 |
+
|
| 157 |
+
We used policies for Dy-Circling task and a new Pouring task trained in our simulator 3 to deploy them on a physical robot. As shown in Figure 8, the policies were trained by using DHER and adapted to the real robot without any finetuning. However, the policy requires accurate localizations of the gripper and the goal. For Dy-Circling task, the robot’s gripper was blocked. There were a toy turntable, whose speed is unknown, and a blue block on the turntable. We set the position 1cm above the block as the target position. The position of the block was predicted based on traditional contour shape analysis using camera images. For Pouring task, the robot gripped a can. A man held a cup and moved it. The cup was set as the target and with a green marker. We used the marker to estimate its position.
|
| 158 |
+
|
| 159 |
+
Our policies were transferred successfully for both tasks. With the accurate positions, we have $100 \%$ success rate for 5 trials. It was observed that the robot had learned to not only follow the current target but also step forward to the future target position. Demo videos about the experiments are available at https://sites.google.com/view/dher.
|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
Figure 8: Adapting the policies trained based on DHER from our simulation to a real robotic arm.
|
| 163 |
+
|
| 164 |
+
4.6 SPECIAL CASE: HOW ABOUT IF HER KNOWS THE LAW OF THE MOTION OF A GOAL
|
| 165 |
+
|
| 166 |
+
We use Dy-Snake to demonstrate the experimental results for a special case that the law of the motion of the target (food) is known to agents. Because the motion of the food is very simple and controllable in Dy-Snake environment. We develop a direct extension of HER, called $\mathrm { H E R + }$ , that modifies desired goals at every timestep based on the law of the motion of the food to create successful experience. More details of $\mathrm { H E R + }$ are described in the appendix.
|
| 167 |
+
|
| 168 |
+
We show the results in Figure 7. DHER and $\mathrm { H E R + }$ are both better than DQN at the beginning. DHER is slightly better than $\mathrm { H E R + }$ , which shows the efficiency of DHER is comparable in this simple task.
|
| 169 |
+
|
| 170 |
+
# 5 CONCLUSION
|
| 171 |
+
|
| 172 |
+
We introduced a novel technique that assembles successful experience from a couple of failures. With this technique, our proposed algorithm called DHER ( Dynamic Hindsight Experience Replay) is able to address the tasks with sparse rewards and dynamic goals. Our technique can be combined with an arbitrary off-policy RL algorithm and we experimentally demonstrated that with DQN and DDPG. As far as we know, it is the first time that an agent is allowed to learn from assembled experience from two failures.
|
| 173 |
+
|
| 174 |
+
# ACKNOWLEDGMENTS
|
| 175 |
+
|
| 176 |
+
We would like to thank Weitao Xi, Tianzhou Wang, Tingguang Li for performing some additional transfer experiments. We would also like to thank Han Liu and the whole RL team for fruitful discussions as well as the anonymous reviewers for their comments.
|
| 177 |
+
|
| 178 |
+
# REFERENCES
|
| 179 |
+
|
| 180 |
+
Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, OpenAI. Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems, pp. 5048–5058, 2017.
|
| 181 |
+
Marc G. Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47:253–279, 2013. ISSN 1076-9757.
|
| 182 |
+
Yoshua Bengio, Jrme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In Proceedings of the 26th International Conference on Machine Learning, pp. 41–48. ACM, 2009.
|
| 183 |
+
Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016.
|
| 184 |
+
Maurizio Di Rocco, Federico Pecora, Prasanna Kumar Sivakumar, and Alessandro Saffiotti. Configuration planning with multiple dynamic goals. In AAAI Spring Symposium: Designing Intelligent Robots, 2013.
|
| 185 |
+
Yan Duan, Xi Chen, Rein Houthooft, John Schulman, and Pieter Abbeel. Benchmarking deep reinforcement learning for continuous control. In Proceedings of the 33rd International Conference on Machine Learning, pp. 1329–1338, 2016.
|
| 186 |
+
|
| 187 |
+
Carlos Florensa, David Held, Xinyang Geng, and Pieter Abbeel. Automatic goal generation for reinforcement learning agents. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pp. 1515–1528, 2018.
|
| 188 |
+
|
| 189 |
+
Nicolas Heess, Dhruva TB, Srinivasan Sriram, Jay Lemmon, Josh Merel, Greg Wayne, Yuval Tassa, Tom Erez, Ziyu Wang, S. M. Ali Eslami, Martin A. Riedmiller, and David Silver. Emergence of locomotion behaviours in rich environments. CoRR, abs/1707.02286, 2017.
|
| 190 |
+
|
| 191 |
+
Leslie Pack Kaelbling. Learning to achieve goals. In Proceedings of the 13th International Joint Conference on Artificial Intelligence, pp. 1094–1099. Citeseer, 1993.
|
| 192 |
+
|
| 193 |
+
Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
|
| 194 |
+
|
| 195 |
+
Long-Ji Lin. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine Learning, 8(3-4):293–321, 1992.
|
| 196 |
+
|
| 197 |
+
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, 518:529, 2015.
|
| 198 |
+
|
| 199 |
+
Sanmit Narvekar, Jivko Sinapov, and Peter Stone. Autonomous task sequencing for customized curriculum design in reinforcement learning. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, volume 147, pp. 149, 2017.
|
| 200 |
+
|
| 201 |
+
Andrew Y. Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In Proceedings of the 16th International Conference on Machine Learning, volume 99, pp. 278–287, 1999.
|
| 202 |
+
|
| 203 |
+
Tom Schaul, Daniel Horgan, Karol Gregor, and David Silver. Universal value function approximators. In Proceedings of the 32nd International Conference on Machine Learning, pp. 1312–1320, 2015a.
|
| 204 |
+
|
| 205 |
+
Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015b.
|
| 206 |
+
|
| 207 |
+
John Schulman, Sergey Levine, Philipp Moritz, Michael I. Jordan, and Pieter Abbeel. Trust region policy optimization. CoRR, abs/1502.05477, 2015.
|
| 208 |
+
|
| 209 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017.
|
| 210 |
+
|
| 211 |
+
David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. Nature, 529(7587):484, 2016.
|
| 212 |
+
|
| 213 |
+
Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 5026–5033. IEEE, 2012.
|
| 214 |
+
|
| 215 |
+
Ziyu Wang, Victor Bapst, Nicolas Heess, Volodymyr Mnih, Remi Munos, Koray Kavukcuoglu, and ´ Nando de Freitas. Sample efficient actor-critic with experience replay. CoRR, abs/1611.01224, 2016.
|
| 216 |
+
|
| 217 |
+
# APPENDIX
|
| 218 |
+
|
| 219 |
+
# TASKS WITH DYNAMIC GOALS
|
| 220 |
+
|
| 221 |
+
We have created four tasks as described below and illustrated by Figure 2. The first three tasks are based on the robotic environments. The last is based on the GREEDY SNAKE environment.
|
| 222 |
+
|
| 223 |
+
• Dy-Reaching: The task is to control the robotic arm so that its gripper can reach the target position. The target position moves from one point to another along a straight line with a constant velocity.
|
| 224 |
+
• Dy-Circling: The task is to control the robotic arm so that its gripper can reach the target position. The target position moves along a circle with a constant velocity. Dy-Pushing: in this task, a box is placed on a table in front of the robotic arm. The robot is required to move the box to the target location on the table. The target location moves from one position to another with a fixed velocity. Note that the robot’s grippers are locked to prevent it from grasping. The learned behavior is actually a mixture of pushing and rolling.
|
| 225 |
+
Dy-Snake: in this task, a snake and food are placed on a rectangle map and the task is to control the snake to eat the food. The food is moving from one position to another position with a fixed velocity.
|
| 226 |
+
|
| 227 |
+
# HARDWARE
|
| 228 |
+
|
| 229 |
+
We use the Universal Robots UR10 with a gripper. We use a RealSense Camera SR300 to track the position of objects. The gripper is blocked. We use a marker on the gripper for camera calibration. During adapting the robot, for the position of the target, we use the camera to estimate it.
|
| 230 |
+
|
| 231 |
+
# SIMULATION
|
| 232 |
+
|
| 233 |
+
We simulate the physical system using the MuJoCo physics engine (Todorov et al., 2012) and also use MuJoCo to render the images. In our tasks, we use positions provided by MuJoCo for training policies in the simulation.
|
| 234 |
+
|
| 235 |
+
In Figure 9, we demonstrate our simulation and the physics environment.
|
| 236 |
+
|
| 237 |
+

|
| 238 |
+
Figure 9: Our simulation and the physics environment.
|
| 239 |
+
|
| 240 |
+
A SPECIAL AND SIMPLER CASE - HER+
|
| 241 |
+
|
| 242 |
+
The paper considers a general situation that the law of the motion of goals is invisible to an agent. However, we relax this assumption and assume that in some situations the law of the motion of goals is easy to obtain, i.e., the parameters of $g ( t ; \gamma )$ are known. For example, it is able to calculate the velocity of an object by observing the trajectories of the object.
|
| 243 |
+
|
| 244 |
+
In this situation, we do not need to search failed experience. With the knowledge of the velocity of an object, it is straightforward that we can calculate any trajectory of desired goals. Thus for every failed experience, at any time step $t$ , based on the achieved goal $g _ { t } ^ { a c }$ , we calculate new desired goals $g _ { t } ^ { d e } = g ( { \dot { t } } )$ corresponding to the achieved goals in order to construct successful experience.
|
| 245 |
+
|
| 246 |
+
The details of $\mathrm { H E R + }$ are described in Algorithm 2. $\mathrm { H E R + }$ can be seen as a direct extension of HER. HER and $\mathrm { H E R + }$ can modify any failed experience to successful experience because they both assume the law of the motion of goals is known.
|
| 247 |
+
|
| 248 |
+
# Algorithm 2 Hindsight Experience Replay Plus
|
| 249 |
+
|
| 250 |
+
Require: an off-policy RL algorithm A, replay buffer $R$ , a reward function $r$
|
| 251 |
+
1: Initialize A and replay buffer $R$
|
| 252 |
+
2: for episode $\mathbf { \Omega } = 1 , 2 , \cdots , M$ do
|
| 253 |
+
3: Sample an initial goal $g _ { 0 }$ and an initial state $s _ { 0 }$
|
| 254 |
+
4: for $t = 0 , \cdots , T - 1$ do
|
| 255 |
+
5: Sample an action $a _ { t }$ using the behavioral policy from A:
|
| 256 |
+
6: $a _ { t } \doteq \pi ( s _ { t } | g _ { t } )$
|
| 257 |
+
7: Execute the action $a _ { t }$ and observe a new state $s _ { t + 1 }$ and a new goal $g _ { t + 1 }$
|
| 258 |
+
8: end for
|
| 259 |
+
9: for $t = 0 , \cdots , T - 1$ do
|
| 260 |
+
10: $r _ { t } : = r ( s _ { t } , a _ { t } , g _ { t + 1 } )$
|
| 261 |
+
11: Store the transitions $\left( s _ { t } | g _ { t } , a _ { t } , r _ { t } , s _ { t + 1 } | g _ { t + 1 } \right)$ in $R$ (Standard experience replay)
|
| 262 |
+
12: Sample a set of the achieved goals of $E _ { i }$ as additional goals for reply $G ^ { \prime }$
|
| 263 |
+
13: for $\bar { g _ { p } ^ { \prime } } \in G ^ { \prime }$ do
|
| 264 |
+
14: Calculate a goal trajectory $\{ g _ { 0 } ^ { \prime } , \cdots , g _ { p } ^ { \prime } \}$ where $g _ { t } ^ { \prime } = g ( t ; \gamma )$ $\mathrm { ( H E R + ) }$
|
| 265 |
+
15: for $t = \{ 0 , \cdots , p - 1 \}$ do
|
| 266 |
+
16: $r _ { t } ^ { \prime } : = r ( s _ { i , t } , a _ { i , t } , g _ { t + 1 } ^ { \prime } )$
|
| 267 |
+
17: Store the transition $\left( s _ { i , t } | g _ { t } ^ { \prime } , a _ { i , t } , r _ { t } ^ { \prime } , s _ { i , t + 1 } | g _ { t + 1 } ^ { \prime } \right) \mathrm { i n } R$
|
| 268 |
+
18: end for
|
| 269 |
+
19: end for
|
| 270 |
+
20: end for
|
| 271 |
+
21: end for
|
parse/train/Byf5-30qFX/Byf5-30qFX_content_list.json
ADDED
|
@@ -0,0 +1,1238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
678,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Meng Fang∗, Cheng Zhou, Bei Shi, Boqing Gong, Jia Xu, Tong Zhang Tencent AI Lab ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
665,
|
| 21 |
+
196
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Dealing with sparse rewards is one of the most important challenges in reinforcement learning (RL), especially when a goal is dynamic (e.g., to grasp a moving object). Hindsight experience replay (HER) has been shown an effective solution to handling sparse rewards with fixed goals. However, it does not account for dynamic goals in its vanilla form and, as a result, even degrades the performance of existing off-policy RL algorithms when the goal is changing over time. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
266,
|
| 43 |
+
764,
|
| 44 |
+
349
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "In this paper, we present Dynamic Hindsight Experience Replay (DHER), a novel approach for tasks with dynamic goals in the presence of sparse rewards. DHER automatically assembles successful experiences from two relevant failures and can be used to enhance an arbitrary off-policy RL algorithm when the tasks’ goals are dynamic. We evaluate DHER on tasks of robotic manipulation and moving object tracking, and transfer the polices from simulation to physical robots. Extensive comparison and ablation studies demonstrate the superiority of our approach, showing that DHER is a crucial ingredient to enable RL to solve tasks with dynamic goals in manipulation and grid world domains. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
352,
|
| 54 |
+
764,
|
| 55 |
+
476
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
502,
|
| 66 |
+
336,
|
| 67 |
+
518
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Deep reinforcement learning has been shown an effective framework for solving a rich repertoire of complex control problems. In simulated domains, agents have been trained to perform a diverse array of challenging tasks (Mnih et al., 2015; Lillicrap et al., 2015; Duan et al., 2016). In order to train such agents, it is often the case that one has to design a reward function that not only reflects the task at hand but also is carefully shaped $\\mathrm { N g }$ et al., 1999) to guide the policy optimization. Unfortunately, many of the capabilities demonstrated by reward engineering are often limited to specific tasks. Moreover, it requires both RL expertise and domain-specific knowledge to reshape the reward functions. For situations where we do not know what admissible behavior may look like, for example, using LEGO bricks to build a desired architecture, it is difficult to apply reward engineering. Therefore, it is essential to develop algorithms which can learn from unshaped and usually sparse reward signals. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
534,
|
| 77 |
+
825,
|
| 78 |
+
686
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Learning with sparse rewards is challenging, especially when a goal is dynamic. Dynamic goals are common in games and planning problems, often addressed using reward shaping or search (Kaelbling, 1993; Mnih et al., 2015; Di Rocco et al., 2013). However, the difficulty posed by a sparse reward is exacerbated by the complicated environment dynamics in robotics (Andrychowicz et al., 2017). For instance, system dynamics around contacts are difficult to model and induce sensitivity in the system to small errors. Many robotic tasks also need executing multiple steps successfully over a long horizon, involve enormous search space, and require generalization to varying task instances. Policy gradient methods are breakthroughs in the challenging environments, such as PPO (Heess et al., 2017; Schulman et al., 2017), ACER (Wang et al., 2016), TRPO (Schulman et al., 2015) and so on. They are used in environments, where an agent tries to reach a target, learns to walk, runs, and so on. Recently, sampling-efficient learning is introduced and demonstrates a significant increase in performance for off-policy actor-critic DQN (Mnih et al., 2015) and DDPG (Lillicrap et al., 2015) algorithms. Hindsight experience replay (HER) is very effective for improving the performance of off-policy RL algorithms in solving goal-based tasks with sparse rewards (Andrychowicz et al., 2017). Similar to UVFA (Schaul et al., 2015a), it takes a goal state as part of input. However, it assumes the goal is fixed. As a result, this assumption actually impedes the learning of RL agents in the environments of moving goals. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
173,
|
| 87 |
+
694,
|
| 88 |
+
825,
|
| 89 |
+
901
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/a34ff9c3bf9148b8d43e21b58e1ea68fe1bcb07b8ac12d22cc17bf9a91fd4060.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: The framework of DHER. DHER is a kind of experience replay method. It searches relevant failed experiences and then assembles them into successful experiences. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
179,
|
| 102 |
+
103,
|
| 103 |
+
823,
|
| 104 |
+
261
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
176,
|
| 113 |
+
347,
|
| 114 |
+
823,
|
| 115 |
+
376
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this paper, we address this challenge with a new method, Dynamic Hindsight Experience Replay (DHER), for accomplishing tasks with moving goals. We follow the multi-goal setting in UVFA (Schaul et al., 2015a) and HER (Andrychowicz et al., 2017). It assumes that the goal being pursued does not influence the environment dynamics. We also need to have the knowledge of goal similarity. For example, in manipulation or grid world domains, we can use Euclidean distance between positions to measure the goal similarity. HER turns a failed episode to a success by composing a new task whose goal is achieved by that episode. Our idea allows an agent to learn from the failure one step further than HER: the agent not only sets a new goal but also hallucinates how to reach the original goal from the new one. Take playing frisbee for instance. When an agent jumps to catch the frisbee and yet misses it, the agent receives no positive feedback under the sparse reward setting. Using HER, the agent could set the end of its episode as the new goal — position of the frisbee; with DHER, however, the agent finds a trajectory from its past experiences as the imagined path of the frisbee, and thereby extrapolates towards the original goal. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
382,
|
| 125 |
+
825,
|
| 126 |
+
563
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "In particular, we do the following for DHER. To finish the tasks with dynamic goals needs to explore experience and understand multiple goals. DHER uses replay buffers to allow the agent to learn from a couple of failures by assembling new ‘experience’ from different episodes. The proposed method retrieves memories to find the connection between the experience of different episodes. It largely improves the sample efficiency in dynamic goal task settings. More importantly, this strategy makes it possible to learn in the setting that both sparse rewards and dynamic goals exist. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
570,
|
| 136 |
+
825,
|
| 137 |
+
654
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "We evaluate our method along with the state-of-the-art baselines on new environments and manipulation tasks, which have sparse rewards and dynamic goals. Our results demonstrate that DHER is clearly better than others for these tasks. We also transfer policies trained in our simulation based on DHER to a physical robot and show that DHER can be applied to solving real-world robotics problems. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
174,
|
| 146 |
+
660,
|
| 147 |
+
823,
|
| 148 |
+
729
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "We summarize our main contributions as follows: (1) We demonstrate that, both in simulation and real worlds, DHER succeeds in continuous control with a moving target. To our knowledge, this is the first empirical result on manipulation tasks that demonstrates model-free learning methods can tackle tasks of this complexity. (2) We show that with assembling new experience from two failures, the sample complexity can be reduced dramatically. We attribute this to global knowledge learning in a set of failed experience which breaks the constraint of local one-episode experience towards more robust strategies. (3) We design and implement a set of new environments and continuous tasks with dynamic goals, which would be of interest to researchers at the intersection of robotics and reinforcement learning.1 ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
737,
|
| 158 |
+
825,
|
| 159 |
+
863
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 RELATED WORK ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
102,
|
| 170 |
+
339,
|
| 171 |
+
117
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Recent works in deep RL have shown impressive results in different domains, such as games (Bellemare et al., 2013; Silver et al., 2016), simulated control tasks (Brockman et al., 2016) and so on. There have been several proposed RL methods for playing Atari games, including DQN (Mnih et al., 2015), UVFA (Schaul et al., 2015b) and so on. UVFA trains a single neural network approximating multiple value functions for state and goal. For the continuous control, DDPG (Lillicrap et al., 2015) is a popular actor-critic algorithm that has shown impressive results in continuous control tasks. Dynamic goals appear in games and planning, often addressed by rewards shaping or search (Kaelbling, 1993; Mnih et al., 2015; Di Rocco et al., 2013). When the rewards are sparse, there is few work studying the dynamic goals to the best of our knowledge. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
132,
|
| 181 |
+
825,
|
| 182 |
+
258
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Curriculum learning is also used for reinforcement learning scenarios. The idea is that solving easier problems first has advantages to learn more complex goals later and thus that learning can be optimized by presenting the problems in an optimal order, a curriculum (Bengio et al., 2009). Narvekar et al. (2017) and Florensa et al. (2018) proposed methods to automatically produce subtasks or subgoals for a given target. Narvekar et al. (2017) produce subtasks according to predefined tasks of a given domain problem. Florensa et al. (2018) use a Generative Adversarial Network (GAN) to produce goals with different difficulties. Different from these methods, our approach produces a series of goals for an episode from failed experience. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
265,
|
| 192 |
+
825,
|
| 193 |
+
377
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "Experience replay is an important technique and introduced to break temporal correlations by mixing more and less recent experience for updating policies (Lin, 1992). It was demonstrated for its efficiency in DQN (Mnih et al., 2015). Prioritized experience replay improves the speed of training by considering prioritizing transitions in the replay buffer (Schaul et al., 2015b). HER considers modifying experience in the replay buffer for continuous control (Andrychowicz et al., 2017). By contrary, our approach assembles successful experience from two failures. Comparing with these methods, which do not consider dynamic goals, our approach uses a series of goals to assemble successful experience. As a result, our method is able to accomplish the tasks with sparse rewards and dynamic goals. ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
174,
|
| 202 |
+
383,
|
| 203 |
+
825,
|
| 204 |
+
508
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 2
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "text",
|
| 210 |
+
"text": "3 METHODOLOGY ",
|
| 211 |
+
"text_level": 1,
|
| 212 |
+
"bbox": [
|
| 213 |
+
176,
|
| 214 |
+
529,
|
| 215 |
+
341,
|
| 216 |
+
545
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "We first review how HER works (Andrychowicz et al., 2017), followed by details of the proposed DHER for dealing with dynamic goals. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
176,
|
| 225 |
+
559,
|
| 226 |
+
823,
|
| 227 |
+
588
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "HER is a simple and effective method of manipulating the replay buffer used in off-policy RL algorithms that allows it to learn policies more efficiently from sparse rewards. It assumes the goal being pursued does not influence the environment dynamics. After experiencing an episode $\\bar { \\{ } s _ { 0 } , s _ { 1 } , \\dotsb , s _ { T } \\}$ , every transition $s _ { t } \\to s _ { t + 1 }$ along with the goal for this episode is usually stored in the replay buffer. Some of the saved episodes fail to reach the goal, providing no positive feedback to the agent. However, with HER, the failed experience is modified and also stored in the replay buffer in the following manner. The idea is to replace the original goal with a state visited by the failed episode. As the reward function remains unchanged, this change of goals hints the agent how to achieve the new goal in the environment. HER assumes that the mechanism of reaching the new goal helps the agent learn for the original goal. ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
174,
|
| 236 |
+
594,
|
| 237 |
+
825,
|
| 238 |
+
734
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "3.1 DYNAMIC GOALS",
|
| 245 |
+
"text_level": 1,
|
| 246 |
+
"bbox": [
|
| 247 |
+
176,
|
| 248 |
+
751,
|
| 249 |
+
338,
|
| 250 |
+
765
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "Dynamic goals are not static and change at every timestep. We follow the multi-goal setting of Andrychowicz et al. (2017). The goals are part of the environment and do not influence the environment dynamics. We also assume that a dynamic goal $g _ { t } \\in \\mathcal G$ moves by following some law $g _ { t } = g ( t ; \\gamma )$ , where $\\gamma$ parameterizes the law (e.g., acceleration in Newton’s law of motion), and yet its underlying moving law is unknown to the agent. ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
174,
|
| 259 |
+
776,
|
| 260 |
+
825,
|
| 261 |
+
847
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "Moreover, we need to have some basic knowledge of goals, i.e., the measure of goal similarity on $\\mathcal { G }$ . We assume that $g _ { t } \\in \\mathcal G$ corresponds to some predicate $f _ { g _ { t } } : S \\{ 0 , 1 \\}$ and that the agent’s goal is to achieve any state $s$ that satisfies $f _ { g _ { t } } ( s ) = 1$ . We use $S = \\mathcal { G }$ and define $f _ { g _ { t } } ( s ) : = [ s = g _ { t } ]$ , which can be considered as a measure of goal similarity between $g _ { t }$ and $s$ . The goals can also specify only some properties of the state. Take manipulation tasks for instance: $\\mathcal { G } = \\mathbb { R } ^ { 3 }$ corresponds to the 3D ",
|
| 268 |
+
"bbox": [
|
| 269 |
+
174,
|
| 270 |
+
854,
|
| 271 |
+
823,
|
| 272 |
+
924
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "text",
|
| 278 |
+
"text": "Algorithm 1 Dynamic Hindsight Experience Replay with Experience Assembling ",
|
| 279 |
+
"text_level": 1,
|
| 280 |
+
"bbox": [
|
| 281 |
+
173,
|
| 282 |
+
102,
|
| 283 |
+
717,
|
| 284 |
+
118
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 3
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "Require: an off-policy RL algorithm A, replay buffer $R$ , a reward function $r$ ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
176,
|
| 293 |
+
123,
|
| 294 |
+
679,
|
| 295 |
+
137
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 3
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "1: Initialize A and replay buffer $R$ \n2: for episode $\\mathbf { \\Omega } = 1 , 2 , \\cdots , M$ do \n3: Sample an initial goal $g _ { 0 }$ and an initial state $s _ { 0 }$ \n4: for $t = 0 , \\cdots , T - 1$ do \n5: Sample an action $a _ { t }$ using the behavioral policy from A: \n6: $a _ { t } \\pi ( s _ { t } | g _ { t } )$ \n7: Execute the action $a _ { t }$ and observe a new state $s _ { t + 1 }$ and a new goal $g _ { t + 1 }$ \n8: end for \n9: for $t = 0 , \\cdots , T - 1$ do \n10: $r _ { t } : = r ( s _ { t } , a _ { t } , g _ { t + 1 } )$ \n11: Store the transitions $\\left( s _ { t } | g _ { t } , a _ { t } , r _ { t } , s _ { t + 1 } | g _ { t + 1 } \\right)$ in $R$ (Standard experience replay) \n12: end for \n13: Collect failed episodes to $\\mathcal { E }$ \n14: 15: for S $E _ { i } \\in \\mathcal { E }$ donother $E _ { j } ( i \\neq j ) \\in \\mathcal { E }$ where $g _ { i , p } ^ { a c } = g _ { j , q } ^ { d e }$ \n16: if $E _ { j } \\neq \\boldsymbol { \\mathcal { O } }$ then \n17: Clone a goal trajectory $\\{ g _ { 0 } ^ { \\prime } , \\cdot \\cdot \\cdot , g _ { m } ^ { \\prime } \\} _ { m = \\operatorname* { m i n } \\{ p , q \\} }$ in which $g _ { t } ^ { \\prime } = g _ { j , q - m + t } ^ { d e }$ from $E _ { j }$ \n18: for $t = \\{ 0 , \\cdots , m - 1 \\}$ do \n19: $r _ { t } ^ { \\prime } : = r ( s _ { i , p - m + t } , a _ { i , p - m + t } , g _ { t + 1 } ^ { \\prime } )$ \n20: Store the transition $\\left( s _ { i , p - m + t } | g _ { t } ^ { \\prime } , a _ { i , p - m + t } , r _ { t } ^ { \\prime } , s _ { i , p - m + t + 1 } | g _ { t + 1 } ^ { \\prime } \\right) \\mathrm { i n } R \\left( \\mathrm { D H E R } \\right)$ \n21: end for \n22: end if \n23: end for \n24: for $t = 1 , \\cdots , N$ do \n25: Sample a minibatch $B$ from the replay buffer $R$ \n26: Optimize A using the minibatch $B$ \n27: end for \n28: end for ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
127,
|
| 305 |
+
799,
|
| 306 |
+
532
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 3
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "positions of an object $s ^ { \\mathrm { o b j } }$ about which the observation could include additional properties of the object. For a more concrete example, consider pushing a block towards a moving target position. The success of a task is defined as $f \\big ( s _ { t } , g _ { t } \\big ) = \\mathbf { 1 } _ { \\mathrm { c o n d i t i o n } } \\big ( \\| s _ { t } ^ { \\mathrm { o b j } } - g _ { t } \\| \\leq \\epsilon \\big )$ , where $s _ { t } ^ { \\mathrm { o b j } }$ is the position of the object in the state $s _ { t }$ and $\\epsilon$ denotes a tolerance by the environment. $\\mathbf { 1 } _ { \\mathrm { c o n d i t i o n } }$ is an indicator function. The agent aims to achieve any state $s _ { t }$ that satisfies $f ( s _ { t } , g _ { t } ) = 1$ . It receives a sparse reward $r _ { t } : = r ( \\tilde { s } _ { t } , a _ { t } , g _ { t + 1 } ) = - \\mathbf { 1 } _ { \\mathrm { c o n d i t i o n } } ( f ( s _ { t + 1 } , g _ { t + 1 } ) \\neq 1 )$ upon making an action $a _ { t }$ . ",
|
| 313 |
+
"bbox": [
|
| 314 |
+
173,
|
| 315 |
+
563,
|
| 316 |
+
825,
|
| 317 |
+
651
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 3
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "It is worth discussing the main difference between the implications of the dynamic goals and the static ones. Expressing a static goal in the following way, $g _ { t } ^ { \\mathrm { s t a t i c } } = g ^ { \\mathrm { s t a t i c } } , \\forall t$ , highlights the key challenge of dealing with the dynamic goal. Namely, the agent has no access to the underlying law of the dynamic goal in our setting, whereas the law of being static is known to the agent in Andrychowicz et al. (2017). In other words, the agent has no clue at all how to construct a new dynamic goal that is admissible by the environment. ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
174,
|
| 326 |
+
655,
|
| 327 |
+
825,
|
| 328 |
+
739
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 3
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "3.2 DYNAMIC HINDSIGHT EXPERIENCE REPLAY",
|
| 335 |
+
"text_level": 1,
|
| 336 |
+
"bbox": [
|
| 337 |
+
174,
|
| 338 |
+
761,
|
| 339 |
+
522,
|
| 340 |
+
776
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 3
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "At the first glance, we shall compose a new dynamic goal $g ^ { \\mathrm { d y n a m i c } } = \\{ s _ { t _ { 0 } } ^ { \\mathrm { o b j } } , s _ { t _ { 1 } } ^ { \\mathrm { o b j } } , \\cdot \\cdot \\cdot , s _ { t _ { T ^ { \\prime } } } ^ { \\mathrm { o b j } } \\}$ from a in order to apply HER (Andrychowicz et al., 2017) to our problem setting. However, per the discussion above, this new dynamic goal $g ^ { \\mathrm { d y n a m i c } }$ may be inadmissible by the environment, leading to no positive feedback to the agent at all. ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
174,
|
| 349 |
+
787,
|
| 350 |
+
825,
|
| 351 |
+
847
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "We tackle the challenge by drawing the following two observations. One is that many episodes fail in the replay buffer, implying that the agent can actually build a new goal upon more than one episodes. The other is that the more failed experience the agent has, the more possible for the agent to use the connection between achieved goals in an episode and desired goals in some other episode. Take the example of a moving object that the agent must reach, desired goals are the positions of the moving object and achieved goals are the positions of a gripper (controlled by the agent). There may exist some positions that both the object and the gripper have ever reached respectively. ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
174,
|
| 360 |
+
854,
|
| 361 |
+
825,
|
| 362 |
+
924
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "image",
|
| 368 |
+
"img_path": "images/685259757917f2907f387b49a9224aabd57ab150ad7074e7a37b24515868d9cf.jpg",
|
| 369 |
+
"image_caption": [
|
| 370 |
+
"Figure 2: The proposed tasks with dynamic goals (red objects). Arrow indicates the movement of a goal. The first row indicates initial states. The second row indicates final states. "
|
| 371 |
+
],
|
| 372 |
+
"image_footnote": [],
|
| 373 |
+
"bbox": [
|
| 374 |
+
212,
|
| 375 |
+
107,
|
| 376 |
+
779,
|
| 377 |
+
330
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 4
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "",
|
| 384 |
+
"bbox": [
|
| 385 |
+
174,
|
| 386 |
+
409,
|
| 387 |
+
821,
|
| 388 |
+
438
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 4
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "After experiencing some episode $s _ { 0 } , s _ { 1 } , \\cdots , s _ { T }$ , we store in the replay buffer every transition $s _ { t } \\ \\to \\ s _ { t + 1 }$ for this episode, defined as $\\left( { { s _ { t } } , { a _ { t } } , { r _ { t } } , { s _ { t + 1 } } } \\right)$ , where $s _ { t }$ indicates a state $s _ { t }$ at timestep $t$ , and $a _ { t }$ indicates an action and $r _ { t }$ indicates a reward. Thus before $t$ , there are a series of records $\\left\\{ \\left( s _ { 0 } , a _ { 0 } , r _ { 0 } , s _ { 1 } \\right) \\cdot \\cdot \\cdot , \\left( s _ { t } , a _ { t } , r _ { t } , s _ { t + 1 } \\right) \\right\\}$ . A state consists of three parts: observation $o _ { t }$ , desired goal $g _ { t } ^ { d e }$ and achieved goal $g _ { t } ^ { a c }$ , define as $\\dot { s } _ { t } = \\langle o _ { t } , g _ { t } ^ { a c } , g _ { t } ^ { d e } \\rangle$ , where normally $g _ { t } ^ { d e } = g _ { t }$ and $g _ { t } ^ { a c }$ indicates goals that the agent has achieved. ",
|
| 395 |
+
"bbox": [
|
| 396 |
+
173,
|
| 397 |
+
445,
|
| 398 |
+
825,
|
| 399 |
+
530
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 4
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "text",
|
| 405 |
+
"text": "We reuse the failed experience from the replay buffer with inverse simulation to create successful rewards for the agent, as shown in Algorithm 1 (lines 13-23). Our inverse simulation contains two main steps: First, given a failed episode, for its achieved goal trajectory, we try to find a desired goal trajectory from other episodes that could match it (line 15). Second, we assemble a new episode by matching the achieved goal trajectory of the given episode to the desired goal trajectory of the founded one (lines 17-21). Let $g _ { i , q } ^ { a c }$ indicate the achieved goal of the agent at timestep $q$ in episodxperience $i$ $g _ { j , p } ^ { d e }$ te the desired goal at timestep , we search and draw two faile $p$ in episoepisodes $j$ . Gand n of failed), where $\\{ E _ { 0 } , E _ { 1 } , \\stackrel { \\cdot } { E } _ { 2 } , \\cdot \\cdot \\cdot \\}$ $E _ { i }$ $E _ { j }$ $( i \\neq j )$ $\\exists i , j , p , q ,$ s.t. $g _ { i , p } ^ { a c } = g _ { j , q } ^ { d e }$ . If we find two such failed episodes, we combine the two experience by replacing the desired goals in $E _ { i }$ by $\\{ g _ { j , t } ^ { d e } \\}$ , where $j$ indicates $E _ { j }$ and $t \\leq \\operatorname* { m i n } \\{ p , q \\}$ . Based on this, we end up assembling a new experience $E _ { i } ^ { \\prime }$ based on $E _ { i }$ with a new “imagined” goal trajectory $\\{ g _ { j , 0 } ^ { d e } , \\cdot \\cdot \\cdot , g _ { j , t } ^ { d e } \\}$ where $t \\leq \\operatorname* { m i n } \\{ p , q \\}$ . ",
|
| 406 |
+
"bbox": [
|
| 407 |
+
173,
|
| 408 |
+
536,
|
| 409 |
+
825,
|
| 410 |
+
718
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 4
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "More details of the complete $\\mathrm { R L + D H E R }$ method are shown in Algorithm 1. Unlike HER, our DHER needs to search all failed experiences to compose a “imagined” goal trajectory. Hence, the efficiency of searching the memory is important. In our implementation, we use two hash tables to store the trajectories of achieved goals and desired goals, respectively. ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
174,
|
| 419 |
+
723,
|
| 420 |
+
823,
|
| 421 |
+
780
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 4
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "4 EXPERIMENT ",
|
| 428 |
+
"text_level": 1,
|
| 429 |
+
"bbox": [
|
| 430 |
+
174,
|
| 431 |
+
821,
|
| 432 |
+
316,
|
| 433 |
+
838
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 4
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "We run extensive experiments to examine the proposed DHER for moving goals and compare it with some competing baselines. We first introduce the environments and tasks that we want to address, followed by the experimental results. Demo videos from our experiments are available at https://sites.google.com/view/dher. ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
174,
|
| 442 |
+
867,
|
| 443 |
+
825,
|
| 444 |
+
924
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 4
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "image",
|
| 450 |
+
"img_path": "images/868b5ca50a241e6883855868e5cdc6d4e2e4a7d4f491d103d018de67c19012a7.jpg",
|
| 451 |
+
"image_caption": [
|
| 452 |
+
"Figure 3: Results on different environments. "
|
| 453 |
+
],
|
| 454 |
+
"image_footnote": [],
|
| 455 |
+
"bbox": [
|
| 456 |
+
181,
|
| 457 |
+
99,
|
| 458 |
+
813,
|
| 459 |
+
263
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 5
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "4.1 ENVIRONMENTS ",
|
| 466 |
+
"text_level": 1,
|
| 467 |
+
"bbox": [
|
| 468 |
+
174,
|
| 469 |
+
320,
|
| 470 |
+
328,
|
| 471 |
+
335
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 5
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "Whereas grasping moving targets are fairly common in robotic applications, there are rarely existing environments featuring dynamic goals. We modify the robotic manipulation environments created by OpenAI (Brockman et al., 2016) for our experiments. As shown in Figure 2, we assign certain rules to the goals so that they accordingly move in the environments while an agent is required to control the robotic arm’s grippers to reach the goal that moves along a straight line (Dy-Reaching), to reach the goal that moves in a circle (Dy-Circling), or to push a block to the goal that moves along a straight line (Dy-Pushing). In addition, we also develop a new GREEDY SNAKE environment (DySnake), in which the goal moves from one discrete cell to another. The greedy snake aims to reach the goal (and eat it). No matter what actions are taken by the agent, the underlying rule of changing the goals’ positions remain the same. We assume that the law of the goal’s motion is unknown to the agent. More details of the tasks are described in the appendix. ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
173,
|
| 480 |
+
348,
|
| 481 |
+
825,
|
| 482 |
+
502
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 5
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "For the first three tasks, we follow the basic settings of OpenAI robotics environments (Brockman et al., 2016). States are read from the MuJoCo physics engine. An observation consists of relative positions of the object and the target (grippers are blocked) Goals are positions in the 3D world coordinate system with a fixed tolerance (we use $\\epsilon = 0 . 0 1$ for the tolerance). Note the goals are able to move in our tasks. The velocity we use is $v = 0 . 0 1 1$ . 1 epoch indicates 100 episodes. The start positions of the goals are randomly chosen. Rewards are binary and sparse: $r ( s _ { t } , a _ { t } , g _ { t } ) =$ $- \\mathbf { 1 } _ { \\mathrm { c o n d i t i o n } } \\big ( | s _ { t + 1 } ^ { \\mathrm { o b j } } - g _ { t + 1 } | \\geq \\epsilon \\big )$ where $s _ { t + 1 }$ and $g _ { t + 1 }$ are respectively the state and dynamic goal after the execution of the action $a _ { t }$ in the state $s _ { t }$ . Two positions are overlapped if they are close within the tolerance $\\epsilon$ . We use 3-dimensional actions, in which three dimensions correspond to the desired relative gripper position at the next timestep. ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
173,
|
| 491 |
+
508,
|
| 492 |
+
825,
|
| 493 |
+
651
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 5
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "For the last task, it is very similar to the standard snake game. There is a 2D plane grid whose size is $3 0 \\times 4 0$ . A snake and a goal (food) both move in this grid. We use a $1 \\times 1$ square as the body of the snake and do not allow the snake to grow any longer as it moves. The states of the system are represented by using the positions of the snake and food. Goals are the positions of the food. The snake has to move itself such that it resides in the same cell as the food at a certain timestep. The velocity of the goal is set to $( 0 , 1 )$ . The start positions of the goal are set randomly in different episodes of the game, so are the start positions of the snake. Rewards are binary and sparse: $r \\big ( s _ { t } , \\bar { a } _ { t } , g _ { t + 1 } \\big ) = - \\bar { \\mathbf { 1 } } _ { \\mathrm { c o n d i t i o n } } \\big ( \\big | s _ { t + 1 } ^ { \\mathrm { s n a k e } } - g _ { t + 1 } \\big | \\bar { \\neq } 0 \\big )$ where $s _ { t + 1 }$ and $g _ { t + 1 }$ are the environment’s state and goal after the agent executes action $a _ { t }$ in the state $s _ { t }$ . Observations are represented by the positions of the snake and food. We also add to the state the distance between the snake and food. Actions allowed in the game are the following: move up, move down, move left, and move right, for one cell per timestep. ",
|
| 500 |
+
"bbox": [
|
| 501 |
+
173,
|
| 502 |
+
657,
|
| 503 |
+
825,
|
| 504 |
+
824
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 5
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "text",
|
| 510 |
+
"text": "4.2 BASELINES",
|
| 511 |
+
"text_level": 1,
|
| 512 |
+
"bbox": [
|
| 513 |
+
174,
|
| 514 |
+
847,
|
| 515 |
+
294,
|
| 516 |
+
861
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 5
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "For the first three tasks which call for continuous control, we consider two competing baselines:2 • DDPG, which is a model-free RL algorithm for continuous control (Lillicrap et al., 2015). It learns a deterministic policy by using a stochastic counterpart to explore in the training. ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
176,
|
| 525 |
+
876,
|
| 526 |
+
805,
|
| 527 |
+
890
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 5
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "image",
|
| 533 |
+
"img_path": "images/732a387a80c212738b2fb410b777a5c71d62a4dacb48b29dd438871f23abaf26.jpg",
|
| 534 |
+
"image_caption": [
|
| 535 |
+
"Figure 4: Low velocity: 0.001. "
|
| 536 |
+
],
|
| 537 |
+
"image_footnote": [],
|
| 538 |
+
"bbox": [
|
| 539 |
+
220,
|
| 540 |
+
102,
|
| 541 |
+
449,
|
| 542 |
+
244
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 6
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "image",
|
| 548 |
+
"img_path": "images/f8c0fd7014d07719a2c477eef04492742d4a9d1ff91065b3d850a3053e6e0ee6.jpg",
|
| 549 |
+
"image_caption": [
|
| 550 |
+
"Figure 5: High velocity: 0.016. "
|
| 551 |
+
],
|
| 552 |
+
"image_footnote": [],
|
| 553 |
+
"bbox": [
|
| 554 |
+
545,
|
| 555 |
+
102,
|
| 556 |
+
772,
|
| 557 |
+
244
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 6
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "text",
|
| 563 |
+
"text": "",
|
| 564 |
+
"bbox": [
|
| 565 |
+
217,
|
| 566 |
+
299,
|
| 567 |
+
823,
|
| 568 |
+
328
|
| 569 |
+
],
|
| 570 |
+
"page_idx": 6
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"type": "text",
|
| 574 |
+
"text": "• $\\mathrm { D D P G } + \\mathrm { H E R }$ , which improves the replay buffer of DDPG by the hindsight experience replay (Andrychowicz et al., 2017). \nDDPG (dense), which employs the negative distance $( - d )$ as dense rewards. \nDDPG (dense-2), which employs the negative distance $( - d )$ as dense rewards if $d \\geq \\epsilon$ . However, if $d < \\epsilon$ (i.e., success) it uses $( - d + 1 . 0 )$ as rewards. 1.0 is a bonus. ",
|
| 575 |
+
"bbox": [
|
| 576 |
+
215,
|
| 577 |
+
333,
|
| 578 |
+
825,
|
| 579 |
+
414
|
| 580 |
+
],
|
| 581 |
+
"page_idx": 6
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"type": "text",
|
| 585 |
+
"text": "For the last task of discrete control, we use the following baselines in the experiments: DQN (Mnih et al., 2015) and $\\mathrm { D Q N + H E R }$ , which uses HER to enhance the replay in DQN. ",
|
| 586 |
+
"bbox": [
|
| 587 |
+
171,
|
| 588 |
+
426,
|
| 589 |
+
823,
|
| 590 |
+
455
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 6
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "• DQN, which is a powerful model-free RL algorithm for discrete action spaces (Mnih et al., 2015). \n• $\\mathrm { D Q N + H E R }$ , which uses HER to enhance the replay in DQN. \n• DQN (dense), which uses the negative distance $( - d )$ as dense rewards. \n• DQN (dense-2), which uses the negative distance $( - d )$ as dense rewards. However, if $d = 0 . 0$ (i.e., success) it uses $( - d + 1 . 0 )$ as rewards instead. 1.0 is a bonus. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
215,
|
| 599 |
+
465,
|
| 600 |
+
825,
|
| 601 |
+
568
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 6
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "4.3 COMPARISON RESULTS ON THE ROBOTIC ENVIRONMENTS ",
|
| 608 |
+
"text_level": 1,
|
| 609 |
+
"bbox": [
|
| 610 |
+
174,
|
| 611 |
+
585,
|
| 612 |
+
612,
|
| 613 |
+
599
|
| 614 |
+
],
|
| 615 |
+
"page_idx": 6
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"type": "text",
|
| 619 |
+
"text": "For the continuous control, we present three sets of comparison results in Figure 3 for the first three tasks, respectively. Consistently, the results show our DHER algorithm outperforms the others. The two baselines are not able to catch up even after we train them for thousands of iterations. Vanilla DDPG is slightly better than the version with HER. HER does not benefit DDPG in these tasks because the goals in HER are fixed, fundamentally misleading the agent in the attempt of solving the tasks with dynamic goals. The results of DDPG (dense) and DDPG (dense-2) suggest that even the dense rewards do not work well as they are agnostic to the task of interest. A good reward shaping may give rise to better performance by carefully tuning it for the task of dynamic goals. ",
|
| 620 |
+
"bbox": [
|
| 621 |
+
173,
|
| 622 |
+
611,
|
| 623 |
+
825,
|
| 624 |
+
723
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 6
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "Comparing Figure 3a and Figure 3b with Figure 3c, we find that DHER learns faster in Dy-Reaching and Dy-Circling than Dy-Pushing probably because Dy-Reaching and Dy-Circling are easier tasks than Dy-Pushing. In Dy-Pushing, all the algorithms take a fairly big amount of time to explore without receiving any positive feedback. However, the more failed experiences the agent encounters, the better change our algorithm is able to identify relevant episodes from them for assembling useful dynamic goals. As a result, DHER is able to pick up the momentum and learns faster and better than the baselines after a certain point. In Figure 3a, the performance decreases a little. The reason may be that as successful experience increases, some assembled experience is inconsistent with these successful experience. ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
174,
|
| 633 |
+
729,
|
| 634 |
+
825,
|
| 635 |
+
854
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "4.3.1 COMPARISON USING DIFFERENT VELOCITIES OF GOALS",
|
| 642 |
+
"text_level": 1,
|
| 643 |
+
"bbox": [
|
| 644 |
+
174,
|
| 645 |
+
872,
|
| 646 |
+
612,
|
| 647 |
+
885
|
| 648 |
+
],
|
| 649 |
+
"page_idx": 6
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "text",
|
| 653 |
+
"text": "To show the performance of our method on more complex tasks with different velocities, we study different methods in Dy-Reaching environment as shown in Figures 4 and 5 with the same physical properties as the previous experiments. Overall the results show our method is much better than DDPG and HER. As a reminder, the threshold for calculating rewards we used is 0.01. In Figure 4, the task becomes an easier task because of the slower velocity. It shows that our method quickly achieves to a good result around 5 epoch. Comparing with Figure 3a, it shows that the performance with $v = 0 . 0 0 1$ is better than the performance with $v = 0 . 0 1 1$ and get $1 5 \\%$ improvements. However, it also shows the performance with $v = 0 . 0 1 6$ is worse than the performance with $v = 0 . 0 1 1$ . Both DDPG and $\\mathrm { \\Delta D D P G + H E R }$ failed when $v = 0 . 0 1 6$ and their performance is 0. This performance is consistent because the task becomes more difficult when the velocity increases. ",
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
895,
|
| 657 |
+
820,
|
| 658 |
+
924
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "image",
|
| 664 |
+
"img_path": "images/14dd0b3e1878d3f49fb1b7d44ca84006cca0ac15133dc036aef116910149f401.jpg",
|
| 665 |
+
"image_caption": [
|
| 666 |
+
"Figure 6: Snake with dynamic goals. "
|
| 667 |
+
],
|
| 668 |
+
"image_footnote": [],
|
| 669 |
+
"bbox": [
|
| 670 |
+
220,
|
| 671 |
+
103,
|
| 672 |
+
450,
|
| 673 |
+
242
|
| 674 |
+
],
|
| 675 |
+
"page_idx": 7
|
| 676 |
+
},
|
| 677 |
+
{
|
| 678 |
+
"type": "image",
|
| 679 |
+
"img_path": "images/97b49eb4c50a91b591b5c09b7c8417f90a64b3336f8b06a8631418b78f185b01.jpg",
|
| 680 |
+
"image_caption": [
|
| 681 |
+
"Figure 7: Special: $\\mathrm { H E R + }$ knows how goals move. "
|
| 682 |
+
],
|
| 683 |
+
"image_footnote": [],
|
| 684 |
+
"bbox": [
|
| 685 |
+
545,
|
| 686 |
+
102,
|
| 687 |
+
774,
|
| 688 |
+
242
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 7
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "",
|
| 695 |
+
"bbox": [
|
| 696 |
+
174,
|
| 697 |
+
306,
|
| 698 |
+
825,
|
| 699 |
+
416
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 7
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "4.4 COMPARISON ON THE DYNAMIC SNAKE ENVIRONMENT ",
|
| 706 |
+
"text_level": 1,
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
445,
|
| 710 |
+
594,
|
| 711 |
+
458
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 7
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "In the Dy-Snake environment, which is a discrete control environment, we present the results of the chasing food task in Figure 6. The results show that the proposed algorithm works best. DQN is better than HER. HER fails for this task. That HER fails for this task shows just using achieved goals is not enough for the tasks with dynamic goals and can lead wrong direction. The results also show that around 800 episodes, the performance of DQN and DHER is close and DHER is slightly better than DQN. This is because the chasing food task is a simple task. The action space is very small and just 4 types of actions. After enough exploration, DQN also has competitive performance. However, at the beginning, DHER quickly achieves very good performance. It shows that assembling experience from two failures improves the performance very efficiently in this task. DQN (dense) and DQN (dense-2) help learn the policy at the early stage. However, in the long run, it does not lead to any particular benefits. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
173,
|
| 720 |
+
473,
|
| 721 |
+
825,
|
| 722 |
+
626
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 7
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "4.5 SIM TO REAL ADAPTATION ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
176,
|
| 732 |
+
654,
|
| 733 |
+
398,
|
| 734 |
+
666
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 7
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "We used policies for Dy-Circling task and a new Pouring task trained in our simulator 3 to deploy them on a physical robot. As shown in Figure 8, the policies were trained by using DHER and adapted to the real robot without any finetuning. However, the policy requires accurate localizations of the gripper and the goal. For Dy-Circling task, the robot’s gripper was blocked. There were a toy turntable, whose speed is unknown, and a blue block on the turntable. We set the position 1cm above the block as the target position. The position of the block was predicted based on traditional contour shape analysis using camera images. For Pouring task, the robot gripped a can. A man held a cup and moved it. The cup was set as the target and with a green marker. We used the marker to estimate its position. ",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
683,
|
| 744 |
+
825,
|
| 745 |
+
808
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 7
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "Our policies were transferred successfully for both tasks. With the accurate positions, we have $100 \\%$ success rate for 5 trials. It was observed that the robot had learned to not only follow the current target but also step forward to the future target position. Demo videos about the experiments are available at https://sites.google.com/view/dher. ",
|
| 752 |
+
"bbox": [
|
| 753 |
+
174,
|
| 754 |
+
815,
|
| 755 |
+
823,
|
| 756 |
+
871
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 7
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "image",
|
| 762 |
+
"img_path": "images/ff03243dba37e8e374b610dab429ef50349cfd9bf2cd37e4c19e2d40e16ac98c.jpg",
|
| 763 |
+
"image_caption": [
|
| 764 |
+
"Figure 8: Adapting the policies trained based on DHER from our simulation to a real robotic arm. "
|
| 765 |
+
],
|
| 766 |
+
"image_footnote": [],
|
| 767 |
+
"bbox": [
|
| 768 |
+
179,
|
| 769 |
+
106,
|
| 770 |
+
820,
|
| 771 |
+
193
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 8
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "4.6 SPECIAL CASE: HOW ABOUT IF HER KNOWS THE LAW OF THE MOTION OF A GOAL",
|
| 778 |
+
"bbox": [
|
| 779 |
+
171,
|
| 780 |
+
237,
|
| 781 |
+
787,
|
| 782 |
+
251
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 8
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "We use Dy-Snake to demonstrate the experimental results for a special case that the law of the motion of the target (food) is known to agents. Because the motion of the food is very simple and controllable in Dy-Snake environment. We develop a direct extension of HER, called $\\mathrm { H E R + }$ , that modifies desired goals at every timestep based on the law of the motion of the food to create successful experience. More details of $\\mathrm { H E R + }$ are described in the appendix. ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
174,
|
| 791 |
+
262,
|
| 792 |
+
825,
|
| 793 |
+
332
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 8
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "We show the results in Figure 7. DHER and $\\mathrm { H E R + }$ are both better than DQN at the beginning. DHER is slightly better than $\\mathrm { H E R + }$ , which shows the efficiency of DHER is comparable in this simple task. ",
|
| 800 |
+
"bbox": [
|
| 801 |
+
176,
|
| 802 |
+
338,
|
| 803 |
+
823,
|
| 804 |
+
381
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 8
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "5 CONCLUSION ",
|
| 811 |
+
"text_level": 1,
|
| 812 |
+
"bbox": [
|
| 813 |
+
176,
|
| 814 |
+
401,
|
| 815 |
+
318,
|
| 816 |
+
417
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 8
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "We introduced a novel technique that assembles successful experience from a couple of failures. With this technique, our proposed algorithm called DHER ( Dynamic Hindsight Experience Replay) is able to address the tasks with sparse rewards and dynamic goals. Our technique can be combined with an arbitrary off-policy RL algorithm and we experimentally demonstrated that with DQN and DDPG. As far as we know, it is the first time that an agent is allowed to learn from assembled experience from two failures. ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
174,
|
| 825 |
+
433,
|
| 826 |
+
825,
|
| 827 |
+
516
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 8
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 834 |
+
"text_level": 1,
|
| 835 |
+
"bbox": [
|
| 836 |
+
176,
|
| 837 |
+
537,
|
| 838 |
+
356,
|
| 839 |
+
553
|
| 840 |
+
],
|
| 841 |
+
"page_idx": 8
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"type": "text",
|
| 845 |
+
"text": "We would like to thank Weitao Xi, Tianzhou Wang, Tingguang Li for performing some additional transfer experiments. We would also like to thank Han Liu and the whole RL team for fruitful discussions as well as the anonymous reviewers for their comments. ",
|
| 846 |
+
"bbox": [
|
| 847 |
+
174,
|
| 848 |
+
568,
|
| 849 |
+
825,
|
| 850 |
+
609
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 8
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "REFERENCES ",
|
| 857 |
+
"text_level": 1,
|
| 858 |
+
"bbox": [
|
| 859 |
+
176,
|
| 860 |
+
631,
|
| 861 |
+
285,
|
| 862 |
+
646
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 8
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Marcin Andrychowicz, Filip Wolski, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Josh Tobin, OpenAI. Pieter Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Advances in Neural Information Processing Systems, pp. 5048–5058, 2017. \nMarc G. Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47:253–279, 2013. ISSN 1076-9757. \nYoshua Bengio, Jrme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In Proceedings of the 26th International Conference on Machine Learning, pp. 41–48. ACM, 2009. \nGreg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym, 2016. \nMaurizio Di Rocco, Federico Pecora, Prasanna Kumar Sivakumar, and Alessandro Saffiotti. Configuration planning with multiple dynamic goals. In AAAI Spring Symposium: Designing Intelligent Robots, 2013. \nYan Duan, Xi Chen, Rein Houthooft, John Schulman, and Pieter Abbeel. Benchmarking deep reinforcement learning for continuous control. In Proceedings of the 33rd International Conference on Machine Learning, pp. 1329–1338, 2016. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
171,
|
| 871 |
+
654,
|
| 872 |
+
826,
|
| 873 |
+
925
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 8
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Carlos Florensa, David Held, Xinyang Geng, and Pieter Abbeel. Automatic goal generation for reinforcement learning agents. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pp. 1515–1528, 2018. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
176,
|
| 882 |
+
103,
|
| 883 |
+
823,
|
| 884 |
+
146
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 9
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "Nicolas Heess, Dhruva TB, Srinivasan Sriram, Jay Lemmon, Josh Merel, Greg Wayne, Yuval Tassa, Tom Erez, Ziyu Wang, S. M. Ali Eslami, Martin A. Riedmiller, and David Silver. Emergence of locomotion behaviours in rich environments. CoRR, abs/1707.02286, 2017. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
176,
|
| 893 |
+
155,
|
| 894 |
+
820,
|
| 895 |
+
198
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 9
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Leslie Pack Kaelbling. Learning to achieve goals. In Proceedings of the 13th International Joint Conference on Artificial Intelligence, pp. 1094–1099. Citeseer, 1993. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
173,
|
| 904 |
+
207,
|
| 905 |
+
821,
|
| 906 |
+
236
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 9
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
173,
|
| 915 |
+
244,
|
| 916 |
+
823,
|
| 917 |
+
286
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 9
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Long-Ji Lin. Self-improving reactive agents based on reinforcement learning, planning and teaching. Machine Learning, 8(3-4):293–321, 1992. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
173,
|
| 926 |
+
295,
|
| 927 |
+
820,
|
| 928 |
+
325
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 9
|
| 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, 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, 518:529, 2015. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
173,
|
| 937 |
+
333,
|
| 938 |
+
825,
|
| 939 |
+
404
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 9
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Sanmit Narvekar, Jivko Sinapov, and Peter Stone. Autonomous task sequencing for customized curriculum design in reinforcement learning. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, volume 147, pp. 149, 2017. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
171,
|
| 948 |
+
412,
|
| 949 |
+
825,
|
| 950 |
+
457
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 9
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Andrew Y. Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In Proceedings of the 16th International Conference on Machine Learning, volume 99, pp. 278–287, 1999. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
174,
|
| 959 |
+
463,
|
| 960 |
+
823,
|
| 961 |
+
507
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 9
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Tom Schaul, Daniel Horgan, Karol Gregor, and David Silver. Universal value function approximators. In Proceedings of the 32nd International Conference on Machine Learning, pp. 1312–1320, 2015a. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
174,
|
| 970 |
+
515,
|
| 971 |
+
825,
|
| 972 |
+
558
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 9
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015b. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
171,
|
| 981 |
+
566,
|
| 982 |
+
823,
|
| 983 |
+
597
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 9
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "John Schulman, Sergey Levine, Philipp Moritz, Michael I. Jordan, and Pieter Abbeel. Trust region policy optimization. CoRR, abs/1502.05477, 2015. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
171,
|
| 992 |
+
604,
|
| 993 |
+
825,
|
| 994 |
+
635
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 9
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
171,
|
| 1003 |
+
642,
|
| 1004 |
+
823,
|
| 1005 |
+
672
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 9
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. Nature, 529(7587):484, 2016. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
176,
|
| 1014 |
+
680,
|
| 1015 |
+
823,
|
| 1016 |
+
723
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 9
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 5026–5033. IEEE, 2012. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
173,
|
| 1025 |
+
732,
|
| 1026 |
+
825,
|
| 1027 |
+
775
|
| 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. CoRR, abs/1611.01224, 2016. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
174,
|
| 1036 |
+
784,
|
| 1037 |
+
825,
|
| 1038 |
+
827
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 9
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "APPENDIX ",
|
| 1045 |
+
"text_level": 1,
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
176,
|
| 1048 |
+
103,
|
| 1049 |
+
263,
|
| 1050 |
+
117
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 10
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "TASKS WITH DYNAMIC GOALS ",
|
| 1057 |
+
"text_level": 1,
|
| 1058 |
+
"bbox": [
|
| 1059 |
+
176,
|
| 1060 |
+
135,
|
| 1061 |
+
385,
|
| 1062 |
+
148
|
| 1063 |
+
],
|
| 1064 |
+
"page_idx": 10
|
| 1065 |
+
},
|
| 1066 |
+
{
|
| 1067 |
+
"type": "text",
|
| 1068 |
+
"text": "We have created four tasks as described below and illustrated by Figure 2. The first three tasks are based on the robotic environments. The last is based on the GREEDY SNAKE environment. ",
|
| 1069 |
+
"bbox": [
|
| 1070 |
+
173,
|
| 1071 |
+
161,
|
| 1072 |
+
825,
|
| 1073 |
+
189
|
| 1074 |
+
],
|
| 1075 |
+
"page_idx": 10
|
| 1076 |
+
},
|
| 1077 |
+
{
|
| 1078 |
+
"type": "text",
|
| 1079 |
+
"text": "• Dy-Reaching: The task is to control the robotic arm so that its gripper can reach the target position. The target position moves from one point to another along a straight line with a constant velocity. \n• Dy-Circling: The task is to control the robotic arm so that its gripper can reach the target position. The target position moves along a circle with a constant velocity. Dy-Pushing: in this task, a box is placed on a table in front of the robotic arm. The robot is required to move the box to the target location on the table. The target location moves from one position to another with a fixed velocity. Note that the robot’s grippers are locked to prevent it from grasping. The learned behavior is actually a mixture of pushing and rolling. \nDy-Snake: in this task, a snake and food are placed on a rectangle map and the task is to control the snake to eat the food. The food is moving from one position to another position with a fixed velocity. ",
|
| 1080 |
+
"bbox": [
|
| 1081 |
+
215,
|
| 1082 |
+
202,
|
| 1083 |
+
825,
|
| 1084 |
+
388
|
| 1085 |
+
],
|
| 1086 |
+
"page_idx": 10
|
| 1087 |
+
},
|
| 1088 |
+
{
|
| 1089 |
+
"type": "text",
|
| 1090 |
+
"text": "HARDWARE ",
|
| 1091 |
+
"text_level": 1,
|
| 1092 |
+
"bbox": [
|
| 1093 |
+
174,
|
| 1094 |
+
407,
|
| 1095 |
+
258,
|
| 1096 |
+
421
|
| 1097 |
+
],
|
| 1098 |
+
"page_idx": 10
|
| 1099 |
+
},
|
| 1100 |
+
{
|
| 1101 |
+
"type": "text",
|
| 1102 |
+
"text": "We use the Universal Robots UR10 with a gripper. We use a RealSense Camera SR300 to track the position of objects. The gripper is blocked. We use a marker on the gripper for camera calibration. During adapting the robot, for the position of the target, we use the camera to estimate it. ",
|
| 1103 |
+
"bbox": [
|
| 1104 |
+
176,
|
| 1105 |
+
434,
|
| 1106 |
+
825,
|
| 1107 |
+
477
|
| 1108 |
+
],
|
| 1109 |
+
"page_idx": 10
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"type": "text",
|
| 1113 |
+
"text": "SIMULATION ",
|
| 1114 |
+
"text_level": 1,
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
176,
|
| 1117 |
+
496,
|
| 1118 |
+
264,
|
| 1119 |
+
508
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 10
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "text",
|
| 1125 |
+
"text": "We simulate the physical system using the MuJoCo physics engine (Todorov et al., 2012) and also use MuJoCo to render the images. In our tasks, we use positions provided by MuJoCo for training policies in the simulation. ",
|
| 1126 |
+
"bbox": [
|
| 1127 |
+
176,
|
| 1128 |
+
522,
|
| 1129 |
+
825,
|
| 1130 |
+
563
|
| 1131 |
+
],
|
| 1132 |
+
"page_idx": 10
|
| 1133 |
+
},
|
| 1134 |
+
{
|
| 1135 |
+
"type": "text",
|
| 1136 |
+
"text": "In Figure 9, we demonstrate our simulation and the physics environment. ",
|
| 1137 |
+
"bbox": [
|
| 1138 |
+
173,
|
| 1139 |
+
570,
|
| 1140 |
+
651,
|
| 1141 |
+
585
|
| 1142 |
+
],
|
| 1143 |
+
"page_idx": 10
|
| 1144 |
+
},
|
| 1145 |
+
{
|
| 1146 |
+
"type": "image",
|
| 1147 |
+
"img_path": "images/0ab0a04331e1ed7ee05503beb83d72a71ddd08962ea6776f4dbc386edf14fc2c.jpg",
|
| 1148 |
+
"image_caption": [
|
| 1149 |
+
"Figure 9: Our simulation and the physics environment. "
|
| 1150 |
+
],
|
| 1151 |
+
"image_footnote": [],
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
215,
|
| 1154 |
+
604,
|
| 1155 |
+
782,
|
| 1156 |
+
800
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 10
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "A SPECIAL AND SIMPLER CASE - HER+",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
176,
|
| 1165 |
+
868,
|
| 1166 |
+
455,
|
| 1167 |
+
882
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 10
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "The paper considers a general situation that the law of the motion of goals is invisible to an agent. However, we relax this assumption and assume that in some situations the law of the motion of goals is easy to obtain, i.e., the parameters of $g ( t ; \\gamma )$ are known. For example, it is able to calculate the velocity of an object by observing the trajectories of the object. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
173,
|
| 1176 |
+
895,
|
| 1177 |
+
823,
|
| 1178 |
+
924
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 10
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
171,
|
| 1187 |
+
103,
|
| 1188 |
+
823,
|
| 1189 |
+
132
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 11
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "In this situation, we do not need to search failed experience. With the knowledge of the velocity of an object, it is straightforward that we can calculate any trajectory of desired goals. Thus for every failed experience, at any time step $t$ , based on the achieved goal $g _ { t } ^ { a c }$ , we calculate new desired goals $g _ { t } ^ { d e } = g ( { \\dot { t } } )$ corresponding to the achieved goals in order to construct successful experience. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
174,
|
| 1198 |
+
138,
|
| 1199 |
+
825,
|
| 1200 |
+
195
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 11
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "The details of $\\mathrm { H E R + }$ are described in Algorithm 2. $\\mathrm { H E R + }$ can be seen as a direct extension of HER. HER and $\\mathrm { H E R + }$ can modify any failed experience to successful experience because they both assume the law of the motion of goals is known. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
176,
|
| 1209 |
+
202,
|
| 1210 |
+
821,
|
| 1211 |
+
244
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 11
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Algorithm 2 Hindsight Experience Replay Plus ",
|
| 1218 |
+
"text_level": 1,
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
176,
|
| 1221 |
+
260,
|
| 1222 |
+
490,
|
| 1223 |
+
275
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 11
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Require: an off-policy RL algorithm A, replay buffer $R$ , a reward function $r$ \n1: Initialize A and replay buffer $R$ \n2: for episode $\\mathbf { \\Omega } = 1 , 2 , \\cdots , M$ do \n3: Sample an initial goal $g _ { 0 }$ and an initial state $s _ { 0 }$ \n4: for $t = 0 , \\cdots , T - 1$ do \n5: Sample an action $a _ { t }$ using the behavioral policy from A: \n6: $a _ { t } \\doteq \\pi ( s _ { t } | g _ { t } )$ \n7: Execute the action $a _ { t }$ and observe a new state $s _ { t + 1 }$ and a new goal $g _ { t + 1 }$ \n8: end for \n9: for $t = 0 , \\cdots , T - 1$ do \n10: $r _ { t } : = r ( s _ { t } , a _ { t } , g _ { t + 1 } )$ \n11: Store the transitions $\\left( s _ { t } | g _ { t } , a _ { t } , r _ { t } , s _ { t + 1 } | g _ { t + 1 } \\right)$ in $R$ (Standard experience replay) \n12: Sample a set of the achieved goals of $E _ { i }$ as additional goals for reply $G ^ { \\prime }$ \n13: for $\\bar { g _ { p } ^ { \\prime } } \\in G ^ { \\prime }$ do \n14: Calculate a goal trajectory $\\{ g _ { 0 } ^ { \\prime } , \\cdots , g _ { p } ^ { \\prime } \\}$ where $g _ { t } ^ { \\prime } = g ( t ; \\gamma )$ $\\mathrm { ( H E R + ) }$ \n15: for $t = \\{ 0 , \\cdots , p - 1 \\}$ do \n16: $r _ { t } ^ { \\prime } : = r ( s _ { i , t } , a _ { i , t } , g _ { t + 1 } ^ { \\prime } )$ \n17: Store the transition $\\left( s _ { i , t } | g _ { t } ^ { \\prime } , a _ { i , t } , r _ { t } ^ { \\prime } , s _ { i , t + 1 } | g _ { t + 1 } ^ { \\prime } \\right) \\mathrm { i n } R$ \n18: end for \n19: end for \n20: end for \n21: end for ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
176,
|
| 1232 |
+
280,
|
| 1233 |
+
766,
|
| 1234 |
+
589
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 11
|
| 1237 |
+
}
|
| 1238 |
+
]
|
parse/train/Byf5-30qFX/Byf5-30qFX_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/Byf5-30qFX/Byf5-30qFX_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HygrdpVKvr/HygrdpVKvr_content_list.json
ADDED
|
@@ -0,0 +1,1647 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "NAS EVALUATION IS FRUSTRATINGLY HARD ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
101,
|
| 9 |
+
705,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Antoine Yang∗ Ecole Polytechnique ´ † France ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
145,
|
| 20 |
+
325,
|
| 21 |
+
188
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Pedro M Esperanc¸a Huawei Noah’s Ark Lab London, UK ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
382,
|
| 30 |
+
145,
|
| 31 |
+
545,
|
| 32 |
+
186
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Fabio Maria Carlucci Huawei Noah’s Ark Lab London, UK ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
606,
|
| 41 |
+
145,
|
| 42 |
+
769,
|
| 43 |
+
186
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "ABSTRACT ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
454,
|
| 53 |
+
226,
|
| 54 |
+
544,
|
| 55 |
+
241
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Neural Architecture Search (NAS) is an exciting new field which promises to be as much as a game-changer as Convolutional Neural Networks were in 2012. Despite many great works leading to substantial improvements on a variety of tasks, comparison between different methods is still very much an open issue. While most algorithms are tested on the same datasets, there is no shared experimental protocol followed by all. As such, and due to the under-use of ablation studies, there is a lack of clarity regarding why certain methods are more effective than others. Our first contribution is a benchmark of 8 NAS methods on 5 datasets. To overcome the hurdle of comparing methods with different search spaces, we propose using a method’s relative improvement over the randomly sampled average architecture, which effectively removes advantages arising from expertly engineered search spaces or training protocols. Surprisingly, we find that many NAS techniques struggle to significantly beat the average architecture baseline. We perform further experiments with the commonly used DARTS search space in order to understand the contribution of each component in the NAS pipeline. These experiments highlight that: (i) the use of tricks in the evaluation protocol has a predominant impact on the reported performance of architectures; (ii) the cell-based search space has a very narrow accuracy range, such that the seed has a considerable impact on architecture rankings; (iii) the hand-designed macrostructure (cells) is more important than the searched micro-structure (operations); and (iv) the depth-gap is a real phenomenon, evidenced by the change in rankings between 8 and 20 cell architectures. To conclude, we suggest best practices, that we hope will prove useful for the community and help mitigate current NAS pitfalls, e.g. difficulties in reproducibility and comparison of search methods. The code used is available at https://github.com/antoyang/NAS-Benchmark. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
232,
|
| 64 |
+
256,
|
| 65 |
+
764,
|
| 66 |
+
603
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
628,
|
| 77 |
+
336,
|
| 78 |
+
643
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "As the deep learning revolution helped us move away from hand crafted features (Krizhevsky et al., 2012) and reach new heights (He et al., 2016; Szegedy et al., 2017), so does Neural Architecture Search (NAS) hold the promise of freeing us from hand-crafted architectures, which requires tedious and expensive tuning for each new task or dataset. Identifying the optimal architecture is indeed a key pillar of any Automated Machine Learning (AutoML) pipeline. Research in the last two years has proceeded at a rapid pace and many search strategies have been proposed, from Reinforcement Learning (Zoph & Le, 2017; Pham et al., 2018), to Evolutionary Algorithms (Real et al., 2017), to Gradient-based methods (Liu et al., 2019; Liang et al., 2019). Still, it remains unclear which approach and search algorithm is preferable. Typically, methods have been evaluated on accuracy alone, even though accuracy is influenced by many other factors besides the search algorithm. Comparison between published search algorithms for NAS is therefore either very difficult (complex training protocols with no code available) or simply impossible (different search spaces), as previously pointed out (Li & Talwalkar, 2019; Sciuto et al., 2019; Lindauer & Hutter, 2019). ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
660,
|
| 88 |
+
825,
|
| 89 |
+
840
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "NAS methods have been typically decomposed into three components (Elsken et al., 2019; Li & Talwalkar, 2019): search space, search strategy and model evaluation strategy. This division is important to keep in mind, as an improvement in any of these elements will lead to a better final performance. But is a method with a more (manually) tuned search space a better AutoML algorithm? If the key idea behind NAS is to find the optimal architecture, without human intervention, why are we devoting so much energy to infuse expert knowledge into the pipeline? Furthermore, the lack of ablation studies in most works makes it harder to pinpoint which components are instrumental to the final performance, which can easily lead to Hypothesizing After the Results are Known (HARKing; Gencoglu et al., 2019). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
178,
|
| 98 |
+
847,
|
| 99 |
+
825,
|
| 100 |
+
876
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
825,
|
| 111 |
+
200
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Paradoxically, the huge effort invested in finding better search spaces and training protocols, has led to a situation in which any randomly sampled architecture performs almost as well as those obtained by the search strategies. Our findings suggest that most of the gains in accuracy in recent contributions to NAS have come from manual improvements in the training protocol, not in the search algorithms. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
208,
|
| 121 |
+
825,
|
| 122 |
+
277
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "As a step towards understanding which methods are more effective, we have collected code for 8 reasonably fast (search time of less than 4 days) NAS algorithms, and benchmarked them on 5 well known CV datasets. Using a simple metric—the relative improvement over the average architecture of the search space—we find that most NAS methods perform very similarly and rarely substantially above this baseline. The methods used are DARTS, StacNAS, PDARTS, MANAS, CNAS, NSGANET, ENAS and NAO. The datasets used are CIFAR10, CIFAR100, SPORT8, MIT67 and FLOWERS102. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
285,
|
| 132 |
+
825,
|
| 133 |
+
382
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "Through a number of additional experiments on the widely used DARTS search space (Liu et al., 2019), we will show that: (a) how you train your model has a much bigger impact than the actual architecture chosen; (b) different architectures from the same search space perform very similarly, so much so that (c) hyperparameters, like the number of cells, or the seed itself have a very significant effect on the ranking; and (d) the specific operations themselves have less impact on the final accuracy than the hand-designed macro-structure of the network. Notably, we find that the $2 0 0 +$ architectures sampled from this search space (available from the link in the abstract) are all within a range of one percentage point (top-1 accuracy) after a standard full training on CIFAR10. Finally, we include some observations on how to foster reproducibility and a discussion on how to potentially avoid some of the encountered pitfalls. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
174,
|
| 142 |
+
388,
|
| 143 |
+
825,
|
| 144 |
+
527
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "2 RELATED WORK ",
|
| 151 |
+
"text_level": 1,
|
| 152 |
+
"bbox": [
|
| 153 |
+
176,
|
| 154 |
+
563,
|
| 155 |
+
339,
|
| 156 |
+
579
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "As mentioned, NAS methods have the potential to truly revolutionize the field, but to do so it is crucial that future research avoids common mistakes. Some of these concerns have been recently raised by the community. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
178,
|
| 165 |
+
603,
|
| 166 |
+
821,
|
| 167 |
+
645
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "For example, Li & Talwalkar (2019) highlight that most NAS methods a) fail to compare against an adequate baseline, such as a properly implemented random search strategy, b) are overly complex, with no ablation to properly assign credit to the important components, and c) fail to provide all details needed for successfully reproducing their results. In our paper we go one step further and argue that the relative improvement over the average (randomly sampled) architecture is an useful tool to quantify the effectiveness of a proposed solution and compare it with competing methods. To partly answer their second point, and understand how much the final accuracy depends on the specific architecture, we implement an in-depth study of the widely employed DARTS (Liu et al., 2019) search space and perform an ablation on the commonly used training techniques (e.g. Cutout, DropPath, AutoAugment). ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
652,
|
| 177 |
+
825,
|
| 178 |
+
791
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "In addition, Sciuto et al. (2019) also took the important step of systematically using fair baselines, and suggest random search with early stopping, averaged over multiple seeds, as an extremely competitive baseline. They find that the search spaces of three methods investigated (DARTS, ENAS, NAO) have been expertly engineered to the extent that any randomly selected architecture performs very well. In contrast, we show that even random sampling (without search) provides an incredibly competitive baseline. Our relative improvement metric allows us to isolate the contribution of the search strategy from the effects of the search space and training pipeline. Thus, we further confirm the authors’ claim, showing that indeed the average architecture performs extremely well and that how you train a model has more impact than any specific architecture. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
797,
|
| 188 |
+
825,
|
| 189 |
+
924
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "3 NAS BENCHMARK ",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
176,
|
| 199 |
+
102,
|
| 200 |
+
362,
|
| 201 |
+
118
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 2
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "In this section we present a systematic evaluation of 8 methods on 5 datasets using a strategy that is designed to reveal the quality of each method’s search strategy, removing the effect of the manuallyengineered training protocol and search space. The goal is to find general trends and highlight common features rather than just pin-pointing the most accurate algorithm. ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
174,
|
| 210 |
+
136,
|
| 211 |
+
823,
|
| 212 |
+
193
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "text",
|
| 218 |
+
"text": "Understanding why methods are effective is not an easy task: most introduce variations to previous search spaces, search strategies, and training protocols—with ablations disentangling the contribution of each component often incomplete or missing. In other words, how can we be sure that a new state-of-the-art method is not so simply due to a better engineered search space or training protocol? To address this issue we compare a set of 8 methods with randomly sampled architectures from their respective search spaces, and trained with the same protocol as the searched architectures. ",
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
199,
|
| 222 |
+
825,
|
| 223 |
+
284
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "The ultimate goal behind NAS should be to return the optimal model for any dataset given, at least within the limits of a certain task, and we feel that the current practices of searching almost exclusively on CIFAR10 go against this principle. Indeed, to avoid the very concrete risk of overfitting to this set of data, NAS methods should be tested on a variety of tasks. For this reason we run experiments on 5 different datasets. ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
174,
|
| 232 |
+
290,
|
| 233 |
+
825,
|
| 234 |
+
359
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "3.1 METHODOLOGY ",
|
| 241 |
+
"text_level": 1,
|
| 242 |
+
"bbox": [
|
| 243 |
+
176,
|
| 244 |
+
381,
|
| 245 |
+
326,
|
| 246 |
+
396
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "Criteria for dataset selection. We selected datasets to cover a variety of subtasks within image classification. In addition to the standard CIFAR10 we select CIFAR100 for a more challenging object classification problem (Krizhevsky, 2009); SPORT8 for action classification (Li & Fei-Fei, 2007); MIT67 for scene classification (Quattoni & Torralba, 2009); and FLOWERS102 for finegrained object classification (Nilsback & Zisserman, 2008). More details are given in the Appendix. ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
174,
|
| 255 |
+
410,
|
| 256 |
+
825,
|
| 257 |
+
479
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "Criteria for method selection. We selected methods which (a) have open-source code, or provided it upon request, and (b) have a reasonable running time, specifically a search time under 4 GPU-days on CIFAR10. The selected methods are: DARTS (Liu et al., 2019), StacNAS (Li et al., 2019), PDARTS (Xin Chen, 2019), MANAS (Carlucci et al., 2019), CNAS (Weng et al., 2019), NSGANET (Lu et al., 2018), ENAS (Pham et al., 2018), and NAO (Luo et al., 2018). With the exception of NAO and NSGANET, all methods are DARTS variants and use weight sharing. ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
174,
|
| 266 |
+
500,
|
| 267 |
+
825,
|
| 268 |
+
583
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "Evaluation protocol. NAS algorithms usually consist of two phases: (i) search, producing the best architecture according to the search algorithm used; (ii) augmentation, consisting in training from scratch the best model found in the search phase. We evaluate methods as follows: 1. Sample 8 architectures from the search space, uniformly at random, and use the method’s code to augment these architectures (same augment seed for all); 2. Use the method’s code to search for 8 architectures and augment them (different search seed, same augment seed); 3. Report mean and standard deviation of the top-1 test accuracy, obtained at the end of the augmentation, for both the randomly sampled and the searched architectures; ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
174,
|
| 277 |
+
603,
|
| 278 |
+
825,
|
| 279 |
+
714
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "Since both learned and randomly sampled architectures share the same search space and training protocol, calculating a relative improvement over this random baseline as $R I = 1 0 0 \\times ( A c c _ { m } -$ $A c c _ { r } ) / A c c _ { r }$ can offer insights into the quality of the search strategy alone. $A c c _ { m }$ and $A c c _ { r }$ represent the top-1 accuracy of the search method and random sampling strategies, respectively. A good, general-purpose NAS method is expected to yield $R I > 0$ consistently over different searches and across different subtasks. We emphasize that the comparison is not against random search, but rather against random sampling, i.e., the average architecture of the search space. For example, in the DARTS search space, for each edge in the graph that defines a cell we select one out of eight possible operations (e.g. pooling or convolutions) with uniform probability $1 / 8$ . ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
722,
|
| 289 |
+
825,
|
| 290 |
+
848
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 2
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "Hyperparameters are optimized on CIFAR10, according to the values reported by the corresponding authors. Since most methods do not include their optimization as part of the search routine, we assumed them to be robust and generalizable to other tasks. As such, aside from scaling down the architecture depending on dataset size, experiments on other datasets use the same hyperparameters. Other training details and references are given in the Appendix. ",
|
| 297 |
+
"bbox": [
|
| 298 |
+
174,
|
| 299 |
+
854,
|
| 300 |
+
823,
|
| 301 |
+
924
|
| 302 |
+
],
|
| 303 |
+
"page_idx": 2
|
| 304 |
+
},
|
| 305 |
+
{
|
| 306 |
+
"type": "image",
|
| 307 |
+
"img_path": "images/edf5f8a33f5bb147c60a4fc8d6e36c6306bb7276930131c944ec9914b79e4870.jpg",
|
| 308 |
+
"image_caption": [
|
| 309 |
+
"Figure 1: Comparison of search methods and random sampling from their respective search spaces. Methods lying in the diagonal perform the same as the average architecture, while methods above the diagonal outperform it. See also Table 1. "
|
| 310 |
+
],
|
| 311 |
+
"image_footnote": [],
|
| 312 |
+
"bbox": [
|
| 313 |
+
176,
|
| 314 |
+
107,
|
| 315 |
+
818,
|
| 316 |
+
441
|
| 317 |
+
],
|
| 318 |
+
"page_idx": 3
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"type": "image",
|
| 322 |
+
"img_path": "images/3203460b279ee612939f03c89b01e0c7ce0f8773d113c8c7e58f41bc3d8a1d1d.jpg",
|
| 323 |
+
"image_caption": [
|
| 324 |
+
"Figure 2: Performance and computational cost of the search phase on CIFAR10. "
|
| 325 |
+
],
|
| 326 |
+
"image_footnote": [],
|
| 327 |
+
"bbox": [
|
| 328 |
+
173,
|
| 329 |
+
513,
|
| 330 |
+
459,
|
| 331 |
+
699
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "table",
|
| 337 |
+
"img_path": "images/c01388e0b766ac927995cde360d93dfc9a5de1b355216979bcf6a2dd53aecde9.jpg",
|
| 338 |
+
"table_caption": [
|
| 339 |
+
"Table 1: Relative improvement metric, $\\begin{array} { r l } { R I } & { { } = } \\end{array}$ $1 0 0 \\times ( A c c _ { m } - A c c _ { r } ) / A c c _ { r }$ (in $\\%$ ), where $A c c _ { m }$ and $A c c _ { r }$ are the accuracies of the search method and random sampling baseline, respectively. "
|
| 340 |
+
],
|
| 341 |
+
"table_footnote": [],
|
| 342 |
+
"table_body": "<table><tr><td></td><td>C10</td><td>C100</td><td>S8</td><td>M67</td><td>F102</td></tr><tr><td>DARTS</td><td>0.32</td><td>0.23</td><td>-0.13</td><td>0.10</td><td>0.25</td></tr><tr><td>PDARTS</td><td>0.52</td><td>1.20</td><td>0.51</td><td>1.19</td><td>0.20</td></tr><tr><td>NSGANET</td><td>-0.48</td><td>1.37</td><td>0.43</td><td>2.00</td><td>1.47</td></tr><tr><td>ENAS</td><td>0.01</td><td>-3.44</td><td>0.67</td><td>0.13</td><td>0.47</td></tr><tr><td>CNAS</td><td>0.74</td><td>-0.89</td><td>-1.06</td><td>-0.66</td><td>-2.48</td></tr><tr><td>MANAS</td><td>0.18</td><td>-0.20</td><td>0.33</td><td>1.48</td><td>0.70</td></tr><tr><td>StacNAS NAO</td><td>0.43 0.44</td><td>2.87 -0.01</td><td>0.38 -2.05</td><td>0.05 -1.53</td><td>-0.16 -0.13</td></tr></table>",
|
| 343 |
+
"bbox": [
|
| 344 |
+
498,
|
| 345 |
+
584,
|
| 346 |
+
820,
|
| 347 |
+
703
|
| 348 |
+
],
|
| 349 |
+
"page_idx": 3
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"type": "text",
|
| 353 |
+
"text": "3.2 RESULTS ",
|
| 354 |
+
"text_level": 1,
|
| 355 |
+
"bbox": [
|
| 356 |
+
174,
|
| 357 |
+
751,
|
| 358 |
+
279,
|
| 359 |
+
765
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "Figure 1 shows the evaluation results on the 5 datasets, from which we draw two main conclusions. First, the improvements over random sampling tend to be small. In some cases the average performance of a method is even below the average randomly sampled architecture, which suggests that the search methods are not converging to desirable architectures. Second, the small range of accuracies obtained hints at narrow search spaces, where even the worst architectures perform reasonably well. See Section 5 for more experiments corroborating this conclusion. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
173,
|
| 368 |
+
776,
|
| 369 |
+
823,
|
| 370 |
+
861
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "We observe also that, on CIFAR10, the top half of best-performing methods (PDARTS, MANAS, DARTS, StacNAS) all perform similarly and positively in relation to their respective search spaces, but more variance is seen on the other datasets. This could be explained by the fact that most methods’ hyperparameters have been optimized on CIFAR10 and might not generalize as well on different datasets. As a matter of fact, we found that all NAS methods neglect to report the time needed to optimize hyperparameters. In addition, Table 1 shows the relative improvement metric $R I$ (see intro to Section 3) for each method and dataset. ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
174,
|
| 379 |
+
867,
|
| 380 |
+
823,
|
| 381 |
+
924
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "",
|
| 388 |
+
"bbox": [
|
| 389 |
+
174,
|
| 390 |
+
103,
|
| 391 |
+
823,
|
| 392 |
+
146
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 4
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "The computational cost of searching for architectures is a limiting factor in their applicability and, therefore, an important variable in the evaluation of NAS algorithms. Figure 2 shows the performance as well and the computational cost of the search phase on CIFAR10. ",
|
| 399 |
+
"bbox": [
|
| 400 |
+
174,
|
| 401 |
+
152,
|
| 402 |
+
821,
|
| 403 |
+
195
|
| 404 |
+
],
|
| 405 |
+
"page_idx": 4
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"type": "text",
|
| 409 |
+
"text": "4 COMPARISON OF TRAINING PROTOCOLS ",
|
| 410 |
+
"text_level": 1,
|
| 411 |
+
"bbox": [
|
| 412 |
+
174,
|
| 413 |
+
226,
|
| 414 |
+
537,
|
| 415 |
+
241
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "In this section we attempt to shed some light on the surprising results of the previous section. We noticed that there was a much larger differences between the random baselines of different methods than the actual increase in performance of each approach. We hypothesized that how a network is trained (the training protocol) has a larger impact on the final accuracy than which architecture is trained, for each search space. To test this, we performed sensitivity analysis using the most common performanceboosting training protocols. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
174,
|
| 424 |
+
262,
|
| 425 |
+
549,
|
| 426 |
+
401
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "4.1 METHODOLOGY ",
|
| 433 |
+
"text_level": 1,
|
| 434 |
+
"bbox": [
|
| 435 |
+
176,
|
| 436 |
+
429,
|
| 437 |
+
326,
|
| 438 |
+
443
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "We decided to evaluate architectures from the commonly used DARTS search space (Liu et al., 2019) on the CIFAR10 dataset. We use the following process: 1) sample 8 random architectures, 2) train them with different training protocols (details below) and 3) report mean, standard deviation and maximum of the top-1 test accuracy at the end of the training process. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
458,
|
| 448 |
+
549,
|
| 449 |
+
556
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "image",
|
| 455 |
+
"img_path": "images/caa55a31af78adab243a490ab57323412ef1ea1347232a5cd9f8350973a2321e.jpg",
|
| 456 |
+
"image_caption": [
|
| 457 |
+
"Figure 3: Comparison of different augmentation protocols for the DARTS search space on CIFAR10. Same colored dots represent minimum and maximum accuracies in the 8 runs. "
|
| 458 |
+
],
|
| 459 |
+
"image_footnote": [],
|
| 460 |
+
"bbox": [
|
| 461 |
+
562,
|
| 462 |
+
262,
|
| 463 |
+
820,
|
| 464 |
+
488
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 4
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "Training protocols. The simplest training protocol, which we will call Base is similar to the one used in DARTS, but with all tricks disabled: the model is simply trained for 600 epochs. On the other extreme, our full protocol uses several tricks which have been used in recent works (Xie et al., 2019b; Nayman et al., 2019): Auxiliary Towers (A), DropPath (D; Larsson & Shakhnarovich, 2017), Cutout (C; DeVries & Taylor, 2017), AutoAugment (AA; Cubuk et al., 2018), extended training for 1500 epochs (1500E), and increased number of channels (50C). In between these two extremes, by selectively enabling and disabling each component, we evaluated a further 8 intermediate training protocols. When active, DropPath probability is 0.2, cutout length is 16, auxiliary tower weight is 0.4, and AutoAugment combined with Cutout are used after standard data pre-processing techniques previously described, as in Popien (2019). ",
|
| 471 |
+
"bbox": [
|
| 472 |
+
174,
|
| 473 |
+
582,
|
| 474 |
+
547,
|
| 475 |
+
595
|
| 476 |
+
],
|
| 477 |
+
"page_idx": 4
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"type": "text",
|
| 481 |
+
"text": "",
|
| 482 |
+
"bbox": [
|
| 483 |
+
173,
|
| 484 |
+
590,
|
| 485 |
+
825,
|
| 486 |
+
720
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 4
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "text",
|
| 492 |
+
"text": "4.2 RESULTS ",
|
| 493 |
+
"text_level": 1,
|
| 494 |
+
"bbox": [
|
| 495 |
+
174,
|
| 496 |
+
747,
|
| 497 |
+
277,
|
| 498 |
+
761
|
| 499 |
+
],
|
| 500 |
+
"page_idx": 4
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"type": "text",
|
| 504 |
+
"text": "As shown in Figure 3, a large difference of over 3 percentage points (p.p.) exists between the simplest and the most advanced training protocols. Indeed, this is much higher than any improvement over random sampling observed in the previous section: for example, on CIFAR10, the best improvement observed was 0.69 p.p. In other words, the training protocol is often far more important than the architecture used. Note that the best accuracy of the 8 random architectures training with the best protocol is $9 8 . 1 5 \\%$ , which is only 0.25 p.p. below state-of-the-art (Nayman et al., 2019). ",
|
| 505 |
+
"bbox": [
|
| 506 |
+
174,
|
| 507 |
+
776,
|
| 508 |
+
823,
|
| 509 |
+
861
|
| 510 |
+
],
|
| 511 |
+
"page_idx": 4
|
| 512 |
+
},
|
| 513 |
+
{
|
| 514 |
+
"type": "text",
|
| 515 |
+
"text": "To summarize, it seems that most recent state-of-the-art results, though impressive, cannot always be attributed to superior search strategies. Rather, they are often the result of expert knowledge applied to the evaluation protocol. In Figure 10 (Appendix A.3.1) we show similar results when training a ResNet-50 (He et al., 2016) with the same protocols. ",
|
| 516 |
+
"bbox": [
|
| 517 |
+
174,
|
| 518 |
+
868,
|
| 519 |
+
823,
|
| 520 |
+
924
|
| 521 |
+
],
|
| 522 |
+
"page_idx": 4
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"type": "image",
|
| 526 |
+
"img_path": "images/f9ef12213677fc9a4669a42a87f74fd716606dd30dbac4f7517b2b24659054a0.jpg",
|
| 527 |
+
"image_caption": [
|
| 528 |
+
"Figure 4: Training curves for the 214 randomly sampled architectures. Inset plot shows the histogram of accuracies at different epochs. "
|
| 529 |
+
],
|
| 530 |
+
"image_footnote": [],
|
| 531 |
+
"bbox": [
|
| 532 |
+
178,
|
| 533 |
+
106,
|
| 534 |
+
480,
|
| 535 |
+
262
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 5
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "image",
|
| 541 |
+
"img_path": "images/3ab1d0af1522db09538fa5918d8022741f2b541c8dfb7d338233ba12f9eb1f4f.jpg",
|
| 542 |
+
"image_caption": [
|
| 543 |
+
"Figure 5: Correlation between accuracies at different epochs and final accuracy, using raw and smoothed accuracies over a window $w$ . "
|
| 544 |
+
],
|
| 545 |
+
"image_footnote": [],
|
| 546 |
+
"bbox": [
|
| 547 |
+
514,
|
| 548 |
+
106,
|
| 549 |
+
816,
|
| 550 |
+
262
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 5
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "5 STUDY OF DARTS’ SEARCH SPACE ",
|
| 557 |
+
"text_level": 1,
|
| 558 |
+
"bbox": [
|
| 559 |
+
174,
|
| 560 |
+
356,
|
| 561 |
+
500,
|
| 562 |
+
372
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 5
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "5.1 DISTRIBUTION OF THE RANDOM SAMPLING WITHIN DARTS SEARCH SPACE ",
|
| 569 |
+
"text_level": 1,
|
| 570 |
+
"bbox": [
|
| 571 |
+
174,
|
| 572 |
+
398,
|
| 573 |
+
741,
|
| 574 |
+
414
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "To better understand the results from the previous section, we sampled a considerable number of architectures (214) from the most commonly used search space (Liu et al., 2019) and fully trained them with the matching training protocol (Cutout+DropPath+Auxiliary Towers). This allows us to get a sense of how much variance exists between the different models (training statistics are made available at the link in the abstract). ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
174,
|
| 583 |
+
433,
|
| 584 |
+
825,
|
| 585 |
+
503
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "As we can observe from Figure 4, architectures sampled from this search space all perform similarly, with a mean of $9 7 . 0 3 \\pm 0 . 2 3$ . The worst architecture we found had an accuracy of 96.18, while the best achieved 97.56. ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
176,
|
| 594 |
+
510,
|
| 595 |
+
825,
|
| 596 |
+
553
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "To put this into perspective, many methods using the same training protocol, fall within (or very close to) the standard deviation of the average architecture. Furthermore, as we can observe in Figure 7, the number of cells (a human-picked hyperparameter) has a much larger impact on the final accuracy. ",
|
| 603 |
+
"bbox": [
|
| 604 |
+
174,
|
| 605 |
+
559,
|
| 606 |
+
823,
|
| 607 |
+
614
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 5
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "In Figure 5 we used the training statistics of the 214 models to plot the correlation between test accuracies at different epochs: it grows slowly in an almost linear fashion. We note that using the moving average of the accuracies yields a stronger correlation, which could be useful for methods using early stopping. ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
174,
|
| 616 |
+
622,
|
| 617 |
+
825,
|
| 618 |
+
679
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 5
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "5.2 OPERATIONS",
|
| 625 |
+
"text_level": 1,
|
| 626 |
+
"bbox": [
|
| 627 |
+
174,
|
| 628 |
+
715,
|
| 629 |
+
305,
|
| 630 |
+
729
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 5
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "To test whether the results from the previous section were due to the choice of available operations, we developed an intentionally sub-optimal search space containing 4 plain convolutions $( 1 \\times 1 , 3 \\times 3$ , $7 \\times 7 .$ , $1 1 \\times 1 1$ ), 2 max pooling operators $( 3 \\times 3 , 5 \\times 5 )$ plus the none and skip connect operations. This proposed search space is clearly more parameter inefficient compared to the commonly used DARTS one (which uses both dilated and separable ones), and we expect it to perform worse. ",
|
| 637 |
+
"bbox": [
|
| 638 |
+
174,
|
| 639 |
+
750,
|
| 640 |
+
825,
|
| 641 |
+
819
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 5
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "We sampled 56 architectures from this new search space and trained them with the DARTS training protocol (Cutout $^ +$ DropPath $^ +$ Auxiliary Towers), for fair comparison with the results from the previous section. Figure 6 shows the resulting histogram, together with the one obtained from the classical DARTS space of operations. The two distributions are only shifted by 0.18 accuracy points. Given the minor difference in performance, the specific operations are not a key ingredient in the success of this search space. Very likely, it’s the well engineered cell structure that allows the model to perform as well as it does. ",
|
| 648 |
+
"bbox": [
|
| 649 |
+
174,
|
| 650 |
+
825,
|
| 651 |
+
825,
|
| 652 |
+
924
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 5
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "image",
|
| 658 |
+
"img_path": "images/5e91248ab0a2f0aabd9ab36f7d3f7c4ee456017c62591d2c5a5bc19fc63e0e6f.jpg",
|
| 659 |
+
"image_caption": [
|
| 660 |
+
"Figure 6: Histograms of the final accuracies (600 epochs) for architectures sampled from the DARTS search space (214 models) and our modified version (56 models). "
|
| 661 |
+
],
|
| 662 |
+
"image_footnote": [],
|
| 663 |
+
"bbox": [
|
| 664 |
+
178,
|
| 665 |
+
106,
|
| 666 |
+
480,
|
| 667 |
+
263
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 6
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "image",
|
| 673 |
+
"img_path": "images/dbe7e776ae2cf3008835cf33d721f2209476268f702144b2c37653630acca5b7.jpg",
|
| 674 |
+
"image_caption": [
|
| 675 |
+
"Figure 7: Performance of 16 randomly sampled architectures with different numbers of cells. Error bars represent standard deviation. "
|
| 676 |
+
],
|
| 677 |
+
"image_footnote": [],
|
| 678 |
+
"bbox": [
|
| 679 |
+
514,
|
| 680 |
+
107,
|
| 681 |
+
816,
|
| 682 |
+
262
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 6
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "image",
|
| 688 |
+
"img_path": "images/0587d112298e61ac522ef6c9052d3064e3454621c12eee6f15cad59d794e6af4.jpg",
|
| 689 |
+
"image_caption": [
|
| 690 |
+
"Figure 8: Changes in the ranking of different architectures when trained with two different seeds (A and B). "
|
| 691 |
+
],
|
| 692 |
+
"image_footnote": [],
|
| 693 |
+
"bbox": [
|
| 694 |
+
179,
|
| 695 |
+
348,
|
| 696 |
+
482,
|
| 697 |
+
515
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 6
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "image",
|
| 703 |
+
"img_path": "images/5f3c33ff2e3ac55ede03bb632eba1c2d1e204c46b832377bf24ea864a9fd54c4.jpg",
|
| 704 |
+
"image_caption": [
|
| 705 |
+
"Figure 9: Changes in the ranking of different architectures when trained with different numbers of cells (same seed). "
|
| 706 |
+
],
|
| 707 |
+
"image_footnote": [],
|
| 708 |
+
"bbox": [
|
| 709 |
+
514,
|
| 710 |
+
348,
|
| 711 |
+
816,
|
| 712 |
+
515
|
| 713 |
+
],
|
| 714 |
+
"page_idx": 6
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"type": "text",
|
| 718 |
+
"text": "5.3 DOES CHANGING SEED AND NUMBER OF CELLS AFFECT RANKING? ",
|
| 719 |
+
"text_level": 1,
|
| 720 |
+
"bbox": [
|
| 721 |
+
176,
|
| 722 |
+
597,
|
| 723 |
+
678,
|
| 724 |
+
609
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 6
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "A necessary practice for many weight-sharing methods (Liu et al., 2019; Pham et al., 2018) is to restart the training from scratch after the search phase, with a different number of cells. Recent works have warned that this procedure might negatively affect ranking; similarly, the role of the seed has been previously recognized as as a fundamental element in reproducibility (Li & Talwalkar, 2019; Sciuto et al., 2019). ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
623,
|
| 734 |
+
825,
|
| 735 |
+
693
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 6
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "To test the impact of seed, we randomly sampled 32 architectures and trained them with two different seeds (Figure 8). Ranking is heavily influenced, as the Kendall tau correlation between the two sets of training is 0.48. On average, the test accuracy changes by $0 . 1 3 \\% \\pm 0 . 0 8$ (max change is $0 . 3 9 \\%$ , which is substantial considering the small gap between random architectures and NAS methods. ",
|
| 742 |
+
"bbox": [
|
| 743 |
+
173,
|
| 744 |
+
700,
|
| 745 |
+
825,
|
| 746 |
+
756
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 6
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "To test the depth-gap we trained another 32 with different number of cells (Figure 9). The correlation between the two different depths is not very strong as measured by Kendall Tau (0.54), with architectures shifting up and down the rankings by up to 18 positions (out of 32). Methods employing weight sharing (WS) would see an even more pronounced effect as the architectures normally chosen at 8 cells would have been training sub-optimally due to the WS itself (Sciuto et al., 2019). ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
174,
|
| 755 |
+
762,
|
| 756 |
+
823,
|
| 757 |
+
833
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 6
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"text": "These findings point towards two issues. The first is that since the seed has such a large effect on ranking, it stands to reason that the final accuracy reported should be averaged over multiple seeds. The second is that, if the lottery ticket hypothesis holds—so that specific sub-networks are better mainly due to their lucky initialization; Frankle & Carbin., 2018—together with our findings, this could be an additional reason why methods searching on a different number of cells than the final model, struggle to significantly improve on the average randomly sampled architecture. ",
|
| 764 |
+
"bbox": [
|
| 765 |
+
173,
|
| 766 |
+
840,
|
| 767 |
+
825,
|
| 768 |
+
924
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 6
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "6 DISCUSSION AND BEST PRACTICES ",
|
| 775 |
+
"text_level": 1,
|
| 776 |
+
"bbox": [
|
| 777 |
+
176,
|
| 778 |
+
103,
|
| 779 |
+
495,
|
| 780 |
+
117
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 7
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "In this section we offer some suggestions on how to mitigate the issues in NAS research. ",
|
| 787 |
+
"bbox": [
|
| 788 |
+
171,
|
| 789 |
+
132,
|
| 790 |
+
751,
|
| 791 |
+
147
|
| 792 |
+
],
|
| 793 |
+
"page_idx": 7
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"type": "text",
|
| 797 |
+
"text": "Augmention tricks: while achieving higher accuracies is clearly a desirable goal, we have shown in section 4, that using well engineered training protocols can hide the contribution of the search algorithm. We therefore suggest that both results, with and without training tricks, should be reported. An example of best practice is found in Hundt et al. (2019). ",
|
| 798 |
+
"bbox": [
|
| 799 |
+
174,
|
| 800 |
+
154,
|
| 801 |
+
823,
|
| 802 |
+
210
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 7
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "Search Space: it is difficult to evaluate the effectiveness of any given proposed method without a measure of how good randomly sampled architectures are. This is not the same thing as performing a random search which is a search strategy in itself; random sampling is simply used to establish how good the average model is. A simple approach to measure the variability of any new given search space could be to randomly sample $k$ architectures and report mean and standard deviation. We hope that future works will attempt to develop more expressive search spaces, capable of producing both good and bad network designs. Restricted search spaces, while guaranteeing good performance and quick results, will inevitably be constrained by the bounds of expert knowledge (local optima) and will be incapable of reaching more truly innovative solutions (closer to the global optima). As our findings in section 5.2 suggest, the overall wiring (the macro-structure) is an extremely influential component in the final performance. As such, future research could investigate the optimal wiring at a global level: an interesting work in this direction is Xie et al. (2019a). ",
|
| 809 |
+
"bbox": [
|
| 810 |
+
173,
|
| 811 |
+
217,
|
| 812 |
+
825,
|
| 813 |
+
383
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 7
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "text",
|
| 819 |
+
"text": "Multiple datasets: as the true goal of AutoML is to minimize the need for human experts, focusing the research efforts on a single dataset will inevitably lead to algorithmic overfitting and/or methods heavily dependent on hyperparameter tuning. The best solution for this is likely to test NAS algorithms on a battery of datasets, with different characteristics: image sizes, number of samples, class granularity and learning task. ",
|
| 820 |
+
"bbox": [
|
| 821 |
+
174,
|
| 822 |
+
391,
|
| 823 |
+
823,
|
| 824 |
+
460
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 7
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "Investigating hidden components: as our experiments in Sections 4 and 5.2 show, the DARTS search space is not only effective due to specific operations that are being chosen, but in greater part due to the overall macro-structure and the training protocol used. We suggest that proper ablation studies can lead to better understanding of the contributions of each element of the pipeline. ",
|
| 831 |
+
"bbox": [
|
| 832 |
+
174,
|
| 833 |
+
468,
|
| 834 |
+
825,
|
| 835 |
+
523
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 7
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "The importance of reproducibility: reproducibility is of extreme relevance in all sciences. To this end, it is very important that authors release not only their best found architecture but also the corresponding seed (if they did not average over multiple ones), as well as the code and the detailed training protocol (including hyperparameters). To this end, NAS-Bench-101 (Ying et al., 2019), a dataset mapping architectures to their accuracy, can be extremely useful, as it allows the quality of search strategies to be assessed in isolation from other NAS components (e.g. search space, training protocol) in a quick and reproducible fashion. The code for this paper is open-source (link in the abstract). We also open-source the 270 trained architectures used in Section 5. ",
|
| 842 |
+
"bbox": [
|
| 843 |
+
174,
|
| 844 |
+
530,
|
| 845 |
+
825,
|
| 846 |
+
641
|
| 847 |
+
],
|
| 848 |
+
"page_idx": 7
|
| 849 |
+
},
|
| 850 |
+
{
|
| 851 |
+
"type": "text",
|
| 852 |
+
"text": "Hyperparameter tuning cost: tuning hyperparameters in NAS is an extremely costly component. Therefore, we argue that either (i) hyperparameters are general enough so that they do not require tuning for further tasks, or (2) the cost is included in the search budget. ",
|
| 853 |
+
"bbox": [
|
| 854 |
+
174,
|
| 855 |
+
648,
|
| 856 |
+
825,
|
| 857 |
+
690
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 7
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "7 CONCLUSIONS ",
|
| 864 |
+
"text_level": 1,
|
| 865 |
+
"bbox": [
|
| 866 |
+
176,
|
| 867 |
+
710,
|
| 868 |
+
328,
|
| 869 |
+
727
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 7
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "AutoML, and NAS in particular, have the potential to truly democratize the use of machine learning for all, and could bring forth very notable improvements on a variety of tasks. To truly step forward, a principled approach, with a focus on fairness and reproducibility is needed. ",
|
| 876 |
+
"bbox": [
|
| 877 |
+
176,
|
| 878 |
+
742,
|
| 879 |
+
823,
|
| 880 |
+
784
|
| 881 |
+
],
|
| 882 |
+
"page_idx": 7
|
| 883 |
+
},
|
| 884 |
+
{
|
| 885 |
+
"type": "text",
|
| 886 |
+
"text": "In this paper we have shown that, for many NAS methods, the search space has been engineered such that all architectures perform similarly well and that their relative ranking can easily shift. We have furthermore showed that the training protocol itself has a higher impact on the final accuracy than the actual network. Finally, we have provided some suggestions on how to make future research more robust to these issues. ",
|
| 887 |
+
"bbox": [
|
| 888 |
+
174,
|
| 889 |
+
791,
|
| 890 |
+
823,
|
| 891 |
+
861
|
| 892 |
+
],
|
| 893 |
+
"page_idx": 7
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"type": "text",
|
| 897 |
+
"text": "We hope that our findings will help the community focus their efforts towards a more general approach to automated neural architecture design. Only then can we expect to learn from NASgenerated architectures as opposed to the current paradigm where search spaces are heavily influenced by our current (human) expert knowledge. ",
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
867,
|
| 901 |
+
823,
|
| 902 |
+
924
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "REFERENCES ",
|
| 909 |
+
"text_level": 1,
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
103,
|
| 913 |
+
287,
|
| 914 |
+
117
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 8
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "Fabio Carlucci, Pedro M. Esperanc¸a, Marco Singh, Antoine Yang, Victor Gabillon, Hang Xu, Zewei Chen, and Jun Wang. MANAS: Multi-Agent Neural Architecture Search. arxiv:1909.01051, 2019. ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
126,
|
| 924 |
+
823,
|
| 925 |
+
167
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 8
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "Ekin D Cubuk, Barret Zoph, Dandelion Mane, Vijay Vasudevan, and Quoc V Le. Autoaugment: Learning augmentation policies from data. arXiv:1805.09501, 2018. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
173,
|
| 934 |
+
178,
|
| 935 |
+
823,
|
| 936 |
+
208
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 8
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Terrance DeVries and Graham W. Taylor. Improved regularization of convolutional neural networks with cutout. arXiv:1708.04552, 2017. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
171,
|
| 945 |
+
217,
|
| 946 |
+
825,
|
| 947 |
+
246
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 8
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "Thomas Elsken, Jan Hendrik Metzen, and Frank Hutter. Neural architecture search: A survey. Journal of Machine Learning Research, 20(55):1–21, 2019. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
173,
|
| 956 |
+
256,
|
| 957 |
+
821,
|
| 958 |
+
286
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 8
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. In arXiv:1803.03635, 2018. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
171,
|
| 967 |
+
295,
|
| 968 |
+
821,
|
| 969 |
+
324
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 8
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Oguzhan Gencoglu, Mark van Gils, Esin Guldogan, Chamin Morikawa, Mehmet Suzen, Mathias ¨ Gruber, Jussi Leinonen, and Heikki Huttunen. Hark side of deep learning–from grad student descent to automated machine learning. arXiv:1904.07633, 2019. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
176,
|
| 978 |
+
333,
|
| 979 |
+
823,
|
| 980 |
+
377
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 8
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
173,
|
| 989 |
+
386,
|
| 990 |
+
821,
|
| 991 |
+
416
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 8
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Zhang Xiangyu Rein Shaoqing He, Kaiming and Jian Sun. Delving deep into rectifiers: Surpassing human level performance on imagenet classification. In Computer Vision and Pattern Recognition (CVPR), 2015. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
174,
|
| 1000 |
+
425,
|
| 1001 |
+
823,
|
| 1002 |
+
468
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 8
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Gao Huang, Yu Sun, Zhuang Liu, Daniel Sedra, and Kilian Q Weinberger. Deep networks with stochastic depth. In European conference on computer vision, pp. 646–661. Springer, 2016. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
173,
|
| 1011 |
+
478,
|
| 1012 |
+
823,
|
| 1013 |
+
508
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 8
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Andrew Hundt, Varun Jain, and Gregory D. Hager. sharpDARTS: Faster and more accurate differentiable architecture search. arXiv:1903.09900, 2019. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
173,
|
| 1022 |
+
517,
|
| 1023 |
+
823,
|
| 1024 |
+
546
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 8
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
174,
|
| 1033 |
+
556,
|
| 1034 |
+
821,
|
| 1035 |
+
585
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 8
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
174,
|
| 1044 |
+
594,
|
| 1045 |
+
823,
|
| 1046 |
+
637
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 8
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Michael Maire Larsson, Gustav and Gregory Shakhnarovich. Fractalnet: Ultra-deep neural networks without residuals. In International Conference on Learning Representations (ICLR), 2017. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
173,
|
| 1055 |
+
647,
|
| 1056 |
+
823,
|
| 1057 |
+
678
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 8
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Guilin Li, Xing Zhang, Zitong Wang, Zhenguo Li, and Tong Zhang. StacNAS: Towards stable and consistent optimization for differentiable Neural Architecture Search. arXiv:1909.11926, 2019. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
173,
|
| 1066 |
+
686,
|
| 1067 |
+
823,
|
| 1068 |
+
715
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 8
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Li-Jia Li and Li Fei-Fei. What, where and who? classifying events by scene and object recognition. In International Conference on Computer Vision (ICCV), pp. 1–8, 2007. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
726,
|
| 1078 |
+
823,
|
| 1079 |
+
756
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 8
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Liam Li and Ameet Talwalkar. Random search and reproducibility for neural architecture search. arXiv:1902.07638, 2019. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
169,
|
| 1088 |
+
765,
|
| 1089 |
+
823,
|
| 1090 |
+
794
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 8
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Hanwen Liang, Shifeng Zhang, Jiacheng Sun, Xingqiu He, Weiran Huang, Kechen Zhuang, and Zhenguo Li. DARTS $^ +$ : Improved differentiable architecture search with early stopping. arXiv:1909.06035, 2019. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
173,
|
| 1099 |
+
803,
|
| 1100 |
+
823,
|
| 1101 |
+
845
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 8
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Marius Lindauer and Frank Hutter. Best practices for scientific research on neural architecture search. arXiv:1909.02453, 2019. ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
169,
|
| 1110 |
+
856,
|
| 1111 |
+
823,
|
| 1112 |
+
885
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 8
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Hanxiao Liu, Karen Simonyan, and Yiming Yang. DARTS: Differentiable architecture search. In International Conference on Learning Representations (ICLR), 2019. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
173,
|
| 1121 |
+
895,
|
| 1122 |
+
821,
|
| 1123 |
+
924
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 8
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations (ICLR), 2017. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
169,
|
| 1132 |
+
103,
|
| 1133 |
+
823,
|
| 1134 |
+
132
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 9
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Zhichao Lu, Ian Whalen, Vishnu Boddeti, Yashesh Dhebar, Kalyanmoy Deb, Erik Goodman, and Wolfgang Banzhaf. Nsga-net: a multi-objective genetic algorithm for neural architecture search. In GECCO-2019, 2018. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
176,
|
| 1143 |
+
141,
|
| 1144 |
+
823,
|
| 1145 |
+
184
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 9
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Renqian Luo, Fei Tian, Tao Qin, Enhong Chen, and Tie-Yan Liu. Neural architecture optimization. In Advances in Neural Information Processing Systems (NIPS), pp. 7816–7827, 2018. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
169,
|
| 1154 |
+
193,
|
| 1155 |
+
823,
|
| 1156 |
+
223
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 9
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Niv Nayman, Asaf Noy, Tal Ridnik, Itamar Friedman, Rong Jin, and Lihi Zelnik-Manor. Xnas: Neural architecture search with expert advice. arXiv:1906.08031, 2019. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
173,
|
| 1165 |
+
231,
|
| 1166 |
+
823,
|
| 1167 |
+
261
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 9
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Yurii E Nesterov. A method for solving the convex programming problem with convergence rate o (1/kˆ 2). In Dokl. akad. nauk Sssr, volume 269, pp. 543–547, 1983. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
176,
|
| 1176 |
+
270,
|
| 1177 |
+
821,
|
| 1178 |
+
299
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 9
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In Sixth Indian Conference on Computer Vision, Graphics & Image Processing, pp. 722–729, 2008. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
173,
|
| 1187 |
+
308,
|
| 1188 |
+
825,
|
| 1189 |
+
352
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 9
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Hieu Pham, Melody Guan, Barret Zoph, Quoc Le, and Jeff Dean. Efficient neural architecture search via parameter sharing. In International Conference on Machine Learning (ICML), pp. 4092–4101, 2018. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
173,
|
| 1198 |
+
359,
|
| 1199 |
+
823,
|
| 1200 |
+
404
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 9
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Philip Popien. AutoAugment. GitHub repository, https://github.com/DeepVoltaire/ AutoAugment, 2019. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
173,
|
| 1209 |
+
411,
|
| 1210 |
+
821,
|
| 1211 |
+
441
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 9
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Ariadna Quattoni and Antonio Torralba. Recognizing indoor scenes. In Computer Vision and Pattern Recognition (CVPR), pp. 413–420, 2009. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
173,
|
| 1220 |
+
450,
|
| 1221 |
+
823,
|
| 1222 |
+
481
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 9
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Esteban Real, Sherry Moore, Andrew Selle, Saurabh Saxena, Yutaka Leon Suematsu, Jie Tan, Quoc V Le, and Alexey Kurakin. Large-scale evolution of image classifiers. In International Conference on Machine Learning (ICML), pp. 2902–2911, 2017. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
176,
|
| 1231 |
+
488,
|
| 1232 |
+
823,
|
| 1233 |
+
532
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 9
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Christian Sciuto, Kaicheng Yu, Martin Jaggi, Claudiu Musat, and Mathieu Salzmann. Evaluating the search phase of neural architecture search. arXiv:1902.08142, 2019. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
171,
|
| 1242 |
+
540,
|
| 1243 |
+
823,
|
| 1244 |
+
570
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 9
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. The journal of machine learning research, 15(1):1929–1958, 2014. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
178,
|
| 1253 |
+
579,
|
| 1254 |
+
823,
|
| 1255 |
+
622
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 9
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Christian Szegedy, Sergey Ioffe, Vincent Vanhoucke, and Alexander A Alemi. Inception-v4, Inception-ResNet and the impact of residual connections on learning. In AAAI Conference on Artificial Intelligence, 2017. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
631,
|
| 1265 |
+
823,
|
| 1266 |
+
674
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 9
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Yu Weng, Tianbao Zhou, Lei Liu, and Chunlei Xia. Automatic convolutional neural architecture search for image classification under different scenes. IEEE Access, 7:38495–38506, 2019. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
173,
|
| 1275 |
+
683,
|
| 1276 |
+
821,
|
| 1277 |
+
713
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 9
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Saining Xie, Alexander Kirillov, Ross Girshick, and Kaiming He. Exploring randomly wired neural networks for image recognition. arXiv preprint arXiv:1904.01569, 2019a. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
173,
|
| 1286 |
+
720,
|
| 1287 |
+
825,
|
| 1288 |
+
751
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 9
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Sirui Xie, Hehui Zheng, Chunxiao Liu, and Liang Lin. SNAS: Stochastic neural architecture search. In International Conference on Learning Representations (ICLR), 2019b. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
173,
|
| 1297 |
+
760,
|
| 1298 |
+
823,
|
| 1299 |
+
790
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 9
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Jun Wu Qi Tian Xin Chen, Lingxi Xie. Progressive differentiable architecture search. In International Conference on Computer Vision (ICCV), 2019. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
171,
|
| 1308 |
+
797,
|
| 1309 |
+
823,
|
| 1310 |
+
827
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 9
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Chris Ying, Aaron Klein, Eric Christiansen, Esteban Real, Kevin Murphy, and Frank Hutter. NASBench-101: Towards reproducible neural architecture search. In International Conference on Machine Learning (ICML 2019), pp. 7105–7114, 2019. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
176,
|
| 1319 |
+
837,
|
| 1320 |
+
823,
|
| 1321 |
+
880
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 9
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Barret Zoph and Quoc Le. Neural architecture search with reinforcement learning. In International Conference on Learning Representations (ICLR), 2017. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
174,
|
| 1330 |
+
888,
|
| 1331 |
+
823,
|
| 1332 |
+
917
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 9
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "table",
|
| 1338 |
+
"img_path": "images/320203340cda9ff05fec56f6573c4eaf1ef276b1e36acceee02cf27a14c0f25e.jpg",
|
| 1339 |
+
"table_caption": [
|
| 1340 |
+
"Table 2: Hyperparameters for different NAS methods. “S” denotes search stage and “A” denotes augmentation stage. For learning rates, $a \\downarrow b$ means cosine annealing from $a$ to $b$ . "
|
| 1341 |
+
],
|
| 1342 |
+
"table_footnote": [],
|
| 1343 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"5\">Method</td></tr><tr><td>DARTS</td><td>StacNAS</td><td>PDARTS</td><td>MANAS</td><td>CNAS</td></tr><tr><td>batch size S</td><td>64</td><td>64</td><td>96</td><td>64</td><td>64</td></tr><tr><td>batch size A</td><td>96</td><td>96</td><td>128</td><td>128</td><td>64</td></tr><tr><td>init channels S</td><td>16</td><td>16</td><td>16</td><td>16</td><td>16</td></tr><tr><td>init channels A</td><td>36</td><td>36</td><td>36</td><td>36</td><td>36</td></tr><tr><td>epochs S</td><td>50</td><td>100+100</td><td>25+25+25</td><td>50</td><td>60</td></tr><tr><td>epochs A</td><td>600</td><td>600</td><td>600</td><td>600</td><td>200</td></tr><tr><td>optimizer S/A</td><td>SGD</td><td>SGD</td><td>SGD</td><td>SGD</td><td>Adam</td></tr><tr><td>learning rates S</td><td>.025↓.001</td><td>.025↓.001</td><td>.025↓.0</td><td>.025↓.001</td><td>.025-.003</td></tr><tr><td>learning rates A</td><td>.025↓.0</td><td>.025↓.0</td><td>.025↓.0</td><td>.025←.0</td><td>.025-.001</td></tr><tr><td>weight decay S/A</td><td>3 ×10-4</td><td>3×10-4</td><td>3×10-4</td><td>3×10-4</td><td>3×10-4</td></tr><tr><td>optimizer arch</td><td>Adam</td><td>Adam</td><td>Adam</td><td></td><td>Adam</td></tr><tr><td>learning rates arch</td><td>3×10-4</td><td>3×10-4</td><td>6×10-4</td><td></td><td>3×10-4</td></tr><tr><td>weight decay arch</td><td>10-3</td><td>10-3</td><td>10-3</td><td></td><td>10-3</td></tr><tr><td>nb cells S CIFAR</td><td>8</td><td>14/20</td><td>5/11/17</td><td>8</td><td>6</td></tr><tr><td>nb cells A CIFAR</td><td>20</td><td>20</td><td>20</td><td>20</td><td>20</td></tr><tr><td>nb cells S other datasets</td><td>8</td><td>8/8</td><td>8/8/8</td><td>8</td><td>6</td></tr><tr><td>nb cellsA other datasets</td><td>8</td><td>8</td><td>8</td><td>8</td><td>8</td></tr><tr><td>nb intermediate nodes</td><td>4</td><td>4</td><td>4</td><td>4</td><td>6</td></tr></table>",
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
176,
|
| 1346 |
+
145,
|
| 1347 |
+
820,
|
| 1348 |
+
428
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 10
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "A APPENDIX ",
|
| 1355 |
+
"text_level": 1,
|
| 1356 |
+
"bbox": [
|
| 1357 |
+
174,
|
| 1358 |
+
460,
|
| 1359 |
+
299,
|
| 1360 |
+
476
|
| 1361 |
+
],
|
| 1362 |
+
"page_idx": 10
|
| 1363 |
+
},
|
| 1364 |
+
{
|
| 1365 |
+
"type": "text",
|
| 1366 |
+
"text": "This section details the datasets and the hyperparameters used for each method on each dataset. Search spaces were naturally left unchanged. Hyperparameters were chosen as close as possible to the original paper and occasionally updated to more recent implementations. The network size was tuned similarly for all methods for SPORT8, MIT67 and FLOWERS102. All experiments were run on NVIDIA Tesla V100 GPUs. ",
|
| 1367 |
+
"bbox": [
|
| 1368 |
+
174,
|
| 1369 |
+
493,
|
| 1370 |
+
825,
|
| 1371 |
+
563
|
| 1372 |
+
],
|
| 1373 |
+
"page_idx": 10
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"type": "text",
|
| 1377 |
+
"text": "A.1 METHODS AND HYPERPARAMETERS ",
|
| 1378 |
+
"text_level": 1,
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
176,
|
| 1381 |
+
582,
|
| 1382 |
+
467,
|
| 1383 |
+
595
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 10
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "During search, models are trained/validated on the training/validation subsets, respectively During the final evaluation, the model is trained on the training $^ +$ validation subsets and tested on the test subset. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
174,
|
| 1392 |
+
608,
|
| 1393 |
+
825,
|
| 1394 |
+
650
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 10
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "Common hyperparameters. All 8 methods share a common number of hyperparameters precised here. When SGD optimizer is used, momentum is .9 while when Adam is used, momentum is $\\beta = ( 0 . 5 , 0 . 9 9 9 )$ . Gradient clipping is set at 5. ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
174,
|
| 1403 |
+
657,
|
| 1404 |
+
825,
|
| 1405 |
+
700
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 10
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "DARTS, StacNAS, PDARTS, MANAS, CNAS common hyperparameters. These methods are inspired by DARTS code-wise and consequently share a common number of hyperparameters, which we precise in table 1. ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
174,
|
| 1414 |
+
707,
|
| 1415 |
+
825,
|
| 1416 |
+
748
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 10
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "DARTS. We used the following repository : https://github.com/khanrc/pt.darts. It notably updates the official implementation to a pytorch version posterior to 0.4. Additional enhancements include cutout of size 16 (DeVries & Taylor, 2017), path dropout of probability 0.2 (Larsson & Shakhnarovich, 2017), and auxiliary tower with weight 0.4. ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
174,
|
| 1425 |
+
756,
|
| 1426 |
+
825,
|
| 1427 |
+
811
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 10
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "StacNAS. We used an unofficial implementation provided by the authors. The search process consists of 2 stages, of which the details are given in table 1. Additional enhancements are the same as DARTS. ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
174,
|
| 1436 |
+
819,
|
| 1437 |
+
825,
|
| 1438 |
+
861
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 10
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "text",
|
| 1444 |
+
"text": "PDARTS. We used the official implementation $:$ https://github.com/chenxin061/pdarts. The search process consists of 3 stages, of which general details are given in table 1. At stage 1, 2 and 3 respectively, the number of operations decreases from 8 to 5 to 3, and the dropout probability on skip-connect increases from 0.0 to 0.4 to 0.7 for CIFAR10, SPORT8, MIT67 and FLOWERS102 (0.1 to 0.2 to 0.3 for CIFAR100). Discovered cells are restricted to keep at most 2 skip-connect operations. Additional enhancements include cutout of size 16 (DeVries & Taylor, 2017), DropPath of probability 0.3 (Larsson & Shakhnarovich, 2017) and auxiliary tower with weight 0.4. ",
|
| 1445 |
+
"bbox": [
|
| 1446 |
+
174,
|
| 1447 |
+
867,
|
| 1448 |
+
823,
|
| 1449 |
+
922
|
| 1450 |
+
],
|
| 1451 |
+
"page_idx": 10
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"type": "text",
|
| 1455 |
+
"text": "",
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
173,
|
| 1458 |
+
103,
|
| 1459 |
+
823,
|
| 1460 |
+
146
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 11
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "MANAS. We used an unofficial implementation provided by the authors. The reward baseline is 5, gamma is 0.1 (0.07 for SPORT8, 0.05 for FLOWERS102, 0.01 for MIT67) and the Boltzmann temperature decays from 1000 to 200 (300 to 100 for SPORT8, 5000 to 2000 for MIT67). Additional enhancements are the same as DARTS. ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
174,
|
| 1469 |
+
152,
|
| 1470 |
+
823,
|
| 1471 |
+
208
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 11
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "CNAS. We used the official implementation : https://github.com/tianbaochou/CNAS. Label Smoothing is used with epsilon 0.1. Other additional enhancements include cutout of size 16 (DeVries & Taylor, 2017), DropPath of probability 0.25 (Larsson & Shakhnarovich, 2017). ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
215,
|
| 1481 |
+
821,
|
| 1482 |
+
257
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 11
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "NSGANET. We used the official implementation: https://github.com/ianwhale/nsga-net. The search is done in the micro search space (with 2 cells to search, 9 operations in the search space, 5 blocks in each cell) on 8 layers networks. The population size is 40, the number of generations is 30 and the number of offsprings created by generation is 20. Networks are trained for 20 epochs, with batch size 128, and the initial number of channels is 16. For architecture evaluation, the network is composed of 20 cells for CIFAR10 and CIFAR100, and 8 cells for SPORT8, MIT67 and FLOWERS102. The final selected models are trained for 600 epochs with batch size 96 and the initial number of channels 34. Momentum SGD is used with initial learning rate $\\eta _ { w } = 0 . 0 2 5$ (annealed down to zero following a cosine schedule), and weight decay $3 \\times 1 0 ^ { - \\hat { 4 } }$ . The filter increment is set to 4, and squeeze and excitation is used. Additional enhancements include cutout of size 16 (DeVries & Taylor, 2017), DropPath of probability 0.2 (Larsson & Shakhnarovich, 2017) and auxiliary tower with weight 0.4. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
173,
|
| 1491 |
+
263,
|
| 1492 |
+
825,
|
| 1493 |
+
417
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 11
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "NAO. We used the official Pytorch implementation: https://github.com/renqianluo/NAO pytorch. The LSTM model used to encode architecture has a token embedding size of 48 and a hidden state size of 96. The LSTM model used to decode architecture has a hidden state size of 96. The encoder and decoder are trained using Adam for 1000 epochs with a learning rate of 0.001. The trade-off parameters is $\\lambda = 0 . 9$ . The step size to perform continuous optimization is $\\eta = 1 0$ . The number of nodes is fixed to 5, normal cell is stacked 3 (2 for SPORT8, MIT67 and FLOWERS102) times to form the CNN architecture, which corresponds to a 11 (8 for SPORT8, MIT67 and FLOWERS102) cells network and the initial number of channels is 20. Networks are trained for 100 epochs with batch size 64 for training, and validated for 20 epochs with batch size 500. For architecture evaluation, the final CNN architecture is a 20 cells network (8 cells network). This network is trained for 600 epochs with batch size 128 for the training set (96 for both for SPORT8, MIT67 and FLOWERS102), 500 for the validation set (128 for both for SPORT8, MIT67 and FLOWERS102) and the initial number of channels is 36. Momentum SGD is used with initial learning rate $\\eta _ { w } = 0 . 0 2 5$ (annealed down to zero following a cosine schedule) and weight decay $3 \\times 1 0 ^ { - \\overline { { 4 } } }$ . Additional enhancements include cutout of size 16 (DeVries & Taylor, 2017), DropPath of probability 0.2 (Larsson & Shakhnarovich, 2017), dropout of probability 0.4 (Srivastava et al., 2014), and auxiliary tower with weight 0.4. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
173,
|
| 1502 |
+
424,
|
| 1503 |
+
825,
|
| 1504 |
+
660
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 11
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "ENAS. We used the official tensorflow implementation for experiments on CIFAR10 and CIFAR100: https://github.com/melodyguan/enas Experiments on SPORT8, MIT67 and FLOWERS102 are done using a more recent version in Pytorch for the search : https://github.com/MengTianjian/enas-pytorch. Because only the search process is implemented there, the evaluation code used is the same as DARTS. During the search, networks are composed of 8 cells. The shared parameters $w$ are trained with Nesterov momentum (Nesterov, 1983), weight decay $1 0 ^ { - 4 }$ , gradient clipping 5, batch size 160, 20 output filters, and a cosine learning rate schedule with $l _ { m } a x = 0 . 0 5$ , $l _ { m } i n = 0 . 0 0 1$ , $T _ { 0 } = 1 0$ , $T _ { m } u l = 2$ (Loshchilov & Hutter, 2017). Each architecture search is run for 150 epochs. $w$ are initialized with He initialization (He & Sun, 2015). The policy parameters $\\theta$ are initialized uniformly in [-0.1, 0.1], and trained with Adam at a learning rate of 0.00035. A tanh constant of 1.10 and a temperature of 2.5 is applied to the controllers logits, and the controller entropy is added to the reward with weight 0.1. For the evaluation, the architecture searched is extended to 17 cells (8 for SPORT8, MIT67 and FLOWERS102), trained for 630 epochs, with batch size 144, and a cosine learning rate schedule with $l _ { \\mathrm { m a x } } = 0 . 0 5$ , $l _ { \\mathrm { m i n } } = 0 . 0 0 1$ , $T _ { 0 } = 1 0$ , $T _ { \\mathrm { m u l } } = 2$ . ",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
173,
|
| 1513 |
+
667,
|
| 1514 |
+
825,
|
| 1515 |
+
876
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 11
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "A.2 DATASETS ",
|
| 1522 |
+
"text_level": 1,
|
| 1523 |
+
"bbox": [
|
| 1524 |
+
176,
|
| 1525 |
+
103,
|
| 1526 |
+
290,
|
| 1527 |
+
117
|
| 1528 |
+
],
|
| 1529 |
+
"page_idx": 12
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"type": "text",
|
| 1533 |
+
"text": "We present here the datasets used and how they are pre-processed. ",
|
| 1534 |
+
"bbox": [
|
| 1535 |
+
174,
|
| 1536 |
+
130,
|
| 1537 |
+
609,
|
| 1538 |
+
143
|
| 1539 |
+
],
|
| 1540 |
+
"page_idx": 12
|
| 1541 |
+
},
|
| 1542 |
+
{
|
| 1543 |
+
"type": "text",
|
| 1544 |
+
"text": "CIFAR10. The CIFAR10 dataset (Krizhevsky, 2009) is a dataset of 10 classes and consists of 50, 000 training images and 10, 000 test images of size $3 2 \\times 3 2$ . ",
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
174,
|
| 1547 |
+
150,
|
| 1548 |
+
823,
|
| 1549 |
+
179
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 12
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "text",
|
| 1555 |
+
"text": "CIFAR100. The CIFAR100 dataset (Krizhevsky, 2009) is a dataset of 100 classes and consists of 50, 000 training images and 10, 000 test images of size $3 2 \\times 3 2$ . ",
|
| 1556 |
+
"bbox": [
|
| 1557 |
+
174,
|
| 1558 |
+
185,
|
| 1559 |
+
821,
|
| 1560 |
+
214
|
| 1561 |
+
],
|
| 1562 |
+
"page_idx": 12
|
| 1563 |
+
},
|
| 1564 |
+
{
|
| 1565 |
+
"type": "text",
|
| 1566 |
+
"text": "Each of these datasets is split into a training, validation and testing subsets of size 25, 000, 25, 000 and 10, 000 respectively. For both these datasets, we use standard data pre-processing and augmentation techniques, i.e. subtracting the channel mean and dividing by the channel standard deviation; centrally padding the training images to $4 0 \\times 4 0$ and randomly cropping them back to $3 2 \\times 3 2$ ; and randomly clipping them horizontally. ",
|
| 1567 |
+
"bbox": [
|
| 1568 |
+
174,
|
| 1569 |
+
220,
|
| 1570 |
+
825,
|
| 1571 |
+
291
|
| 1572 |
+
],
|
| 1573 |
+
"page_idx": 12
|
| 1574 |
+
},
|
| 1575 |
+
{
|
| 1576 |
+
"type": "text",
|
| 1577 |
+
"text": "SPORT8. This is an action recognition dataset containing 8 sport event categories and a total of 1579 images (Li & Fei-Fei, 2007). The tiny size of this dataset stresses the generalization capabilities of any NAS method applied to it. ",
|
| 1578 |
+
"bbox": [
|
| 1579 |
+
174,
|
| 1580 |
+
297,
|
| 1581 |
+
825,
|
| 1582 |
+
340
|
| 1583 |
+
],
|
| 1584 |
+
"page_idx": 12
|
| 1585 |
+
},
|
| 1586 |
+
{
|
| 1587 |
+
"type": "text",
|
| 1588 |
+
"text": "MIT67. This is a dataset of 67 classes representing different indoor scenes and consists of 15, 620 images of different sizes (Quattoni & Torralba, 2009). ",
|
| 1589 |
+
"bbox": [
|
| 1590 |
+
176,
|
| 1591 |
+
347,
|
| 1592 |
+
823,
|
| 1593 |
+
376
|
| 1594 |
+
],
|
| 1595 |
+
"page_idx": 12
|
| 1596 |
+
},
|
| 1597 |
+
{
|
| 1598 |
+
"type": "text",
|
| 1599 |
+
"text": "FLOWERS102. This is a dataset of 102 classes representing different species of flowers and consists of 8, 189 images of different sizes (Nilsback & Zisserman, 2008). ",
|
| 1600 |
+
"bbox": [
|
| 1601 |
+
176,
|
| 1602 |
+
382,
|
| 1603 |
+
820,
|
| 1604 |
+
411
|
| 1605 |
+
],
|
| 1606 |
+
"page_idx": 12
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"type": "text",
|
| 1610 |
+
"text": "Each of these datasets is split into a training, validation and testing subsets with proportions $4 0 / 4 0 / 2 0 \\ ( \\% )$ . For each one, we use use standard data pre-processing and augmentation techniques, i.e. subtracting the channel mean and dividing the channel standard deviation, cropping the training images to random size and aspect ratio, resizing them to $2 2 4 \\times 2 2 4$ , and randomly changing their brightness, contrast, and saturation, while resizing test images to $2 5 6 \\times 2 5 6$ and cropping them at the center. ",
|
| 1611 |
+
"bbox": [
|
| 1612 |
+
173,
|
| 1613 |
+
417,
|
| 1614 |
+
825,
|
| 1615 |
+
501
|
| 1616 |
+
],
|
| 1617 |
+
"page_idx": 12
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"type": "text",
|
| 1621 |
+
"text": "A.3 ADDITIONAL RESULTS ",
|
| 1622 |
+
"text_level": 1,
|
| 1623 |
+
"bbox": [
|
| 1624 |
+
176,
|
| 1625 |
+
518,
|
| 1626 |
+
374,
|
| 1627 |
+
532
|
| 1628 |
+
],
|
| 1629 |
+
"page_idx": 12
|
| 1630 |
+
},
|
| 1631 |
+
{
|
| 1632 |
+
"type": "image",
|
| 1633 |
+
"img_path": "images/ce230d7557a836be95b1c534a22b98a18804cb6ce095b27f9043206e3ab14ff8.jpg",
|
| 1634 |
+
"image_caption": [
|
| 1635 |
+
"A.3.1 DIFFERENT TRAINING PROTOCOLS FOR RESNET-50 ",
|
| 1636 |
+
"Figure 10: Extension of Figure 3, including results obtained by training a ResNet-50 on CIFAR10. Bars with darker shade are for ResNet-50 and bars with lighter shade are for DARTS (same as Figure 3). Result are for 8 runs of each training protocol. For ResNet-50, the auxiliary tower was added after layer 2. As DropPath (Larsson & Shakhnarovich, 2017) would not have been straightforward to apply, we instead implemented Stocastic Depth (Huang et al., 2016), to a similar effect. "
|
| 1637 |
+
],
|
| 1638 |
+
"image_footnote": [],
|
| 1639 |
+
"bbox": [
|
| 1640 |
+
269,
|
| 1641 |
+
573,
|
| 1642 |
+
723,
|
| 1643 |
+
712
|
| 1644 |
+
],
|
| 1645 |
+
"page_idx": 12
|
| 1646 |
+
}
|
| 1647 |
+
]
|
parse/train/HygrdpVKvr/HygrdpVKvr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/KLH36ELmwIB/KLH36ELmwIB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/KLH36ELmwIB/KLH36ELmwIB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/QmxFsofRvW9/QmxFsofRvW9.md
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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u4 Alexis Conneau∗ Michael Auli4
|
| 4 |
+
|
| 5 |
+
4 Facebook AI Google AI
|
| 6 |
+
|
| 7 |
+
# Abstract
|
| 8 |
+
|
| 9 |
+
Despite rapid progress in the recent past, current speech recognition systems still require labeled training data which limits this technology to a small fraction of the languages spoken around the globe. This paper describes wav2vec-U, short for wav2vec Unsupervised, a method to train speech recognition models without any labeled data. We leverage self-supervised speech representations to segment unlabeled audio and learn a mapping from these representations to phonemes via adversarial training. The right representations are key to the success of our method. Compared to the best previous unsupervised work, wav2vec-U reduces the phone error rate on the TIMIT benchmark from 26.1 to 11.3. On the larger English Librispeech benchmark, wav2vec-U achieves a word error rate of 5.9 on test-other, rivaling some of the best published systems trained on 960 hours of labeled data from only two years ago. We also experiment on nine other languages, including low-resource languages such as Kyrgyz, Swahili and Tatar. The code is available at https://github.com/pytorch/fairseq/tree/ master/examples/wav2vec/unsupervised
|
| 10 |
+
|
| 11 |
+
# 1 Introduction
|
| 12 |
+
|
| 13 |
+
Speech recognition performance on the much studied English Librispeech benchmark [Panayotov et al., 2015] has seen rapid improvement over the last few years due to advances in model architectures [Dong et al., 2018, Synnaeve et al., 2020, Gulati et al., 2020], semi-supervised learning [Xu et al., 2020b, Park et al., 2020] and self-supervised learning [van den Oord et al., 2018, Chung and Glass, 2018, Chung et al., 2019b, Baevski et al., 2020c]. However, all of these techniques require transcribed speech data which is not available for the vast majority of the nearly 7,000 languages of the world [Lewis et al., 2016]. As a result, speech recognition technology is only available for about 125 different languages [Google, 2021]. On the other hand, humans learn a lot about speech simply by listening to others around them and without explicit supervision [Werker and Tees, 1984, Hirsh-Pasek et al., 1987, Polka and Werker, 1994, Jusczyk et al., 1999, Johnson and Jusczyk, 2001].
|
| 14 |
+
|
| 15 |
+
Unsupervised learning has been very successful in machine translation resulting in systems that obtain remarkable accuracy given no labeled training data at all [Conneau et al., 2018, Lample et al., 2018, Artetxe et al., 2018]. Inspired by this, there has been some work on unsupervised speech recognition based on learning to align unlabeled text and audio [Yeh et al., 2019] or adversarial learning [Liu et al., 2018, Chen et al., 2019]. These approaches showed promising initial results but their error rates are still high, with evaluation being limited to the small-scale and clean TIMIT benchmark.
|
| 16 |
+
|
| 17 |
+
In this work, we introduce a framework for unsupervised learning of speech recognition models. Wav2vec-U, or wav2vec Unsupervised, leverages self-supervised representations from wav2vec 2.0 [Baevski et al., 2020c] to embed the speech audio and to segment the audio into units with a simple $\mathrm { k }$ -means clustering method (see Figure 1 for an illustration of our approach). We find that the quality of the audio representations is key to the success of unsupervised speech recognition. Similar to Liu et al. [2018] and Chen et al. [2019], we learn a mapping between segments and phonemes using adversarial training but different to their work, we also enable the algorithm to label segments as silences. We also introduce an unsupervised cross-validation metric to enable model development without labeled development data. Our unsupervised speech recognition model, the generator, is very lightweight: it consists of a single temporal convolution comprising only about 90k parameters to which we input frozen wav2vec 2.0 representations.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Illustration of wav2vec Unsupervised: we learn self-supervised representations with wav2vec 2.0 on unlabeled speech audio (Step 1), identify clusters in the representations with $\mathbf { k }$ -means (Step 2) to segment the audio (Step 3). Next, we build segment representations by mean pooling the wav2vec 2.0 representations, performing PCA and a second mean pooling step between adjacent segments (Step 4). This is input to the generator which outputs a phoneme sequence (Step 5) fed to the discriminator, similar to phonemized unlabeled text (Step 6), for adversarial training (Step 7).
|
| 21 |
+
|
| 22 |
+
Experimental results demonstrate the viability of the framework for a variety of settings and languages. wav2vec-U improves the phone error rate (PER) on the small-scale TIMIT benchmark from 26.1 to 11.3 compared to the next best known unsupervised approach. To get a better sense of the performance compared to the best supervised methods, we measure performance on the larger Librispeech benchmark where our method achieves word error rate (WER) 5.9 on test-other. We also evaluate on six other European languages of the multilingual Librispeech benchmark [Pratap et al., 2020] and on three non-European low-resource languages.
|
| 23 |
+
|
| 24 |
+
# 2 Speech and Text Representations
|
| 25 |
+
|
| 26 |
+
Next, we describe how we build suitable speech and text representations for unsupervised learning.
|
| 27 |
+
Good representations are essential to learning a mapping from speech to text without supervision.
|
| 28 |
+
|
| 29 |
+
# 2.1 Self-supervised Learning of Speech Audio Representations
|
| 30 |
+
|
| 31 |
+
In the first step, we learn representations of the speech audio signal using self-supervised learning. There has been a lot of recent work in this direction which has shown strong performance in extremely low-labeled data setups across a range of languages [Conneau et al., 2020] and tasks [Fan et al., 2021, Pepino et al., 2021, Wang et al., 2021].
|
| 32 |
+
|
| 33 |
+
Wav2vec 2.0 consists of a convolutional feature encoder $f : \mathcal X \mapsto \mathcal Z$ that maps a raw audio sequence $X$ to latent speech representations $z _ { 1 } , \dots , z _ { T }$ , which a Transformer $g : { \mathcal { Z } } \mapsto { \mathcal { C } }$ then turns into context representations $c _ { 1 } , \ldots , c _ { T }$ [Baevski et al., 2020b,a]. Each $z _ { t }$ represents about $2 5 \mathrm { m s }$ of audio strided by $2 0 \mathrm { m s }$ and the Transformer architecture follows BERT [Vaswani et al., 2017, Devlin et al., 2019]. During training, latent representations are discretized to $q _ { 1 } , \ldots , q _ { T }$ with a quantization module ${ \mathcal { Z } } \mapsto { \mathcal { Q } }$ to represent the targets in the objective. Quantization uses a Gumbel softmax to choose entries from two codebooks [Jegou et al., 2011, Jang et al., 2016, Baevski et al., 2020b].
|
| 34 |
+
|
| 35 |
+
In our experiments, we use the publicly available English model pre-trained on $5 3 \mathrm { k }$ hours of LibriLight [Kahn et al., 2020b] as well as XLSR-53 which was pre-trained on nearly 60k hours of speech audio in 53 languages [Conneau et al., 2020].
|
| 36 |
+
|
| 37 |
+
# 2.2 Pre-processing and Embedding the Audio Data
|
| 38 |
+
|
| 39 |
+
Removing Silences. Most datasets we use for our experiments have audio data with silences. However, these parts of the audio do not correspond to any transcription and we therefore remove silences as much as possible. We apply rVAD, an unsupervised voice activity detection (VAD) model which determines the segments in the audio data corresponding to silences, and we remove these sections [Tan et al., 2020]. We ablate this choice in Appendix C.
|
| 40 |
+
|
| 41 |
+
Speech Audio Representations. After silence removal, we embed the unlabeled speech audio with wav2vec 2.0 to obtain speech representations. Specifically, we use the representations of the context Transformer network $c _ { 1 } , \ldots , c _ { T }$ $( \ S 2 . 1 )$ . The context network contains 24 Transformer blocks and we denote the output of block $l$ at time-step $t$ as $c _ { t } ^ { l }$ . Our goal is to learn a model which can map from audio representations $c _ { t } ^ { l }$ to phonemes using no supervision. However, the representations of the uppermost block of wav2vec 2.0 may not be well suited for this task. These features are trained to directly predict masked latent representations spanning $2 5 \mathrm { m s }$ of speech audio which is much shorter than the typical duration of a phoneme.
|
| 42 |
+
|
| 43 |
+
To get a better sense of this, we train supervised phoneme recognizers with a CTC loss [Graves et al., 2006] on top of the frozen representations of each of the 24 blocks of the English wav2vec 2.0 LARGE model pre-trained on Libri-Light. We then evaluate phone error rate (PER) with respect to the phonemized transcriptions of Librispeech dev-other. The classifier takes as input $c _ { t } ^ { l }$ and contains a single softmax-normalized linear layer mapping to the phoneme inventory. Figure 2 shows that most of the first ten blocks as well as the final blocks provide very poor performance, while blocks 15-19 provide error rates below $9 \%$ PER. Block 15 achieves the best error rate of $7 . 5 \%$ PER. A similar insight has been used in the concurrent work of Hsu et al. [2021b]. Appendix A shows that this choice generalizes to other languages. For brevity we drop the superscript $l$ and refer to block 15 representations simply as $c _ { 1 } , \ldots , c _ { T }$ .
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
Figure 2: Supervised phoneme recognition using representations from different wav2vec 2.0 blocks on dev-other of English Librispeech. Low and high blocks do not provide good features, while as blocks 14-19 do. Block 15 performs best.
|
| 47 |
+
|
| 48 |
+
# 2.3 Segmenting the Audio Signal
|
| 49 |
+
|
| 50 |
+
Once the speech signal is embedded, we identify segments corresponding to meaningful units that can be mapped to phonemes. Segmentation has been shown to be crucial in prior work [Chung et al., 2018] since the right boundaries in the input representations make it more aligned to phonetic sequences. There has been a lot of prior work in unsupervised speech segmentation [Kamper et al., 2017a,b, Rasanen et al., 2015, Kreuk et al., 2020] but here we simply use a method based on clustering the wav2vec 2.0 speech representations $c _ { 1 } , \ldots , c _ { T }$ . In a first step, we collect all the speech representations for the unlabeled speech data and perform k-means clustering to identify $K = 1 2 8$ clusters. We use the FAISS library to do fast clustering on GPUs [Johnson et al., 2019]. Next, each $c _ { t }$ is labeled with the corresponding cluster ID $i _ { t } \in \{ 1 , \ldots , K \}$ and we introduce speech segment boundaries whenever the cluster ID changes.
|
| 51 |
+
|
| 52 |
+
Once the speech audio representations are segmented, we compute a 512-dimensional PCA over all speech representations output by wav2vec 2.0 for the training set. Next, we mean-pool the PCA representations for a particular segment to obtain an average representation of the segment. The PCA retains only the most important features and we found this to be effective. Segment boundaries are noisy due to the lack of supervision and we therefore found it useful to also mean-pool pairs of adjacent segment representations to increase robustness. This results in sequences of speech segment representation $S = s _ { 1 } , \ldots , s _ { T } , S \sim { \mathcal { S } }$ for a given utterance. Appendix B shows an illustration of the segmentation strategy on an actual example as well as a quantitative evaluation of the strategy compared to human segmented data.
|
| 53 |
+
|
| 54 |
+
# 2.4 Pre-processing the Text Data
|
| 55 |
+
|
| 56 |
+
Similar to how we segment the unlabeled speech audio data into suitable units for unsupervised learning, we do the same for the unlabeled text data. We apply two pre-processing steps to the text data: phonemization and silence token insertion.
|
| 57 |
+
|
| 58 |
+
Phonemes characterize the different sounds which distinguish words from each other, e.g., for the word cat there are three phonemes corresponding to the three distinct sounds in the pronunciation of the word: /K/, /AE/, $/ \mathrm { T } / .$ . We phonemize the text data because we found it easier to learn a mapping between speech audio and the different sounds of a word rather than between audio and words or letters. Phonemization converts a sequence of words $Y$ into a sequence of phonemes $P = [ p _ { 1 } , \cdots , p _ { M } ]$ , where $p _ { m } \in O$ and $O$ is the phoneme inventory. We use off-the-shelf tools for this step which we detail in Appendix $\ S \operatorname { E } . 2$ .
|
| 59 |
+
|
| 60 |
+
The unlabeled speech audio data is pre-processed by applying unsupervised silence removal. However, this process is not always accurate and many silences in the speech audio remain. To deal with this, we enable the unsupervised model to label some segments with a phonemic silence token (SIL; $\ S \ 3 . 1 \AA .$ ). However, the phonemized unlabeled text data does not contain any silence tokens and this may pose difficulties for adversarial learning $( \ S 3 )$ . We remedy this by inserting silence markers at the beginning and end of the phonemized unlabeled text data; we also randomly insert SIL between words, or groups of phonemes corresponding to words at a rate of $2 5 \%$ . Appendix C evaluates these choices.
|
| 61 |
+
|
| 62 |
+
# 3 Unsupervised Learning
|
| 63 |
+
|
| 64 |
+
We use adversarial training to train an unsupervised speech recognition model using the representations of the unlabeled speech audio data and the unlabeled phonemized text data [Liu et al., 2018, Chen et al., 2019]. In the following, we detail the model architecture, the training objective as well as the unsupervised cross-validation metric we developed.
|
| 65 |
+
|
| 66 |
+
# 3.1 Model Architecture
|
| 67 |
+
|
| 68 |
+
Generative adversarial networks (GAN; Goodfellow et al. 2014) train a generator network $\mathcal { G }$ and a discriminator/critic network $\mathcal { C }$ where the generator produces samples which are then judged by the discriminator. The discriminator is trained to classify whether samples are from the generator or from the real data distribution. The objective of the generator is to produce samples that are indistinguishable by the discriminator.
|
| 69 |
+
|
| 70 |
+
Concretely, $\mathcal { G }$ takes as input a sequence of $T$ segment representations $S = [ s _ { 1 } , \dotsc , s _ { T } ]$ (§ 2.3) which are then mapped to a sequence of $M$ phonemes $\mathcal { G } ( S ) \bar { = } [ p _ { 1 } , \dotsc , p _ { M } ]$ . The generator predicts a distribution over the phoneme set $O$ for each segment and outputs the phoneme with the highest probability. If the argmax prediction of consecutive segments result in the same phoneme, then we sample one of these segments, therefore $M \leq T$ .
|
| 71 |
+
|
| 72 |
+
The phoneme set $O$ includes a silence label SIL to enable labeling silences in the speech audio as such. Without a silence label, we noticed that the model was repurposing a particular phoneme to label silences which resulted in much lower performance since it interfered with subsequent language model (LM) decoding. In the backward pass, we back-propagate through segments sampled at the generator output. We do not modify the segment representations $S$ during unsupervised training. The generator is parameterized as a single layer convolutional neural network (CNN).
|
| 73 |
+
|
| 74 |
+
The discriminator takes as input either a sequence $P ^ { r } \sim \mathcal { P } ^ { r }$ of one-hot vectors denoting phonemized text from the real data distribution ${ \mathcal { P } } ^ { r }$ or a sequence of output distributions from the generator $\mathcal { G } ( S )$ . Each input vector has $| O |$ dimensions to represent the distribution over phonemes for each segment. The discriminator is also a CNN which outputs a probability indicating how likely the sample is to be from the data distribution.
|
| 75 |
+
|
| 76 |
+
# 3.2 Objective
|
| 77 |
+
|
| 78 |
+
In our setup we use the original GAN objective with a gradient penalty [Goodfellow et al., 2014, Arjovsky et al., 2017], a segment smoothness penalty and a phoneme diversity penalty:
|
| 79 |
+
|
| 80 |
+
$$
|
| 81 |
+
\operatorname* { m i n } _ { \mathcal { G } } \operatorname* { m a x } _ { \mathcal { C } } \quad \mathbb { E } _ { \mathcal { P } ^ { r } \sim \mathcal { P } ^ { r } } \left[ \log \mathcal { C } ( \boldsymbol { P } ^ { r } ) \right] - \underset { S \sim \mathcal { S } } { \mathbb { E } } \left[ \log \left( 1 - \mathcal { C } ( \mathcal { G } ( S ) ) \right) \right] - \lambda \mathcal { L } _ { g p } + \gamma \mathcal { L } _ { s p } + \eta \mathcal { L } _ { p d }
|
| 82 |
+
$$
|
| 83 |
+
|
| 84 |
+
where $P ^ { r } \sim \mathcal { P } ^ { r }$ is phonemized unlabeled text, $\mathcal { G } ( S )$ is the transcription output by the generator of input segment representations $S$ for some unlabeled speech audio. The first term trains the discriminator to assign high probability to real transcriptions, the second term encourages the discriminator to assign low probability to generator outputs, $\mathcal { L } _ { g p }$ is a gradient penalty, $\mathcal { L } _ { s p }$ is a smoothness penalty and $\mathcal { L } _ { p d }$ is a phoneme diversity loss which we detail next. During training we alternate updates for the discriminator and the generator. We also alternate batches of predicted transcriptions from the generator and phonemized unlabeled text.
|
| 85 |
+
|
| 86 |
+
Gradient penalty. To stabilize training, we penalize the gradient norm of the discriminator with respect to the input [Gulrajani et al., 2017]. The penalty is computed for random samples $\tilde { P } \sim \tilde { \mathcal { P } }$ which are a linear combination of the activations of pairs of real and fake samples.2
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
\mathcal { L } _ { g p } = \underset { \tilde { P } \sim \tilde { \mathcal { P } } } { \mathbb { E } } \left[ \left( \| \nabla \mathcal { C } ( \tilde { P } ) \| - 1 \right) ^ { 2 } \right]
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
Segment smoothness penalty. The $\mathbf { k }$ -means segmentation of the speech audio is more granular than a typical phonemized transcription and neighboring representations are highly correlated. We therefore found it useful to add a penalty which encourages the generator to produce similar outputs for adjacent segments where $p _ { t } \in \mathbb { R } ^ { | O | }$ :
|
| 93 |
+
|
| 94 |
+
$$
|
| 95 |
+
\mathcal { L } _ { s p } = \sum _ { ( p _ { t } , p _ { t + 1 } ) \in \mathcal { G } ( S ) } \| p _ { t } - p _ { t + 1 } \| ^ { 2 }
|
| 96 |
+
$$
|
| 97 |
+
|
| 98 |
+
Phoneme diversity loss. We also found it helpful to penalize low usage of the phoneme vocabulary by the generator on the batch level. In particular, we maximize the entropy of the averaged softmax distribution $H _ { \mathcal { G } } ( \mathcal { G } ( S ) )$ of the generator over the phoneme vocabulary across a batch $B$ of utterances:
|
| 99 |
+
|
| 100 |
+
$$
|
| 101 |
+
\mathcal { L } _ { p d } = \frac { 1 } { | B | } \sum _ { S \in B } - H _ { \mathcal { G } } ( \mathcal { G } ( S ) )
|
| 102 |
+
$$
|
| 103 |
+
|
| 104 |
+
# 3.3 Unsupervised Cross-Validation Metric
|
| 105 |
+
|
| 106 |
+
Our goal is to build speech recognition models without any supervision. To this end, we developed a cross-validation metric which does not require labeled data. We use the metric for early stopping, selecting a random seed, and hyper-parameter selection $( \lambda , \gamma , \eta )$ .
|
| 107 |
+
|
| 108 |
+
We consider two quantities in our metric: LM negative log-likelihood (NLL) and vocabulary usage. LM-NLL serves as an indicator of fluency for a given transcription and it is measured with a language model $p _ { L M }$ trained on phonemized text data $( \ S ~ 2 . 4 )$ . Vocabulary usage is the proportion of the phoneme vocabulary being output by the model via Viterbi decoding. Measuring vocabulary usage identifies degenerate models which output fluent but trivial transcriptions.
|
| 109 |
+
|
| 110 |
+
We deaudio rbias criptions for a given generator configuration . LM-NLL is measured in the standard way o $\mathcal { G }$ and unlabeled speechr the phonemized tran$\{ X _ { j } \} _ { j = 1 } ^ { N _ { s } }$ $\mathbf { \bar { \mathcal { P } } } = \{ P _ { j } \} _ { j = 1 } ^ { N _ { s } }$ scriptions: $\begin{array} { r } { N L L _ { L M } ( \mathcal { P } ) = \frac { 1 } { N _ { s } } \sum _ { j = 1 } ^ { N _ { s } } N L L _ { L M } ( P _ { j } ) } \end{array}$ where $\begin{array} { r } { N L L _ { L M } ( P ) = - \frac { 1 } { M } \sum _ { t = 1 } ^ { M } \log p _ { L M } ( p _ { t } ) } \end{array}$ using $p _ { L M } ( p _ { t } )$ as shorthand for $p _ { L M } ( p _ { t } | p _ { t - 1 } , . . . , p _ { 1 } )$ .3 On the other hand, we use $U ( { \mathcal { P } } ) =$ $\begin{array} { r } { \frac { 1 } { | O | } \bar { \sum _ { o \in O } } [ o \in \mathcal { P } ] \in [ 0 , 1 ] } \end{array}$ to denote the vocabulary usage of $\mathcal { P }$ .
|
| 111 |
+
|
| 112 |
+
In a first step, we generate phoneme transcriptions for different training checkpoints or hyperparameter settings and denote the transcriptions of the configuration with the lowest vocabulary-usage adjusted NLL as $\begin{array} { r } { \hat { \mathcal { P } } = \arg \operatorname* { m i n } _ { \mathcal { P } } N L L _ { L M } ( \mathcal { P } ) - \log U ( \mathcal { P } ) } \end{array}$ .4 Next, we discard model configurations which do not satisfy the following using $\hat { \mathcal { P } }$ as the anchor:
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
N L L _ { L M } ( \mathcal { P } ) < N L L _ { L M } ( \hat { \mathcal { P } } ) + \log \left( \frac { U ( \mathcal { P } ) } { U ( \hat { \mathcal { P } } ) } \right) + \log 1 . 2
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
The second term on the right hand side introduces a margin over the NLL of the anchor transcription $N L L _ { L M } ( \hat { \mathcal { P } } )$ based on the vocabulary usage of $\mathcal { P }$ and $\hat { \mathcal { P } }$ : If $U ( \hat { \mathcal { P } } )$ is much lower compared to $U ( \mathcal { P } )$ , then we allow model configurations which produce transcriptions with higher NLL compared to $\hat { \mathcal { P } }$ . However, if $U ( \hat { \mathcal { P } } )$ is a lot higher than $U ( \mathcal { P } )$ , then the model configuration will not satisfy the constraint. The $\log 1 . 2$ factor serves as another margin allowing checkpoints with slightly worse vocabulary-usage adjusted NLL to be included.
|
| 119 |
+
|
| 120 |
+
In a final step, we take into account the length of the transcriptions: out of the configurations ${ \mathcal { P } } ^ { \prime }$ which satisfy the above constraint, we select the one which has the highest sum of log probability without normalizing the length:
|
| 121 |
+
|
| 122 |
+
$$
|
| 123 |
+
\mathcal { P } ^ { * } = \arg \operatorname* { m a x } _ { \mathcal { P } ^ { \prime } } \sum _ { j = 1 } ^ { N _ { s } } \sum _ { t = 1 } ^ { M } \log p _ { L M } ( p _ { t } ^ { j } ) , M = | P ^ { j } | , P ^ { j } = [ p _ { 1 } ^ { j } , \dots , p _ { M } ^ { j } ]
|
| 124 |
+
$$
|
| 125 |
+
|
| 126 |
+
This selects model configurations which produce phoneme sequences that score high under the language model but are not too long. Appendix D compares accuracy when developing with this metric compared to a labeled development set.
|
| 127 |
+
|
| 128 |
+
# 4 Results
|
| 129 |
+
|
| 130 |
+
# 4.1 Comparison to Supervised Speech Recognition on Librispeech
|
| 131 |
+
|
| 132 |
+
We first test our approach on Librispeech to get a sense of how unsupervised speech recognition compares to the best supervised systems trained on a large amount of labeled data. Librispeech is a standard benchmark in the speech recognition community which provides about 960 hours of transcribed read audiobooks. We use the language modeling data of Librispeech as unlabeled text data for unsupervised training. In Appendix G we show that far less unlabeled text and speech audio are sufficient to reach a similar level of performance. We experiment with the frozen representations of a wav2vec 2.0 LARGE model trained on the $5 3 . 2 \mathrm { k }$ hours of Libri-Light (LL-60k) which we denote as wav2vec-U LARGE. We also consider self-training over three iterations by first training an HMM on the labels generated by the GANm then fine-tuning the original wav2vec 2.0 model on the labels of the HMM for Librispeech followed by then fine-tuning on Libri-Light; Appendix F investigates alternatives.
|
| 133 |
+
|
| 134 |
+
wav2vec-U LARGE with self-training (wav2vec- $\mathbf { \partial } . \mathbf { U } + \mathbf { S } \mathbf { T } ,$ ) and a Transformer language model achieves WER 5.9 on test-other, the noisy test set. This shows that unsupervised speech recognition can perform remarkably well compared to the best supervised systems of the recent past on this much studied benchmark. Also, self-training is effective even when the teacher model is unsupervised as per the improvement over GAN training (wav2vec-U). Interestingly, self-training on just Librispeech, or 960 hours of unlabeled speech audio, achieves already very good performance of WER 6.4 on dev-other compared to self-training on all of Libri-Light (53.2k hours) which compares at 6.0 WER. We note that the number of parameters trained during adversarial training is very small: the generator contains only about 90k parameters for a single temporal convolution mapping to the phoneme set from frozen wav2vec 2.0 representations.
|
| 135 |
+
|
| 136 |
+
Table 1: WER on Librispeech dev/test sets when using 960 hours of unlabeled audio from Librispeech (LS-960) or $5 3 . 2 \mathrm { k }$ hours from Libri-Light (LL-60k) using representations from wav2vec 2.0 LARGE. Librispeech provides clean dev/test sets which are less challenging than the other sets. We report results for GAN training only (wav2vec-U) and with subsequent self-training (wav2vec- $\mathbf { \partial } . \mathbf { U } + \mathbf { S } \mathbf { T } ,$ .
|
| 137 |
+
|
| 138 |
+
<table><tr><td rowspan="2">Model</td><td rowspan="2">Unlabeled data</td><td rowspan="2">LM</td><td colspan="2">dev</td><td colspan="2">test</td></tr><tr><td>clean</td><td>other</td><td>clean</td><td>other</td></tr><tr><td>960h - Supervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>DeepSpeech 2 [Amodei et al.,2016]</td><td></td><td>5-gram</td><td></td><td></td><td>5.33</td><td>13.25</td></tr><tr><td>Fully Conv [Zeghidour et al., 2018]</td><td></td><td>ConvLM</td><td>3.08</td><td>9.94</td><td>3.26</td><td>10.47</td></tr><tr><td>TDNN+Kaldi [Xu et al., 2018]</td><td></td><td>4-gram</td><td>2.71</td><td>7.37</td><td>3.12</td><td>7.63</td></tr><tr><td>SpecAugment [Park et al., 2019]</td><td></td><td>RNN</td><td>1</td><td>-</td><td>2.5</td><td>5.8</td></tr><tr><td>ContextNet [Han et al.,2020]</td><td></td><td>LSTM</td><td>1.9</td><td>3.9</td><td>1.9</td><td>4.1</td></tr><tr><td>Conformer [Gulati et al.,2020]</td><td></td><td>LSTM</td><td>2.1</td><td>4.3</td><td>1.9</td><td>3.9</td></tr><tr><td>960h - Self and semi-supervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Transf.+ PL [Synnaeve et al.,2020]</td><td>LL-60k</td><td>CLM+Transf.</td><td>2.00</td><td>3.65</td><td>2.09</td><td>4.11</td></tr><tr><td>IPL [Xu et al., 2020b]</td><td>LL-60k</td><td>4-gram+Transf.</td><td>1.85</td><td>3.26</td><td>2.10</td><td>4.01</td></tr><tr><td>NST [Park et al., 2020]</td><td>LL-60k</td><td>LSTM</td><td>1.6</td><td>3.4</td><td>1.7</td><td>3.4</td></tr><tr><td>wav2vec 2.0 [Baevski et al.,2020c]</td><td>LL-60k</td><td>Transf.</td><td>1.6</td><td>3.0</td><td>1.8</td><td>3.3</td></tr><tr><td>wav2vec 2.0 + NST [Zhang et al.,2020b]</td><td>LL-60k</td><td>LSTM</td><td>1.3</td><td>2.6</td><td>1.4</td><td>2.6</td></tr><tr><td>Unsupervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>wav2vec-ULARGE</td><td>LL-60k</td><td>4-gram</td><td>13.3</td><td>15.1</td><td>13.8</td><td>18.0</td></tr><tr><td>wav2vec-ULARGE+ ST</td><td>LL-60k</td><td>4-gram</td><td>3.4</td><td>6.0</td><td>3.8</td><td>6.5</td></tr><tr><td></td><td>LL-60k</td><td>Transf.</td><td>3.2</td><td>5.5</td><td>3.4</td><td>5.9</td></tr></table>
|
| 139 |
+
|
| 140 |
+
# 4.2 Comparison to Prior Unsupervised Work
|
| 141 |
+
|
| 142 |
+
Prior work on unsupervised speech recognition focused on the TIMIT benchmark. In order to perform a direct comparison to these approaches, we report results on this benchmark as well. We consider two setups to compare to previous work: in the matched setting, the unlabeled text data is simply the transcriptions of the unlabeled audio data but unpaired. In the unmatched setup, the unlabeled text data does not contain the transcriptions for the audio data which is a more realistic setting.
|
| 143 |
+
|
| 144 |
+
We measure performance on the standard Kaldi dev and test sets (core-dev/core-test) as well as a slightly larger version of the test set (all-test) to be able to compare to Liu et al. [2018] and Chen et al. [2019]. Further details of the two setups can be found in Appendix $\ S \operatorname { E } . 1$ . We report performance for wav2vec-U with a 4-gram language model trained on the language modeling data of TIMIT and we also consider self-training (wav2vec- $\mathbf { \partial } . \mathbf { U } + \mathbf { S } \mathbf { T }$ ).
|
| 145 |
+
|
| 146 |
+
Table 2 shows that wav2vec-U outperforms prior unsupervised work in both the matched and unmatched settings, reducing PER on all-test in the matched setup by $57 \%$ relative compared to Chen et al. [2019]. Our method has lower performance than the best supervised methods but it performs still very well at PER 12 on core-test in the matched setup compared to PER 8.3 for the state of the art [Baevski et al., 2020c].
|
| 147 |
+
|
| 148 |
+
# 4.3 Performance on non-English languages
|
| 149 |
+
|
| 150 |
+
To get a sense of how well the method works on non-English data, we experiment on six languages of the multilingual Librispeech corpus (MLS; Pratap et al. 2020). As baseline we consider the supervised systems of Pratap et al. [2020] trained on between $2 \mathrm { k }$ and 161 hours of labeled data, depending on the language. For adversarial learning we use 100 hours of unlabeled audio data from MLS for every language as well as the MLS language modeling data. As input to wav2vec-U we use the representations from XLSR-53 [Conneau et al., 2020], a wav2vec 2.0 model pre-trained on 53 languages. Table 3 shows that wav2vec-U generalizes across a range of languages. Performance is lower than supervised systems but it shows the viability for other languages.
|
| 151 |
+
|
| 152 |
+
Next, we turn to three low-resource languages, Swahili, Kyrgyz, and Tatar. Swahili is an African language, Kyrgyz and Tatar are Turkic languages with only about $4 . 3 \mathrm { m }$ and $5 . 2 \mathrm { m }$ speakers, respectively.5 We use between 1.8 hours (Kyrgyz) and 9.2 hours of unlabeled audio (Swahili), see Appendix $\ S \operatorname { E } . 1$ .
|
| 153 |
+
|
| 154 |
+
Table 2: TIMIT Phoneme Error Rate (PER) in comparison to previous work for the matched and unmatched training data setups (Appendix $\ S \operatorname { E . 1 }$ ). PER is measured on the Kaldi dev and test sets (core-dev/core-test) as well as a slightly larger version of the test set (all-test) as used by some of the prior work. $( ^ { * } )$ indicates experiments that do not use the standard split excluding SA utterances.
|
| 155 |
+
|
| 156 |
+
<table><tr><td>Model</td><td>LM</td><td>core-dev</td><td>core-test</td><td>all-test</td></tr><tr><td colspan="5">Supervised learning</td></tr><tr><td>LiGRU [Ravanelli et al., 2018]</td><td></td><td></td><td>14.9</td><td></td></tr><tr><td>LiGRU [Ravanelli et al., 2019]</td><td></td><td></td><td>14.2</td><td></td></tr><tr><td colspan="5">Self and semi-supervised learning</td></tr><tr><td>vq-wav2vec [Baevski et al.,2020b]</td><td></td><td>9.6</td><td>11.6</td><td></td></tr><tr><td>wav2vec 2.0 [Baevski et al.,2020c]</td><td></td><td>7.4</td><td>8.3</td><td></td></tr><tr><td colspan="5">Unsupervised learning - matched setup</td></tr><tr><td>EODM[Yeh et al.,2019]</td><td>5-gram</td><td></td><td>36.5</td><td>=</td></tr><tr><td>GAN*[Chen et al., 2019]</td><td>9-gram</td><td></td><td>=</td><td>48.6</td></tr><tr><td>GAN + HMM* [Chen et al.,2019]</td><td>9-gram</td><td>■</td><td>-</td><td>26.1</td></tr><tr><td>wav2vec-U</td><td>4-gram</td><td>17.0</td><td>17.8</td><td>16.6</td></tr><tr><td>wav2vec-U + ST</td><td>4-gram</td><td>11.3</td><td>12.0</td><td>11.3</td></tr><tr><td colspan="5">Unsupervised learning - unmatched setup</td></tr><tr><td>EODM[Yeh et al., 2019]</td><td>5-gram</td><td></td><td>41.6</td><td>■</td></tr><tr><td>GAN* [Chen et al.,2019]</td><td>9-gram</td><td></td><td>=</td><td>50.0</td></tr><tr><td>GAN + HMM* [Chen et al., 2019]</td><td>9-gram</td><td>=</td><td>-</td><td>33.1</td></tr><tr><td>wav2vec-U*</td><td>4-gram</td><td>21.3</td><td>22.3</td><td>24.4</td></tr><tr><td>wav2vec-U + ST*</td><td>4-gram</td><td>13.8</td><td>15.0</td><td>18.6</td></tr></table>
|
| 157 |
+
|
| 158 |
+
Table 3: WER on the Multilingual Librispeech (MLS) dataset using representations from the wav2vec 2.0 XLSR-53 model. We consider German (de), Dutch (nl), French (fr), Spanish (es), Italian (it), Portuguese (pt).
|
| 159 |
+
|
| 160 |
+
<table><tr><td>Model</td><td>Labeled data used</td><td>LM</td><td>de</td><td>nl</td><td>fr</td><td>es</td><td>it</td><td>pt</td><td>Avg</td></tr><tr><td>Labeled training hours (full)</td><td></td><td></td><td>2k</td><td>1.6k</td><td>1.1k</td><td>918</td><td>247</td><td>161</td><td></td></tr><tr><td>Supervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Pratap et al. [2020]</td><td>full</td><td> 5-gram</td><td>6.49</td><td>12.02</td><td>5.58</td><td>6.07</td><td>10.54</td><td>19.49</td><td>10.0</td></tr><tr><td>Unsupervised learning</td><td>0h</td><td></td><td></td><td></td><td></td><td>33.3</td><td></td><td></td><td></td></tr><tr><td>wav2vec-U</td><td></td><td> 4-gram</td><td>32.5</td><td>40.2</td><td>39.8</td><td></td><td>58.1</td><td>59.8</td><td>43.9</td></tr><tr><td>wav2vec-U + ST</td><td>0h</td><td>4-gram</td><td>11.8</td><td>21.4</td><td>14.7</td><td>11.3</td><td>26.3</td><td>26.3</td><td>18.6</td></tr></table>
|
| 161 |
+
|
| 162 |
+
To compare to prior work, we measure WER for Swahili and PER for Kyrgyz and Tatar. For Tatar and Kyrgyz we opted to use a reduced self-training regime for faster experimental turn-around where we only perform HMM self-training and we expect better performance with the full self-training setup (Appendix F). Table 4 and Table 5 show that wav2vec-U achieves good performance on these low-resource languages compared to previous work that utilized labeled data. We note that for Tatar and Kyrgyz we use a much smaller amount of speech audio than prior work: compared to XLSR-53 we use $1 . 8 \mathrm { h }$ unlabeled data vs 17h of labeled data for Kyrgyz and 4.6h vs. 17h for Tatar.
|
| 163 |
+
|
| 164 |
+
# 5 Related Work
|
| 165 |
+
|
| 166 |
+
This paper builds on a large body of prior work which includes semi-supervised speech recognition such as self-training [Kahn et al., 2020a, Xu et al., 2020b, Park et al., 2020]. Some of the earliest work in self-supervised learning of speech representations was was done by van den Oord et al. [2018] for phoneme recognition which was simplified in Schneider et al. [2019] who applied it to full speech recognition. Other work includes language model-style pre-training [Chung et al., 2019a] and learning fixed size representations of audio segments [Chung and Glass, 2018]. There is also work on quantization of the continuous speech data [Baevski et al., 2020b,a, Liu et al., 2019, van Niekerk et al., 2020, Baevski et al., 2020c, Hsu et al., 2021b] and on robustness to domain shift [Hsu et al., 2021a], multilingual pre-training [Kawakami et al., 2020, Conneau et al., 2020] as well as combining speech and vision [Harwath et al., 2020].
|
| 167 |
+
|
| 168 |
+
Table 4: PER for low-resource languages, Tatar (tt) and Kyrgyz (ky).
|
| 169 |
+
|
| 170 |
+
<table><tr><td>Model</td><td>tt</td><td>ky</td></tr><tr><td colspan="3">Supervised learning</td></tr><tr><td>Fer et al. [2017]</td><td>42.5</td><td>38.7</td></tr><tr><td>m-CPC [Riviere et al., 2020]</td><td>42.0</td><td>41.2</td></tr><tr><td>XLSR-53 [Conneau et al.,2020]</td><td>5.1</td><td>6.1</td></tr><tr><td colspan="3">Unsupervised learning</td></tr><tr><td>wav2vec-U</td><td>25.7</td><td>24.1</td></tr><tr><td>wav2vec-U + HMM</td><td>13.7</td><td>14.9</td></tr></table>
|
| 171 |
+
|
| 172 |
+
Table 5: WER for Swahili from the ALFFA corpus. We compare to the supervised baseline of the ALFFA project.
|
| 173 |
+
|
| 174 |
+
<table><tr><td>Model</td><td>sw</td></tr><tr><td>Supervised learning</td><td></td></tr><tr><td>Besacier et al. [2015]</td><td>27.36</td></tr><tr><td>Unsupervised learning</td><td></td></tr><tr><td>wav2vec-U</td><td>52.6</td></tr><tr><td>wav2vec-U + ST</td><td>32.2</td></tr></table>
|
| 175 |
+
|
| 176 |
+
Learning to map speech to phonemes without supervision using adversarial learning has been explored by Liu et al. [2018] who learn a mapping matrix between segment identifiers and phonemes. However, their work still relied on data segmented into phonemes by human annotators. This has been later extended to use an automatic segmentation [Chen et al., 2019] which is iteratively refined with HMMs. However, cross validation is still performed using labeled data (personal communication with authors). We also explored HMMs to refine segmentation boundaries (Table A2) but did not find it as effective as self-training. Our work is in part inspired by aligning word embedding spaces of different languages [Mikolov et al., 2013, Artetxe et al., 2017, Conneau et al., 2018] and full unsupervised machine translation [Lample et al., 2018, Artetxe et al., 2018, Conneau and Lample, 2019].
|
| 177 |
+
|
| 178 |
+
# 6 Conclusion and Future Work
|
| 179 |
+
|
| 180 |
+
wav2vec-U is a framework which enables building speech recognition models without labeled data. It embeds and segments the speech audio with self-supervised representations from wav2vec 2.0, learns a mapping to phonemes with adversarial learning, and cross-validates hyper-parameter choices as well as early stopping with an unsupervised metric. Experiments on the standard Librispeech benchmark show performance close to the state of the art models from only a few years ago, even though these models relied on nearly 1,000 hours of labeled data.
|
| 181 |
+
|
| 182 |
+
Compared to the previous best unsupervised speech recognition approach, wav2vec-U reduces TIMIT phone error rate from 26.1 to 11.3. We also demonstrate the viability of our approach on several languages other than English, some of which are low-resource. The ability to build speech recognition models solely from unlabeled speech audio and unlabeled text drastically lowers the effort to build speech technology for many more languages of the world.
|
| 183 |
+
|
| 184 |
+
Our approach requires phonemization of the text for the language of interest. Moreover, phonemizers are not available for all languages and this presents a bottleneck. To address this, future work may develop phonemizers for more languages, explore phonemization approaches that generalize across languages, or unsupervised training with graphemic text units such as letters.
|
| 185 |
+
|
| 186 |
+
We explored a simple segmentation technique based on self-supervised representations, however, there is a large body of research on segmentation and some of these techniques may lead to improvements over our simple approach [Varadarajan et al., 2008, Zhang and Glass, 2009, Gish et al., 2009, Lee and Glass, 2012, Lee et al., 2015, Ondel et al., 2016, Kamper et al., 2017a,b, Kreuk et al., 2020]. Also, wav2vec 2.0 learns representations for fixed size units with a fixed stride, however, phonemic units are of variable size. Another direction is to learn variable sized representations during pre-training.
|
| 187 |
+
|
| 188 |
+
# Acknowledgments and Disclosure of Funding
|
| 189 |
+
|
| 190 |
+
We thank Zhouhan Lin for helping with initial explorations in this project, Tatiana Likhomanenko for helpful discussions about self-training, Da-Rong Liu for sharing details to reproduce the setup of Chen et al. [2019], Marc’Aurelio Ranzato for general helpful discussions, and Ruth Kipng’eno, Ruth Ndila Ndeto as well as Mark Mutitu for error analysis of our Swahili model.
|
| 191 |
+
|
| 192 |
+
# References
|
| 193 |
+
|
| 194 |
+
S. T. Abate, W. Menzel, and B. Tafila. An amharic speech corpus for large vocabulary continuous speech recognition. In Proc. of Interspeech, 2005.
|
| 195 |
+
D. Amodei, S. Ananthanarayanan, R. Anubhai, J. Bai, E. Battenberg, C. Case, J. Casper, B. Catanzaro, Q. Cheng, G. Chen, et al. Deep speech 2: End-to-end speech recognition in english and mandarin. In Proc. of ICML, 2016.
|
| 196 |
+
R. Ardila, M. Branson, K. Davis, M. Henretty, M. Kohler, J. Meyer, R. Morais, L. Saunders, F. M. Tyers, and G. Weber. Common voice: A massively-multilingual speech corpus. Proc. of LREC, 2020.
|
| 197 |
+
M. Arjovsky, S. Chintala, and L. Bottou. Wasserstein gan. Proc. of ICML, 2017.
|
| 198 |
+
M. Artetxe, G. Labaka, and E. Agirre. Learning bilingual word embeddings with (almost) no bilingual data. In Proc. of ACL, 2017.
|
| 199 |
+
M. Artetxe, G. Labaka, E. Agirre, and K. Cho. Unsupervised neural machine translation. Proc. of ICLR, 2018.
|
| 200 |
+
A. Baevski and M. Auli. Adaptive input representations for neural language modeling. In Proc. of ICLR, 2018.
|
| 201 |
+
A. Baevski, M. Auli, and A. Mohamed. Effectiveness of self-supervised pre-training for speech recognition. Proc. of ICASSP, 2020a.
|
| 202 |
+
A. Baevski, S. Schneider, and M. Auli. vq-wav2vec: Self-supervised learning of discrete speech representations. In Proc. of ICLR, 2020b.
|
| 203 |
+
A. Baevski, Y. Zhou, A. Mohamed, and M. Auli. wav2vec 2.0: A framework for self-supervised learning of speech representations. In Proc. of NeurIPS, 2020c.
|
| 204 |
+
L. Besacier, E. Gauthier, M. Mangeot, P. Bretier, P. Bagshaw, O. Rosec, T. Moudenc, F. Pellegrino, S. Voisin, E. Marsico, and P. Nocera. Speech technologies for african languages: example of a multilingual calculator for education. In Proc. of Interspeech, 2015.
|
| 205 |
+
D. Can, V. R. Martinez, P. Papadopoulos, and S. S. Narayanan. Pykaldi: A python wrapper for kaldi. In Proc. of ICASSP, 2018.
|
| 206 |
+
K.-Y. Chen, C.-P. Tsai, D.-R. Liu, H.-Y. Lee, and L. shan Lee. Completely unsupervised speech recognition by a generative adversarial network harmonized with iteratively refined hidden markov models. In Proc. of Interspeech, 2019.
|
| 207 |
+
Y. Chung, W. Weng, S. Tong, and J. R. Glass. Unsupervised cross-modal alignment of speech and text embedding spaces. Proc. of NIPS, 2018.
|
| 208 |
+
Y. Chung, W. Hsu, H. Tang, and J. R. Glass. An unsupervised autoregressive model for speech representation learning. Proc. of Interspeech, 2019a.
|
| 209 |
+
Y.-A. Chung and J. Glass. Speech2vec: A sequence-to-sequence framework for learning word embeddings from speech. Proc. of Interspeech, 2018.
|
| 210 |
+
Y.-A. Chung, W.-N. Hsu, H. Tang, and J. Glass. An unsupervised autoregressive model for speech representation learning. Proc. of Interspeech, 2019b.
|
| 211 |
+
A. Conneau and G. Lample. Cross-lingual language model pretraining. Proc. of NeurIPS, 2019.
|
| 212 |
+
A. Conneau, G. Lample, M. Ranzato, L. Denoyer, and H. Jégou. Word translation without parallel data. Proc. of ICLR, 2018.
|
| 213 |
+
A. Conneau, A. Baevski, R. Collobert, A. Mohamed, and M. Auli. Unsupervised cross-lingual representation learning for speech recognition. arXiv, abs/2006.13979, 2020.
|
| 214 |
+
J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. Proc. of NAACL, 2019.
|
| 215 |
+
L. Dong, S. Xu, and B. Xu. Speech-transformer: A no-recurrence sequence-to-sequence model for speech recognition. In Proc. of ICASSP, 2018.
|
| 216 |
+
Z. Fan, M. Li, S. Zhou, and B. Xu. Exploring wav2vec 2.0 on speaker verification and language identification. arXiv, 2021.
|
| 217 |
+
R. Fer, P. Matejka, F. Grézl, O. Plchot, K. Vesel ˇ y, and J. H. \` Cernock ˇ y. Multilingually trained \` bottleneck features in spoken language recognition. Computer Speech & Language, 46, 2017.
|
| 218 |
+
J. S. Garofolo, L. F. Lamel, W. M. Fisher, J. G. Fiscus, D. S. Pallett, and N. L. Dahlgren. The DARPA TIMIT Acoustic-Phonetic Continuous Speech Corpus CDROM. Linguistic Data Consortium, 1993.
|
| 219 |
+
H. Gelas, L. Besacier, and F. Pellegrino. Developments of Swahili resources for an automatic speech recognition system. In Proc. of SLTU, 2012.
|
| 220 |
+
H. Gish, M. Siu, A. Chan, and W. Belfield. Unsupervised training of an hmm-based speech recognizer for topic classification. In Proc. of Interspeech, 2009.
|
| 221 |
+
I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial networks. Proc. of NIPS, 2014.
|
| 222 |
+
Google. Google cloud: Speech-to-text. https://cloud.google.com/speech-to-text, 2021. Accessed: 2021-05-13.
|
| 223 |
+
A. Graves, S. Fernández, and F. Gomez. Connectionist temporal classification: Labelling unsegmented sequence data with recurrent neural networks. In Proc. of ICML, 2006.
|
| 224 |
+
A. Gulati, J. Qin, C.-C. Chiu, N. Parmar, Y. Zhang, J. Yu, W. Han, S. Wang, Z. Zhang, Y. Wu, and R. Pang. Conformer: Convolution-augmented transformer for speech recognition. Proc. of Interspeech, 2020.
|
| 225 |
+
I. Gulrajani, F. Ahmed, M. Arjovsky, V. Dumoulin, and A. Courville. Improved training of wasserstein gans. Proc. of NIPS, 2017.
|
| 226 |
+
W. Han, Z. Zhang, Y. Zhang, J. Yu, C.-C. Chiu, J. Qin, A. Gulati, R. Pang, and Y. Wu. Contextnet: Improving convolutional neural networks for automatic speech recognition with global context. Proc. of Interspeech, 2020.
|
| 227 |
+
D. Harwath and J. Glass. Towards visually grounded sub-word speech unit discovery. In Proc. of ICASSP, pages 3017–3021. IEEE, 2019.
|
| 228 |
+
D. Harwath, W.-N. Hsu, and J. Glass. Learning hierarchical discrete linguistic units from visuallygrounded speech. In Proc. of ICLR, 2020.
|
| 229 |
+
K. Heafield. KenLM: Faster and smaller language model queries. In Proceedings of the Sixth Workshop on Statistical Machine Translation, pages 187–197, Edinburgh, Scotland, July 2011. Association for Computational Linguistics.
|
| 230 |
+
K. Hirsh-Pasek, D. G. Kemler Nelson, P. W. Jusczyk, K. W. Cassidy, B. Druss, and L. Kennedy. Clauses are perceptual units for young infants. Cognition, 26(3):269–286, 1987.
|
| 231 |
+
W.-N. Hsu, A. Sriram, A. Baevski, T. Likhomanenko, Q. Xu, V. Pratap, J. Kahn, A. Lee, R. Collobert, G. Synnaeve, et al. Robust wav2vec 2.0: Analyzing domain shift in self-supervised pre-training. arXiv preprint arXiv:2104.01027, 2021a.
|
| 232 |
+
W.-N. Hsu, Y.-H. H. Tsai, B. Bolte, R. Salakhutdinov, and A. Mohamed. Hubert: How much can a bad teacher benefit ASR pre-training? In Proc. of ICASSP, 2021b.
|
| 233 |
+
E. Jang, S. Gu, and B. Poole. Categorical reparameterization with gumbel-softmax. Proc. of ICLR, 2016.
|
| 234 |
+
H. Jegou, M. Douze, and C. Schmid. Product quantization for nearest neighbor search. IEEE Trans. Pattern Anal. Mach. Intell., 33(1):117–128, Jan. 2011.
|
| 235 |
+
E. K. Johnson and P. W. Jusczyk. Word segmentation by 8-month-olds: When speech cues count more than statistics. Journal of Memory and Language, 44(4):548–567, 2001.
|
| 236 |
+
J. Johnson, M. Douze, and H. Jégou. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 2019.
|
| 237 |
+
P. W. Jusczyk, D. M. Houston, and M. Newsome. The beginnings of word segmentation in englishlearning infants. Cognitive Psychology, 39(3):159–207, 1999.
|
| 238 |
+
J. Kahn, A. Lee, and A. Hannun. Self-training for end-to-end speech recognition. In Proc. of ICASSP, 2020a.
|
| 239 |
+
J. Kahn et al. Libri-light: A benchmark for asr with limited or no supervision. In Proc. of ICASSP, 2020b.
|
| 240 |
+
H. Kamper, A. Jansen, and S. Goldwater. A segmental framework for fully-unsupervised largevocabulary speech recognition. Comput. Speech Lang., 46(C), Nov. 2017a.
|
| 241 |
+
H. Kamper, K. Livescu, and S. Goldwater. An embedded segmental k-means model for unsupervised segmentation and clustering of speech. Proc. of ASRU, 2017b.
|
| 242 |
+
K. Kawakami, L. Wang, C. Dyer, P. Blunsom, and A. van den Oord. Learning robust and multilingual speech representations. Proc. of EMNLP, 2020.
|
| 243 |
+
D. P. Kingma and J. Ba. Adam: A Method for Stochastic Optimization. In Proc. of ICLR, 2015.
|
| 244 |
+
F. Kreuk, J. Keshet, and Y. Adi. Self-supervised contrastive learning for unsupervised phoneme segmentation. Proc. of Interspeech, 2020.
|
| 245 |
+
G. Lample, L. Denoyer, and M. Ranzato. Unsupervised machine translation using monolingual corpora only. In Proc. of ICLR, 2018.
|
| 246 |
+
C. Lee and J. R. Glass. A nonparametric bayesian approach to acoustic model discovery. In Proc. of ACL, 2012.
|
| 247 |
+
C. Lee, T. J. O’Donnell, and J. R. Glass. Unsupervised lexicon discovery from acoustic input. TACL, 2015.
|
| 248 |
+
M. P. Lewis, G. F. Simon, and C. D. Fennig. Ethnologue: Languages of the world, nineteenth edition. Online version: http://www.ethnologue.com, 2016.
|
| 249 |
+
T. Likhomanenko, Q. Xu, J. Kahn, G. Synnaeve, and R. Collobert. slimipl: Language-model-free iterative pseudo-labeling. arXiv, 2021.
|
| 250 |
+
A. H. Liu, T. Tu, H. yi Lee, and L. shan Lee. Towards unsupervised speech recognition and synthesis with quantized speech representation learning. Proc. of ICASSP, 2019.
|
| 251 |
+
D.-R. Liu, K.-Y. Chen, H.-Y. Lee, and L. shan Lee. Completely unsupervised phoneme recognition by adversarially learning mapping relationships from audio embeddings. Proc. of Interspeech, 2018.
|
| 252 |
+
T. Mikolov, Q. V. Le, and I. Sutskever. Exploiting similarities among languages for machine translation. arXiv preprint arXiv:1309.4168, 2013.
|
| 253 |
+
M. Mohri, F. Pereira, and M. Riley. Weighted finite-state transducers in speech recognition. Computer Speech & Language, 16(1):69–88, 2002.
|
| 254 |
+
L. Ondel, L. Burget, and J. Cernocký. Variational inference for acoustic unit discovery. In Proc. of SLTU, 2016.
|
| 255 |
+
M. Ott, S. Edunov, A. Baevski, A. Fan, S. Gross, N. Ng, D. Grangier, and M. Auli. fairseq: A fast, extensible toolkit for sequence modeling. In Proc. of NAACL System Demonstrations, 2019.
|
| 256 |
+
V. Panayotov, G. Chen, D. Povey, and S. Khudanpur. Librispeech: an asr corpus based on public domain audio books. In Proc. of ICASSP, pages 5206–5210. IEEE, 2015.
|
| 257 |
+
D. S. Park, W. Chan, Y. Zhang, C.-C. Chiu, B. Zoph, E. D. Cubuk, and Q. V. Le. Specaugment: A simple data augmentation method for automatic speech recognition. In Proc. of Interspeech, 2019.
|
| 258 |
+
D. S. Park, Y. Zhang, Y. Jia, W. Han, C.-C. Chiu, B. Li, Y. Wu, and Q. V. Le. Improved noisy student training for automatic speech recognition. Proc. of Interspeech, 2020.
|
| 259 |
+
K. Park and J. Kim. g2pe. https://github.com/Kyubyong/g2p, 2019.
|
| 260 |
+
L. Pepino, P. Riera, and L. Ferrer. Emotion recognition from speech using wav2vec 2.0 embeddings. arXiv, 2021.
|
| 261 |
+
L. Polka and J. F. Werker. Developmental changes in perception of nonnative vowel contrasts. Journal of Experimental Psychology: Human perception and performance, 20(2):421, 1994.
|
| 262 |
+
D. Povey, A. Ghoshal, G. Boulianne, L. Burget, O. Glembek, N. Goel, M. Hannemann, P. Motlicek, Y. Qian, P. Schwarz, J. Silovsky, G. Stemmer, and K. Vesely. The kaldi speech recognition toolkit. In Proc. of ASRU, 2011.
|
| 263 |
+
V. Pratap, A. Hannun, Q. Xu, J. Cai, J. Kahn, G. Synnaeve, V. Liptchinsky, and R. Collobert. Wav2letter++: A fast open-source speech recognition system. In Proc. of ICASSP, 2019.
|
| 264 |
+
V. Pratap, Q. Xu, A. Sriram, G. Synnaeve, and R. Collobert. Mls: A large-scale multilingual dataset for speech research. In Proc. of Interspeech, 2020.
|
| 265 |
+
O. Rasanen, G. Doyle, and M. C. Frank. Unsupervised word discovery from speech using automatic segmentation into syllable-like units. In Proc. of Interspeech, 2015.
|
| 266 |
+
M. Ravanelli, P. Brakel, M. Omologo, and Y. Bengio. Light gated recurrent units for speech recognition. IEEE Trans. on Emerging Topics in Comp. Intel., 2, 2018.
|
| 267 |
+
M. Ravanelli, T. Parcollet, and Y. Bengio. The pytorch-kaldi speech recognition toolkit. Proc. of ICASSP, 2019.
|
| 268 |
+
M. Rivière, A. Joulin, P.-E. Mazaré, and E. Dupoux. Unsupervised pretraining transfers well across languages. In Proc. of ICASSP, 2020.
|
| 269 |
+
S. Schneider, A. Baevski, R. Collobert, and M. Auli. wav2vec: Unsupervised pre-training for speech recognition. In Proc. of Interspeech, 2019.
|
| 270 |
+
N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. JMLR, 2014.
|
| 271 |
+
G. Synnaeve, Q. Xu, J. Kahn, T. Likhomanenko, E. Grave, V. Pratap, A. Sriram, V. Liptchinsky, and R. Collobert. End-to-end ASR: from Supervised to Semi-Supervised Learning with Modern Architectures. Proc. of ICML workshop on Self-supervision in Audio and Speech (SAS), 2020.
|
| 272 |
+
M. Tachbelie, S. T. Abate, and L. Besacier. Using different acoustic, lexical and language modeling units for asr of an under-resourced language - amharic. Speech Communication, 56, 2014.
|
| 273 |
+
Z. Tan, A. K. Sarkar, and N. Dehak. rvad: An unsupervised segment-based robust voice activity detection method. Computer speech & language, 59:1–21, 2020.
|
| 274 |
+
A. van den Oord, Y. Li, and O. Vinyals. Representation learning with contrastive predictive coding. Proc. of NIPS, 2018.
|
| 275 |
+
B. van Niekerk, L. Nortje, and H. Kamper. Vector-quantized neural networks for acoustic unit discovery in the zerospeech 2020 challenge. Proc. of Interspeech, 2020.
|
| 276 |
+
B. Varadarajan, S. Khudanpur, and E. Dupoux. Unsupervised learning of acoustic sub-word units. In Proc. of ACL, 2008.
|
| 277 |
+
A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In Proc. of NIPS, 2017.
|
| 278 |
+
C. Wang, A. Wu, J. Pino, A. Baevski, M. Auli, and A. Conneau. Large-scale self- and semi-supervised learning for speech translation. arXiv, 2021.
|
| 279 |
+
J. F. Werker and R. C. Tees. Cross-language speech perception: Evidence for perceptual reorganization during the first year of life. Infant behavior and development, 7(1):49–63, 1984.
|
| 280 |
+
H. Xu, K. Li, Y. Wang, J. Wang, S. Kang, X. Chen, D. Povey, and S. Khudanpur. Neural network language modeling with letter-based features and importance sampling. In Proc. of ICASSP, 2018.
|
| 281 |
+
Q. Xu, A. Baevski, T. Likhomanenko, P. Tomasello, A. Conneau, R. Collobert, G. Synnaeve, and M. Auli. Self-training and pre-training are complementary for speech recognition. In Proc. of ICASSP, 2020a.
|
| 282 |
+
Q. Xu, T. Likhomanenko, J. Kahn, A. Hannun, G. Synnaeve, and R. Collobert. Iterative pseudolabeling for speech recognition. Proc. of Interspeech, 2020b.
|
| 283 |
+
C.-K. Yeh, J. Chen, C. Yu, and D. Yu. Unsupervised speech recognition via segmental empirical output distribution matching. In Proc. of ICLR, 2019.
|
| 284 |
+
N. Zeghidour, Q. Xu, V. Liptchinsky, N. Usunier, G. Synnaeve, and R. Collobert. Fully convolutional speech recognition. arXiv, abs/1812.06864, 2018.
|
| 285 |
+
F. Zhang, Y. Wang, X. Zhang, C. Liu, Y. Saraf, and G. Zweig. Faster, simpler and more accurate hybrid asr systems using wordpieces. Proc. of Interspeech, 2020a.
|
| 286 |
+
Y. Zhang and J. R. Glass. Unsupervised spoken keyword spotting via segmental dtw on gaussian posteriorgrams. IEEE Workshop on Automatic Speech Recognition & Understanding, 2009.
|
| 287 |
+
Y. Zhang, J. Qin, D. S. Park, W. Han, C.-C. Chiu, R. Pang, Q. V. Le, and Y. Wu. Pushing the limits of semi-supervised learning for automatic speech recognition. Proc. of NeurIPS SAS Workshop, 2020b.
|
parse/train/QmxFsofRvW9/QmxFsofRvW9_content_list.json
ADDED
|
@@ -0,0 +1,1090 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Unsupervised Speech Recognition ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
292,
|
| 8 |
+
122,
|
| 9 |
+
705,
|
| 10 |
+
147
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Alexei Baevski4 Wei-Ning Hsu4 Alexis Conneau\u0003∗ Michael Auli4 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
243,
|
| 19 |
+
199,
|
| 20 |
+
750,
|
| 21 |
+
215
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "4 Facebook AI \u0003 Google AI ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
400,
|
| 30 |
+
234,
|
| 31 |
+
598,
|
| 32 |
+
251
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Abstract ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
462,
|
| 42 |
+
286,
|
| 43 |
+
535,
|
| 44 |
+
303
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Despite rapid progress in the recent past, current speech recognition systems still require labeled training data which limits this technology to a small fraction of the languages spoken around the globe. This paper describes wav2vec-U, short for wav2vec Unsupervised, a method to train speech recognition models without any labeled data. We leverage self-supervised speech representations to segment unlabeled audio and learn a mapping from these representations to phonemes via adversarial training. The right representations are key to the success of our method. Compared to the best previous unsupervised work, wav2vec-U reduces the phone error rate on the TIMIT benchmark from 26.1 to 11.3. On the larger English Librispeech benchmark, wav2vec-U achieves a word error rate of 5.9 on test-other, rivaling some of the best published systems trained on 960 hours of labeled data from only two years ago. We also experiment on nine other languages, including low-resource languages such as Kyrgyz, Swahili and Tatar. The code is available at https://github.com/pytorch/fairseq/tree/ master/examples/wav2vec/unsupervised ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
319,
|
| 54 |
+
766,
|
| 55 |
+
525
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 Introduction ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
553,
|
| 66 |
+
310,
|
| 67 |
+
570
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Speech recognition performance on the much studied English Librispeech benchmark [Panayotov et al., 2015] has seen rapid improvement over the last few years due to advances in model architectures [Dong et al., 2018, Synnaeve et al., 2020, Gulati et al., 2020], semi-supervised learning [Xu et al., 2020b, Park et al., 2020] and self-supervised learning [van den Oord et al., 2018, Chung and Glass, 2018, Chung et al., 2019b, Baevski et al., 2020c]. However, all of these techniques require transcribed speech data which is not available for the vast majority of the nearly 7,000 languages of the world [Lewis et al., 2016]. As a result, speech recognition technology is only available for about 125 different languages [Google, 2021]. On the other hand, humans learn a lot about speech simply by listening to others around them and without explicit supervision [Werker and Tees, 1984, Hirsh-Pasek et al., 1987, Polka and Werker, 1994, Jusczyk et al., 1999, Johnson and Jusczyk, 2001]. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
584,
|
| 77 |
+
825,
|
| 78 |
+
723
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Unsupervised learning has been very successful in machine translation resulting in systems that obtain remarkable accuracy given no labeled training data at all [Conneau et al., 2018, Lample et al., 2018, Artetxe et al., 2018]. Inspired by this, there has been some work on unsupervised speech recognition based on learning to align unlabeled text and audio [Yeh et al., 2019] or adversarial learning [Liu et al., 2018, Chen et al., 2019]. These approaches showed promising initial results but their error rates are still high, with evaluation being limited to the small-scale and clean TIMIT benchmark. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
729,
|
| 88 |
+
825,
|
| 89 |
+
813
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "In this work, we introduce a framework for unsupervised learning of speech recognition models. Wav2vec-U, or wav2vec Unsupervised, leverages self-supervised representations from wav2vec 2.0 [Baevski et al., 2020c] to embed the speech audio and to segment the audio into units with a simple $\\mathrm { k }$ -means clustering method (see Figure 1 for an illustration of our approach). We find that the quality of the audio representations is key to the success of unsupervised speech recognition. Similar to Liu et al. [2018] and Chen et al. [2019], we learn a mapping between segments and phonemes using adversarial training but different to their work, we also enable the algorithm to label segments as silences. We also introduce an unsupervised cross-validation metric to enable model development without labeled development data. Our unsupervised speech recognition model, the generator, is very lightweight: it consists of a single temporal convolution comprising only about 90k parameters to which we input frozen wav2vec 2.0 representations. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
819,
|
| 99 |
+
825,
|
| 100 |
+
876
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/0b5b4f3465570676296b5d72eebf6d66830b97659f2ec44658268dac36522d53.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Illustration of wav2vec Unsupervised: we learn self-supervised representations with wav2vec 2.0 on unlabeled speech audio (Step 1), identify clusters in the representations with $\\mathbf { k }$ -means (Step 2) to segment the audio (Step 3). Next, we build segment representations by mean pooling the wav2vec 2.0 representations, performing PCA and a second mean pooling step between adjacent segments (Step 4). This is input to the generator which outputs a phoneme sequence (Step 5) fed to the discriminator, similar to phonemized unlabeled text (Step 6), for adversarial training (Step 7). "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
187,
|
| 113 |
+
90,
|
| 114 |
+
807,
|
| 115 |
+
319
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
443,
|
| 125 |
+
825,
|
| 126 |
+
540
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Experimental results demonstrate the viability of the framework for a variety of settings and languages. wav2vec-U improves the phone error rate (PER) on the small-scale TIMIT benchmark from 26.1 to 11.3 compared to the next best known unsupervised approach. To get a better sense of the performance compared to the best supervised methods, we measure performance on the larger Librispeech benchmark where our method achieves word error rate (WER) 5.9 on test-other. We also evaluate on six other European languages of the multilingual Librispeech benchmark [Pratap et al., 2020] and on three non-European low-resource languages. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
546,
|
| 136 |
+
826,
|
| 137 |
+
643
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 Speech and Text Representations ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
667,
|
| 148 |
+
482,
|
| 149 |
+
685
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Next, we describe how we build suitable speech and text representations for unsupervised learning. \nGood representations are essential to learning a mapping from speech to text without supervision. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
173,
|
| 158 |
+
703,
|
| 159 |
+
825,
|
| 160 |
+
731
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "2.1 Self-supervised Learning of Speech Audio Representations ",
|
| 167 |
+
"text_level": 1,
|
| 168 |
+
"bbox": [
|
| 169 |
+
173,
|
| 170 |
+
751,
|
| 171 |
+
619,
|
| 172 |
+
767
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 1
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "In the first step, we learn representations of the speech audio signal using self-supervised learning. There has been a lot of recent work in this direction which has shown strong performance in extremely low-labeled data setups across a range of languages [Conneau et al., 2020] and tasks [Fan et al., 2021, Pepino et al., 2021, Wang et al., 2021]. ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
174,
|
| 181 |
+
779,
|
| 182 |
+
825,
|
| 183 |
+
835
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "Wav2vec 2.0 consists of a convolutional feature encoder $f : \\mathcal X \\mapsto \\mathcal Z$ that maps a raw audio sequence $X$ to latent speech representations $z _ { 1 } , \\dots , z _ { T }$ , which a Transformer $g : { \\mathcal { Z } } \\mapsto { \\mathcal { C } }$ then turns into context representations $c _ { 1 } , \\ldots , c _ { T }$ [Baevski et al., 2020b,a]. Each $z _ { t }$ represents about $2 5 \\mathrm { m s }$ of audio strided by $2 0 \\mathrm { m s }$ and the Transformer architecture follows BERT [Vaswani et al., 2017, Devlin et al., 2019]. During training, latent representations are discretized to $q _ { 1 } , \\ldots , q _ { T }$ with a quantization module ${ \\mathcal { Z } } \\mapsto { \\mathcal { Q } }$ to represent the targets in the objective. Quantization uses a Gumbel softmax to choose entries from two codebooks [Jegou et al., 2011, Jang et al., 2016, Baevski et al., 2020b]. ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
842,
|
| 193 |
+
825,
|
| 194 |
+
911
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
92,
|
| 204 |
+
823,
|
| 205 |
+
119
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "In our experiments, we use the publicly available English model pre-trained on $5 3 \\mathrm { k }$ hours of LibriLight [Kahn et al., 2020b] as well as XLSR-53 which was pre-trained on nearly 60k hours of speech audio in 53 languages [Conneau et al., 2020]. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
176,
|
| 214 |
+
126,
|
| 215 |
+
823,
|
| 216 |
+
167
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "2.2 Pre-processing and Embedding the Audio Data ",
|
| 223 |
+
"text_level": 1,
|
| 224 |
+
"bbox": [
|
| 225 |
+
174,
|
| 226 |
+
184,
|
| 227 |
+
540,
|
| 228 |
+
199
|
| 229 |
+
],
|
| 230 |
+
"page_idx": 2
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"type": "text",
|
| 234 |
+
"text": "Removing Silences. Most datasets we use for our experiments have audio data with silences. However, these parts of the audio do not correspond to any transcription and we therefore remove silences as much as possible. We apply rVAD, an unsupervised voice activity detection (VAD) model which determines the segments in the audio data corresponding to silences, and we remove these sections [Tan et al., 2020]. We ablate this choice in Appendix C. ",
|
| 235 |
+
"bbox": [
|
| 236 |
+
174,
|
| 237 |
+
209,
|
| 238 |
+
825,
|
| 239 |
+
279
|
| 240 |
+
],
|
| 241 |
+
"page_idx": 2
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"type": "text",
|
| 245 |
+
"text": "Speech Audio Representations. After silence removal, we embed the unlabeled speech audio with wav2vec 2.0 to obtain speech representations. Specifically, we use the representations of the context Transformer network $c _ { 1 } , \\ldots , c _ { T }$ $( \\ S 2 . 1 )$ . The context network contains 24 Transformer blocks and we denote the output of block $l$ at time-step $t$ as $c _ { t } ^ { l }$ . Our goal is to learn a model which can map from audio representations $c _ { t } ^ { l }$ to phonemes using no supervision. However, the representations of the uppermost block of wav2vec 2.0 may not be well suited for this task. These features are trained to directly predict masked latent representations spanning $2 5 \\mathrm { m s }$ of speech audio which is much shorter than the typical duration of a phoneme. ",
|
| 246 |
+
"bbox": [
|
| 247 |
+
173,
|
| 248 |
+
292,
|
| 249 |
+
825,
|
| 250 |
+
405
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "To get a better sense of this, we train supervised phoneme recognizers with a CTC loss [Graves et al., 2006] on top of the frozen representations of each of the 24 blocks of the English wav2vec 2.0 LARGE model pre-trained on Libri-Light. We then evaluate phone error rate (PER) with respect to the phonemized transcriptions of Librispeech dev-other. The classifier takes as input $c _ { t } ^ { l }$ and contains a single softmax-normalized linear layer mapping to the phoneme inventory. Figure 2 shows that most of the first ten blocks as well as the final blocks provide very poor performance, while blocks 15-19 provide error rates below $9 \\%$ PER. Block 15 achieves the best error rate of $7 . 5 \\%$ PER. A similar insight has been used in the concurrent work of Hsu et al. [2021b]. Appendix A shows that this choice generalizes to other languages. For brevity we drop the superscript $l$ and refer to block 15 representations simply as $c _ { 1 } , \\ldots , c _ { T }$ . ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
411,
|
| 260 |
+
825,
|
| 261 |
+
550
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "image",
|
| 267 |
+
"img_path": "images/4893afedc781e5fe6ccd0b0db23368e07e04f56d069fce1ae7128f54dac18113.jpg",
|
| 268 |
+
"image_caption": [
|
| 269 |
+
"Figure 2: Supervised phoneme recognition using representations from different wav2vec 2.0 blocks on dev-other of English Librispeech. Low and high blocks do not provide good features, while as blocks 14-19 do. Block 15 performs best. "
|
| 270 |
+
],
|
| 271 |
+
"image_footnote": [],
|
| 272 |
+
"bbox": [
|
| 273 |
+
176,
|
| 274 |
+
565,
|
| 275 |
+
803,
|
| 276 |
+
671
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "2.3 Segmenting the Audio Signal ",
|
| 283 |
+
"text_level": 1,
|
| 284 |
+
"bbox": [
|
| 285 |
+
176,
|
| 286 |
+
747,
|
| 287 |
+
413,
|
| 288 |
+
762
|
| 289 |
+
],
|
| 290 |
+
"page_idx": 2
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"type": "text",
|
| 294 |
+
"text": "Once the speech signal is embedded, we identify segments corresponding to meaningful units that can be mapped to phonemes. Segmentation has been shown to be crucial in prior work [Chung et al., 2018] since the right boundaries in the input representations make it more aligned to phonetic sequences. There has been a lot of prior work in unsupervised speech segmentation [Kamper et al., 2017a,b, Rasanen et al., 2015, Kreuk et al., 2020] but here we simply use a method based on clustering the wav2vec 2.0 speech representations $c _ { 1 } , \\ldots , c _ { T }$ . In a first step, we collect all the speech representations for the unlabeled speech data and perform k-means clustering to identify $K = 1 2 8$ clusters. We use the FAISS library to do fast clustering on GPUs [Johnson et al., 2019]. Next, each $c _ { t }$ is labeled with the corresponding cluster ID $i _ { t } \\in \\{ 1 , \\ldots , K \\}$ and we introduce speech segment boundaries whenever the cluster ID changes. ",
|
| 295 |
+
"bbox": [
|
| 296 |
+
174,
|
| 297 |
+
772,
|
| 298 |
+
825,
|
| 299 |
+
911
|
| 300 |
+
],
|
| 301 |
+
"page_idx": 2
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"type": "text",
|
| 305 |
+
"text": "Once the speech audio representations are segmented, we compute a 512-dimensional PCA over all speech representations output by wav2vec 2.0 for the training set. Next, we mean-pool the PCA representations for a particular segment to obtain an average representation of the segment. The PCA retains only the most important features and we found this to be effective. Segment boundaries are noisy due to the lack of supervision and we therefore found it useful to also mean-pool pairs of adjacent segment representations to increase robustness. This results in sequences of speech segment representation $S = s _ { 1 } , \\ldots , s _ { T } , S \\sim { \\mathcal { S } }$ for a given utterance. Appendix B shows an illustration of the segmentation strategy on an actual example as well as a quantitative evaluation of the strategy compared to human segmented data. ",
|
| 306 |
+
"bbox": [
|
| 307 |
+
173,
|
| 308 |
+
90,
|
| 309 |
+
825,
|
| 310 |
+
215
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "2.4 Pre-processing the Text Data ",
|
| 317 |
+
"text_level": 1,
|
| 318 |
+
"bbox": [
|
| 319 |
+
176,
|
| 320 |
+
237,
|
| 321 |
+
411,
|
| 322 |
+
252
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 3
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "text",
|
| 328 |
+
"text": "Similar to how we segment the unlabeled speech audio data into suitable units for unsupervised learning, we do the same for the unlabeled text data. We apply two pre-processing steps to the text data: phonemization and silence token insertion. ",
|
| 329 |
+
"bbox": [
|
| 330 |
+
176,
|
| 331 |
+
263,
|
| 332 |
+
823,
|
| 333 |
+
306
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 3
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "Phonemes characterize the different sounds which distinguish words from each other, e.g., for the word cat there are three phonemes corresponding to the three distinct sounds in the pronunciation of the word: /K/, /AE/, $/ \\mathrm { T } / .$ . We phonemize the text data because we found it easier to learn a mapping between speech audio and the different sounds of a word rather than between audio and words or letters. Phonemization converts a sequence of words $Y$ into a sequence of phonemes $P = [ p _ { 1 } , \\cdots , p _ { M } ]$ , where $p _ { m } \\in O$ and $O$ is the phoneme inventory. We use off-the-shelf tools for this step which we detail in Appendix $\\ S \\operatorname { E } . 2$ . ",
|
| 340 |
+
"bbox": [
|
| 341 |
+
174,
|
| 342 |
+
313,
|
| 343 |
+
825,
|
| 344 |
+
410
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 3
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "The unlabeled speech audio data is pre-processed by applying unsupervised silence removal. However, this process is not always accurate and many silences in the speech audio remain. To deal with this, we enable the unsupervised model to label some segments with a phonemic silence token (SIL; $\\ S \\ 3 . 1 \\AA .$ ). However, the phonemized unlabeled text data does not contain any silence tokens and this may pose difficulties for adversarial learning $( \\ S 3 )$ . We remedy this by inserting silence markers at the beginning and end of the phonemized unlabeled text data; we also randomly insert SIL between words, or groups of phonemes corresponding to words at a rate of $2 5 \\%$ . Appendix C evaluates these choices. ",
|
| 351 |
+
"bbox": [
|
| 352 |
+
174,
|
| 353 |
+
416,
|
| 354 |
+
826,
|
| 355 |
+
513
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "3 Unsupervised Learning ",
|
| 362 |
+
"text_level": 1,
|
| 363 |
+
"bbox": [
|
| 364 |
+
176,
|
| 365 |
+
536,
|
| 366 |
+
401,
|
| 367 |
+
555
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 3
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "We use adversarial training to train an unsupervised speech recognition model using the representations of the unlabeled speech audio data and the unlabeled phonemized text data [Liu et al., 2018, Chen et al., 2019]. In the following, we detail the model architecture, the training objective as well as the unsupervised cross-validation metric we developed. ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
174,
|
| 376 |
+
571,
|
| 377 |
+
826,
|
| 378 |
+
627
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 3
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "3.1 Model Architecture ",
|
| 385 |
+
"text_level": 1,
|
| 386 |
+
"bbox": [
|
| 387 |
+
174,
|
| 388 |
+
648,
|
| 389 |
+
349,
|
| 390 |
+
664
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "Generative adversarial networks (GAN; Goodfellow et al. 2014) train a generator network $\\mathcal { G }$ and a discriminator/critic network $\\mathcal { C }$ where the generator produces samples which are then judged by the discriminator. The discriminator is trained to classify whether samples are from the generator or from the real data distribution. The objective of the generator is to produce samples that are indistinguishable by the discriminator. ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
174,
|
| 399 |
+
676,
|
| 400 |
+
825,
|
| 401 |
+
746
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "Concretely, $\\mathcal { G }$ takes as input a sequence of $T$ segment representations $S = [ s _ { 1 } , \\dotsc , s _ { T } ]$ (§ 2.3) which are then mapped to a sequence of $M$ phonemes $\\mathcal { G } ( S ) \\bar { = } [ p _ { 1 } , \\dotsc , p _ { M } ]$ . The generator predicts a distribution over the phoneme set $O$ for each segment and outputs the phoneme with the highest probability. If the argmax prediction of consecutive segments result in the same phoneme, then we sample one of these segments, therefore $M \\leq T$ . ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
174,
|
| 410 |
+
752,
|
| 411 |
+
825,
|
| 412 |
+
821
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "The phoneme set $O$ includes a silence label SIL to enable labeling silences in the speech audio as such. Without a silence label, we noticed that the model was repurposing a particular phoneme to label silences which resulted in much lower performance since it interfered with subsequent language model (LM) decoding. In the backward pass, we back-propagate through segments sampled at the generator output. We do not modify the segment representations $S$ during unsupervised training. The generator is parameterized as a single layer convolutional neural network (CNN). ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
174,
|
| 421 |
+
827,
|
| 422 |
+
823,
|
| 423 |
+
911
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 3
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "text",
|
| 429 |
+
"text": "The discriminator takes as input either a sequence $P ^ { r } \\sim \\mathcal { P } ^ { r }$ of one-hot vectors denoting phonemized text from the real data distribution ${ \\mathcal { P } } ^ { r }$ or a sequence of output distributions from the generator $\\mathcal { G } ( S )$ . Each input vector has $| O |$ dimensions to represent the distribution over phonemes for each segment. The discriminator is also a CNN which outputs a probability indicating how likely the sample is to be from the data distribution. ",
|
| 430 |
+
"bbox": [
|
| 431 |
+
173,
|
| 432 |
+
90,
|
| 433 |
+
826,
|
| 434 |
+
161
|
| 435 |
+
],
|
| 436 |
+
"page_idx": 4
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"type": "text",
|
| 440 |
+
"text": "3.2 Objective ",
|
| 441 |
+
"text_level": 1,
|
| 442 |
+
"bbox": [
|
| 443 |
+
174,
|
| 444 |
+
176,
|
| 445 |
+
281,
|
| 446 |
+
191
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "In our setup we use the original GAN objective with a gradient penalty [Goodfellow et al., 2014, Arjovsky et al., 2017], a segment smoothness penalty and a phoneme diversity penalty: ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
176,
|
| 455 |
+
202,
|
| 456 |
+
825,
|
| 457 |
+
231
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "equation",
|
| 463 |
+
"img_path": "images/a15593f8fdca0cdc2e5a2bf415cdd52fd286427c617f23aeff5dbf4f23d44a11.jpg",
|
| 464 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\mathcal { G } } \\operatorname* { m a x } _ { \\mathcal { C } } \\quad \\mathbb { E } _ { \\mathcal { P } ^ { r } \\sim \\mathcal { P } ^ { r } } \\left[ \\log \\mathcal { C } ( \\boldsymbol { P } ^ { r } ) \\right] - \\underset { S \\sim \\mathcal { S } } { \\mathbb { E } } \\left[ \\log \\left( 1 - \\mathcal { C } ( \\mathcal { G } ( S ) ) \\right) \\right] - \\lambda \\mathcal { L } _ { g p } + \\gamma \\mathcal { L } _ { s p } + \\eta \\mathcal { L } _ { p d }\n$$",
|
| 465 |
+
"text_format": "latex",
|
| 466 |
+
"bbox": [
|
| 467 |
+
222,
|
| 468 |
+
236,
|
| 469 |
+
774,
|
| 470 |
+
261
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "text",
|
| 476 |
+
"text": "where $P ^ { r } \\sim \\mathcal { P } ^ { r }$ is phonemized unlabeled text, $\\mathcal { G } ( S )$ is the transcription output by the generator of input segment representations $S$ for some unlabeled speech audio. The first term trains the discriminator to assign high probability to real transcriptions, the second term encourages the discriminator to assign low probability to generator outputs, $\\mathcal { L } _ { g p }$ is a gradient penalty, $\\mathcal { L } _ { s p }$ is a smoothness penalty and $\\mathcal { L } _ { p d }$ is a phoneme diversity loss which we detail next. During training we alternate updates for the discriminator and the generator. We also alternate batches of predicted transcriptions from the generator and phonemized unlabeled text. ",
|
| 477 |
+
"bbox": [
|
| 478 |
+
173,
|
| 479 |
+
266,
|
| 480 |
+
825,
|
| 481 |
+
364
|
| 482 |
+
],
|
| 483 |
+
"page_idx": 4
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"type": "text",
|
| 487 |
+
"text": "Gradient penalty. To stabilize training, we penalize the gradient norm of the discriminator with respect to the input [Gulrajani et al., 2017]. The penalty is computed for random samples $\\tilde { P } \\sim \\tilde { \\mathcal { P } }$ which are a linear combination of the activations of pairs of real and fake samples.2 ",
|
| 488 |
+
"bbox": [
|
| 489 |
+
173,
|
| 490 |
+
377,
|
| 491 |
+
825,
|
| 492 |
+
422
|
| 493 |
+
],
|
| 494 |
+
"page_idx": 4
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"type": "equation",
|
| 498 |
+
"img_path": "images/0a8f6af23cdb1998f6ef4e92c36819c82eb870dd5b721a5d19fc4f0384f93881.jpg",
|
| 499 |
+
"text": "$$\n\\mathcal { L } _ { g p } = \\underset { \\tilde { P } \\sim \\tilde { \\mathcal { P } } } { \\mathbb { E } } \\left[ \\left( \\| \\nabla \\mathcal { C } ( \\tilde { P } ) \\| - 1 \\right) ^ { 2 } \\right]\n$$",
|
| 500 |
+
"text_format": "latex",
|
| 501 |
+
"bbox": [
|
| 502 |
+
387,
|
| 503 |
+
428,
|
| 504 |
+
609,
|
| 505 |
+
463
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "Segment smoothness penalty. The $\\mathbf { k }$ -means segmentation of the speech audio is more granular than a typical phonemized transcription and neighboring representations are highly correlated. We therefore found it useful to add a penalty which encourages the generator to produce similar outputs for adjacent segments where $p _ { t } \\in \\mathbb { R } ^ { | O | }$ : ",
|
| 512 |
+
"bbox": [
|
| 513 |
+
173,
|
| 514 |
+
474,
|
| 515 |
+
825,
|
| 516 |
+
532
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "equation",
|
| 522 |
+
"img_path": "images/dc18aa35eab1ad24f09a6f15551a94289a62fd2eada4a74b608bff6bec0d7c91.jpg",
|
| 523 |
+
"text": "$$\n\\mathcal { L } _ { s p } = \\sum _ { ( p _ { t } , p _ { t + 1 } ) \\in \\mathcal { G } ( S ) } \\| p _ { t } - p _ { t + 1 } \\| ^ { 2 }\n$$",
|
| 524 |
+
"text_format": "latex",
|
| 525 |
+
"bbox": [
|
| 526 |
+
383,
|
| 527 |
+
537,
|
| 528 |
+
614,
|
| 529 |
+
574
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "Phoneme diversity loss. We also found it helpful to penalize low usage of the phoneme vocabulary by the generator on the batch level. In particular, we maximize the entropy of the averaged softmax distribution $H _ { \\mathcal { G } } ( \\mathcal { G } ( S ) )$ of the generator over the phoneme vocabulary across a batch $B$ of utterances: ",
|
| 536 |
+
"bbox": [
|
| 537 |
+
173,
|
| 538 |
+
585,
|
| 539 |
+
825,
|
| 540 |
+
628
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 4
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "equation",
|
| 546 |
+
"img_path": "images/feda12d555ac0640b6d3cc1aeab0e1b03d7947fe4dd41ee8f6f0dbf28f5d27c6.jpg",
|
| 547 |
+
"text": "$$\n\\mathcal { L } _ { p d } = \\frac { 1 } { | B | } \\sum _ { S \\in B } - H _ { \\mathcal { G } } ( \\mathcal { G } ( S ) )\n$$",
|
| 548 |
+
"text_format": "latex",
|
| 549 |
+
"bbox": [
|
| 550 |
+
401,
|
| 551 |
+
633,
|
| 552 |
+
596,
|
| 553 |
+
672
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "text",
|
| 559 |
+
"text": "3.3 Unsupervised Cross-Validation Metric ",
|
| 560 |
+
"text_level": 1,
|
| 561 |
+
"bbox": [
|
| 562 |
+
174,
|
| 563 |
+
686,
|
| 564 |
+
480,
|
| 565 |
+
702
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 4
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "Our goal is to build speech recognition models without any supervision. To this end, we developed a cross-validation metric which does not require labeled data. We use the metric for early stopping, selecting a random seed, and hyper-parameter selection $( \\lambda , \\gamma , \\eta )$ . ",
|
| 572 |
+
"bbox": [
|
| 573 |
+
173,
|
| 574 |
+
712,
|
| 575 |
+
826,
|
| 576 |
+
755
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 4
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "text",
|
| 582 |
+
"text": "We consider two quantities in our metric: LM negative log-likelihood (NLL) and vocabulary usage. LM-NLL serves as an indicator of fluency for a given transcription and it is measured with a language model $p _ { L M }$ trained on phonemized text data $( \\ S ~ 2 . 4 )$ . Vocabulary usage is the proportion of the phoneme vocabulary being output by the model via Viterbi decoding. Measuring vocabulary usage identifies degenerate models which output fluent but trivial transcriptions. ",
|
| 583 |
+
"bbox": [
|
| 584 |
+
173,
|
| 585 |
+
760,
|
| 586 |
+
825,
|
| 587 |
+
830
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 4
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "We deaudio rbias criptions for a given generator configuration . LM-NLL is measured in the standard way o $\\mathcal { G }$ and unlabeled speechr the phonemized tran$\\{ X _ { j } \\} _ { j = 1 } ^ { N _ { s } }$ $\\mathbf { \\bar { \\mathcal { P } } } = \\{ P _ { j } \\} _ { j = 1 } ^ { N _ { s } }$ scriptions: $\\begin{array} { r } { N L L _ { L M } ( \\mathcal { P } ) = \\frac { 1 } { N _ { s } } \\sum _ { j = 1 } ^ { N _ { s } } N L L _ { L M } ( P _ { j } ) } \\end{array}$ where $\\begin{array} { r } { N L L _ { L M } ( P ) = - \\frac { 1 } { M } \\sum _ { t = 1 } ^ { M } \\log p _ { L M } ( p _ { t } ) } \\end{array}$ using $p _ { L M } ( p _ { t } )$ as shorthand for $p _ { L M } ( p _ { t } | p _ { t - 1 } , . . . , p _ { 1 } )$ .3 On the other hand, we use $U ( { \\mathcal { P } } ) =$ $\\begin{array} { r } { \\frac { 1 } { | O | } \\bar { \\sum _ { o \\in O } } [ o \\in \\mathcal { P } ] \\in [ 0 , 1 ] } \\end{array}$ to denote the vocabulary usage of $\\mathcal { P }$ . ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
174,
|
| 596 |
+
835,
|
| 597 |
+
826,
|
| 598 |
+
888
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 4
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "",
|
| 605 |
+
"bbox": [
|
| 606 |
+
169,
|
| 607 |
+
90,
|
| 608 |
+
823,
|
| 609 |
+
121
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "text",
|
| 615 |
+
"text": "In a first step, we generate phoneme transcriptions for different training checkpoints or hyperparameter settings and denote the transcriptions of the configuration with the lowest vocabulary-usage adjusted NLL as $\\begin{array} { r } { \\hat { \\mathcal { P } } = \\arg \\operatorname* { m i n } _ { \\mathcal { P } } N L L _ { L M } ( \\mathcal { P } ) - \\log U ( \\mathcal { P } ) } \\end{array}$ .4 Next, we discard model configurations which do not satisfy the following using $\\hat { \\mathcal { P } }$ as the anchor: ",
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
127,
|
| 619 |
+
825,
|
| 620 |
+
189
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 5
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "equation",
|
| 626 |
+
"img_path": "images/b07976d07eb1264788bb86ec8c503a84fc3c183351681c48efba85a9d06b98dd.jpg",
|
| 627 |
+
"text": "$$\nN L L _ { L M } ( \\mathcal { P } ) < N L L _ { L M } ( \\hat { \\mathcal { P } } ) + \\log \\left( \\frac { U ( \\mathcal { P } ) } { U ( \\hat { \\mathcal { P } } ) } \\right) + \\log 1 . 2\n$$",
|
| 628 |
+
"text_format": "latex",
|
| 629 |
+
"bbox": [
|
| 630 |
+
312,
|
| 631 |
+
196,
|
| 632 |
+
686,
|
| 633 |
+
239
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "text",
|
| 639 |
+
"text": "The second term on the right hand side introduces a margin over the NLL of the anchor transcription $N L L _ { L M } ( \\hat { \\mathcal { P } } )$ based on the vocabulary usage of $\\mathcal { P }$ and $\\hat { \\mathcal { P } }$ : If $U ( \\hat { \\mathcal { P } } )$ is much lower compared to $U ( \\mathcal { P } )$ , then we allow model configurations which produce transcriptions with higher NLL compared to $\\hat { \\mathcal { P } }$ . However, if $U ( \\hat { \\mathcal { P } } )$ is a lot higher than $U ( \\mathcal { P } )$ , then the model configuration will not satisfy the constraint. The $\\log 1 . 2$ factor serves as another margin allowing checkpoints with slightly worse vocabulary-usage adjusted NLL to be included. ",
|
| 640 |
+
"bbox": [
|
| 641 |
+
173,
|
| 642 |
+
247,
|
| 643 |
+
825,
|
| 644 |
+
337
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "In a final step, we take into account the length of the transcriptions: out of the configurations ${ \\mathcal { P } } ^ { \\prime }$ which satisfy the above constraint, we select the one which has the highest sum of log probability without normalizing the length: ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
342,
|
| 654 |
+
825,
|
| 655 |
+
385
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "equation",
|
| 661 |
+
"img_path": "images/2930d2c4de9bfc9242467fc6ca39076d0e51025e6eb1f2125a1e21c64638989c.jpg",
|
| 662 |
+
"text": "$$\n\\mathcal { P } ^ { * } = \\arg \\operatorname* { m a x } _ { \\mathcal { P } ^ { \\prime } } \\sum _ { j = 1 } ^ { N _ { s } } \\sum _ { t = 1 } ^ { M } \\log p _ { L M } ( p _ { t } ^ { j } ) , M = | P ^ { j } | , P ^ { j } = [ p _ { 1 } ^ { j } , \\dots , p _ { M } ^ { j } ]\n$$",
|
| 663 |
+
"text_format": "latex",
|
| 664 |
+
"bbox": [
|
| 665 |
+
276,
|
| 666 |
+
393,
|
| 667 |
+
723,
|
| 668 |
+
439
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 5
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "This selects model configurations which produce phoneme sequences that score high under the language model but are not too long. Appendix D compares accuracy when developing with this metric compared to a labeled development set. ",
|
| 675 |
+
"bbox": [
|
| 676 |
+
174,
|
| 677 |
+
446,
|
| 678 |
+
826,
|
| 679 |
+
489
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 5
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "4 Results ",
|
| 686 |
+
"text_level": 1,
|
| 687 |
+
"bbox": [
|
| 688 |
+
174,
|
| 689 |
+
512,
|
| 690 |
+
266,
|
| 691 |
+
529
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 5
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "4.1 Comparison to Supervised Speech Recognition on Librispeech ",
|
| 698 |
+
"text_level": 1,
|
| 699 |
+
"bbox": [
|
| 700 |
+
174,
|
| 701 |
+
544,
|
| 702 |
+
645,
|
| 703 |
+
560
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 5
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "We first test our approach on Librispeech to get a sense of how unsupervised speech recognition compares to the best supervised systems trained on a large amount of labeled data. Librispeech is a standard benchmark in the speech recognition community which provides about 960 hours of transcribed read audiobooks. We use the language modeling data of Librispeech as unlabeled text data for unsupervised training. In Appendix G we show that far less unlabeled text and speech audio are sufficient to reach a similar level of performance. We experiment with the frozen representations of a wav2vec 2.0 LARGE model trained on the $5 3 . 2 \\mathrm { k }$ hours of Libri-Light (LL-60k) which we denote as wav2vec-U LARGE. We also consider self-training over three iterations by first training an HMM on the labels generated by the GANm then fine-tuning the original wav2vec 2.0 model on the labels of the HMM for Librispeech followed by then fine-tuning on Libri-Light; Appendix F investigates alternatives. ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
173,
|
| 712 |
+
570,
|
| 713 |
+
825,
|
| 714 |
+
723
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 5
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "wav2vec-U LARGE with self-training (wav2vec- $\\mathbf { \\partial } . \\mathbf { U } + \\mathbf { S } \\mathbf { T } ,$ ) and a Transformer language model achieves WER 5.9 on test-other, the noisy test set. This shows that unsupervised speech recognition can perform remarkably well compared to the best supervised systems of the recent past on this much studied benchmark. Also, self-training is effective even when the teacher model is unsupervised as per the improvement over GAN training (wav2vec-U). Interestingly, self-training on just Librispeech, or 960 hours of unlabeled speech audio, achieves already very good performance of WER 6.4 on dev-other compared to self-training on all of Libri-Light (53.2k hours) which compares at 6.0 WER. We note that the number of parameters trained during adversarial training is very small: the generator contains only about 90k parameters for a single temporal convolution mapping to the phoneme set from frozen wav2vec 2.0 representations. ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
173,
|
| 723 |
+
729,
|
| 724 |
+
826,
|
| 725 |
+
867
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 5
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "table",
|
| 731 |
+
"img_path": "images/7d5f6a9816458b5d9d90dd620c97a44d70ecc200d9e2e077d3e3e3e887499080.jpg",
|
| 732 |
+
"table_caption": [
|
| 733 |
+
"Table 1: WER on Librispeech dev/test sets when using 960 hours of unlabeled audio from Librispeech (LS-960) or $5 3 . 2 \\mathrm { k }$ hours from Libri-Light (LL-60k) using representations from wav2vec 2.0 LARGE. Librispeech provides clean dev/test sets which are less challenging than the other sets. We report results for GAN training only (wav2vec-U) and with subsequent self-training (wav2vec- $\\mathbf { \\partial } . \\mathbf { U } + \\mathbf { S } \\mathbf { T } ,$ . "
|
| 734 |
+
],
|
| 735 |
+
"table_footnote": [],
|
| 736 |
+
"table_body": "<table><tr><td rowspan=\"2\">Model</td><td rowspan=\"2\">Unlabeled data</td><td rowspan=\"2\">LM</td><td colspan=\"2\">dev</td><td colspan=\"2\">test</td></tr><tr><td>clean</td><td>other</td><td>clean</td><td>other</td></tr><tr><td>960h - Supervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>DeepSpeech 2 [Amodei et al.,2016]</td><td></td><td>5-gram</td><td></td><td></td><td>5.33</td><td>13.25</td></tr><tr><td>Fully Conv [Zeghidour et al., 2018]</td><td></td><td>ConvLM</td><td>3.08</td><td>9.94</td><td>3.26</td><td>10.47</td></tr><tr><td>TDNN+Kaldi [Xu et al., 2018]</td><td></td><td>4-gram</td><td>2.71</td><td>7.37</td><td>3.12</td><td>7.63</td></tr><tr><td>SpecAugment [Park et al., 2019]</td><td></td><td>RNN</td><td>1</td><td>-</td><td>2.5</td><td>5.8</td></tr><tr><td>ContextNet [Han et al.,2020]</td><td></td><td>LSTM</td><td>1.9</td><td>3.9</td><td>1.9</td><td>4.1</td></tr><tr><td>Conformer [Gulati et al.,2020]</td><td></td><td>LSTM</td><td>2.1</td><td>4.3</td><td>1.9</td><td>3.9</td></tr><tr><td>960h - Self and semi-supervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Transf.+ PL [Synnaeve et al.,2020]</td><td>LL-60k</td><td>CLM+Transf.</td><td>2.00</td><td>3.65</td><td>2.09</td><td>4.11</td></tr><tr><td>IPL [Xu et al., 2020b]</td><td>LL-60k</td><td>4-gram+Transf.</td><td>1.85</td><td>3.26</td><td>2.10</td><td>4.01</td></tr><tr><td>NST [Park et al., 2020]</td><td>LL-60k</td><td>LSTM</td><td>1.6</td><td>3.4</td><td>1.7</td><td>3.4</td></tr><tr><td>wav2vec 2.0 [Baevski et al.,2020c]</td><td>LL-60k</td><td>Transf.</td><td>1.6</td><td>3.0</td><td>1.8</td><td>3.3</td></tr><tr><td>wav2vec 2.0 + NST [Zhang et al.,2020b]</td><td>LL-60k</td><td>LSTM</td><td>1.3</td><td>2.6</td><td>1.4</td><td>2.6</td></tr><tr><td>Unsupervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>wav2vec-ULARGE</td><td>LL-60k</td><td>4-gram</td><td>13.3</td><td>15.1</td><td>13.8</td><td>18.0</td></tr><tr><td>wav2vec-ULARGE+ ST</td><td>LL-60k</td><td>4-gram</td><td>3.4</td><td>6.0</td><td>3.8</td><td>6.5</td></tr><tr><td></td><td>LL-60k</td><td>Transf.</td><td>3.2</td><td>5.5</td><td>3.4</td><td>5.9</td></tr></table>",
|
| 737 |
+
"bbox": [
|
| 738 |
+
174,
|
| 739 |
+
154,
|
| 740 |
+
823,
|
| 741 |
+
417
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 6
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "text",
|
| 747 |
+
"text": "4.2 Comparison to Prior Unsupervised Work ",
|
| 748 |
+
"text_level": 1,
|
| 749 |
+
"bbox": [
|
| 750 |
+
173,
|
| 751 |
+
435,
|
| 752 |
+
500,
|
| 753 |
+
452
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 6
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Prior work on unsupervised speech recognition focused on the TIMIT benchmark. In order to perform a direct comparison to these approaches, we report results on this benchmark as well. We consider two setups to compare to previous work: in the matched setting, the unlabeled text data is simply the transcriptions of the unlabeled audio data but unpaired. In the unmatched setup, the unlabeled text data does not contain the transcriptions for the audio data which is a more realistic setting. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
174,
|
| 762 |
+
462,
|
| 763 |
+
825,
|
| 764 |
+
531
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "We measure performance on the standard Kaldi dev and test sets (core-dev/core-test) as well as a slightly larger version of the test set (all-test) to be able to compare to Liu et al. [2018] and Chen et al. [2019]. Further details of the two setups can be found in Appendix $\\ S \\operatorname { E } . 1$ . We report performance for wav2vec-U with a 4-gram language model trained on the language modeling data of TIMIT and we also consider self-training (wav2vec- $\\mathbf { \\partial } . \\mathbf { U } + \\mathbf { S } \\mathbf { T }$ ). ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
174,
|
| 773 |
+
537,
|
| 774 |
+
825,
|
| 775 |
+
607
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "Table 2 shows that wav2vec-U outperforms prior unsupervised work in both the matched and unmatched settings, reducing PER on all-test in the matched setup by $57 \\%$ relative compared to Chen et al. [2019]. Our method has lower performance than the best supervised methods but it performs still very well at PER 12 on core-test in the matched setup compared to PER 8.3 for the state of the art [Baevski et al., 2020c]. ",
|
| 782 |
+
"bbox": [
|
| 783 |
+
174,
|
| 784 |
+
613,
|
| 785 |
+
825,
|
| 786 |
+
683
|
| 787 |
+
],
|
| 788 |
+
"page_idx": 6
|
| 789 |
+
},
|
| 790 |
+
{
|
| 791 |
+
"type": "text",
|
| 792 |
+
"text": "4.3 Performance on non-English languages ",
|
| 793 |
+
"text_level": 1,
|
| 794 |
+
"bbox": [
|
| 795 |
+
176,
|
| 796 |
+
700,
|
| 797 |
+
485,
|
| 798 |
+
715
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 6
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "To get a sense of how well the method works on non-English data, we experiment on six languages of the multilingual Librispeech corpus (MLS; Pratap et al. 2020). As baseline we consider the supervised systems of Pratap et al. [2020] trained on between $2 \\mathrm { k }$ and 161 hours of labeled data, depending on the language. For adversarial learning we use 100 hours of unlabeled audio data from MLS for every language as well as the MLS language modeling data. As input to wav2vec-U we use the representations from XLSR-53 [Conneau et al., 2020], a wav2vec 2.0 model pre-trained on 53 languages. Table 3 shows that wav2vec-U generalizes across a range of languages. Performance is lower than supervised systems but it shows the viability for other languages. ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
726,
|
| 808 |
+
825,
|
| 809 |
+
837
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 6
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "Next, we turn to three low-resource languages, Swahili, Kyrgyz, and Tatar. Swahili is an African language, Kyrgyz and Tatar are Turkic languages with only about $4 . 3 \\mathrm { m }$ and $5 . 2 \\mathrm { m }$ speakers, respectively.5 We use between 1.8 hours (Kyrgyz) and 9.2 hours of unlabeled audio (Swahili), see Appendix $\\ S \\operatorname { E } . 1$ . ",
|
| 816 |
+
"bbox": [
|
| 817 |
+
176,
|
| 818 |
+
843,
|
| 819 |
+
826,
|
| 820 |
+
886
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 6
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "table",
|
| 826 |
+
"img_path": "images/77fd4860fa4ec19b6701be89b6868bc4fe53c80cb80e10678edaf6050869d0ac.jpg",
|
| 827 |
+
"table_caption": [
|
| 828 |
+
"Table 2: TIMIT Phoneme Error Rate (PER) in comparison to previous work for the matched and unmatched training data setups (Appendix $\\ S \\operatorname { E . 1 }$ ). PER is measured on the Kaldi dev and test sets (core-dev/core-test) as well as a slightly larger version of the test set (all-test) as used by some of the prior work. $( ^ { * } )$ indicates experiments that do not use the standard split excluding SA utterances. "
|
| 829 |
+
],
|
| 830 |
+
"table_footnote": [],
|
| 831 |
+
"table_body": "<table><tr><td>Model</td><td>LM</td><td>core-dev</td><td>core-test</td><td>all-test</td></tr><tr><td colspan=\"5\">Supervised learning</td></tr><tr><td>LiGRU [Ravanelli et al., 2018]</td><td></td><td></td><td>14.9</td><td></td></tr><tr><td>LiGRU [Ravanelli et al., 2019]</td><td></td><td></td><td>14.2</td><td></td></tr><tr><td colspan=\"5\">Self and semi-supervised learning</td></tr><tr><td>vq-wav2vec [Baevski et al.,2020b]</td><td></td><td>9.6</td><td>11.6</td><td></td></tr><tr><td>wav2vec 2.0 [Baevski et al.,2020c]</td><td></td><td>7.4</td><td>8.3</td><td></td></tr><tr><td colspan=\"5\">Unsupervised learning - matched setup</td></tr><tr><td>EODM[Yeh et al.,2019]</td><td>5-gram</td><td></td><td>36.5</td><td>=</td></tr><tr><td>GAN*[Chen et al., 2019]</td><td>9-gram</td><td></td><td>=</td><td>48.6</td></tr><tr><td>GAN + HMM* [Chen et al.,2019]</td><td>9-gram</td><td>■</td><td>-</td><td>26.1</td></tr><tr><td>wav2vec-U</td><td>4-gram</td><td>17.0</td><td>17.8</td><td>16.6</td></tr><tr><td>wav2vec-U + ST</td><td>4-gram</td><td>11.3</td><td>12.0</td><td>11.3</td></tr><tr><td colspan=\"5\">Unsupervised learning - unmatched setup</td></tr><tr><td>EODM[Yeh et al., 2019]</td><td>5-gram</td><td></td><td>41.6</td><td>■</td></tr><tr><td>GAN* [Chen et al.,2019]</td><td>9-gram</td><td></td><td>=</td><td>50.0</td></tr><tr><td>GAN + HMM* [Chen et al., 2019]</td><td>9-gram</td><td>=</td><td>-</td><td>33.1</td></tr><tr><td>wav2vec-U*</td><td>4-gram</td><td>21.3</td><td>22.3</td><td>24.4</td></tr><tr><td>wav2vec-U + ST*</td><td>4-gram</td><td>13.8</td><td>15.0</td><td>18.6</td></tr></table>",
|
| 832 |
+
"bbox": [
|
| 833 |
+
240,
|
| 834 |
+
152,
|
| 835 |
+
758,
|
| 836 |
+
458
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 7
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "table",
|
| 842 |
+
"img_path": "images/b406f6c833d0575a5f43e3163dc4e9bbbbefc546de30a4f3e6945916da6d56ac.jpg",
|
| 843 |
+
"table_caption": [
|
| 844 |
+
"Table 3: WER on the Multilingual Librispeech (MLS) dataset using representations from the wav2vec 2.0 XLSR-53 model. We consider German (de), Dutch (nl), French (fr), Spanish (es), Italian (it), Portuguese (pt). "
|
| 845 |
+
],
|
| 846 |
+
"table_footnote": [],
|
| 847 |
+
"table_body": "<table><tr><td>Model</td><td>Labeled data used</td><td>LM</td><td>de</td><td>nl</td><td>fr</td><td>es</td><td>it</td><td>pt</td><td>Avg</td></tr><tr><td>Labeled training hours (full)</td><td></td><td></td><td>2k</td><td>1.6k</td><td>1.1k</td><td>918</td><td>247</td><td>161</td><td></td></tr><tr><td>Supervised learning</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Pratap et al. [2020]</td><td>full</td><td> 5-gram</td><td>6.49</td><td>12.02</td><td>5.58</td><td>6.07</td><td>10.54</td><td>19.49</td><td>10.0</td></tr><tr><td>Unsupervised learning</td><td>0h</td><td></td><td></td><td></td><td></td><td>33.3</td><td></td><td></td><td></td></tr><tr><td>wav2vec-U</td><td></td><td> 4-gram</td><td>32.5</td><td>40.2</td><td>39.8</td><td></td><td>58.1</td><td>59.8</td><td>43.9</td></tr><tr><td>wav2vec-U + ST</td><td>0h</td><td>4-gram</td><td>11.8</td><td>21.4</td><td>14.7</td><td>11.3</td><td>26.3</td><td>26.3</td><td>18.6</td></tr></table>",
|
| 848 |
+
"bbox": [
|
| 849 |
+
176,
|
| 850 |
+
516,
|
| 851 |
+
821,
|
| 852 |
+
657
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 7
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "To compare to prior work, we measure WER for Swahili and PER for Kyrgyz and Tatar. For Tatar and Kyrgyz we opted to use a reduced self-training regime for faster experimental turn-around where we only perform HMM self-training and we expect better performance with the full self-training setup (Appendix F). Table 4 and Table 5 show that wav2vec-U achieves good performance on these low-resource languages compared to previous work that utilized labeled data. We note that for Tatar and Kyrgyz we use a much smaller amount of speech audio than prior work: compared to XLSR-53 we use $1 . 8 \\mathrm { h }$ unlabeled data vs 17h of labeled data for Kyrgyz and 4.6h vs. 17h for Tatar. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
173,
|
| 861 |
+
675,
|
| 862 |
+
825,
|
| 863 |
+
773
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 7
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "5 Related Work ",
|
| 870 |
+
"text_level": 1,
|
| 871 |
+
"bbox": [
|
| 872 |
+
174,
|
| 873 |
+
795,
|
| 874 |
+
321,
|
| 875 |
+
811
|
| 876 |
+
],
|
| 877 |
+
"page_idx": 7
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"type": "text",
|
| 881 |
+
"text": "This paper builds on a large body of prior work which includes semi-supervised speech recognition such as self-training [Kahn et al., 2020a, Xu et al., 2020b, Park et al., 2020]. Some of the earliest work in self-supervised learning of speech representations was was done by van den Oord et al. [2018] for phoneme recognition which was simplified in Schneider et al. [2019] who applied it to full speech recognition. Other work includes language model-style pre-training [Chung et al., 2019a] and learning fixed size representations of audio segments [Chung and Glass, 2018]. There is also work on quantization of the continuous speech data [Baevski et al., 2020b,a, Liu et al., 2019, van Niekerk et al., 2020, Baevski et al., 2020c, Hsu et al., 2021b] and on robustness to domain shift [Hsu et al., 2021a], multilingual pre-training [Kawakami et al., 2020, Conneau et al., 2020] as well as combining speech and vision [Harwath et al., 2020]. ",
|
| 882 |
+
"bbox": [
|
| 883 |
+
174,
|
| 884 |
+
827,
|
| 885 |
+
825,
|
| 886 |
+
911
|
| 887 |
+
],
|
| 888 |
+
"page_idx": 7
|
| 889 |
+
},
|
| 890 |
+
{
|
| 891 |
+
"type": "table",
|
| 892 |
+
"img_path": "images/2681bd270ee947c4735ec6105ffa578b603c0a8f14a89fb155bf16d2679be651.jpg",
|
| 893 |
+
"table_caption": [
|
| 894 |
+
"Table 4: PER for low-resource languages, Tatar (tt) and Kyrgyz (ky). "
|
| 895 |
+
],
|
| 896 |
+
"table_footnote": [],
|
| 897 |
+
"table_body": "<table><tr><td>Model</td><td>tt</td><td>ky</td></tr><tr><td colspan=\"3\">Supervised learning</td></tr><tr><td>Fer et al. [2017]</td><td>42.5</td><td>38.7</td></tr><tr><td>m-CPC [Riviere et al., 2020]</td><td>42.0</td><td>41.2</td></tr><tr><td>XLSR-53 [Conneau et al.,2020]</td><td>5.1</td><td>6.1</td></tr><tr><td colspan=\"3\">Unsupervised learning</td></tr><tr><td>wav2vec-U</td><td>25.7</td><td>24.1</td></tr><tr><td>wav2vec-U + HMM</td><td>13.7</td><td>14.9</td></tr></table>",
|
| 898 |
+
"bbox": [
|
| 899 |
+
176,
|
| 900 |
+
137,
|
| 901 |
+
501,
|
| 902 |
+
285
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 8
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "table",
|
| 908 |
+
"img_path": "images/75c82e8aef7073d98bca3ee508ceb7960d3a4e7ae6963489d1130fb03b1695b7.jpg",
|
| 909 |
+
"table_caption": [
|
| 910 |
+
"Table 5: WER for Swahili from the ALFFA corpus. We compare to the supervised baseline of the ALFFA project. "
|
| 911 |
+
],
|
| 912 |
+
"table_footnote": [],
|
| 913 |
+
"table_body": "<table><tr><td>Model</td><td>sw</td></tr><tr><td>Supervised learning</td><td></td></tr><tr><td>Besacier et al. [2015]</td><td>27.36</td></tr><tr><td>Unsupervised learning</td><td></td></tr><tr><td>wav2vec-U</td><td>52.6</td></tr><tr><td>wav2vec-U + ST</td><td>32.2</td></tr></table>",
|
| 914 |
+
"bbox": [
|
| 915 |
+
565,
|
| 916 |
+
151,
|
| 917 |
+
779,
|
| 918 |
+
273
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 8
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "",
|
| 925 |
+
"bbox": [
|
| 926 |
+
174,
|
| 927 |
+
329,
|
| 928 |
+
825,
|
| 929 |
+
385
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 8
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "text",
|
| 935 |
+
"text": "Learning to map speech to phonemes without supervision using adversarial learning has been explored by Liu et al. [2018] who learn a mapping matrix between segment identifiers and phonemes. However, their work still relied on data segmented into phonemes by human annotators. This has been later extended to use an automatic segmentation [Chen et al., 2019] which is iteratively refined with HMMs. However, cross validation is still performed using labeled data (personal communication with authors). We also explored HMMs to refine segmentation boundaries (Table A2) but did not find it as effective as self-training. Our work is in part inspired by aligning word embedding spaces of different languages [Mikolov et al., 2013, Artetxe et al., 2017, Conneau et al., 2018] and full unsupervised machine translation [Lample et al., 2018, Artetxe et al., 2018, Conneau and Lample, 2019]. ",
|
| 936 |
+
"bbox": [
|
| 937 |
+
173,
|
| 938 |
+
391,
|
| 939 |
+
825,
|
| 940 |
+
516
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 8
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "6 Conclusion and Future Work ",
|
| 947 |
+
"text_level": 1,
|
| 948 |
+
"bbox": [
|
| 949 |
+
174,
|
| 950 |
+
556,
|
| 951 |
+
449,
|
| 952 |
+
574
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 8
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "wav2vec-U is a framework which enables building speech recognition models without labeled data. It embeds and segments the speech audio with self-supervised representations from wav2vec 2.0, learns a mapping to phonemes with adversarial learning, and cross-validates hyper-parameter choices as well as early stopping with an unsupervised metric. Experiments on the standard Librispeech benchmark show performance close to the state of the art models from only a few years ago, even though these models relied on nearly 1,000 hours of labeled data. ",
|
| 959 |
+
"bbox": [
|
| 960 |
+
174,
|
| 961 |
+
599,
|
| 962 |
+
825,
|
| 963 |
+
684
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 8
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Compared to the previous best unsupervised speech recognition approach, wav2vec-U reduces TIMIT phone error rate from 26.1 to 11.3. We also demonstrate the viability of our approach on several languages other than English, some of which are low-resource. The ability to build speech recognition models solely from unlabeled speech audio and unlabeled text drastically lowers the effort to build speech technology for many more languages of the world. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
174,
|
| 972 |
+
690,
|
| 973 |
+
823,
|
| 974 |
+
760
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 8
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "Our approach requires phonemization of the text for the language of interest. Moreover, phonemizers are not available for all languages and this presents a bottleneck. To address this, future work may develop phonemizers for more languages, explore phonemization approaches that generalize across languages, or unsupervised training with graphemic text units such as letters. ",
|
| 981 |
+
"bbox": [
|
| 982 |
+
174,
|
| 983 |
+
766,
|
| 984 |
+
825,
|
| 985 |
+
821
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 8
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "We explored a simple segmentation technique based on self-supervised representations, however, there is a large body of research on segmentation and some of these techniques may lead to improvements over our simple approach [Varadarajan et al., 2008, Zhang and Glass, 2009, Gish et al., 2009, Lee and Glass, 2012, Lee et al., 2015, Ondel et al., 2016, Kamper et al., 2017a,b, Kreuk et al., 2020]. Also, wav2vec 2.0 learns representations for fixed size units with a fixed stride, however, phonemic units are of variable size. Another direction is to learn variable sized representations during pre-training. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
174,
|
| 994 |
+
828,
|
| 995 |
+
825,
|
| 996 |
+
911
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 8
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "Acknowledgments and Disclosure of Funding ",
|
| 1003 |
+
"text_level": 1,
|
| 1004 |
+
"bbox": [
|
| 1005 |
+
174,
|
| 1006 |
+
88,
|
| 1007 |
+
553,
|
| 1008 |
+
107
|
| 1009 |
+
],
|
| 1010 |
+
"page_idx": 9
|
| 1011 |
+
},
|
| 1012 |
+
{
|
| 1013 |
+
"type": "text",
|
| 1014 |
+
"text": "We thank Zhouhan Lin for helping with initial explorations in this project, Tatiana Likhomanenko for helpful discussions about self-training, Da-Rong Liu for sharing details to reproduce the setup of Chen et al. [2019], Marc’Aurelio Ranzato for general helpful discussions, and Ruth Kipng’eno, Ruth Ndila Ndeto as well as Mark Mutitu for error analysis of our Swahili model. ",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
174,
|
| 1017 |
+
121,
|
| 1018 |
+
826,
|
| 1019 |
+
176
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 9
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "References ",
|
| 1026 |
+
"text_level": 1,
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
174,
|
| 1029 |
+
195,
|
| 1030 |
+
266,
|
| 1031 |
+
212
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 9
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "S. T. Abate, W. Menzel, and B. Tafila. An amharic speech corpus for large vocabulary continuous speech recognition. In Proc. of Interspeech, 2005. \nD. Amodei, S. Ananthanarayanan, R. Anubhai, J. Bai, E. Battenberg, C. Case, J. Casper, B. Catanzaro, Q. Cheng, G. Chen, et al. Deep speech 2: End-to-end speech recognition in english and mandarin. In Proc. of ICML, 2016. \nR. Ardila, M. Branson, K. Davis, M. Henretty, M. Kohler, J. Meyer, R. Morais, L. Saunders, F. M. Tyers, and G. Weber. Common voice: A massively-multilingual speech corpus. Proc. of LREC, 2020. \nM. Arjovsky, S. Chintala, and L. Bottou. Wasserstein gan. Proc. of ICML, 2017. \nM. Artetxe, G. Labaka, and E. Agirre. Learning bilingual word embeddings with (almost) no bilingual data. In Proc. of ACL, 2017. \nM. Artetxe, G. Labaka, E. Agirre, and K. Cho. Unsupervised neural machine translation. Proc. of ICLR, 2018. \nA. Baevski and M. Auli. Adaptive input representations for neural language modeling. In Proc. of ICLR, 2018. \nA. Baevski, M. Auli, and A. Mohamed. Effectiveness of self-supervised pre-training for speech recognition. Proc. of ICASSP, 2020a. \nA. Baevski, S. Schneider, and M. Auli. vq-wav2vec: Self-supervised learning of discrete speech representations. In Proc. of ICLR, 2020b. \nA. Baevski, Y. Zhou, A. Mohamed, and M. Auli. wav2vec 2.0: A framework for self-supervised learning of speech representations. In Proc. of NeurIPS, 2020c. \nL. Besacier, E. Gauthier, M. Mangeot, P. Bretier, P. Bagshaw, O. Rosec, T. Moudenc, F. Pellegrino, S. Voisin, E. Marsico, and P. Nocera. Speech technologies for african languages: example of a multilingual calculator for education. In Proc. of Interspeech, 2015. \nD. Can, V. R. Martinez, P. Papadopoulos, and S. S. Narayanan. Pykaldi: A python wrapper for kaldi. In Proc. of ICASSP, 2018. \nK.-Y. Chen, C.-P. Tsai, D.-R. Liu, H.-Y. Lee, and L. shan Lee. Completely unsupervised speech recognition by a generative adversarial network harmonized with iteratively refined hidden markov models. In Proc. of Interspeech, 2019. \nY. Chung, W. Weng, S. Tong, and J. R. Glass. Unsupervised cross-modal alignment of speech and text embedding spaces. Proc. of NIPS, 2018. \nY. Chung, W. Hsu, H. Tang, and J. R. Glass. An unsupervised autoregressive model for speech representation learning. Proc. of Interspeech, 2019a. \nY.-A. Chung and J. Glass. Speech2vec: A sequence-to-sequence framework for learning word embeddings from speech. Proc. of Interspeech, 2018. \nY.-A. Chung, W.-N. Hsu, H. Tang, and J. Glass. An unsupervised autoregressive model for speech representation learning. Proc. of Interspeech, 2019b. \nA. Conneau and G. Lample. Cross-lingual language model pretraining. Proc. of NeurIPS, 2019. \nA. Conneau, G. Lample, M. Ranzato, L. Denoyer, and H. Jégou. Word translation without parallel data. Proc. of ICLR, 2018. \nA. Conneau, A. Baevski, R. Collobert, A. Mohamed, and M. Auli. Unsupervised cross-lingual representation learning for speech recognition. arXiv, abs/2006.13979, 2020. \nJ. Devlin, M.-W. Chang, K. Lee, and K. Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. Proc. of NAACL, 2019. \nL. Dong, S. Xu, and B. Xu. Speech-transformer: A no-recurrence sequence-to-sequence model for speech recognition. In Proc. of ICASSP, 2018. \nZ. Fan, M. Li, S. Zhou, and B. Xu. Exploring wav2vec 2.0 on speaker verification and language identification. arXiv, 2021. \nR. Fer, P. Matejka, F. Grézl, O. Plchot, K. Vesel ˇ y, and J. H. \\` Cernock ˇ y. Multilingually trained \\` bottleneck features in spoken language recognition. Computer Speech & Language, 46, 2017. \nJ. S. Garofolo, L. F. Lamel, W. M. Fisher, J. G. Fiscus, D. S. Pallett, and N. L. Dahlgren. The DARPA TIMIT Acoustic-Phonetic Continuous Speech Corpus CDROM. Linguistic Data Consortium, 1993. \nH. Gelas, L. Besacier, and F. Pellegrino. Developments of Swahili resources for an automatic speech recognition system. In Proc. of SLTU, 2012. \nH. Gish, M. Siu, A. Chan, and W. Belfield. Unsupervised training of an hmm-based speech recognizer for topic classification. In Proc. of Interspeech, 2009. \nI. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial networks. Proc. of NIPS, 2014. \nGoogle. Google cloud: Speech-to-text. https://cloud.google.com/speech-to-text, 2021. Accessed: 2021-05-13. \nA. Graves, S. Fernández, and F. Gomez. Connectionist temporal classification: Labelling unsegmented sequence data with recurrent neural networks. In Proc. of ICML, 2006. \nA. Gulati, J. Qin, C.-C. Chiu, N. Parmar, Y. Zhang, J. Yu, W. Han, S. Wang, Z. Zhang, Y. Wu, and R. Pang. Conformer: Convolution-augmented transformer for speech recognition. Proc. of Interspeech, 2020. \nI. Gulrajani, F. Ahmed, M. Arjovsky, V. Dumoulin, and A. Courville. Improved training of wasserstein gans. Proc. of NIPS, 2017. \nW. Han, Z. Zhang, Y. Zhang, J. Yu, C.-C. Chiu, J. Qin, A. Gulati, R. Pang, and Y. Wu. Contextnet: Improving convolutional neural networks for automatic speech recognition with global context. Proc. of Interspeech, 2020. \nD. Harwath and J. Glass. Towards visually grounded sub-word speech unit discovery. In Proc. of ICASSP, pages 3017–3021. IEEE, 2019. \nD. Harwath, W.-N. Hsu, and J. Glass. Learning hierarchical discrete linguistic units from visuallygrounded speech. In Proc. of ICLR, 2020. \nK. Heafield. KenLM: Faster and smaller language model queries. In Proceedings of the Sixth Workshop on Statistical Machine Translation, pages 187–197, Edinburgh, Scotland, July 2011. Association for Computational Linguistics. \nK. Hirsh-Pasek, D. G. Kemler Nelson, P. W. Jusczyk, K. W. Cassidy, B. Druss, and L. Kennedy. Clauses are perceptual units for young infants. Cognition, 26(3):269–286, 1987. \nW.-N. Hsu, A. Sriram, A. Baevski, T. Likhomanenko, Q. Xu, V. Pratap, J. Kahn, A. Lee, R. Collobert, G. Synnaeve, et al. Robust wav2vec 2.0: Analyzing domain shift in self-supervised pre-training. arXiv preprint arXiv:2104.01027, 2021a. \nW.-N. Hsu, Y.-H. H. Tsai, B. Bolte, R. Salakhutdinov, and A. Mohamed. Hubert: How much can a bad teacher benefit ASR pre-training? In Proc. of ICASSP, 2021b. \nE. Jang, S. Gu, and B. Poole. Categorical reparameterization with gumbel-softmax. Proc. of ICLR, 2016. \nH. Jegou, M. Douze, and C. Schmid. Product quantization for nearest neighbor search. IEEE Trans. Pattern Anal. Mach. Intell., 33(1):117–128, Jan. 2011. \nE. K. Johnson and P. W. Jusczyk. Word segmentation by 8-month-olds: When speech cues count more than statistics. Journal of Memory and Language, 44(4):548–567, 2001. \nJ. Johnson, M. Douze, and H. Jégou. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 2019. \nP. W. Jusczyk, D. M. Houston, and M. Newsome. The beginnings of word segmentation in englishlearning infants. Cognitive Psychology, 39(3):159–207, 1999. \nJ. Kahn, A. Lee, and A. Hannun. Self-training for end-to-end speech recognition. In Proc. of ICASSP, 2020a. \nJ. Kahn et al. Libri-light: A benchmark for asr with limited or no supervision. In Proc. of ICASSP, 2020b. \nH. Kamper, A. Jansen, and S. Goldwater. A segmental framework for fully-unsupervised largevocabulary speech recognition. Comput. Speech Lang., 46(C), Nov. 2017a. \nH. Kamper, K. Livescu, and S. Goldwater. An embedded segmental k-means model for unsupervised segmentation and clustering of speech. Proc. of ASRU, 2017b. \nK. Kawakami, L. Wang, C. Dyer, P. Blunsom, and A. van den Oord. Learning robust and multilingual speech representations. Proc. of EMNLP, 2020. \nD. P. Kingma and J. Ba. Adam: A Method for Stochastic Optimization. In Proc. of ICLR, 2015. \nF. Kreuk, J. Keshet, and Y. Adi. Self-supervised contrastive learning for unsupervised phoneme segmentation. Proc. of Interspeech, 2020. \nG. Lample, L. Denoyer, and M. Ranzato. Unsupervised machine translation using monolingual corpora only. In Proc. of ICLR, 2018. \nC. Lee and J. R. Glass. A nonparametric bayesian approach to acoustic model discovery. In Proc. of ACL, 2012. \nC. Lee, T. J. O’Donnell, and J. R. Glass. Unsupervised lexicon discovery from acoustic input. TACL, 2015. \nM. P. Lewis, G. F. Simon, and C. D. Fennig. Ethnologue: Languages of the world, nineteenth edition. Online version: http://www.ethnologue.com, 2016. \nT. Likhomanenko, Q. Xu, J. Kahn, G. Synnaeve, and R. Collobert. slimipl: Language-model-free iterative pseudo-labeling. arXiv, 2021. \nA. H. Liu, T. Tu, H. yi Lee, and L. shan Lee. Towards unsupervised speech recognition and synthesis with quantized speech representation learning. Proc. of ICASSP, 2019. \nD.-R. Liu, K.-Y. Chen, H.-Y. Lee, and L. shan Lee. Completely unsupervised phoneme recognition by adversarially learning mapping relationships from audio embeddings. Proc. of Interspeech, 2018. \nT. Mikolov, Q. V. Le, and I. Sutskever. Exploiting similarities among languages for machine translation. arXiv preprint arXiv:1309.4168, 2013. \nM. Mohri, F. Pereira, and M. Riley. Weighted finite-state transducers in speech recognition. Computer Speech & Language, 16(1):69–88, 2002. \nL. Ondel, L. Burget, and J. Cernocký. Variational inference for acoustic unit discovery. In Proc. of SLTU, 2016. \nM. Ott, S. Edunov, A. Baevski, A. Fan, S. Gross, N. Ng, D. Grangier, and M. Auli. fairseq: A fast, extensible toolkit for sequence modeling. In Proc. of NAACL System Demonstrations, 2019. \nV. Panayotov, G. Chen, D. Povey, and S. Khudanpur. Librispeech: an asr corpus based on public domain audio books. In Proc. of ICASSP, pages 5206–5210. IEEE, 2015. \nD. S. Park, W. Chan, Y. Zhang, C.-C. Chiu, B. Zoph, E. D. Cubuk, and Q. V. Le. Specaugment: A simple data augmentation method for automatic speech recognition. In Proc. of Interspeech, 2019. \nD. S. Park, Y. Zhang, Y. Jia, W. Han, C.-C. Chiu, B. Li, Y. Wu, and Q. V. Le. Improved noisy student training for automatic speech recognition. Proc. of Interspeech, 2020. \nK. Park and J. Kim. g2pe. https://github.com/Kyubyong/g2p, 2019. \nL. Pepino, P. Riera, and L. Ferrer. Emotion recognition from speech using wav2vec 2.0 embeddings. arXiv, 2021. \nL. Polka and J. F. Werker. Developmental changes in perception of nonnative vowel contrasts. Journal of Experimental Psychology: Human perception and performance, 20(2):421, 1994. \nD. Povey, A. Ghoshal, G. Boulianne, L. Burget, O. Glembek, N. Goel, M. Hannemann, P. Motlicek, Y. Qian, P. Schwarz, J. Silovsky, G. Stemmer, and K. Vesely. The kaldi speech recognition toolkit. In Proc. of ASRU, 2011. \nV. Pratap, A. Hannun, Q. Xu, J. Cai, J. Kahn, G. Synnaeve, V. Liptchinsky, and R. Collobert. Wav2letter++: A fast open-source speech recognition system. In Proc. of ICASSP, 2019. \nV. Pratap, Q. Xu, A. Sriram, G. Synnaeve, and R. Collobert. Mls: A large-scale multilingual dataset for speech research. In Proc. of Interspeech, 2020. \nO. Rasanen, G. Doyle, and M. C. Frank. Unsupervised word discovery from speech using automatic segmentation into syllable-like units. In Proc. of Interspeech, 2015. \nM. Ravanelli, P. Brakel, M. Omologo, and Y. Bengio. Light gated recurrent units for speech recognition. IEEE Trans. on Emerging Topics in Comp. Intel., 2, 2018. \nM. Ravanelli, T. Parcollet, and Y. Bengio. The pytorch-kaldi speech recognition toolkit. Proc. of ICASSP, 2019. \nM. Rivière, A. Joulin, P.-E. Mazaré, and E. Dupoux. Unsupervised pretraining transfers well across languages. In Proc. of ICASSP, 2020. \nS. Schneider, A. Baevski, R. Collobert, and M. Auli. wav2vec: Unsupervised pre-training for speech recognition. In Proc. of Interspeech, 2019. \nN. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. JMLR, 2014. \nG. Synnaeve, Q. Xu, J. Kahn, T. Likhomanenko, E. Grave, V. Pratap, A. Sriram, V. Liptchinsky, and R. Collobert. End-to-end ASR: from Supervised to Semi-Supervised Learning with Modern Architectures. Proc. of ICML workshop on Self-supervision in Audio and Speech (SAS), 2020. \nM. Tachbelie, S. T. Abate, and L. Besacier. Using different acoustic, lexical and language modeling units for asr of an under-resourced language - amharic. Speech Communication, 56, 2014. \nZ. Tan, A. K. Sarkar, and N. Dehak. rvad: An unsupervised segment-based robust voice activity detection method. Computer speech & language, 59:1–21, 2020. \nA. van den Oord, Y. Li, and O. Vinyals. Representation learning with contrastive predictive coding. Proc. of NIPS, 2018. \nB. van Niekerk, L. Nortje, and H. Kamper. Vector-quantized neural networks for acoustic unit discovery in the zerospeech 2020 challenge. Proc. of Interspeech, 2020. \nB. Varadarajan, S. Khudanpur, and E. Dupoux. Unsupervised learning of acoustic sub-word units. In Proc. of ACL, 2008. \nA. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin. Attention is all you need. In Proc. of NIPS, 2017. \nC. Wang, A. Wu, J. Pino, A. Baevski, M. Auli, and A. Conneau. Large-scale self- and semi-supervised learning for speech translation. arXiv, 2021. \nJ. F. Werker and R. C. Tees. Cross-language speech perception: Evidence for perceptual reorganization during the first year of life. Infant behavior and development, 7(1):49–63, 1984. \nH. Xu, K. Li, Y. Wang, J. Wang, S. Kang, X. Chen, D. Povey, and S. Khudanpur. Neural network language modeling with letter-based features and importance sampling. In Proc. of ICASSP, 2018. \nQ. Xu, A. Baevski, T. Likhomanenko, P. Tomasello, A. Conneau, R. Collobert, G. Synnaeve, and M. Auli. Self-training and pre-training are complementary for speech recognition. In Proc. of ICASSP, 2020a. \nQ. Xu, T. Likhomanenko, J. Kahn, A. Hannun, G. Synnaeve, and R. Collobert. Iterative pseudolabeling for speech recognition. Proc. of Interspeech, 2020b. \nC.-K. Yeh, J. Chen, C. Yu, and D. Yu. Unsupervised speech recognition via segmental empirical output distribution matching. In Proc. of ICLR, 2019. \nN. Zeghidour, Q. Xu, V. Liptchinsky, N. Usunier, G. Synnaeve, and R. Collobert. Fully convolutional speech recognition. arXiv, abs/1812.06864, 2018. \nF. Zhang, Y. Wang, X. Zhang, C. Liu, Y. Saraf, and G. Zweig. Faster, simpler and more accurate hybrid asr systems using wordpieces. Proc. of Interspeech, 2020a. \nY. Zhang and J. R. Glass. Unsupervised spoken keyword spotting via segmental dtw on gaussian posteriorgrams. IEEE Workshop on Automatic Speech Recognition & Understanding, 2009. \nY. Zhang, J. Qin, D. S. Park, W. Han, C.-C. Chiu, R. Pang, Q. V. Le, and Y. Wu. Pushing the limits of semi-supervised learning for automatic speech recognition. Proc. of NeurIPS SAS Workshop, 2020b. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
171,
|
| 1040 |
+
217,
|
| 1041 |
+
828,
|
| 1042 |
+
906
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 9
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
169,
|
| 1051 |
+
54,
|
| 1052 |
+
828,
|
| 1053 |
+
914
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 10
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
169,
|
| 1062 |
+
87,
|
| 1063 |
+
830,
|
| 1064 |
+
920
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 11
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "",
|
| 1071 |
+
"bbox": [
|
| 1072 |
+
169,
|
| 1073 |
+
73,
|
| 1074 |
+
828,
|
| 1075 |
+
921
|
| 1076 |
+
],
|
| 1077 |
+
"page_idx": 12
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"type": "text",
|
| 1081 |
+
"text": "",
|
| 1082 |
+
"bbox": [
|
| 1083 |
+
169,
|
| 1084 |
+
85,
|
| 1085 |
+
828,
|
| 1086 |
+
565
|
| 1087 |
+
],
|
| 1088 |
+
"page_idx": 13
|
| 1089 |
+
}
|
| 1090 |
+
]
|
parse/train/QmxFsofRvW9/QmxFsofRvW9_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/QmxFsofRvW9/QmxFsofRvW9_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SySaJ0xCZ/SySaJ0xCZ.md
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SIMPLE AND EFFICIENT ARCHITECTURE SEARCH FOR CONVOLUTIONAL NEURAL NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Neural networks have recently had a lot of success for many tasks. However, neural network architectures that perform well are still typically designed manually by experts in a cumbersome trial-and-error process. We propose a new method to automatically search for well-performing CNN architectures based on a simple hill climbing procedure whose operators apply network morphisms, followed by short optimization runs by cosine annealing. Surprisingly, this simple method yields competitive results, despite only requiring resources in the same order of magnitude as training a single network. E.g., on CIFAR-10, our method designs and trains networks with an error rate below $6 \%$ in only 12 hours on a single GPU; training for one day reduces this error further, to almost $5 \%$ .
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Neural networks have rapidly gained popularity over the last few years due to their success in a variety of tasks, such as image recognition (Krizhevsky et al., 2012), speech recognition (Hinton et al., 2012) and machine translation (Bahdanau et al., 2015). In most cases, these neural networks are still designed by hand, which is an exhausting, time-consuming process. Additionally, the vast amount of possible configurations requires expert knowledge to restrict the search. Therefore, a natural goal is to design optimization algorithms that automate this neural architecture search.
|
| 12 |
+
|
| 13 |
+
However, most classic optimization algorithms do not apply to this problem, since the architecture search space is discrete (e.g., number of layers, layer types) and conditional (e.g., the number of parameters defining a layer depends on the layer type). Thus, methods that rely on, e.g., differentiability or independent parameters are not applicable. This led to a growing interest in using evolutionary algorithms (Real et al., 2017; Suganuma et al., 2017) and reinforcement learning (Baker et al., 2016; Cai et al., 2017; Zoph & Le, 2017) for automatically designing CNN architectures. Unfortunately, most proposed methods are either very costly (requiring hundreds or thousands of GPU days) or yield non-competitive performance.
|
| 14 |
+
|
| 15 |
+
In this work, we aim to dramatically reduce these computational costs while still achieving competitive performance. Specifically, our contributions are as follows:
|
| 16 |
+
|
| 17 |
+
• We propose a baseline method that randomly constructs networks and trains them with SGDR (Loshchilov & Hutter, 2017). We demonstrate that this simple baseline achieves $6 \% - 7 \%$ test error on CIFAR-10, which already rivals several existing methods for neural archictecture search. Due to its simplicity, we hope that this baseline provides a valuable starting point for the development of more sophisticated methods in the future.
|
| 18 |
+
• We formalize and extend the work on network morphisms (Chen et al., 2015; Wei et al., 2016; Cai et al., 2017) in order to provide popular network building blocks, such as skip connections and batch normalization.
|
| 19 |
+
• We propose Neural Architecture Search by Hillclimbing (NASH), a simple iterative approach that, at each step, applies a set of alternative network morphisms to the current network, trains the resulting child networks with short optimization runs of cosine annealing (Loshchilov & Hutter, 2017), and moves to the most promising child network. NASH finds and trains competitive architectures at a computational cost of the same order of magnitude as training a single network; e.g., on CIFAR-10, NASH finds and trains CNNs with an error rate below $6 \%$ in roughly 12 hours on
|
| 20 |
+
|
| 21 |
+
a single GPU. After one day the error is reduced to almost $5 \%$ . Models from different stages of our algorithm can be combined to achieve an error of $4 . 7 \%$ within two days on a single GPU. On CIFAR-100, we achieve an error below $24 \%$ in one day and get close to $20 \%$ after two days.
|
| 22 |
+
|
| 23 |
+
• Our method is easy to use and easy to extend, so it hopefully can serve as a basis for future work.
|
| 24 |
+
|
| 25 |
+
We first discuss related work in Section 2. Then, we formalize the concept of network morphisms in Section 3 and propose our architecture search methods based on them in Section 4. We evaluate our methods in Section 5 and conclude in Section 6.
|
| 26 |
+
|
| 27 |
+
# 2 RELATED WORK
|
| 28 |
+
|
| 29 |
+
Hyperparameter optimization. Neural networks are known to be quite sensitive to the setting of various hyperparameters, such as learning rates and regularization constants. There exists a long line of research on automated methods for setting these hyperparameters, including, e.g., random search (Bergstra & Bengio, 2012), Bayesian optimization (Bergstra et al., 2011; Snoek et al., 2012), bandit-based approaches (Li et al., 2016a), and evolutionary strategies (Loshchilov & Hutter, 2016).
|
| 30 |
+
|
| 31 |
+
Automated architecture search. In recent years, the research focus has shifted from optimizing hyperparameters to optimizing architectures. While architectural choices can be treated as categorical hyperparameters and be optimized with standard hyperparameter optimization methods (Bergstra et al., 2011; Mendoza et al., 2016), the current focus is on the development of special techniques for architectural optimization. One very popular approach is to train a reinforcement learning agent with the objective of designing well-performing convolutional neural networks (Baker et al., 2016; Zoph & Le, 2017; Cai et al., 2017). Baker et al. (2016) train an RL agent to sequentially choose the type of layers (convolution, pooling, fully connected) and their parameters. Zoph & Le (2017) use a recurrent neural network controller to sequentially generate a string representing the network architecture. Both approaches train their generated networks from scratch and evaluate their performance on a validation set, which represents a very costly step. In a follow-up work (Zoph et al., 2017), the RL agent learned to build cells, which are then used as building blocks for a neural network with a fixed global structure. Unfortunately, training an RL agent with the objective of designing architecture is extremely expensive: both Baker et al. (2016) and Zoph & Le (2017) required over 10.000 fully trained networks, requiring hundreds to thousands of GPU days. To overcome this drawback, Cai et al. (2017) proposed to apply the concept of network transformations/morphisms within RL. As in our (independent, parallel) work, the basic idea is to use the these transformation to generate new pre-trained architectures to avoid the large cost of training all networks from scratch. Compared to this work, our approach is much simpler and 15 times faster while obtaining better performance.
|
| 32 |
+
|
| 33 |
+
Real et al. (2017) and Suganuma et al. (2017) utilized evolutionary algorithms to iteratively generate powerful networks from a small network. Operations like inserting a layer, modifying the parameters of a layer or adding skip connections serve as ”mutations” in their framework of evolution. Whereas Real et al. (2017) also used enormous computational resources (250 GPUs, 10 days), Suganuma et al. (2017) were restricted to relatively small networks due to handling a population of networks. In contrast to the previous methods where network capacity increases over time, Saxena & Verbeek (2016) start with training a large network (a ”convolution neural fabric”) and prune this in the end. Very recently, Brock et al. (2017) used hypernetworks (Ha et al., 2017) to generate the weights for a randomly sampled network architecture with the goal of eliminating the costly process of training a vast amount of networks.
|
| 34 |
+
|
| 35 |
+
Network morphism/ transformation. Network transformations were (to our knowledge) first introduced by Chen et al. (2015) in the context of transfer learning. The authors described a function preserving operation to make a network deeper (dubbed ”Net2Deeper”) or wider (”Net2Wider”) with the goal of speeding up training and exploring network architectures. Wei et al. (2016) proposed additional operations, e.g., for handling non-idempotent activation functions or altering the kernel size and introduced the term network morphism. As mentioned above, Cai et al. (2017) used network morphisms for architecture search, though they just employ the Net2Deeper and Net2Wider operators from Chen et al. (2015) as well as altering the kernel size, i.e., they limit their search space to simple architectures without, e.g., skip connections.
|
| 36 |
+
|
| 37 |
+
# 3 NETWORK MORPHISM
|
| 38 |
+
|
| 39 |
+
Let $\mathcal { N } ( \mathcal { X } )$ denote a set of neural networks defined on $\mathcal { X } \subset \mathbb { R } ^ { n }$ . A network morphism is a mapping $M : \dot { \mathcal { N } } ( \dot { \mathcal { X } } ) \times \mathbb { R } ^ { k } \mathcal { N } ( \underline { { \mathcal { X } } } ) \times \mathbb { R } ^ { j }$ from a neural network $f ^ { w } \in \mathcal { N } ( \mathcal { X } )$ with parameters $w \in \mathbb { R } ^ { k }$ to another neural network $g ^ { \tilde { w } } \in \mathcal { N } ( \mathcal { X } )$ with parameters $\tilde { w } \in \mathbb { R } ^ { j }$ so that
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
f ^ { w } ( x ) = g ^ { \tilde { w } } ( x ) \mathrm { f o r e v e r y } x \in \mathcal { X } .
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
In the following we give a few examples of network morphisms and how standard operations for building neural networks (e.g., adding a convolutional layer) can be expressed as a network morphism. For this, let $f _ { i } ^ { w _ { i } } ( x )$ be some part of a NN $f ^ { w } ( x )$ , e.g., a layer or a subnetwork.
|
| 46 |
+
|
| 47 |
+
Network morphism Type I. We replace $f _ { i } ^ { w _ { i } }$ by
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\tilde { f } _ { i } ^ { \tilde { w } _ { i } } ( x ) = A f _ { i } ^ { w _ { i } } ( x ) + b ,
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
with $\tilde { w } _ { i } = ( w _ { i } , A , b ) ^ { 1 }$ . Equation (1) obviously holds for $A = \mathbf { 1 } , b = \mathbf { 0 }$ . This morphism can be used to add a fully-connected or convolutional layer, as these layers are simply linear mappings. Chen et al. (2015) dubbed this morphism ”Net2DeeperNet”. Alternatively to the above replacement, one could also choose
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\tilde { f } _ { i } ^ { \tilde { w } _ { i } } ( x ) = C ( A f _ { i } ^ { w _ { i } } ( x ) + b ) + d ,
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
with $\tilde { w } _ { i } = ( w _ { i } , C , d )$ . $A , b$ are fixed, non-learnable. In this case network morphism Equation (1) holds if $C = A ^ { - 1 } , d = - C b$ . A Batch Normalization layer (or other normalization layers) can be written in the above form: $A , b$ represent the batch statistics and $C , d$ the learnable scaling and shifting.
|
| 60 |
+
|
| 61 |
+
Network morphism Type II. Assume $f _ { i } ^ { w _ { i } }$ has the form $f _ { i } ^ { w _ { i } } ( x ) = A h ^ { w _ { h } } ( x ) + b$ for an arbitrary function $h$ . We replace $f _ { i } ^ { w _ { i } }$ , $w _ { i } = ( w _ { h } , \dot { A } , b )$ , by
|
| 62 |
+
|
| 63 |
+
$$
|
| 64 |
+
\tilde { f } _ { i } ^ { \tilde { w } _ { i } } ( x ) = \left( A \quad \tilde { A } \right) \binom { h ^ { w _ { h } } ( x ) } { \tilde { h } ^ { w _ { h } } ( x ) } + b
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
with an arbitrary function $\tilde { h } ^ { w _ { \tilde { h } } } ( x )$ . The new parameters are $\tilde { w } _ { i } = ( w _ { i } , w _ { \tilde { h } } , \tilde { A } )$ . Again, Equation (1) can trivially be satisfied by setting $\tilde { A } = 0$ . We think of two modifications of a NN which can be expressed by this morphism. Firstly, a layer can be widened (i.e., increasing the number of units in a fully connected layer or the number of channels in a CNN - the Net2WiderNet transformation from Chen et al. (2015)). Think of $h ( x )$ as the layer to be widened. For example, we can then set $\tilde { h } = h$ to simply double the width. Secondly, skip-connections by concatenation as used by Huang et al. (2016) can be formulated as a network morphism. If $h ( x )$ itself is a sequence of layers, $h ( x ) = h _ { n } ( x ) \circ \cdots \circ h _ { 0 } ( x )$ , then one could choose $\tilde { h } ( x ) = x$ to realize a skip from $h _ { 0 }$ to the layer subsequent to $h _ { n }$ .
|
| 68 |
+
|
| 69 |
+
Network morphism Type III. By definition, every idempotent function $f _ { i } ^ { w _ { i } }$ can simply be replaced by
|
| 70 |
+
|
| 71 |
+
$$
|
| 72 |
+
f _ { i } ^ { ( w _ { i } , \tilde { w } _ { i } ) } = f _ { i } ^ { \tilde { w } _ { i } } \circ f _ { i } ^ { w _ { i } }
|
| 73 |
+
$$
|
| 74 |
+
|
| 75 |
+
with the initialization $\tilde { w } _ { i } = w _ { i }$ . This trivially also holds for idempotent function without weights, e.g., Relu.
|
| 76 |
+
|
| 77 |
+
Network morphism Type IV. Every layer $f _ { i } ^ { w _ { i } }$ is replaceable by
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\tilde { f } _ { i } ^ { \tilde { w } _ { i } } ( x ) = \lambda f _ { i } ^ { w _ { i } } ( x ) + ( 1 - \lambda ) h ^ { w _ { h } } ( x ) , \quad \tilde { w } _ { i } = ( w _ { i } , \lambda , w _ { h } )
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
with an arbitrary function $h$ and Equation (1) holds if $\lambda$ is initialized as 1. This morphism can be used to incorporate any function, especially any non-linearities. For example, Wei et al. (2016) use a special case of this operator to deal with non-linear, non-idempotent activation functions. Another example wou(2016) to sim insertioing: If $f _ { i } ^ { w _ { i } }$ f an additiv itself is a s p connection,nce of layers, $f _ { i } ^ { w _ { i } } = f _ { i _ { n } } ^ { w _ { i _ { n } } } \circ \cdot \cdot \cdot \circ f _ { i _ { 0 } } ^ { w _ { i _ { 0 } } }$ He et al., then one $h ( x ) = x$ to realize a skip from $f _ { i _ { 0 } } ^ { w _ { i _ { 0 } } }$ to the layer subsequent to $f _ { i _ { n } } ^ { w _ { i _ { n } } }$
|
| 84 |
+
|
| 85 |
+
Note that every combinations of the network morphisms again yields a morphism. So one could for example insert a block ”Conv-BatchNorm-Relu” subsequent to a Relu layer by using equations (2), (3) and (5).
|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
Figure 1: Visualization of our method. Based on the current best model, new models are generated and trained afterwards. The best model is than updated.
|
| 89 |
+
|
| 90 |
+
# 4 ARCHITECTURE SEARCH BY NETWORK MORPHISMS
|
| 91 |
+
|
| 92 |
+
Our proposed algorithm is a simple hill climbing strategy (Russell & Norvig, 2009). We start with a small, (possibly) pretrained network. Then, we apply network morphisms to this initial network to generate larger ones that may perform better when trained further. These new “child” networks can be seen as neighbors of the initial “parent” network in the space of network architectures. Due to the network morphism Equation (1), the child networks start at the same performance as their parent. In essence, network morphisms can thus be seen as a way to initialize child networks to perform well, avoiding the expensive step of training them from scratch and thereby reducing the cost of their evaluation. The various child networks can then be trained further for a brief period of time to exploit the additional capacity obtained by the network morphism, and the search can move on to the best resulting child network. This constitutes one step of our proposed algorithm, which we dub Neural Architecture Search by Hill-climbing (NASH). NASH can execute this step several times until performance on a validation set saturates; we note that this greedy process may in principle get stuck in a poorly-performing region, from which it can never escape, but we did not find evidence for this in our experiments.
|
| 93 |
+
|
| 94 |
+
Figure 1 visualizes one step of the NASH approach, and Algorithm 1 provides full details for the algorithm. In our implementation, the function $A p p l y N e t M o r p h ( m o d e l , n )$ (line 15) applies $n$ network morphisms, each of them sampled uniformly at random from the following three:
|
| 95 |
+
|
| 96 |
+
• Make the network deeper, i.e., add a ”Conv-BatchNorm-Relu” block as described at the end of Section 3. The position where to add the block, as well as the kernel size $( \in \{ 3 , 5 \} )$ , are uniformly sampled. The number of channels is chosen to be equal to he number of channels of the closest preceding convolution.
|
| 97 |
+
• Make the network wider, i.e., increase the number of channels by using the network morphism type II. The conv layer to be widened, as well as the widening factor $( \in \{ 2 , 4 \} )$ are sampled uniformly at random.
|
| 98 |
+
• Add a skip connection from layer i to layer j (either by concatenation or addition – uniformly sampled) by using network morphism type II or IV, respectively. Layers i and j are also sampled uniformly.
|
| 99 |
+
|
| 100 |
+
Note that the current best model is also considered as a child, i.e. our algorithm is not forced to select a new model but can rather also keep the old one if no other one improves upon it.
|
| 101 |
+
|
| 102 |
+
# Algorithm 1 Network architecture search by hill climbing
|
| 103 |
+
|
| 104 |
+
$1 \backslash \mathrm { ~ f u n c t i o n ~ N A S H } ( m o d e l _ { 0 } , n _ { s t e p s } , n _ { n e i g h } , n _ { N M } , e p o c h _ { n e i g h } , e p o c h _ { f i n a l } , \lambda _ { e n d } , \lambda _ { s t a r t } )$
|
| 105 |
+
2:
|
| 106 |
+
3: # $m o d e l _ { 0 }$ , model to start with, $n _ { s t e p s } \triangleq$ number of hill climbining steps
|
| 107 |
+
4: # $n _ { n e i g h } \triangleq$ number of neighbours, $n _ { N M } \triangleq$ number of net. morph. applied
|
| 108 |
+
5: # $e p o c h _ { n e i g h } \triangleq$ number of epochs for training every neighbour
|
| 109 |
+
6: # $e p o c h _ { f i n a l } \triangleq$ number of epochs for final training
|
| 110 |
+
7: # initial LR $\lambda _ { s t a r t }$ is annealed to $\lambda _ { e n d }$ during SGDR training
|
| 111 |
+
8:
|
| 112 |
+
9: $m o d e l _ { b e s t } m o d e l _ { 0 }$
|
| 113 |
+
10: # start hill climbing
|
| 114 |
+
11: for $i \gets 1 , \dots , n _ { s t e p s } \ { \bf d }$ o
|
| 115 |
+
12: #get $n _ { n e i g h }$ neighbors of $m o d e l _ { 0 }$ by applying $n _ { N M }$ network morphisms to $m o d e l _ { b e s t }$
|
| 116 |
+
13: for $j \gets 1 , \dots , n _ { n e i g h } - 1$ do
|
| 117 |
+
14: $m o d e l _ { j } \gets A p p l y N e t M o r p h s ( m o d e l _ { b e s t } , n _ { N M } )$
|
| 118 |
+
15: # train for a few epochs on training set with SGDR
|
| 119 |
+
16: $m o d e l _ { j } \gets \mathrm { S G D R t r a i n } ( m o d e l _ { j } , e \bar { p } o c h _ { n e i g h } , \lambda _ { s t a r t } , \lambda _ { e n d } )$
|
| 120 |
+
17: end for
|
| 121 |
+
18: # in fact, last neighbor is always just the current best
|
| 122 |
+
19: $m o d e l _ { n _ { n e i g h } } \gets \mathrm { S G D R t r a i n } ( m o d e l _ { b e s t } , e p o c h _ { n e i g h } , \lambda _ { s t a r t } , \lambda _ { e n d } )$
|
| 123 |
+
20: # get best model on validation set
|
| 124 |
+
21: $\underbrace { \Bre { \_ } { a } } { m o d } e l _ { b e s t } \underbrace { a r g m a x } _ { j = 1 , \dots , n _ { n e i g h } } \{ p e r f o r m a n c e _ { v a l i } ( m o d e l _ { j } ) \}$
|
| 125 |
+
22: end for
|
| 126 |
+
23: # train the final model on training and validation set
|
| 127 |
+
24: $m o d e l _ { b e s t } \gets \mathrm { S G D R t r a i n } ( m o d e \bar { l } _ { b e s t } , e p o c h _ { f i n a l } , \lambda _ { s t a r t } , \lambda _ { e n d } )$
|
| 128 |
+
25: return modelbest
|
| 129 |
+
26: end function
|
| 130 |
+
|
| 131 |
+
It is important for our method that child networks only need to be trained for a few epochs2 (line 17). Hence, an optimization algorithm with good anytime performance is required. Therefore, we chose the cosine annealing strategy from Loshchilov & Hutter (2017), whereas the learning rate is implicitly restarted: the training in line 17 always starts with a learning rate $\lambda _ { s t a r t }$ which is annealed to $\lambda _ { e n d }$ after epochneigh epochs. We use the same learning rate scheduler in the final training (aside from a different number of epochs).
|
| 132 |
+
|
| 133 |
+
While we presented our method as a simple hill-climbing method, we note that it can also be interpreted as a very simple evolutionary algorithm with a population size of $n _ { n e i g h }$ , no cross-over, network morphisms as mutations, and a selection mechanism that only considers the best-performing population member as the parent for the next generation. This interpretation also suggests several promising possibilities for extending our simple method.
|
| 134 |
+
|
| 135 |
+
# 5 EXPERIMENTS
|
| 136 |
+
|
| 137 |
+
We evaluate our method on CIFAR-10 and CIFAR-100. First, we investigate whether our considerations from the previous chapter coincide with empirical results. We also check if the interplay of modifying and training networks harms their eventual performance. Finally, we compare our proposed method with other automated architecture algorithms as well as hand crafted architectures.
|
| 138 |
+
|
| 139 |
+
We use the same standard data augmentation scheme for both CIFAR datasets used by Loshchilov & Hutter (2017) in all of the following experiments. The training set (50.000 samples) is split up in training (40.000) and validation (10.000) set for the purpose of architecture search. Eventually the performance is evaluated on the test set. All experiments where run on Nvidia Titan X (Maxwell)
|
| 140 |
+
|
| 141 |
+
GPUs, with code implemented in Keras (Chollet et al., 2015) with a TensorFlow (Abadi et al., 2015) backend.
|
| 142 |
+
|
| 143 |
+
# 5.1 EXPERIMENTS ON CIFAR-10
|
| 144 |
+
|
| 145 |
+
# 5.1.1 BASELINES
|
| 146 |
+
|
| 147 |
+
Before comparing our method to others, we run some baseline experiments to see whether our considerations from the previous chapter coincide with empirical data.
|
| 148 |
+
|
| 149 |
+
Random model selection. First, we investigate if the simple hill climbing strategy is able to distinguish between models with high and low performance. For this, we set $n _ { n e i g h } = 1$ , i.e., there is no model selction - we simply construct random networks and train them. We then run experiments with $n _ { n e i g h } = 8$ and compare both results. All other parameters are the same in this experiment, namely $n _ { s t e p s } = 5 , n _ { N M } = 5 , e p o c h _ { n e i g h } = 1 7 , e p o c h _ { f i n a l } = 1 0 0$ . We choose $\lambda _ { s t a r t } = 0 . 0 5$ , $\lambda _ { e n d } = 0 . { \overset { \cdot } { 0 } }$ as done in Loshchilov & Hutter (2017). model0 was a simple conv net: Conv-MaxPool-Conv-MaxPool-Conv-FC-Softmax3, which is pretrained for 20 epochs, achieving $\approx 7 5 \%$ validation accuracy (up to $9 1 \%$ when trained till convergence), see Figure 5 in the appendix. If our algorithm is able to identify better networks, one would expect to get better results with the setting $n _ { n e i g h } = 8$ .
|
| 150 |
+
|
| 151 |
+
Retraining from scratch. In the this experiment we investigate whether the ”weight inheritance” due to the network morphisms used in our algorithm harms the final performance of the final model. This weight inheritance can be seen as a strong prior on the weights and one could suspect that the new, larger model may not be able to overcome a possibly poor prior. Additionally we were interested in measuring the overhead of the architecture search process, so we compared the times for generating and training a model with the time needed when training the final model from scratch. The retraining from scratch is done for the same number of epochs as the total number of epochs spent to train the model returned by our algorithm4 .
|
| 152 |
+
|
| 153 |
+
No SGDR. We now turn off the cosine annealing with restarts (SGDR) during the hill climbing stage, i.e., the training in line 17 of Algorithm 1 is done with a constant learning rate. We tried $\lambda \in \{ 0 . 0 1 , 0 . 0 2 5 , 0 . 0 5 \}$ , 10 runs each and averaged the results. Note that we still use the cosine decay for the final training.
|
| 154 |
+
|
| 155 |
+
No network morphism. Lastly, we turn off the network morphism constraint for initializing the neighbor networks. In detail, we proceeded as Real et al. (2017): All weights from layer where now changes occur are inherited, whereas the weights of new/modified layers are initialized by random.
|
| 156 |
+
|
| 157 |
+
The results for these experiments are summarized in Table 1 . The hill climbing strategy is actually able to identify better performing models. (first and second line: $5 . 7 \%$ vs. $6 . 5 \%$ ). Notice how hill climbing prefers larger models (5.7 million parameters on average vs. 4.4 million). Performance slightly decreases when the models are retrained from scratch (line 3). This experiments indicates that our algorithm does not harm the final performance of a model. Regarding the runtime, the overhead for first having to search for the architecture is roughly a factor 3. We think this is a big advantage of our method and shows that architecture search can be done in the same order of magnitude as training a single model. In line 4 we can see that SGDR plays an important role. The resulting models chosen by our algorithm when training is done with a constant learning rate perform similarly to the models without any model selection strategy $( 6 . 4 \%$ and $6 . 5 \%$ , respectively), which indicates that the performance after a few epochs on the validation set when trained without SGDR correlates less with the final performance on the test set as it is the case for training with SGDR. Indeed, we computed the Pearson correlation coefficient and obtained $R ^ { 2 } = 0 . 6 4$ for training with SGDR and and $\mathrm { \bar { \it R } ^ { 2 } = 0 . 3 6 }$ for training with a constant learning rate. See appendix A. Also, with the constant learning rate, the few epochs spent are not sufficient to improve the performance of the model. Figure 2 shows the progress while running our algorithm with and without SGDR, averaged over all runs. When turning off the network morphism constraint, performance also decreases.
|
| 158 |
+
|
| 159 |
+

|
| 160 |
+
Figure 2: The best model found by Algorithm 1 tracked over time (in terms of hill climbing iterations). With (red) and without (blue) using SGDR for the training within the hill climbing (line 17). Final training (line 24) is not plotted. Dashed line denotes mean, shaded area $\pm 2 \sigma$ intervalls.
|
| 161 |
+
|
| 162 |
+
Table 1: Baseline experiments. Runtime, # params, and error rates are averaged over 10 runs (for $n _ { n e i g h } = 8 $ ) and 30 runs $( n _ { n e i g h } = 1 )$ ) runs, respectively. $n _ { s t e p s } = 5$ in all experiments.
|
| 163 |
+
|
| 164 |
+
<table><tr><td>algorithm setting</td><td>runtime (hrs)</td><td># params (mil.)</td><td>error ± std.( %)</td></tr><tr><td>nneigh =8</td><td>12.8</td><td>5.7</td><td>5.7 ± 0.35</td></tr><tr><td>Random networks (nneigh = 1)</td><td>4.5</td><td>4.4</td><td>6.5 ± 0.76</td></tr><tr><td>models from line 1 retrained from scratch</td><td>5.3</td><td>5.7</td><td>6.1 ± 0.92</td></tr><tr><td>nneigh = 8, no SGDR</td><td>10.6</td><td>5.8</td><td>6.4±0.70</td></tr><tr><td>nneigh = 8, no net. morph.</td><td>6.6</td><td>2.9</td><td>6.1 ±0.30</td></tr></table>
|
| 165 |
+
|
| 166 |
+
Interestingly the number of parameters heavily decreases. This indicates that our algorithm prefers models without new parameters.
|
| 167 |
+
|
| 168 |
+
# 5.1.2 COMPARISON TO HAND CRAFTED AND OTHER AUTOMATICALLY GENERATED ARCHITECTURES
|
| 169 |
+
|
| 170 |
+
We now compare our algorithm against the popular wide residual networks (Zagoruyko & Komodakis, 2016), the state of the art model from Gastaldi (2017) as well as other automated architecture search methods. Beside our results for $n _ { s t e p s } = 5$ from the previous section, we also tried $n _ { s t e p s } = 8$ to generate larger models.
|
| 171 |
+
|
| 172 |
+
For further improving the results, we take snapshots of the best models from every iteration while running our algorithm following the idea of Huang et al. (2017) when using SGDR (Loshchilov & Hutter, 2017) for training. However different from Huang et al. (2017), we do not immediately get fully trained models for free, as our snapshots are not yet trained on the validation set but rather only on the training set. Hence we spent some additional resources and train the snapshots on both sets. Afterwards the ensemble model is build by combining the snapshot models with uniform weights. Lastly, we also build an ensemble from the models returned by our algorithm across all runs. Results are listed in Table 2.
|
| 173 |
+
|
| 174 |
+
The proposed method is able to generate competitive network architectures in only 12 hours. By spending another 12 hours, it outperforms most automated architecture search methods although all of them require (partially far) more time and GPUs. We do not reach the performance of the two handcrafted architectures as well as the ones found by Zoph & Le (2017) and Brock et al. (2017). However note that Zoph & Le (2017) spent by far more resources than we did.
|
| 175 |
+
|
| 176 |
+
Unsurprisingly, the ensemble models perform better. It is a simple and cheap way to improve results which everyone can consider when the number of parameters is not relevant.
|
| 177 |
+
|
| 178 |
+
Table 2: Results for CIFAR-10. For our methods the stated resources, # parameters and errors are averaged over all runs. ”Resources spent” denotes training costs in case of the handcrafted models.
|
| 179 |
+
|
| 180 |
+
<table><tr><td>model</td><td>resources spent</td><td># params (mil.)</td><td>error(%)</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td>Shake-Shake (Gastaldi,2017)</td><td>4 GPU days,2 GPUs</td><td>26</td><td>2.9</td></tr><tr><td>WRN 28-10 (Loshchilov & Hutter,2017)</td><td>1 GPU day</td><td>36.5</td><td>3.86</td></tr><tr><td>Baker et al. (2016)</td><td>80-100 GPU days</td><td>11</td><td>6.9</td></tr><tr><td>Cai et al. (2017)</td><td>15 GPU days</td><td>19.7</td><td>5.7</td></tr><tr><td>Zoph & Le (2017)</td><td>16.000-24.000 GPU days</td><td>37.5</td><td>3.65</td></tr><tr><td>Real et al. (2017)</td><td>2500 GPU days</td><td>5.4</td><td>5.4</td></tr><tr><td>Saxena & Verbeek (2016)</td><td>?</td><td>21</td><td>7.4</td></tr><tr><td>Brock et al. (2017)</td><td>3 GPU days</td><td>16.0</td><td>4.0</td></tr><tr><td>Ours (random networks,nsteps = 5, nneigh =1)</td><td>0.2 GPU days</td><td>4.4</td><td>6.5</td></tr><tr><td>Ours (nsteps = 5,nneigh =8,10 runs)</td><td>0.5 GPU days</td><td>5.7</td><td>5.7</td></tr><tr><td>Ours (nsteps = 8,nneigh = 8,4 runs)</td><td>1 GPU day</td><td>19.7</td><td>5.2</td></tr><tr><td>Ours (snapshot ensemble,4 runs)</td><td>2 GPU days</td><td>57.8</td><td>4.7</td></tr><tr><td>Ours (ensemble across runs)</td><td>4 GPU days</td><td>88</td><td>4.4</td></tr></table>
|
| 181 |
+
|
| 182 |
+
Table 3: Results for CIFAR-100. For our methods the stated resources, # parameters and errors are averaged over all runs. ”Resources spent” denotes training costs in case of the handcrafted models.
|
| 183 |
+
|
| 184 |
+
<table><tr><td>model</td><td>resources spent</td><td># params (mil.)</td><td>error(%)</td></tr><tr><td></td><td></td><td></td><td>15.9</td></tr><tr><td>Shake-Shake (Gastaldi, 2017) WRN 28-10 (Loshchilov & Hutter,2017)</td><td>14 GPU days</td><td>34.4</td><td></td></tr><tr><td></td><td>1 GPU day</td><td>36.5</td><td>19.6</td></tr><tr><td>Real et al. (2017)</td><td>250 GPUs</td><td>40.4</td><td>23.7</td></tr><tr><td>Brock et al. (2017)</td><td>3 GPU days</td><td>16.0</td><td>20.6</td></tr><tr><td>Ours (nsteps = 8,nneigh = 8,5 runs)</td><td>1 GPU day</td><td>22.3</td><td>23.4</td></tr><tr><td>Ours (snapshot ensemble,5 runs)</td><td>2 GPU days</td><td>73.3</td><td>20.9</td></tr><tr><td>Ours (ensemble across runs)</td><td>5 GPU days</td><td>111.5</td><td>19.6</td></tr></table>
|
| 185 |
+
|
| 186 |
+
# 5.2 EXPERIMENTS ON CIFAR-100
|
| 187 |
+
|
| 188 |
+
We repeat the previous experiment on CIFAR-100; hyperparameters were not changed. The results are listed in Table 3. Unfortunately most automated architecture methods did not consider CIFAR100. Our method is on a par with Real et al. (2017) after one day with a single GPU. The snapshot ensemble performs similar to Brock et al. (2017) and an ensemble model build from the 5 runs can compete with the hand crafted WRN 28-10. The performance of the Shake-Shake network (Gastaldi, 2017) is again not reached.
|
| 189 |
+
|
| 190 |
+
# 6 CONCLUSION
|
| 191 |
+
|
| 192 |
+
We proposed NASH, a simple and fast method for automated architecture search based on a hill climbing strategy, network morphisms, and training via SGDR. Experiments on CIFAR-10 and CIFAR-100 showed that our method yields competitive results while requiring considerably less computational resources than most alternative approaches. Our algorithm is easily extendable, e.g., by other network morphisms, evolutionary approaches for generating new models, other methods for cheap performance evaluation (such as, e.g., learning curve prediction (Klein et al., 2017) or hypernetworks (Ha et al., 2017; Brock et al., 2017)), or better resource handling strategies (such as Hyperband (Li et al., 2016b)). In this sense, we hope that our approach can serve as a basis for the development of more sophisticated methods that yield further improvements of performance.
|
| 193 |
+
|
| 194 |
+
# REFERENCES
|
| 195 |
+
|
| 196 |
+
Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https://www.tensorflow.org/. Software available from tensorflow.org.
|
| 197 |
+
|
| 198 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. ICLR, 2015.
|
| 199 |
+
|
| 200 |
+
Bowen Baker, Otkrist Gupta, Nikhil Naik, and Ramesh Raskar. Designing neural network architectures using reinforcement learning. ICLR 2017, 2016.
|
| 201 |
+
|
| 202 |
+
J. Bergstra and Y. Bengio. Random search for hyper-parameter optimization. 13(1):281–305, 2012.
|
| 203 |
+
|
| 204 |
+
J. Bergstra, R. Bardenet, Y. Bengio, and B. Kegl. Algorithms for hyper-parameter optimization. In ´ NIPS, 2011.
|
| 205 |
+
|
| 206 |
+
Andrew Brock, Theodore Lim, James M. Ritchie, and Nick Weston. SMASH: one-shot model architecture search through hypernetworks. arXiv preprint, 2017.
|
| 207 |
+
|
| 208 |
+
Han Cai, Tianyao Chen, Weinan Zhang, Yong Yu, and Jun Wang. Reinforcement learning for architecture search by network transformation. 2017.
|
| 209 |
+
|
| 210 |
+
Tianqi Chen, Ian J. Goodfellow, and Jonathon Shlens. Net2net: Accelerating learning via knowledge transfer. arXiv preprint, 2015.
|
| 211 |
+
|
| 212 |
+
Franc¸ois Chollet et al. Keras. https://github.com/fchollet/keras, 2015.
|
| 213 |
+
|
| 214 |
+
Xavier Gastaldi. Shake-shake regularization. ICLR 2017 Workshop, 2017.
|
| 215 |
+
|
| 216 |
+
David Ha, Andrew M. Dai, and Quoc V. Le. Hypernetworks. ICLR, 2017.
|
| 217 |
+
|
| 218 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CVPR, 2016.
|
| 219 |
+
|
| 220 |
+
Geoffrey Hinton, Li Deng, Dong Yu, George Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition. IEEE Signal Processing Magazine, 2012.
|
| 221 |
+
|
| 222 |
+
Gao Huang, Zhuang Liu, and Kilian Q. Weinberger. Densely connected convolutional networks. 2016.
|
| 223 |
+
|
| 224 |
+
Gao Huang, Yixuan Li, Geoff Pleiss, Zhuang Liu, John E. Hopcroft, and Kilian Q. Weinberger. Snapshot ensembles: Train 1, get M for free. ICLR 2017, 2017.
|
| 225 |
+
|
| 226 |
+
A. Klein, S. Falkner, J. T. Springenberg, and F. Hutter. Learning curve prediction with Bayesian neural networks. In International Conference on Learning Representations (ICLR) 2017 Conference Track, April 2017.
|
| 227 |
+
|
| 228 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097–1105. Curran Associates, Inc., 2012.
|
| 229 |
+
|
| 230 |
+
L. Li, K. G. Jamieson, G. DeSalvo, A. Rostamizadeh, and A. Talwalkar. Efficient hyperparameter optimization and infinitely many armed bandits. CoRR, abs/1603.06560, 2016a.
|
| 231 |
+
|
| 232 |
+
Lisha Li, Kevin G. Jamieson, Giulia DeSalvo, Afshin Rostamizadeh, and Ameet Talwalkar. Efficient hyperparameter optimization and infinitely many armed bandits. arXiv preprint, 2016b.
|
| 233 |
+
I. Loshchilov and F. Hutter. CMA-ES for hyperparameter optimization of deep neural networks. CoRR, abs/1604.07269, 2016.
|
| 234 |
+
I. Loshchilov and F. Hutter. Sgdr: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations (ICLR) 2017 Conference Track, April 2017.
|
| 235 |
+
H. Mendoza, A. Klein, M. Feurer, T. Springenberg, and F. Hutter. Towards automatically-tuned neural networks. In AutoML, 2016.
|
| 236 |
+
Esteban Real, Sherry Moore, Andrew Selle, Saurabh Saxena, Yutaka Leon Suematsu, Quoc V. Le, and Alex Kurakin. Large-scale evolution of image classifiers. arXiv preprint, 2017.
|
| 237 |
+
Stuart Russell and Peter Norvig. Artificial Intelligence: A Modern Approach (3rd Edition). Pearson, 3 edition, December 2009. ISBN 0136042597.
|
| 238 |
+
Shreyas Saxena and Jakob Verbeek. Convolutional neural fabrics. arXiv preprint, 2016.
|
| 239 |
+
J. Snoek, H. Larochelle, and R.P. Adams. Practical Bayesian optimization of machine learning algorithms. In NIPS, 2012.
|
| 240 |
+
Masanori Suganuma, Shinichi Shirakawa, and Tomoharu Nagao. A genetic programming approach to designing convolutional neural network architectures. arXiv preprint, 2017.
|
| 241 |
+
Tao Wei, Changhu Wang, Yong Rui, and Chang Wen Chen. Network morphism. arXiv preprint, 2016.
|
| 242 |
+
Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint, 2016.
|
| 243 |
+
Barret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. 2017.
|
| 244 |
+
Barret Zoph, Vijay Vasudevan, Jonathon Shlens, and Quoc V. Le. Learning transferable architectures for scalable image recognition. 2017.
|
| 245 |
+
|
| 246 |
+

|
| 247 |
+
Figure 3: Initial network for our algorithm.
|
| 248 |
+
|
| 249 |
+

|
| 250 |
+
Figure 4: Initial network for our algorithm.
|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
Figure 5: Initial network for our algorithm.
|
| 254 |
+
|
| 255 |
+

|
| 256 |
+
Figure 6: Network generated by our algorithm with $n _ { s t e p s } = 5$ .
|
| 257 |
+
|
| 258 |
+

|
| 259 |
+
Figure 7: Network generated by our algorithm with $n _ { s t e p s } = 8$ .
|
parse/train/SySaJ0xCZ/SySaJ0xCZ_content_list.json
ADDED
|
@@ -0,0 +1,1138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "SIMPLE AND EFFICIENT ARCHITECTURE SEARCH FOR CONVOLUTIONAL NEURAL NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "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 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Neural networks have recently had a lot of success for many tasks. However, neural network architectures that perform well are still typically designed manually by experts in a cumbersome trial-and-error process. We propose a new method to automatically search for well-performing CNN architectures based on a simple hill climbing procedure whose operators apply network morphisms, followed by short optimization runs by cosine annealing. Surprisingly, this simple method yields competitive results, despite only requiring resources in the same order of magnitude as training a single network. E.g., on CIFAR-10, our method designs and trains networks with an error rate below $6 \\%$ in only 12 hours on a single GPU; training for one day reduces this error further, to almost $5 \\%$ . ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
406
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
435,
|
| 55 |
+
336,
|
| 56 |
+
450
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Neural networks have rapidly gained popularity over the last few years due to their success in a variety of tasks, such as image recognition (Krizhevsky et al., 2012), speech recognition (Hinton et al., 2012) and machine translation (Bahdanau et al., 2015). In most cases, these neural networks are still designed by hand, which is an exhausting, time-consuming process. Additionally, the vast amount of possible configurations requires expert knowledge to restrict the search. Therefore, a natural goal is to design optimization algorithms that automate this neural architecture search. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
468,
|
| 66 |
+
825,
|
| 67 |
+
551
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "However, most classic optimization algorithms do not apply to this problem, since the architecture search space is discrete (e.g., number of layers, layer types) and conditional (e.g., the number of parameters defining a layer depends on the layer type). Thus, methods that rely on, e.g., differentiability or independent parameters are not applicable. This led to a growing interest in using evolutionary algorithms (Real et al., 2017; Suganuma et al., 2017) and reinforcement learning (Baker et al., 2016; Cai et al., 2017; Zoph & Le, 2017) for automatically designing CNN architectures. Unfortunately, most proposed methods are either very costly (requiring hundreds or thousands of GPU days) or yield non-competitive performance. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
558,
|
| 77 |
+
823,
|
| 78 |
+
669
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In this work, we aim to dramatically reduce these computational costs while still achieving competitive performance. Specifically, our contributions are as follows: ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
173,
|
| 87 |
+
676,
|
| 88 |
+
821,
|
| 89 |
+
704
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "• We propose a baseline method that randomly constructs networks and trains them with SGDR (Loshchilov & Hutter, 2017). We demonstrate that this simple baseline achieves $6 \\% - 7 \\%$ test error on CIFAR-10, which already rivals several existing methods for neural archictecture search. Due to its simplicity, we hope that this baseline provides a valuable starting point for the development of more sophisticated methods in the future. \n• We formalize and extend the work on network morphisms (Chen et al., 2015; Wei et al., 2016; Cai et al., 2017) in order to provide popular network building blocks, such as skip connections and batch normalization. \n• We propose Neural Architecture Search by Hillclimbing (NASH), a simple iterative approach that, at each step, applies a set of alternative network morphisms to the current network, trains the resulting child networks with short optimization runs of cosine annealing (Loshchilov & Hutter, 2017), and moves to the most promising child network. NASH finds and trains competitive architectures at a computational cost of the same order of magnitude as training a single network; e.g., on CIFAR-10, NASH finds and trains CNNs with an error rate below $6 \\%$ in roughly 12 hours on ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
717,
|
| 99 |
+
826,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "a single GPU. After one day the error is reduced to almost $5 \\%$ . Models from different stages of our algorithm can be combined to achieve an error of $4 . 7 \\%$ within two days on a single GPU. On CIFAR-100, we achieve an error below $24 \\%$ in one day and get close to $20 \\%$ after two days. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
186,
|
| 109 |
+
103,
|
| 110 |
+
825,
|
| 111 |
+
146
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "• Our method is easy to use and easy to extend, so it hopefully can serve as a basis for future work. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
173,
|
| 120 |
+
160,
|
| 121 |
+
821,
|
| 122 |
+
175
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "We first discuss related work in Section 2. Then, we formalize the concept of network morphisms in Section 3 and propose our architecture search methods based on them in Section 4. We evaluate our methods in Section 5 and conclude in Section 6. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
191,
|
| 132 |
+
823,
|
| 133 |
+
234
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 RELATED WORK ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
267,
|
| 144 |
+
341,
|
| 145 |
+
282
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "Hyperparameter optimization. Neural networks are known to be quite sensitive to the setting of various hyperparameters, such as learning rates and regularization constants. There exists a long line of research on automated methods for setting these hyperparameters, including, e.g., random search (Bergstra & Bengio, 2012), Bayesian optimization (Bergstra et al., 2011; Snoek et al., 2012), bandit-based approaches (Li et al., 2016a), and evolutionary strategies (Loshchilov & Hutter, 2016). ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
305,
|
| 155 |
+
825,
|
| 156 |
+
375
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Automated architecture search. In recent years, the research focus has shifted from optimizing hyperparameters to optimizing architectures. While architectural choices can be treated as categorical hyperparameters and be optimized with standard hyperparameter optimization methods (Bergstra et al., 2011; Mendoza et al., 2016), the current focus is on the development of special techniques for architectural optimization. One very popular approach is to train a reinforcement learning agent with the objective of designing well-performing convolutional neural networks (Baker et al., 2016; Zoph & Le, 2017; Cai et al., 2017). Baker et al. (2016) train an RL agent to sequentially choose the type of layers (convolution, pooling, fully connected) and their parameters. Zoph & Le (2017) use a recurrent neural network controller to sequentially generate a string representing the network architecture. Both approaches train their generated networks from scratch and evaluate their performance on a validation set, which represents a very costly step. In a follow-up work (Zoph et al., 2017), the RL agent learned to build cells, which are then used as building blocks for a neural network with a fixed global structure. Unfortunately, training an RL agent with the objective of designing architecture is extremely expensive: both Baker et al. (2016) and Zoph & Le (2017) required over 10.000 fully trained networks, requiring hundreds to thousands of GPU days. To overcome this drawback, Cai et al. (2017) proposed to apply the concept of network transformations/morphisms within RL. As in our (independent, parallel) work, the basic idea is to use the these transformation to generate new pre-trained architectures to avoid the large cost of training all networks from scratch. Compared to this work, our approach is much simpler and 15 times faster while obtaining better performance. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
173,
|
| 165 |
+
382,
|
| 166 |
+
825,
|
| 167 |
+
645
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Real et al. (2017) and Suganuma et al. (2017) utilized evolutionary algorithms to iteratively generate powerful networks from a small network. Operations like inserting a layer, modifying the parameters of a layer or adding skip connections serve as ”mutations” in their framework of evolution. Whereas Real et al. (2017) also used enormous computational resources (250 GPUs, 10 days), Suganuma et al. (2017) were restricted to relatively small networks due to handling a population of networks. In contrast to the previous methods where network capacity increases over time, Saxena & Verbeek (2016) start with training a large network (a ”convolution neural fabric”) and prune this in the end. Very recently, Brock et al. (2017) used hypernetworks (Ha et al., 2017) to generate the weights for a randomly sampled network architecture with the goal of eliminating the costly process of training a vast amount of networks. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
174,
|
| 176 |
+
652,
|
| 177 |
+
825,
|
| 178 |
+
791
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "Network morphism/ transformation. Network transformations were (to our knowledge) first introduced by Chen et al. (2015) in the context of transfer learning. The authors described a function preserving operation to make a network deeper (dubbed ”Net2Deeper”) or wider (”Net2Wider”) with the goal of speeding up training and exploring network architectures. Wei et al. (2016) proposed additional operations, e.g., for handling non-idempotent activation functions or altering the kernel size and introduced the term network morphism. As mentioned above, Cai et al. (2017) used network morphisms for architecture search, though they just employ the Net2Deeper and Net2Wider operators from Chen et al. (2015) as well as altering the kernel size, i.e., they limit their search space to simple architectures without, e.g., skip connections. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
174,
|
| 187 |
+
799,
|
| 188 |
+
825,
|
| 189 |
+
924
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "3 NETWORK MORPHISM ",
|
| 196 |
+
"text_level": 1,
|
| 197 |
+
"bbox": [
|
| 198 |
+
174,
|
| 199 |
+
102,
|
| 200 |
+
390,
|
| 201 |
+
117
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 2
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "Let $\\mathcal { N } ( \\mathcal { X } )$ denote a set of neural networks defined on $\\mathcal { X } \\subset \\mathbb { R } ^ { n }$ . A network morphism is a mapping $M : \\dot { \\mathcal { N } } ( \\dot { \\mathcal { X } } ) \\times \\mathbb { R } ^ { k } \\mathcal { N } ( \\underline { { \\mathcal { X } } } ) \\times \\mathbb { R } ^ { j }$ from a neural network $f ^ { w } \\in \\mathcal { N } ( \\mathcal { X } )$ with parameters $w \\in \\mathbb { R } ^ { k }$ to another neural network $g ^ { \\tilde { w } } \\in \\mathcal { N } ( \\mathcal { X } )$ with parameters $\\tilde { w } \\in \\mathbb { R } ^ { j }$ so that ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
173,
|
| 210 |
+
132,
|
| 211 |
+
825,
|
| 212 |
+
175
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "equation",
|
| 218 |
+
"img_path": "images/01da69f32520eccbef16ce0ecf9fbbcf2637c41fb3974f8b8230761a9c0e4b45.jpg",
|
| 219 |
+
"text": "$$\nf ^ { w } ( x ) = g ^ { \\tilde { w } } ( x ) \\mathrm { f o r e v e r y } x \\in \\mathcal { X } .\n$$",
|
| 220 |
+
"text_format": "latex",
|
| 221 |
+
"bbox": [
|
| 222 |
+
385,
|
| 223 |
+
178,
|
| 224 |
+
612,
|
| 225 |
+
195
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 2
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "In the following we give a few examples of network morphisms and how standard operations for building neural networks (e.g., adding a convolutional layer) can be expressed as a network morphism. For this, let $f _ { i } ^ { w _ { i } } ( x )$ be some part of a NN $f ^ { w } ( x )$ , e.g., a layer or a subnetwork. ",
|
| 232 |
+
"bbox": [
|
| 233 |
+
174,
|
| 234 |
+
204,
|
| 235 |
+
825,
|
| 236 |
+
248
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "Network morphism Type I. We replace $f _ { i } ^ { w _ { i } }$ by ",
|
| 243 |
+
"bbox": [
|
| 244 |
+
174,
|
| 245 |
+
253,
|
| 246 |
+
491,
|
| 247 |
+
268
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 2
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "equation",
|
| 253 |
+
"img_path": "images/739fb4573c092613f8d0559923d6bb3981e5fbbefbec26a727c76f98d046b2eb.jpg",
|
| 254 |
+
"text": "$$\n\\tilde { f } _ { i } ^ { \\tilde { w } _ { i } } ( x ) = A f _ { i } ^ { w _ { i } } ( x ) + b ,\n$$",
|
| 255 |
+
"text_format": "latex",
|
| 256 |
+
"bbox": [
|
| 257 |
+
416,
|
| 258 |
+
271,
|
| 259 |
+
580,
|
| 260 |
+
291
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "with $\\tilde { w } _ { i } = ( w _ { i } , A , b ) ^ { 1 }$ . Equation (1) obviously holds for $A = \\mathbf { 1 } , b = \\mathbf { 0 }$ . This morphism can be used to add a fully-connected or convolutional layer, as these layers are simply linear mappings. Chen et al. (2015) dubbed this morphism ”Net2DeeperNet”. Alternatively to the above replacement, one could also choose ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
173,
|
| 269 |
+
292,
|
| 270 |
+
825,
|
| 271 |
+
347
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "equation",
|
| 277 |
+
"img_path": "images/7999d9061602778300a91a1b4c09054ac86a6cafaa7aa40fb422aa6a160d5ca7.jpg",
|
| 278 |
+
"text": "$$\n\\tilde { f } _ { i } ^ { \\tilde { w } _ { i } } ( x ) = C ( A f _ { i } ^ { w _ { i } } ( x ) + b ) + d ,\n$$",
|
| 279 |
+
"text_format": "latex",
|
| 280 |
+
"bbox": [
|
| 281 |
+
390,
|
| 282 |
+
345,
|
| 283 |
+
606,
|
| 284 |
+
366
|
| 285 |
+
],
|
| 286 |
+
"page_idx": 2
|
| 287 |
+
},
|
| 288 |
+
{
|
| 289 |
+
"type": "text",
|
| 290 |
+
"text": "with $\\tilde { w } _ { i } = ( w _ { i } , C , d )$ . $A , b$ are fixed, non-learnable. In this case network morphism Equation (1) holds if $C = A ^ { - 1 } , d = - C b$ . A Batch Normalization layer (or other normalization layers) can be written in the above form: $A , b$ represent the batch statistics and $C , d$ the learnable scaling and shifting. ",
|
| 291 |
+
"bbox": [
|
| 292 |
+
173,
|
| 293 |
+
372,
|
| 294 |
+
825,
|
| 295 |
+
429
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "Network morphism Type II. Assume $f _ { i } ^ { w _ { i } }$ has the form $f _ { i } ^ { w _ { i } } ( x ) = A h ^ { w _ { h } } ( x ) + b$ for an arbitrary function $h$ . We replace $f _ { i } ^ { w _ { i } }$ , $w _ { i } = ( w _ { h } , \\dot { A } , b )$ , by ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
434,
|
| 305 |
+
820,
|
| 306 |
+
464
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "equation",
|
| 312 |
+
"img_path": "images/f4578e30ebce96eb214241b79c83d5935f0306cd6cc67ef9b418c714979d56e3.jpg",
|
| 313 |
+
"text": "$$\n\\tilde { f } _ { i } ^ { \\tilde { w } _ { i } } ( x ) = \\left( A \\quad \\tilde { A } \\right) \\binom { h ^ { w _ { h } } ( x ) } { \\tilde { h } ^ { w _ { h } } ( x ) } + b\n$$",
|
| 314 |
+
"text_format": "latex",
|
| 315 |
+
"bbox": [
|
| 316 |
+
382,
|
| 317 |
+
465,
|
| 318 |
+
616,
|
| 319 |
+
501
|
| 320 |
+
],
|
| 321 |
+
"page_idx": 2
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"type": "text",
|
| 325 |
+
"text": "with an arbitrary function $\\tilde { h } ^ { w _ { \\tilde { h } } } ( x )$ . The new parameters are $\\tilde { w } _ { i } = ( w _ { i } , w _ { \\tilde { h } } , \\tilde { A } )$ . Again, Equation (1) can trivially be satisfied by setting $\\tilde { A } = 0$ . We think of two modifications of a NN which can be expressed by this morphism. Firstly, a layer can be widened (i.e., increasing the number of units in a fully connected layer or the number of channels in a CNN - the Net2WiderNet transformation from Chen et al. (2015)). Think of $h ( x )$ as the layer to be widened. For example, we can then set $\\tilde { h } = h$ to simply double the width. Secondly, skip-connections by concatenation as used by Huang et al. (2016) can be formulated as a network morphism. If $h ( x )$ itself is a sequence of layers, $h ( x ) = h _ { n } ( x ) \\circ \\cdots \\circ h _ { 0 } ( x )$ , then one could choose $\\tilde { h } ( x ) = x$ to realize a skip from $h _ { 0 }$ to the layer subsequent to $h _ { n }$ . ",
|
| 326 |
+
"bbox": [
|
| 327 |
+
173,
|
| 328 |
+
503,
|
| 329 |
+
825,
|
| 330 |
+
638
|
| 331 |
+
],
|
| 332 |
+
"page_idx": 2
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"type": "text",
|
| 336 |
+
"text": "Network morphism Type III. By definition, every idempotent function $f _ { i } ^ { w _ { i } }$ can simply be replaced by ",
|
| 337 |
+
"bbox": [
|
| 338 |
+
169,
|
| 339 |
+
643,
|
| 340 |
+
823,
|
| 341 |
+
672
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "equation",
|
| 347 |
+
"img_path": "images/eacf17365fe1bb32a28659b1c5a881dee0fdc9ac4b0b594b9ccefe3e1423f078.jpg",
|
| 348 |
+
"text": "$$\nf _ { i } ^ { ( w _ { i } , \\tilde { w } _ { i } ) } = f _ { i } ^ { \\tilde { w } _ { i } } \\circ f _ { i } ^ { w _ { i } }\n$$",
|
| 349 |
+
"text_format": "latex",
|
| 350 |
+
"bbox": [
|
| 351 |
+
426,
|
| 352 |
+
671,
|
| 353 |
+
570,
|
| 354 |
+
691
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "with the initialization $\\tilde { w } _ { i } = w _ { i }$ . This trivially also holds for idempotent function without weights, e.g., Relu. ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
176,
|
| 363 |
+
691,
|
| 364 |
+
825,
|
| 365 |
+
719
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 2
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "Network morphism Type IV. Every layer $f _ { i } ^ { w _ { i } }$ is replaceable by ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
174,
|
| 374 |
+
726,
|
| 375 |
+
598,
|
| 376 |
+
741
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "equation",
|
| 382 |
+
"img_path": "images/fd47040a01a63f7e977805f8e17a1b0019034a8e830d36d15a69e1bb6c4d3d41.jpg",
|
| 383 |
+
"text": "$$\n\\tilde { f } _ { i } ^ { \\tilde { w } _ { i } } ( x ) = \\lambda f _ { i } ^ { w _ { i } } ( x ) + ( 1 - \\lambda ) h ^ { w _ { h } } ( x ) , \\quad \\tilde { w } _ { i } = ( w _ { i } , \\lambda , w _ { h } )\n$$",
|
| 384 |
+
"text_format": "latex",
|
| 385 |
+
"bbox": [
|
| 386 |
+
305,
|
| 387 |
+
744,
|
| 388 |
+
691,
|
| 389 |
+
762
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 2
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "with an arbitrary function $h$ and Equation (1) holds if $\\lambda$ is initialized as 1. This morphism can be used to incorporate any function, especially any non-linearities. For example, Wei et al. (2016) use a special case of this operator to deal with non-linear, non-idempotent activation functions. Another example wou(2016) to sim insertioing: If $f _ { i } ^ { w _ { i } }$ f an additiv itself is a s p connection,nce of layers, $f _ { i } ^ { w _ { i } } = f _ { i _ { n } } ^ { w _ { i _ { n } } } \\circ \\cdot \\cdot \\cdot \\circ f _ { i _ { 0 } } ^ { w _ { i _ { 0 } } }$ He et al., then one $h ( x ) = x$ to realize a skip from $f _ { i _ { 0 } } ^ { w _ { i _ { 0 } } }$ to the layer subsequent to $f _ { i _ { n } } ^ { w _ { i _ { n } } }$ ",
|
| 396 |
+
"bbox": [
|
| 397 |
+
173,
|
| 398 |
+
765,
|
| 399 |
+
825,
|
| 400 |
+
854
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 2
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "Note that every combinations of the network morphisms again yields a morphism. So one could for example insert a block ”Conv-BatchNorm-Relu” subsequent to a Relu layer by using equations (2), (3) and (5). ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
174,
|
| 409 |
+
859,
|
| 410 |
+
825,
|
| 411 |
+
902
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 2
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "image",
|
| 417 |
+
"img_path": "images/f8ca3cbd2a4cdfcdcf35ac65c139d715df875d1be2779a18db0872654bca035b.jpg",
|
| 418 |
+
"image_caption": [
|
| 419 |
+
"Figure 1: Visualization of our method. Based on the current best model, new models are generated and trained afterwards. The best model is than updated. "
|
| 420 |
+
],
|
| 421 |
+
"image_footnote": [],
|
| 422 |
+
"bbox": [
|
| 423 |
+
173,
|
| 424 |
+
98,
|
| 425 |
+
826,
|
| 426 |
+
315
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 3
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "4 ARCHITECTURE SEARCH BY NETWORK MORPHISMS ",
|
| 433 |
+
"text_level": 1,
|
| 434 |
+
"bbox": [
|
| 435 |
+
176,
|
| 436 |
+
405,
|
| 437 |
+
640,
|
| 438 |
+
421
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 3
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "Our proposed algorithm is a simple hill climbing strategy (Russell & Norvig, 2009). We start with a small, (possibly) pretrained network. Then, we apply network morphisms to this initial network to generate larger ones that may perform better when trained further. These new “child” networks can be seen as neighbors of the initial “parent” network in the space of network architectures. Due to the network morphism Equation (1), the child networks start at the same performance as their parent. In essence, network morphisms can thus be seen as a way to initialize child networks to perform well, avoiding the expensive step of training them from scratch and thereby reducing the cost of their evaluation. The various child networks can then be trained further for a brief period of time to exploit the additional capacity obtained by the network morphism, and the search can move on to the best resulting child network. This constitutes one step of our proposed algorithm, which we dub Neural Architecture Search by Hill-climbing (NASH). NASH can execute this step several times until performance on a validation set saturates; we note that this greedy process may in principle get stuck in a poorly-performing region, from which it can never escape, but we did not find evidence for this in our experiments. ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
444,
|
| 448 |
+
825,
|
| 449 |
+
638
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Figure 1 visualizes one step of the NASH approach, and Algorithm 1 provides full details for the algorithm. In our implementation, the function $A p p l y N e t M o r p h ( m o d e l , n )$ (line 15) applies $n$ network morphisms, each of them sampled uniformly at random from the following three: ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
174,
|
| 458 |
+
646,
|
| 459 |
+
825,
|
| 460 |
+
688
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "• Make the network deeper, i.e., add a ”Conv-BatchNorm-Relu” block as described at the end of Section 3. The position where to add the block, as well as the kernel size $( \\in \\{ 3 , 5 \\} )$ , are uniformly sampled. The number of channels is chosen to be equal to he number of channels of the closest preceding convolution. \n• Make the network wider, i.e., increase the number of channels by using the network morphism type II. The conv layer to be widened, as well as the widening factor $( \\in \\{ 2 , 4 \\} )$ are sampled uniformly at random. \n• Add a skip connection from layer i to layer j (either by concatenation or addition – uniformly sampled) by using network morphism type II or IV, respectively. Layers i and j are also sampled uniformly. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
215,
|
| 469 |
+
705,
|
| 470 |
+
825,
|
| 471 |
+
878
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 3
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "Note that the current best model is also considered as a child, i.e. our algorithm is not forced to select a new model but can rather also keep the old one if no other one improves upon it. ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
176,
|
| 480 |
+
895,
|
| 481 |
+
823,
|
| 482 |
+
924
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 3
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "Algorithm 1 Network architecture search by hill climbing ",
|
| 489 |
+
"text_level": 1,
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
103,
|
| 493 |
+
557,
|
| 494 |
+
117
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "$1 \\backslash \\mathrm { ~ f u n c t i o n ~ N A S H } ( m o d e l _ { 0 } , n _ { s t e p s } , n _ { n e i g h } , n _ { N M } , e p o c h _ { n e i g h } , e p o c h _ { f i n a l } , \\lambda _ { e n d } , \\lambda _ { s t a r t } )$ \n2: \n3: # $m o d e l _ { 0 }$ , model to start with, $n _ { s t e p s } \\triangleq$ number of hill climbining steps \n4: # $n _ { n e i g h } \\triangleq$ number of neighbours, $n _ { N M } \\triangleq$ number of net. morph. applied \n5: # $e p o c h _ { n e i g h } \\triangleq$ number of epochs for training every neighbour \n6: # $e p o c h _ { f i n a l } \\triangleq$ number of epochs for final training \n7: # initial LR $\\lambda _ { s t a r t }$ is annealed to $\\lambda _ { e n d }$ during SGDR training \n8: \n9: $m o d e l _ { b e s t } m o d e l _ { 0 }$ \n10: # start hill climbing \n11: for $i \\gets 1 , \\dots , n _ { s t e p s } \\ { \\bf d }$ o \n12: #get $n _ { n e i g h }$ neighbors of $m o d e l _ { 0 }$ by applying $n _ { N M }$ network morphisms to $m o d e l _ { b e s t }$ \n13: for $j \\gets 1 , \\dots , n _ { n e i g h } - 1$ do \n14: $m o d e l _ { j } \\gets A p p l y N e t M o r p h s ( m o d e l _ { b e s t } , n _ { N M } )$ \n15: # train for a few epochs on training set with SGDR \n16: $m o d e l _ { j } \\gets \\mathrm { S G D R t r a i n } ( m o d e l _ { j } , e \\bar { p } o c h _ { n e i g h } , \\lambda _ { s t a r t } , \\lambda _ { e n d } )$ \n17: end for \n18: # in fact, last neighbor is always just the current best \n19: $m o d e l _ { n _ { n e i g h } } \\gets \\mathrm { S G D R t r a i n } ( m o d e l _ { b e s t } , e p o c h _ { n e i g h } , \\lambda _ { s t a r t } , \\lambda _ { e n d } )$ \n20: # get best model on validation set \n21: $\\underbrace { \\Bre { \\_ } { a } } { m o d } e l _ { b e s t } \\underbrace { a r g m a x } _ { j = 1 , \\dots , n _ { n e i g h } } \\{ p e r f o r m a n c e _ { v a l i } ( m o d e l _ { j } ) \\}$ \n22: end for \n23: # train the final model on training and validation set \n24: $m o d e l _ { b e s t } \\gets \\mathrm { S G D R t r a i n } ( m o d e \\bar { l } _ { b e s t } , e p o c h _ { f i n a l } , \\lambda _ { s t a r t } , \\lambda _ { e n d } )$ \n25: return modelbest \n26: end function ",
|
| 501 |
+
"bbox": [
|
| 502 |
+
174,
|
| 503 |
+
121,
|
| 504 |
+
815,
|
| 505 |
+
498
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "text",
|
| 511 |
+
"text": "It is important for our method that child networks only need to be trained for a few epochs2 (line 17). Hence, an optimization algorithm with good anytime performance is required. Therefore, we chose the cosine annealing strategy from Loshchilov & Hutter (2017), whereas the learning rate is implicitly restarted: the training in line 17 always starts with a learning rate $\\lambda _ { s t a r t }$ which is annealed to $\\lambda _ { e n d }$ after epochneigh epochs. We use the same learning rate scheduler in the final training (aside from a different number of epochs). ",
|
| 512 |
+
"bbox": [
|
| 513 |
+
174,
|
| 514 |
+
531,
|
| 515 |
+
825,
|
| 516 |
+
614
|
| 517 |
+
],
|
| 518 |
+
"page_idx": 4
|
| 519 |
+
},
|
| 520 |
+
{
|
| 521 |
+
"type": "text",
|
| 522 |
+
"text": "While we presented our method as a simple hill-climbing method, we note that it can also be interpreted as a very simple evolutionary algorithm with a population size of $n _ { n e i g h }$ , no cross-over, network morphisms as mutations, and a selection mechanism that only considers the best-performing population member as the parent for the next generation. This interpretation also suggests several promising possibilities for extending our simple method. ",
|
| 523 |
+
"bbox": [
|
| 524 |
+
174,
|
| 525 |
+
621,
|
| 526 |
+
825,
|
| 527 |
+
690
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "5 EXPERIMENTS ",
|
| 534 |
+
"text_level": 1,
|
| 535 |
+
"bbox": [
|
| 536 |
+
176,
|
| 537 |
+
715,
|
| 538 |
+
326,
|
| 539 |
+
731
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 4
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "We evaluate our method on CIFAR-10 and CIFAR-100. First, we investigate whether our considerations from the previous chapter coincide with empirical results. We also check if the interplay of modifying and training networks harms their eventual performance. Finally, we compare our proposed method with other automated architecture algorithms as well as hand crafted architectures. ",
|
| 546 |
+
"bbox": [
|
| 547 |
+
174,
|
| 548 |
+
748,
|
| 549 |
+
825,
|
| 550 |
+
804
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "We use the same standard data augmentation scheme for both CIFAR datasets used by Loshchilov & Hutter (2017) in all of the following experiments. The training set (50.000 samples) is split up in training (40.000) and validation (10.000) set for the purpose of architecture search. Eventually the performance is evaluated on the test set. All experiments where run on Nvidia Titan X (Maxwell) ",
|
| 557 |
+
"bbox": [
|
| 558 |
+
174,
|
| 559 |
+
811,
|
| 560 |
+
825,
|
| 561 |
+
867
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "text",
|
| 567 |
+
"text": "GPUs, with code implemented in Keras (Chollet et al., 2015) with a TensorFlow (Abadi et al., 2015) backend. ",
|
| 568 |
+
"bbox": [
|
| 569 |
+
171,
|
| 570 |
+
103,
|
| 571 |
+
825,
|
| 572 |
+
132
|
| 573 |
+
],
|
| 574 |
+
"page_idx": 5
|
| 575 |
+
},
|
| 576 |
+
{
|
| 577 |
+
"type": "text",
|
| 578 |
+
"text": "5.1 EXPERIMENTS ON CIFAR-10 ",
|
| 579 |
+
"text_level": 1,
|
| 580 |
+
"bbox": [
|
| 581 |
+
176,
|
| 582 |
+
152,
|
| 583 |
+
419,
|
| 584 |
+
167
|
| 585 |
+
],
|
| 586 |
+
"page_idx": 5
|
| 587 |
+
},
|
| 588 |
+
{
|
| 589 |
+
"type": "text",
|
| 590 |
+
"text": "5.1.1 BASELINES",
|
| 591 |
+
"text_level": 1,
|
| 592 |
+
"bbox": [
|
| 593 |
+
174,
|
| 594 |
+
179,
|
| 595 |
+
308,
|
| 596 |
+
195
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "Before comparing our method to others, we run some baseline experiments to see whether our considerations from the previous chapter coincide with empirical data. ",
|
| 603 |
+
"bbox": [
|
| 604 |
+
174,
|
| 605 |
+
207,
|
| 606 |
+
821,
|
| 607 |
+
234
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 5
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "Random model selection. First, we investigate if the simple hill climbing strategy is able to distinguish between models with high and low performance. For this, we set $n _ { n e i g h } = 1$ , i.e., there is no model selction - we simply construct random networks and train them. We then run experiments with $n _ { n e i g h } = 8$ and compare both results. All other parameters are the same in this experiment, namely $n _ { s t e p s } = 5 , n _ { N M } = 5 , e p o c h _ { n e i g h } = 1 7 , e p o c h _ { f i n a l } = 1 0 0$ . We choose $\\lambda _ { s t a r t } = 0 . 0 5$ , $\\lambda _ { e n d } = 0 . { \\overset { \\cdot } { 0 } }$ as done in Loshchilov & Hutter (2017). model0 was a simple conv net: Conv-MaxPool-Conv-MaxPool-Conv-FC-Softmax3, which is pretrained for 20 epochs, achieving $\\approx 7 5 \\%$ validation accuracy (up to $9 1 \\%$ when trained till convergence), see Figure 5 in the appendix. If our algorithm is able to identify better networks, one would expect to get better results with the setting $n _ { n e i g h } = 8$ . ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
173,
|
| 616 |
+
241,
|
| 617 |
+
825,
|
| 618 |
+
381
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 5
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "Retraining from scratch. In the this experiment we investigate whether the ”weight inheritance” due to the network morphisms used in our algorithm harms the final performance of the final model. This weight inheritance can be seen as a strong prior on the weights and one could suspect that the new, larger model may not be able to overcome a possibly poor prior. Additionally we were interested in measuring the overhead of the architecture search process, so we compared the times for generating and training a model with the time needed when training the final model from scratch. The retraining from scratch is done for the same number of epochs as the total number of epochs spent to train the model returned by our algorithm4 . ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
173,
|
| 627 |
+
387,
|
| 628 |
+
825,
|
| 629 |
+
500
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 5
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "No SGDR. We now turn off the cosine annealing with restarts (SGDR) during the hill climbing stage, i.e., the training in line 17 of Algorithm 1 is done with a constant learning rate. We tried $\\lambda \\in \\{ 0 . 0 1 , 0 . 0 2 5 , 0 . 0 5 \\}$ , 10 runs each and averaged the results. Note that we still use the cosine decay for the final training. ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
174,
|
| 638 |
+
506,
|
| 639 |
+
825,
|
| 640 |
+
561
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 5
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "No network morphism. Lastly, we turn off the network morphism constraint for initializing the neighbor networks. In detail, we proceeded as Real et al. (2017): All weights from layer where now changes occur are inherited, whereas the weights of new/modified layers are initialized by random. ",
|
| 647 |
+
"bbox": [
|
| 648 |
+
176,
|
| 649 |
+
569,
|
| 650 |
+
825,
|
| 651 |
+
611
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 5
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "The results for these experiments are summarized in Table 1 . The hill climbing strategy is actually able to identify better performing models. (first and second line: $5 . 7 \\%$ vs. $6 . 5 \\%$ ). Notice how hill climbing prefers larger models (5.7 million parameters on average vs. 4.4 million). Performance slightly decreases when the models are retrained from scratch (line 3). This experiments indicates that our algorithm does not harm the final performance of a model. Regarding the runtime, the overhead for first having to search for the architecture is roughly a factor 3. We think this is a big advantage of our method and shows that architecture search can be done in the same order of magnitude as training a single model. In line 4 we can see that SGDR plays an important role. The resulting models chosen by our algorithm when training is done with a constant learning rate perform similarly to the models without any model selection strategy $( 6 . 4 \\%$ and $6 . 5 \\%$ , respectively), which indicates that the performance after a few epochs on the validation set when trained without SGDR correlates less with the final performance on the test set as it is the case for training with SGDR. Indeed, we computed the Pearson correlation coefficient and obtained $R ^ { 2 } = 0 . 6 4$ for training with SGDR and and $\\mathrm { \\bar { \\it R } ^ { 2 } = 0 . 3 6 }$ for training with a constant learning rate. See appendix A. Also, with the constant learning rate, the few epochs spent are not sufficient to improve the performance of the model. Figure 2 shows the progress while running our algorithm with and without SGDR, averaged over all runs. When turning off the network morphism constraint, performance also decreases. ",
|
| 658 |
+
"bbox": [
|
| 659 |
+
174,
|
| 660 |
+
617,
|
| 661 |
+
825,
|
| 662 |
+
853
|
| 663 |
+
],
|
| 664 |
+
"page_idx": 5
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"type": "image",
|
| 668 |
+
"img_path": "images/5bffa50e24c866e7a85ea7102470da8aa121189925b47b5e0807ef32b1fb1234.jpg",
|
| 669 |
+
"image_caption": [
|
| 670 |
+
"Figure 2: The best model found by Algorithm 1 tracked over time (in terms of hill climbing iterations). With (red) and without (blue) using SGDR for the training within the hill climbing (line 17). Final training (line 24) is not plotted. Dashed line denotes mean, shaded area $\\pm 2 \\sigma$ intervalls. "
|
| 671 |
+
],
|
| 672 |
+
"image_footnote": [],
|
| 673 |
+
"bbox": [
|
| 674 |
+
233,
|
| 675 |
+
98,
|
| 676 |
+
758,
|
| 677 |
+
306
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 6
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "table",
|
| 683 |
+
"img_path": "images/399c4ad8f3e36610cb71bf824ac3a3e315a7c2b733f1dcf09b58c5f4d7dfd8a5.jpg",
|
| 684 |
+
"table_caption": [
|
| 685 |
+
"Table 1: Baseline experiments. Runtime, # params, and error rates are averaged over 10 runs (for $n _ { n e i g h } = 8 $ ) and 30 runs $( n _ { n e i g h } = 1 )$ ) runs, respectively. $n _ { s t e p s } = 5$ in all experiments. "
|
| 686 |
+
],
|
| 687 |
+
"table_footnote": [],
|
| 688 |
+
"table_body": "<table><tr><td>algorithm setting</td><td>runtime (hrs)</td><td># params (mil.)</td><td>error ± std.( %)</td></tr><tr><td>nneigh =8</td><td>12.8</td><td>5.7</td><td>5.7 ± 0.35</td></tr><tr><td>Random networks (nneigh = 1)</td><td>4.5</td><td>4.4</td><td>6.5 ± 0.76</td></tr><tr><td>models from line 1 retrained from scratch</td><td>5.3</td><td>5.7</td><td>6.1 ± 0.92</td></tr><tr><td>nneigh = 8, no SGDR</td><td>10.6</td><td>5.8</td><td>6.4±0.70</td></tr><tr><td>nneigh = 8, no net. morph.</td><td>6.6</td><td>2.9</td><td>6.1 ±0.30</td></tr></table>",
|
| 689 |
+
"bbox": [
|
| 690 |
+
173,
|
| 691 |
+
435,
|
| 692 |
+
839,
|
| 693 |
+
525
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 6
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "Interestingly the number of parameters heavily decreases. This indicates that our algorithm prefers models without new parameters. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
173,
|
| 702 |
+
561,
|
| 703 |
+
826,
|
| 704 |
+
590
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 6
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "5.1.2 COMPARISON TO HAND CRAFTED AND OTHER AUTOMATICALLY GENERATED ARCHITECTURES ",
|
| 711 |
+
"text_level": 1,
|
| 712 |
+
"bbox": [
|
| 713 |
+
176,
|
| 714 |
+
613,
|
| 715 |
+
756,
|
| 716 |
+
640
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 6
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "We now compare our algorithm against the popular wide residual networks (Zagoruyko & Komodakis, 2016), the state of the art model from Gastaldi (2017) as well as other automated architecture search methods. Beside our results for $n _ { s t e p s } = 5$ from the previous section, we also tried $n _ { s t e p s } = 8$ to generate larger models. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
652,
|
| 726 |
+
823,
|
| 727 |
+
708
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 6
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "For further improving the results, we take snapshots of the best models from every iteration while running our algorithm following the idea of Huang et al. (2017) when using SGDR (Loshchilov & Hutter, 2017) for training. However different from Huang et al. (2017), we do not immediately get fully trained models for free, as our snapshots are not yet trained on the validation set but rather only on the training set. Hence we spent some additional resources and train the snapshots on both sets. Afterwards the ensemble model is build by combining the snapshot models with uniform weights. Lastly, we also build an ensemble from the models returned by our algorithm across all runs. Results are listed in Table 2. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
709,
|
| 737 |
+
825,
|
| 738 |
+
819
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 6
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "The proposed method is able to generate competitive network architectures in only 12 hours. By spending another 12 hours, it outperforms most automated architecture search methods although all of them require (partially far) more time and GPUs. We do not reach the performance of the two handcrafted architectures as well as the ones found by Zoph & Le (2017) and Brock et al. (2017). However note that Zoph & Le (2017) spent by far more resources than we did. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
827,
|
| 748 |
+
825,
|
| 749 |
+
896
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 6
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "Unsurprisingly, the ensemble models perform better. It is a simple and cheap way to improve results which everyone can consider when the number of parameters is not relevant. ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
174,
|
| 758 |
+
896,
|
| 759 |
+
821,
|
| 760 |
+
924
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 6
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "table",
|
| 766 |
+
"img_path": "images/40ffbbc485084b4e3fbd3f84be67a619447ee95d3fffcf9f34d4d00c8ce93c36.jpg",
|
| 767 |
+
"table_caption": [
|
| 768 |
+
"Table 2: Results for CIFAR-10. For our methods the stated resources, # parameters and errors are averaged over all runs. ”Resources spent” denotes training costs in case of the handcrafted models. "
|
| 769 |
+
],
|
| 770 |
+
"table_footnote": [],
|
| 771 |
+
"table_body": "<table><tr><td>model</td><td>resources spent</td><td># params (mil.)</td><td>error(%)</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td>Shake-Shake (Gastaldi,2017)</td><td>4 GPU days,2 GPUs</td><td>26</td><td>2.9</td></tr><tr><td>WRN 28-10 (Loshchilov & Hutter,2017)</td><td>1 GPU day</td><td>36.5</td><td>3.86</td></tr><tr><td>Baker et al. (2016)</td><td>80-100 GPU days</td><td>11</td><td>6.9</td></tr><tr><td>Cai et al. (2017)</td><td>15 GPU days</td><td>19.7</td><td>5.7</td></tr><tr><td>Zoph & Le (2017)</td><td>16.000-24.000 GPU days</td><td>37.5</td><td>3.65</td></tr><tr><td>Real et al. (2017)</td><td>2500 GPU days</td><td>5.4</td><td>5.4</td></tr><tr><td>Saxena & Verbeek (2016)</td><td>?</td><td>21</td><td>7.4</td></tr><tr><td>Brock et al. (2017)</td><td>3 GPU days</td><td>16.0</td><td>4.0</td></tr><tr><td>Ours (random networks,nsteps = 5, nneigh =1)</td><td>0.2 GPU days</td><td>4.4</td><td>6.5</td></tr><tr><td>Ours (nsteps = 5,nneigh =8,10 runs)</td><td>0.5 GPU days</td><td>5.7</td><td>5.7</td></tr><tr><td>Ours (nsteps = 8,nneigh = 8,4 runs)</td><td>1 GPU day</td><td>19.7</td><td>5.2</td></tr><tr><td>Ours (snapshot ensemble,4 runs)</td><td>2 GPU days</td><td>57.8</td><td>4.7</td></tr><tr><td>Ours (ensemble across runs)</td><td>4 GPU days</td><td>88</td><td>4.4</td></tr></table>",
|
| 772 |
+
"bbox": [
|
| 773 |
+
173,
|
| 774 |
+
155,
|
| 775 |
+
825,
|
| 776 |
+
343
|
| 777 |
+
],
|
| 778 |
+
"page_idx": 7
|
| 779 |
+
},
|
| 780 |
+
{
|
| 781 |
+
"type": "table",
|
| 782 |
+
"img_path": "images/4a47d8eceb003bb23f38bfb4ad16df746a77c1f78312b59d11e2951c2db318cd.jpg",
|
| 783 |
+
"table_caption": [
|
| 784 |
+
"Table 3: Results for CIFAR-100. For our methods the stated resources, # parameters and errors are averaged over all runs. ”Resources spent” denotes training costs in case of the handcrafted models. "
|
| 785 |
+
],
|
| 786 |
+
"table_footnote": [],
|
| 787 |
+
"table_body": "<table><tr><td>model</td><td>resources spent</td><td># params (mil.)</td><td>error(%)</td></tr><tr><td></td><td></td><td></td><td>15.9</td></tr><tr><td>Shake-Shake (Gastaldi, 2017) WRN 28-10 (Loshchilov & Hutter,2017)</td><td>14 GPU days</td><td>34.4</td><td></td></tr><tr><td></td><td>1 GPU day</td><td>36.5</td><td>19.6</td></tr><tr><td>Real et al. (2017)</td><td>250 GPUs</td><td>40.4</td><td>23.7</td></tr><tr><td>Brock et al. (2017)</td><td>3 GPU days</td><td>16.0</td><td>20.6</td></tr><tr><td>Ours (nsteps = 8,nneigh = 8,5 runs)</td><td>1 GPU day</td><td>22.3</td><td>23.4</td></tr><tr><td>Ours (snapshot ensemble,5 runs)</td><td>2 GPU days</td><td>73.3</td><td>20.9</td></tr><tr><td>Ours (ensemble across runs)</td><td>5 GPU days</td><td>111.5</td><td>19.6</td></tr></table>",
|
| 788 |
+
"bbox": [
|
| 789 |
+
179,
|
| 790 |
+
405,
|
| 791 |
+
818,
|
| 792 |
+
536
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 7
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "5.2 EXPERIMENTS ON CIFAR-100 ",
|
| 799 |
+
"text_level": 1,
|
| 800 |
+
"bbox": [
|
| 801 |
+
176,
|
| 802 |
+
566,
|
| 803 |
+
428,
|
| 804 |
+
582
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 7
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "We repeat the previous experiment on CIFAR-100; hyperparameters were not changed. The results are listed in Table 3. Unfortunately most automated architecture methods did not consider CIFAR100. Our method is on a par with Real et al. (2017) after one day with a single GPU. The snapshot ensemble performs similar to Brock et al. (2017) and an ensemble model build from the 5 runs can compete with the hand crafted WRN 28-10. The performance of the Shake-Shake network (Gastaldi, 2017) is again not reached. ",
|
| 811 |
+
"bbox": [
|
| 812 |
+
173,
|
| 813 |
+
593,
|
| 814 |
+
825,
|
| 815 |
+
676
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 7
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "6 CONCLUSION ",
|
| 822 |
+
"text_level": 1,
|
| 823 |
+
"bbox": [
|
| 824 |
+
176,
|
| 825 |
+
696,
|
| 826 |
+
318,
|
| 827 |
+
713
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 7
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "text",
|
| 833 |
+
"text": "We proposed NASH, a simple and fast method for automated architecture search based on a hill climbing strategy, network morphisms, and training via SGDR. Experiments on CIFAR-10 and CIFAR-100 showed that our method yields competitive results while requiring considerably less computational resources than most alternative approaches. Our algorithm is easily extendable, e.g., by other network morphisms, evolutionary approaches for generating new models, other methods for cheap performance evaluation (such as, e.g., learning curve prediction (Klein et al., 2017) or hypernetworks (Ha et al., 2017; Brock et al., 2017)), or better resource handling strategies (such as Hyperband (Li et al., 2016b)). In this sense, we hope that our approach can serve as a basis for the development of more sophisticated methods that yield further improvements of performance. ",
|
| 834 |
+
"bbox": [
|
| 835 |
+
173,
|
| 836 |
+
728,
|
| 837 |
+
825,
|
| 838 |
+
854
|
| 839 |
+
],
|
| 840 |
+
"page_idx": 7
|
| 841 |
+
},
|
| 842 |
+
{
|
| 843 |
+
"type": "text",
|
| 844 |
+
"text": "REFERENCES ",
|
| 845 |
+
"text_level": 1,
|
| 846 |
+
"bbox": [
|
| 847 |
+
176,
|
| 848 |
+
103,
|
| 849 |
+
285,
|
| 850 |
+
117
|
| 851 |
+
],
|
| 852 |
+
"page_idx": 8
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"type": "text",
|
| 856 |
+
"text": "Mart´ın Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mane, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, ´ Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viegas, Oriol Vinyals, Pete Warden, Martin Watten- ´ berg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https://www.tensorflow.org/. Software available from tensorflow.org. ",
|
| 857 |
+
"bbox": [
|
| 858 |
+
176,
|
| 859 |
+
126,
|
| 860 |
+
825,
|
| 861 |
+
251
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 8
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. ICLR, 2015. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
176,
|
| 870 |
+
262,
|
| 871 |
+
820,
|
| 872 |
+
290
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 8
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "Bowen Baker, Otkrist Gupta, Nikhil Naik, and Ramesh Raskar. Designing neural network architectures using reinforcement learning. ICLR 2017, 2016. ",
|
| 879 |
+
"bbox": [
|
| 880 |
+
173,
|
| 881 |
+
300,
|
| 882 |
+
820,
|
| 883 |
+
329
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 8
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "J. Bergstra and Y. Bengio. Random search for hyper-parameter optimization. 13(1):281–305, 2012. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
173,
|
| 892 |
+
338,
|
| 893 |
+
821,
|
| 894 |
+
354
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 8
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "J. Bergstra, R. Bardenet, Y. Bengio, and B. Kegl. Algorithms for hyper-parameter optimization. In ´ NIPS, 2011. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
171,
|
| 903 |
+
363,
|
| 904 |
+
823,
|
| 905 |
+
393
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 8
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "Andrew Brock, Theodore Lim, James M. Ritchie, and Nick Weston. SMASH: one-shot model architecture search through hypernetworks. arXiv preprint, 2017. ",
|
| 912 |
+
"bbox": [
|
| 913 |
+
169,
|
| 914 |
+
402,
|
| 915 |
+
823,
|
| 916 |
+
431
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 8
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "Han Cai, Tianyao Chen, Weinan Zhang, Yong Yu, and Jun Wang. Reinforcement learning for architecture search by network transformation. 2017. ",
|
| 923 |
+
"bbox": [
|
| 924 |
+
171,
|
| 925 |
+
441,
|
| 926 |
+
823,
|
| 927 |
+
470
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 8
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "Tianqi Chen, Ian J. Goodfellow, and Jonathon Shlens. Net2net: Accelerating learning via knowledge transfer. arXiv preprint, 2015. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
173,
|
| 936 |
+
479,
|
| 937 |
+
823,
|
| 938 |
+
508
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 8
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "Franc¸ois Chollet et al. Keras. https://github.com/fchollet/keras, 2015. ",
|
| 945 |
+
"bbox": [
|
| 946 |
+
173,
|
| 947 |
+
518,
|
| 948 |
+
740,
|
| 949 |
+
534
|
| 950 |
+
],
|
| 951 |
+
"page_idx": 8
|
| 952 |
+
},
|
| 953 |
+
{
|
| 954 |
+
"type": "text",
|
| 955 |
+
"text": "Xavier Gastaldi. Shake-shake regularization. ICLR 2017 Workshop, 2017. ",
|
| 956 |
+
"bbox": [
|
| 957 |
+
176,
|
| 958 |
+
544,
|
| 959 |
+
661,
|
| 960 |
+
559
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 8
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "text",
|
| 966 |
+
"text": "David Ha, Andrew M. Dai, and Quoc V. Le. Hypernetworks. ICLR, 2017. ",
|
| 967 |
+
"bbox": [
|
| 968 |
+
176,
|
| 969 |
+
569,
|
| 970 |
+
658,
|
| 971 |
+
583
|
| 972 |
+
],
|
| 973 |
+
"page_idx": 8
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"type": "text",
|
| 977 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. CVPR, 2016. ",
|
| 978 |
+
"bbox": [
|
| 979 |
+
173,
|
| 980 |
+
593,
|
| 981 |
+
821,
|
| 982 |
+
622
|
| 983 |
+
],
|
| 984 |
+
"page_idx": 8
|
| 985 |
+
},
|
| 986 |
+
{
|
| 987 |
+
"type": "text",
|
| 988 |
+
"text": "Geoffrey Hinton, Li Deng, Dong Yu, George Dahl, Abdel rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara Sainath, and Brian Kingsbury. Deep neural networks for acoustic modeling in speech recognition. IEEE Signal Processing Magazine, 2012. ",
|
| 989 |
+
"bbox": [
|
| 990 |
+
174,
|
| 991 |
+
632,
|
| 992 |
+
825,
|
| 993 |
+
688
|
| 994 |
+
],
|
| 995 |
+
"page_idx": 8
|
| 996 |
+
},
|
| 997 |
+
{
|
| 998 |
+
"type": "text",
|
| 999 |
+
"text": "Gao Huang, Zhuang Liu, and Kilian Q. Weinberger. Densely connected convolutional networks. 2016. ",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
174,
|
| 1002 |
+
699,
|
| 1003 |
+
821,
|
| 1004 |
+
727
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 8
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "Gao Huang, Yixuan Li, Geoff Pleiss, Zhuang Liu, John E. Hopcroft, and Kilian Q. Weinberger. Snapshot ensembles: Train 1, get M for free. ICLR 2017, 2017. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
174,
|
| 1013 |
+
737,
|
| 1014 |
+
821,
|
| 1015 |
+
766
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 8
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "A. Klein, S. Falkner, J. T. Springenberg, and F. Hutter. Learning curve prediction with Bayesian neural networks. In International Conference on Learning Representations (ICLR) 2017 Conference Track, April 2017. ",
|
| 1022 |
+
"bbox": [
|
| 1023 |
+
176,
|
| 1024 |
+
776,
|
| 1025 |
+
821,
|
| 1026 |
+
819
|
| 1027 |
+
],
|
| 1028 |
+
"page_idx": 8
|
| 1029 |
+
},
|
| 1030 |
+
{
|
| 1031 |
+
"type": "text",
|
| 1032 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 25, pp. 1097–1105. Curran Associates, Inc., 2012. ",
|
| 1033 |
+
"bbox": [
|
| 1034 |
+
174,
|
| 1035 |
+
829,
|
| 1036 |
+
825,
|
| 1037 |
+
885
|
| 1038 |
+
],
|
| 1039 |
+
"page_idx": 8
|
| 1040 |
+
},
|
| 1041 |
+
{
|
| 1042 |
+
"type": "text",
|
| 1043 |
+
"text": "L. Li, K. G. Jamieson, G. DeSalvo, A. Rostamizadeh, and A. Talwalkar. Efficient hyperparameter optimization and infinitely many armed bandits. CoRR, abs/1603.06560, 2016a. ",
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
174,
|
| 1046 |
+
895,
|
| 1047 |
+
820,
|
| 1048 |
+
924
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 8
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "Lisha Li, Kevin G. Jamieson, Giulia DeSalvo, Afshin Rostamizadeh, and Ameet Talwalkar. Efficient hyperparameter optimization and infinitely many armed bandits. arXiv preprint, 2016b. \nI. Loshchilov and F. Hutter. CMA-ES for hyperparameter optimization of deep neural networks. CoRR, abs/1604.07269, 2016. \nI. Loshchilov and F. Hutter. Sgdr: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations (ICLR) 2017 Conference Track, April 2017. \nH. Mendoza, A. Klein, M. Feurer, T. Springenberg, and F. Hutter. Towards automatically-tuned neural networks. In AutoML, 2016. \nEsteban Real, Sherry Moore, Andrew Selle, Saurabh Saxena, Yutaka Leon Suematsu, Quoc V. Le, and Alex Kurakin. Large-scale evolution of image classifiers. arXiv preprint, 2017. \nStuart Russell and Peter Norvig. Artificial Intelligence: A Modern Approach (3rd Edition). Pearson, 3 edition, December 2009. ISBN 0136042597. \nShreyas Saxena and Jakob Verbeek. Convolutional neural fabrics. arXiv preprint, 2016. \nJ. Snoek, H. Larochelle, and R.P. Adams. Practical Bayesian optimization of machine learning algorithms. In NIPS, 2012. \nMasanori Suganuma, Shinichi Shirakawa, and Tomoharu Nagao. A genetic programming approach to designing convolutional neural network architectures. arXiv preprint, 2017. \nTao Wei, Changhu Wang, Yong Rui, and Chang Wen Chen. Network morphism. arXiv preprint, 2016. \nSergey Zagoruyko and Nikos Komodakis. Wide residual networks. arXiv preprint, 2016. \nBarret Zoph and Quoc V. Le. Neural architecture search with reinforcement learning. 2017. \nBarret Zoph, Vijay Vasudevan, Jonathon Shlens, and Quoc V. Le. Learning transferable architectures for scalable image recognition. 2017. ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
169,
|
| 1057 |
+
95,
|
| 1058 |
+
828,
|
| 1059 |
+
545
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 9
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "image",
|
| 1065 |
+
"img_path": "images/2edbb1405729ce5dc046dc80f49bd9380081ebed874aa93e2d296d2395a7ddf0.jpg",
|
| 1066 |
+
"image_caption": [
|
| 1067 |
+
"Figure 3: Initial network for our algorithm. "
|
| 1068 |
+
],
|
| 1069 |
+
"image_footnote": [],
|
| 1070 |
+
"bbox": [
|
| 1071 |
+
191,
|
| 1072 |
+
155,
|
| 1073 |
+
761,
|
| 1074 |
+
391
|
| 1075 |
+
],
|
| 1076 |
+
"page_idx": 10
|
| 1077 |
+
},
|
| 1078 |
+
{
|
| 1079 |
+
"type": "image",
|
| 1080 |
+
"img_path": "images/213925428f8eea0c7c284680e760c96a1baa86df2685b0480330288a33417347.jpg",
|
| 1081 |
+
"image_caption": [
|
| 1082 |
+
"Figure 4: Initial network for our algorithm. "
|
| 1083 |
+
],
|
| 1084 |
+
"image_footnote": [],
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
197,
|
| 1087 |
+
469,
|
| 1088 |
+
761,
|
| 1089 |
+
707
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 10
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "image",
|
| 1095 |
+
"img_path": "images/926480ca8e0fe0b1fac91e9b0c6c21dd16e70a4e522edfe39777971a2e331b4d.jpg",
|
| 1096 |
+
"image_caption": [
|
| 1097 |
+
"Figure 5: Initial network for our algorithm. "
|
| 1098 |
+
],
|
| 1099 |
+
"image_footnote": [],
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
410,
|
| 1102 |
+
169,
|
| 1103 |
+
581,
|
| 1104 |
+
825
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 11
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "image",
|
| 1110 |
+
"img_path": "images/091ad5bd88208c13ba32695bfc45a25363ea4c4e47109a8acba5e63354b8c3d1.jpg",
|
| 1111 |
+
"image_caption": [
|
| 1112 |
+
"Figure 6: Network generated by our algorithm with $n _ { s t e p s } = 5$ . "
|
| 1113 |
+
],
|
| 1114 |
+
"image_footnote": [],
|
| 1115 |
+
"bbox": [
|
| 1116 |
+
406,
|
| 1117 |
+
116,
|
| 1118 |
+
586,
|
| 1119 |
+
867
|
| 1120 |
+
],
|
| 1121 |
+
"page_idx": 12
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"type": "image",
|
| 1125 |
+
"img_path": "images/e810d4abf64e5a83ec8d5f1149515b76d979a3c8fc66b0153106f09e2b3c3c2d.jpg",
|
| 1126 |
+
"image_caption": [
|
| 1127 |
+
"Figure 7: Network generated by our algorithm with $n _ { s t e p s } = 8$ . "
|
| 1128 |
+
],
|
| 1129 |
+
"image_footnote": [],
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
410,
|
| 1132 |
+
113,
|
| 1133 |
+
571,
|
| 1134 |
+
861
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 13
|
| 1137 |
+
}
|
| 1138 |
+
]
|
parse/train/SySaJ0xCZ/SySaJ0xCZ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/SySaJ0xCZ/SySaJ0xCZ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/iaO86DUuKi/iaO86DUuKi_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/iaO86DUuKi/iaO86DUuKi_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkcya1ZAW/rkcya1ZAW_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkcya1ZAW/rkcya1ZAW_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkgZaT4tDr/rkgZaT4tDr.md
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ted index at Microsoft Bing is used to be based on hand-crafted rules. We formulate the generation process as a Parameterized Action MDP with sharing parameters and purpose a reinforcement learning algorithm on such formulation. We combine deterministic policy learning on discrete and continuous action spaces and several recent advances in deep reinforcement learning. For exploring in the parameterized action space, the agent outputs softmax values for discrete actions and applies Parameter Space Noise on policy network to unify the exploration direction in both spaces. We apply prioritized recurrent replay on match plan sequences and pad short match plans. We also use invertible value function rescaling and $n$ -step return to stabilize the training. The agent is evaluated on our environment and some benchmarks. It outperforms the well-designed production match plan and beats the baselines on the benchmarks.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Using machine learning to optimize and accelerate software and hardware systems is an emerging field in the past few years (Mirhoseini et al. (2017); Rosset et al. (2018)). The process of decisionmaking in those systems is usually hand-crafted by human engineers, which is less explored to be automatically done by learning algorithms. A promising direction is to formulate such sequential decision-making problems as Reinforcement Learning (RL) problems, such as search plan generation problem in inverted indexes (Rosset et al. (2018)).
|
| 12 |
+
|
| 13 |
+
The inverted index is a specialized data structure that is commonly used in search engines, including Microsoft $\mathrm { B i n g ^ { 1 } }$ . An inverted index provides an inverted mapping from term to documents. Each term has a posting list which contains all the (document, location) pairs that the term appears. By combining the posting lists of the terms in a user query, the initial document candidates are generated (Witten et al. (1999); Zobel & Moffat (2006)).
|
| 14 |
+
|
| 15 |
+
In Bing, documents are scanned with specified match plans, either predefined or generated in realtime. A match plan has a sequence of rewrites (match rules, e.g., it treats the query as a phrase which should appear in the document exactly as it is), where each rewrite can be controlled by several quotas (stopping criteria). There are several types of rewrites, and all these types share the same continuous quotas. A pair of a rewrite type and the quotas forms a single action which determines if a document will be a ranking candidate.
|
| 16 |
+
|
| 17 |
+
We formulate the generation problem as a RL problem. The state consists of system runtime signals and semantic embeddings of queries. The action space is called parameterized or discretecontinuous hybrid, where an action has a discrete action and continuous action-parameters. The reward is weighted by result quality and query latency. It is similar to Parameterized Action RL (Masson et al. (2016)) (PARL), while our setting requires all actions to share same parameters.
|
| 18 |
+
|
| 19 |
+
Previously, the match plans are predefined manually for each query. It hardly utilizes the rich information in the state to dynamically adjust the rewrites and quotas for specific query online. Rosset et al. (2018) tries to automatically generate match plans using tabular Q-learning with discretized state space and predefined action-parameters. They learn the generation policy for a specific query class each time and solve it only in discretized spaces with tabular methods. We extend the generation process to the general case, such that the match plans are fully parameterized and learned from scratch without any predefined knowledge (e.g., limited match rules).
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Match plan example: for the query “Reinforcement Learning”, the search engine firstly gets a document posting list for each term from the inverted index, and then scans the document candidates following a serial of rewrites (match rules) according to the match plan.
|
| 23 |
+
|
| 24 |
+
In this paper, we purpose a parameterized action RL algorithm that learns to act on parameterized action space environments, such as the match plan generation process. We introduce normalized softmax values of discrete actions to form a categorical distributions to enable gradients backpropagation. We also combine several recent advances in RL to accelerate and stabilize the training. We investigate parameter space noise (Plappert et al. (2017)) on parameters of the policy for unifying directions in exploring the structured action space. We explore recurrent deterministic policies (Heess et al. (2015)) with prioritized replay buffer (Schaul et al. (2015)) on sequence, due to the inherent nature of partial observability and sparse feedback in our setting. We also use $n$ -step return and invertible value function rescaling (Kapturowski et al. (2018)) for further stability.
|
| 25 |
+
|
| 26 |
+
We present an agent to integrate these techniques and evaluate on offline training on a query dataset collected from Bing search. When training on the dataset with uniformly sampling, the agent outperforms the currently deployed production match plan, which is generated based on well-designed hand-crafted rules. We study the performance of training on the dataset or only with several selected complicated queries individually, as well as ablation studies for the various components. We test on a few existing PARL benchmarks, where our agent beats our baseline methods and performs the state-of-the-art results.
|
| 27 |
+
|
| 28 |
+
# 2 BACKGROUND
|
| 29 |
+
|
| 30 |
+
# 2.1 REINFORCEMENT LEARNING
|
| 31 |
+
|
| 32 |
+
We address the problem using reinforcement learning (RL) framework with a parameterized action space. An agent interacts with an environment to maximize the accumulated reward with discount factor $\gamma \in \ [ 0 , 1 )$ . We model the environment with a discrete-time Partially Observable Markov Decision Process (POMDP). A POMDP is given by a tuple $( S , \mathcal { A } , T , R , \Omega , \dot { \mathcal { O } } )$ , and the underlying Markov Decision Process (MDP) is defined by $( S , { \mathcal { A } } , T , R )$ , where $s$ is the state space, $\mathcal { A }$ the parameterized action space, $T$ the transition function $\mathcal { T } : \mathcal { S } \times \mathcal { S } \times \mathcal { A } \mathbb { R } _ { + }$ , and $R : S \times \mathcal { A } \mathbb { R }$ is the reward function. The set of observations is given by $\Omega$ and the the observation function mapping underlying states to probability distributions over observations is given by $\mathcal { O }$ .
|
| 33 |
+
|
| 34 |
+
Specifically, the environment in the match plan generation has a parameterized action space. In Masson et al. (2016); Bester et al. (2019), such formulation in fully observable settings is referred as Parameterized Action MDP (PAMDP), where the action space is denoted as
|
| 35 |
+
|
| 36 |
+
$$
|
| 37 |
+
\mathcal { A } = \bigcup _ { k \in \mathcal { A } _ { d } } \left\{ ( k , x _ { k } ) | x _ { k } \in \mathcal { X } _ { k } \right\} ,
|
| 38 |
+
$$
|
| 39 |
+
|
| 40 |
+
where each discrete action $a \in \mathcal { A } _ { d } = [ K ]$ has a corresponding continuous action-parameter space $\mathcal { X } _ { a }$ . However, our setting requires a slightly different formulation:
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
\mathcal { A } = \{ ( k , x ) | k \in \mathcal { A } _ { d } , x \in \mathcal { X } \} = \mathcal { A } _ { d } \times \mathcal { X } ,
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
where the discrete action space (rewrite) $\mathbf { \mathcal { A } } _ { d }$ share the action-parameter space $\mathcal { X }$ . Such formulation results in a disentangled action space between discrete and continuous actions which a class of parameterized action (P-DQN (Xiong et al. (2018)) and MP-DQN (Bester et al. (2019))) may not be trivially applicable to. Considering the notational simplicity in partially observable environment (POMDP), we do not explicitly denote it when there is no ambiguity in action settings.
|
| 47 |
+
|
| 48 |
+
# 2.2 FORMULATION OF MATCH PLAN GENERATION
|
| 49 |
+
|
| 50 |
+
In Rosset et al. (2018), the action-parameters are predefined for the match plan generation, where the action space is then a set of discrete rewrites (actions). We fully parameterize a match plan to allow the agent to generate any valid plans.
|
| 51 |
+
|
| 52 |
+
State. At each time step, the agent receives a state with two parts. First part has selected run-time system signals from the inverted index system. Since the query is uniformly sampled in different episode, we include some statistical features and semantic embeddings of queries to allow the agent to identify different queries and then generate corresponding match plans. Such statistical features are used in the current production system, such as the length of a query. All signals and embeddings are normalized to a reasonable range around $[ - 1 , 1 ]$ based on empirical estimations.
|
| 53 |
+
|
| 54 |
+
Action. The agent selects a parameterized action $a _ { t }$ including a rewrite id and its allocated quotas at each step. There are 29 types of rewrites in $\mathbf { \mathcal { A } } _ { d }$ and also a 5-dimensional quota parameter space $\mathcal { X }$ for each rewrite in int64 type. However, the range of each quota is empirically set to valid values and then normalized to $[ - 1 , 1 ]$ . All outputted quotas are effective for the current step.
|
| 55 |
+
|
| 56 |
+
There is also a special action to note: stop (by agent). Normally, the environment will return a terminal signal, but it happens in extreme cases, such as low system resources. To allow a better balance of latency and performance, we allow the agent to choose stop or not as another type of discrete action, which is the same level as other 29 rewrites.
|
| 57 |
+
|
| 58 |
+
Reward. We use two criterions in the design: latency and performance. For latency consideration, we use a signal Seek Count that is constant for a same query in different runs with same match plan, instead of executed time. We weight the Ranking Scores of top five returned documents as an indicator of performance with weights [0.4, 0.2, 0.2, 0.1, 0.1]. When there are less than five documents returned, the scores of missing documents are treated as a minimum possible ranking score. The final scalar reward is weighted by these two objectives to balance them. We do not use the division in Rosset et al. (2018), since the loss surfaces may become more non-convex for optimizing.
|
| 59 |
+
|
| 60 |
+
We also have punishments (negative rewards) for some special cases. One is to assign a punishment when the agent selects to illegally stop at the first step or some unsupported rewrites (for some special queries). However, unsupported rewrites do not necessarily cause a terminal state, since the production system has same hand-crafted match plans for a class of queries, in which the unsupported rewrites are simply omitted.
|
| 61 |
+
|
| 62 |
+
# 3 METHOD
|
| 63 |
+
|
| 64 |
+
For generating match plans, we introduce a method that works on the aforementioned formulation with slightly different parameterized action space than standard PAMDPs in the literature. We start from the intuition with deterministic policy learning (Silver et al. (2014)) and how it relates to parameterized actions. PAMDP often refers to the formulation that each individual discrete action $k \in \mathcal { A } _ { d } = [ K ]$ has a corresponding continuous action-parameter space. Thus, there are $K$ continuous action-parameter spaces corresponding to $K$ discrete action (Xiong et al. (2018)). In our shared-parameter PAMDP, the Bellman equation incorporated both discrete action $k$ and continuous action-parameters $x$ is given by:
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { r } { Q \left( s , k , x \right) = \underset { r , s ^ { \prime } } { \mathbb { E } } \left[ r + \gamma \underset { k ^ { \prime } } { \operatorname* { m a x } } \ \underset { x ^ { \prime } \in \mathcal { X } } { \operatorname* { s u p } } Q \left( s ^ { \prime } , k ^ { \prime } , x ^ { \prime } \right) \vert s , k , x \right] . } \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
P-DQN (Xiong et al. (2018)) tackles PAMDP by incorporating multiple action-parameter policies $x _ { k } ( s ; \theta _ { x } ) : { \cal { S } } { \mathcal { X } } _ { k }$ for each action $k$ and update them with $\begin{array} { r } { \operatorname* { m a x } _ { k ^ { \prime } } \operatorname* { s u p } _ { x _ { k ^ { \prime } } \in \mathcal { X } _ { k ^ { \prime } } } Q \left( s ^ { \prime } , k ^ { \prime } , x _ { k ^ { \prime } } \right) } \end{array}$ simultaneously. However, since all parameters $x$ are shared for actions $k$ in our case, we do not require multiple policies. The policy loss in P-DQN (Xiong et al. (2018)) given by
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
L _ { x } \left( \theta _ { x } \right) = \underset { s \sim D } { \mathbb { E } } \left[ - \sum _ { k = 1 } ^ { K } Q \left( s , k , x _ { k } \left( s ; \theta _ { x } \right) ; \theta _ { Q } \right) \right]
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
Figure 2: The diagram of the process.
|
| 78 |
+
|
| 79 |
+
naturally degenerates to a single policy in next case, where the gradient $\nabla L _ { x } \left( \theta _ { x } \right)$ exactly is the deterministic policy gradient (DPG, Silver et al. (2014)). MP-DQN (Bester et al. (2019)) states a problem regarding to the erroneous gradients of Q-network $\nabla L _ { Q }$ in P-DQN caused by multiple action-parameter policies backpropagating gradients at the same time. However, it does not exist in such single network situation. This is a desired architecture since separating multiple actionparameter policies loses the knowledge that they share same potential meanings.
|
| 80 |
+
|
| 81 |
+
Following this intuition, we directly parameterize the policy with two heads $\mu : \mathcal { S } \to \mathbb { R } ^ { K } \times \mathcal { X }$ with $\theta _ { \mu }$ $\mathrm { ~ ` ~ } _ { \mu } \mathrm { ~ a s : ~ } k _ { t } ^ { s o f t } , x _ { t } = a _ { t } ^ { s o f t } = \mu ( s _ { t } ; \theta _ { \mu } )$ , where $k _ { t } ^ { s o f t }$ and $a _ { t } ^ { s o f t }$ refers to action-parameters or actions with softmax values. One head outputs the sof tmax values for all discrete actions. For another head, it outputs normalized action-parameter values with hyperbolic tangent $( t a n h )$ activation after the continuous head. The environment will denormalize it to a valid range. This corresponds to the Squashing Gradients method for bounded-continuous action spaces in Hausknecht & Stone (2015).
|
| 82 |
+
|
| 83 |
+
Exploration with Parameter Space Noise and action sampling. In DQN (Mnih et al. (2015)), the behavioral policy is given by $\epsilon$ -greedy strategy for exploration purpose, where an agent randomly selects a discrete action with probability $\epsilon < 1$ . In DDPG (Lillicrap et al. (2015)), although the policy learned is deterministic, to explore the action space, the behavioral policy needs to be different because of the off-policy nature. It uses action space noise such as uncorrelated Gaussian noise or correlated Ornstein-Uhlenbeck process (Lillicrap et al. (2015)).
|
| 84 |
+
|
| 85 |
+
Directly combining such two exploration strategies is straightforward. However, it may induce a problem that the exploration in two action spaces $\mathcal { A } = \mathcal { A } _ { d } \times \mathcal { X }$ in different paces. For example, the match plan may need another rewrite with larger quotas in a step. However, if the exploration strategy is to use $\epsilon$ -greedy for a rewrite $k$ and Gaussian noise for its quotas $x$ , the agent may require more samples to discover the potential rewards (positive documents). We instead use parameter space noise (Plappert et al. (2017)) on parameterized action space to tackle such issue.
|
| 86 |
+
|
| 87 |
+
We denote the discrete and continuous action heads as $( \pi _ { k } ^ { s o f t } ( s ) , \pi _ { x } ( s ) ) = \mu ( s ; \theta _ { \mu } ) .$ . To compute the distance $d ( \pi , \widetilde { \pi } ) = D _ { \mathrm { K L } } ( \pi \| \widetilde { \pi } )$ of non-perturbed and perturbed policies $\mu ( s ; \theta _ { \mu } ) , \widetilde { \mu } ( s ; \theta _ { \mu } )$ , we e e euse weighted sum of the distance of discrete and continuous actions. For the continuous actions $\widetilde { \pi } _ { x } ( s )$ , the distance is given by $\mathbb { E } _ { s } \left[ \left( \pi _ { x } ( s ) _ { i } - \widetilde { \pi } _ { x } ( s ) _ { i } \right) ^ { 2 } \right]$ to estimate KL-divergence empirically. For e ethe discrete actions, we use outputted softmax probabilities to compute The state and action pairs are sampled from a replay memory. The varianc $D _ { \mathrm { K L } } ( \pi _ { k } ^ { s o f t } ( s ) \Vert \widetilde { \pi } _ { k } ^ { s o f t } ( s ) )$ $\sigma$ after a policy update based on the distance and threhold $\delta$ (Plappert et al. (2017)). The policy and target networks with layer normalization (Ba et al. (2016)) are perturbed per episode.
|
| 88 |
+
|
| 89 |
+
Prioritized replay and recurrent policies. We use recurrent architecture to obtain the underlying system state of the POMDP for both value and policy networks (Heess et al. (2015)). To avoid recurrent state staleness (Kapturowski et al. (2018)), we store and replay a sequence of $( s , k ^ { s o f t } , x , r )$ with softmax values into a replay memory. Since a match plan is usually short, we set a maximum length and pad shorter episodes with zero or randomly sampled states and actions.
|
| 90 |
+
|
| 91 |
+
The sampling from a replay memory can be prioritized with a probability $p _ { i }$ proportional to TDerrors (Schaul et al. (2015)) to increase the sample efficiency in such structured action space. To prioritize the transitions with well-matched documents, we slightly modify the sampling strategy. With a half probability, the agent uses regular prioritization, otherwise partitions the memory to multiple bins and retrieve a transition (sequence) with max reward from each bin. Our strategy provides a more efficient and balanced exploration strategy of the evaluation.
|
| 92 |
+
|
| 93 |
+
Policy update. In the update, we use clipped double $Q$ -learning and delayed policy update (Fujimoto et al. (2018)) to stabilizing the training. After the agent samples a batch of (sequences), it perturbs the target policy network and computes the perturbed actions for target policy smoothing. The parameter space noise variance $\sigma$ is then updated with the sampled states and actions.
|
| 94 |
+
|
| 95 |
+
The policy is still deterministic since it is learned in off-policy and only the exploration involves stochasticity. The update is given by deterministic policy gradients theorem (Silver et al. (2014)):
|
| 96 |
+
|
| 97 |
+
$$
|
| 98 |
+
\nabla L _ { \mu } \left( \theta _ { \mu } \right) = \nabla _ { s \sim D } \left[ Q \left( s , \mu ( s ; \theta _ { \mu } ) ; \theta _ { Q } \right) \right] = \nabla \frac { 1 } { \left| D \right| } \sum _ { s \in D } Q \left( s , k ^ { s o f t } , x ; \theta _ { Q } \right) ,
|
| 99 |
+
$$
|
| 100 |
+
|
| 101 |
+
where $D$ is a replay memory. We found this policy architecture is similar to PA-DDPG (Hausknecht $\&$ Stone (2015)), while it does not including sof tmax activation for discrete actions and other advanced techniques. We also build upon other useful techniques such as invertible value function rescaling $h ( x ) = \mathrm { { s i g n } } ( x ) ( \sqrt { | x | } + 1 - 1 ) + \epsilon x$ (Kapturowski et al. (2018)):
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
y = h \left( \sum _ { k = 0 } ^ { n - 1 } r _ { t + k } \gamma ^ { k } + \gamma ^ { n } h ^ { - 1 } \left( Q \left( s _ { t + n } , a ^ { \ast } ; \theta _ { Q } ^ { - } \right) \right) \right) ,
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
where $a ^ { * } = ( \operatorname* { m a x } k _ { t } ^ { s o f t } , x _ { t } ) = ( k _ { t } , x _ { t } )$ is the greedy action, $y$ the target for updating Q-network, and $\theta _ { Q } ^ { - }$ denotes the target Q-network. The policy network outputs differentiable softmax values and is updated by the gradients backpropagated from the Q-network:
|
| 108 |
+
|
| 109 |
+
$$
|
| 110 |
+
\nabla L _ { Q } \left( \theta _ { Q } \right) = \nabla \mathbb { E } \left[ \frac { 1 } { 2 } \left( y - Q \left( s , k ^ { s o f t } , x ; \theta _ { Q } \right) \right) ^ { 2 } \right] ,
|
| 111 |
+
$$
|
| 112 |
+
|
| 113 |
+
where the expectation is took over samples from a memory.
|
| 114 |
+
|
| 115 |
+
The pseudocode for the algorithm with more details can be found in the Appendix.
|
| 116 |
+
|
| 117 |
+
# 4 EXPERIMENTS
|
| 118 |
+
|
| 119 |
+
In this section, we apply the purposed agent on the inverted index match plan generation problem. We create a dataset which contains a set of queries and corresponding query embeddings. We perform various ablation study on how each component interacts and the benefits of them. We also test on other Paramterized Action RL benchmarking baselines.
|
| 120 |
+
|
| 121 |
+
# 4.1 EXPERIMENT SETTINGS
|
| 122 |
+
|
| 123 |
+
For match plan generation, we experiment on a dataset that has about 100,000 queries sampled from Bing search log. In the current production system, each query is classified to a predefined query classes online based on a set of rules which are related to statistical features of the query. Each query class has some hand-crafted rules which outputs a match plan for the classified query. We use each query’s production match plan as baseline. The match plan for each query is generated by the hand-crafted rules and does not change over each running. We only skip a few special queries that do not have embeddings or need additional operations beyond match plans.
|
| 124 |
+
|
| 125 |
+
The generated match plan is evaluated by the delta values of both Ranking Score and Seek Count and overall reward. We provide learning curves of delta values of evaluation rewards. Note that the reward are not symmetrical around 0, since the ranking scores has a minimum value and is sparse since a few queries are hard to find good documents and will be assigned a very low score. It may significantly pull down the average rewards shown in the curves, thus we present histograms for fair comparison. For the benchmarks, we report the results on evaluation reward curves during tuning.
|
| 126 |
+
|
| 127 |
+
# .2 MATCH PLAN GENERATION PERFORMANCE EVALUATION
|
| 128 |
+
|
| 129 |
+
We first visualize the query embeddings in Figure 3 using UMAP (McInnes et al. (2018)) to demonstrate our learned models. We evaluate 6,000 queries and draw the colormap based on the difference between evaluation reward and production baseline reward. Although most queries perform similar to the well-designed production rules, there are some clusters of queries and some patterns exist. We notice that there is a main cluster at the center (about $( - 7 , - 1 ) )$ ) that gathers most queries on which our agent does not perform well. That cluster contains some random inputs from the users, which may have some typos. For the queries that the agent outperforms the baseline, we find they are quite scattered. We guess the reason is that the baseline with hand-crafted rules do not consider the embeddings, thus it is less affected by embeddings. This may suggest us to look for more informative embeddings of queries to better distinguish some clustered queries.
|
| 130 |
+
|
| 131 |
+

|
| 132 |
+
Figure 3: Visualization of query embeddings.
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
Figure 4: Different techniques.
|
| 136 |
+
|
| 137 |
+

|
| 138 |
+
Figure 5: Delta Reward Distribution in Evaluation Phrase.
|
| 139 |
+
|
| 140 |
+
In the plots shown in Figure 6, we visualize the distribution of delta rewards, ranking scores and seek count values comparing to the well-designed production rules. For most of the queries the agent learns promising match plan without any prior knowledge just based on the reward signals. There are also some hard queries to find a pattern that have poor reward (about $- 1 0 0 )$ and usually lies in the main cluster and around a few more small clusters. Other than some meaningless queries around the center, they also include some non-English queries, such as French and Chinese, which are possibly clustered around their centroid and are challenging to learn the policy for all of them.
|
| 141 |
+
|
| 142 |
+
Reward design. We consider different weights to trade-off between the query latency from the input and the quality of the returned documents. The quality is evaluated by Ranking Scores of top five documents. We found that it is sparse since the good documents are hard to match. When we weight more on ranking score, the agent tends to stop the search early.
|
| 143 |
+
|
| 144 |
+
We also investigate a few punishments and try to use less of them to avoid manual design. We found the agent learns some common patterns guided by the reward and punishments. It tries to avoid ”stop” at the first step because we set a huge punishment on such invalid stop. This punishment is necessary since it prevents the agent stops at first step for better value than trying more steps but get no documents matched. In other words, the agent is encouraged to explore different rewrites instead of using empty match plans. Without such punishment, the performance significantly drops since it is hard to explore good documents at first. We also punish the agent to avoid unsupported rewrites, since the production system uses designed rules for each class of the queries and simply omits a rewrite without any useful feedback. We test punishing repeated rewrites, however, it helps seek count (more efficient) but may harm ranking scores.
|
| 145 |
+
|
| 146 |
+
Table 1: Improved Scores of Different Noise Compared to RNN Gaussian Noise. Ranking Score and Seek Count are scaled to match Overall $=$ RankingScore−SeekCount for easy comparison.
|
| 147 |
+
|
| 148 |
+
<table><tr><td></td><td>Overall</td><td>Ranking Score (Quality)</td><td>Seek Count (Efficiency)</td></tr><tr><td>OU Noise</td><td>+1.00</td><td>+1.20</td><td>-0.20</td></tr><tr><td>Param Noise</td><td>+1.69</td><td>+0.82</td><td>-0.87</td></tr></table>
|
| 149 |
+
|
| 150 |
+
Table 2: Improved Scores of Different Model Compared to MLP
|
| 151 |
+
|
| 152 |
+
<table><tr><td></td><td>Overall</td><td>Ranking Score (Quality)</td><td>Seek Count (Efficiency)</td></tr><tr><td>MLP+Prioritized</td><td>+14.54</td><td>+8.56</td><td>-5.98</td></tr><tr><td>RNN+Prioritized</td><td>+32.63</td><td>+14.44</td><td>-18.19</td></tr><tr><td>RNN + Prioritized Sample</td><td>+32.67</td><td>+15.29</td><td>-17.38</td></tr></table>
|
| 153 |
+
|
| 154 |
+
# 4.3 ABLATION STUDY
|
| 155 |
+
|
| 156 |
+
We compare different exploration noise, including action space noise and parameter space noise. For the action space noise, the noise on discrete and continuous actions are applied separately. We test Gaussian and OrnsteinUhlenbeck noise on continuous actions, while the discrete actions only use $\epsilon$ -greedy. To keep the comparison fair, we also test $\epsilon$ -greedy strategy on continuous actions by uniformly sampling a point with probability $\epsilon$ . The parameter noise is directly applied on policy network $\widetilde \mu ( s ; \theta _ { \mu } )$ . We found the parameter space noise performs more stable than all types of action espace noise. The uniform sampling on both discrete and continous action with $\epsilon$ -greedy failed for sometimes, thus we did not include it in comparison. We give the relative improvement in Table 1 compared to RNN with Gaussian Noise. The results show that parameter space noise has best performance overall.
|
| 157 |
+
|
| 158 |
+
The results in Figure 6(a) and Table 2 show that RNN got significantly better performance than MLP with or without parameterization on our environment. It indicates that the environment is highly non-Markov. We guess one obvious possibility is that the system signals of the state space cannot include all the information, while recurrent networks try to extract latent state from the history. Note that each episode will sample one query, thus the query embedding is constant for all steps in one episode. Another possible reason is that some rewrites may not be supported by special queries or have too small change for the state signals.
|
| 159 |
+
|
| 160 |
+
We compare different parameterization methods on recurrent networks. The results are shown in Figure 4(b) and Table 2. We empirically found that our modified strategy using reward bin is more stable from the beginning. It is possible that the agent repeatedly replays not only good experience on matching documents, but also learns to avoid punishment we set, as we expect. In general prioritized replay, the sampling probability is just based on TD-error and may be biased to worse samples since value function may not update towards possible results.
|
| 161 |
+
|
| 162 |
+
# 4.4 BENCHMARKING GAMES
|
| 163 |
+
|
| 164 |
+
We experiment on Platform-v0 and Goal-v0 from Bester et al. (2019). Note that, in all these games, each discrete action has a separate continuous action-parameter space. Our algorithm is designed for shared action-parameters and does not utilize such prior, thus we do not compare with P-DQN-style algorithms. We apply n-step return since the episode in these games is much longer. We assume the environment is fully observable and do not use recurrent networks in comparison.
|
| 165 |
+
|
| 166 |
+
Hyperparameters. We examine the games with different combinations of hyperparameters, since they are easy to parallize on each training nodes without the need to connect to an production environment emulator. With NNI, the learning rates for value and policy network are set to log-uniform in $[ 3 \times 1 0 ^ { - 4 } , 3 \times 1 0 ^ { - 3 } ]$ and $[ 1 \times 1 0 ^ { - 4 } , 1 \times \mathsf { \bar { 1 } 0 ^ { - 3 } } ]$ . The $\alpha$ in parameterized replay is set to log-uniform in [0.2, 1.0]. The action noise threshold $\delta$ in parameter space noise is set to log-uniform between [0.05, 0.8]. Tn soft parameter update, the $\tau$ is set to log-uniform in $[ 1 \times 1 0 ^ { - 3 } , 1 \times 1 0 ^ { - 2 } ]$ .
|
| 167 |
+
|
| 168 |
+
In Platform-v0 and Goal-v0, we found the agent is not very sensitive to the range we set, such as $\alpha , \delta$ and $\tau$ . The $\delta$ values of top $20 \%$ trials vary between [0.05, 0.3], while $\alpha$ and $\tau$ values are evenly scattered in the defined range. In these settings, usually the agent prefers slightly larger value learning rate than policy learning rate.
|
| 169 |
+
|
| 170 |
+
<table><tr><td>Average Eval Return</td><td>Our</td><td>PA-DDPG</td></tr><tr><td>Platform-v0</td><td>0.9573</td><td>0.3113</td></tr><tr><td>Goal-v0</td><td>34.20</td><td>-6.208</td></tr></table>
|
| 171 |
+
|
| 172 |
+
Table 3: Average evaluation results (the average of all training rewards and final evaluation reward) on benchmarks Platform-v0 and Goal-v0 with PA-DDPG (Hausknecht & Stone (2015)), MP-DQN (Bester et al. (2019)) and P-DQN (Xiong et al. (2018)). We use reported number from the papers, while last two methods report another metric on Goal-v0.
|
| 173 |
+
|
| 174 |
+
# 5 RELATED WORK
|
| 175 |
+
|
| 176 |
+
While the aforementioned algorithms and techniques work on discrete or continuous action spaces, it is not trivial to apply them on parameterized action space, since such discrete-continuous hybrid action space is hard to parameterized by a single distribution. A related series of work is to combine DDPG and DQN to optimize Q-value function on parameter actions. There are two classes of methods that belong to them: PA-DDPG (Hausknecht & Stone (2015)) based on DDPG and PDQN (Xiong et al. (2018)) based on DQN. They are Q-Learning-based methods which select the best action by maximizing the Q-value function on discrete action space or learning a deterministic policy outputting best continuous action. However, they use different strategies to combine discrete and continuous actions. Bester et al. (2019) (MP-DQN) extends P-DQN to tackle the problem that Q-value is a function of the joint action-parameter vector $Q ( s ^ { \prime } , k ^ { \prime } , { \bf x } ^ { \tilde { Q } } ( s ^ { \prime } ) )$ in normal PAMDP, which may results in fault gradients. However, such problem does not exist in our slightly modified setting, since the action-parameter space $\mathcal { X }$ in the match plan generation is inherently defined to be shared for each $k \in \mathcal { A } _ { d }$ . Masson et al. (2016) purposes a method to iteratively optimizing discrete and continuous actions by alternating between them. Another perspective (Klimek et al. (2017); Wei et al. (2018); Fu et al. (2019)) for a parameterized action space is to regard it as a twohierarchy action space, where an agent selects discrete action first and continuous parameter later. However, we do not consider this direction in current scheme because we share the same parameters for all discrete action in not very large scale. Therefore, the hierarchical methods may not bring a significant performance gain.
|
| 177 |
+
|
| 178 |
+
# 6 DISCUSSIONS
|
| 179 |
+
|
| 180 |
+
In this paper, we present a parameterized action RL match plan generation method which extends the plan generation to the general case without any predefined knowledge. Key to address the problem are normalized softmax values of discrete actions to enable gradients backpropagation, parameter space noise on parameters of the policy for unifying the exploration direction in both discrete and continuous spaces, and recurrent deterministic policies with prioritized replay buffer to accelerate and stabilize the training. Our algorithm can be applied to not only the match plan generation environment, but also other similar parameteried action environments. The experiment results demonstrate our method outperforms the well-designed hand-crafted rules in Bing and serveral baseline results in some existing PARL benchmarks. In this paper, we mainly discuss about offline training procedure. In the future, we plan to apply learned policy to the production environment.
|
| 181 |
+
|
| 182 |
+
# REFERENCES
|
| 183 |
+
|
| 184 |
+
Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
|
| 185 |
+
|
| 186 |
+
Craig J Bester, Steven D James, and George D Konidaris. Multi-pass q-networks for deep reinforcement learning with parameterised action spaces. arXiv preprint arXiv:1905.04388, 2019.
|
| 187 |
+
|
| 188 |
+
Haotian Fu, Hongyao Tang, Jianye Hao, Zihan Lei, Yingfeng Chen, and Changjie Fan. Deep multi-agent reinforcement learning with discrete-continuous hybrid action spaces. arXiv preprint arXiv:1903.04959, 2019.
|
| 189 |
+
|
| 190 |
+
Scott Fujimoto, Herke van Hoof, and David Meger. Addressing function approximation error in actor-critic methods. arXiv preprint arXiv:1802.09477, 2018.
|
| 191 |
+
|
| 192 |
+
Matthew Hausknecht and Peter Stone. Deep reinforcement learning in parameterized action space. arXiv preprint arXiv:1511.04143, 2015.
|
| 193 |
+
|
| 194 |
+
Nicolas Heess, Jonathan J Hunt, Timothy P Lillicrap, and David Silver. Memory-based control with recurrent neural networks. arXiv preprint arXiv:1512.04455, 2015.
|
| 195 |
+
|
| 196 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
|
| 197 |
+
|
| 198 |
+
Steven Kapturowski, Georg Ostrovski, John Quan, Remi Munos, and Will Dabney. Recurrent experience replay in distributed reinforcement learning. 2018.
|
| 199 |
+
|
| 200 |
+
Maciej Klimek, Henryk Michalewski, Piotr Mi, et al. Hierarchical reinforcement learning with parameters. In Conference on Robot Learning, pp. 301–313, 2017.
|
| 201 |
+
|
| 202 |
+
Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
|
| 203 |
+
|
| 204 |
+
Warwick Masson, Pravesh Ranchod, and George Konidaris. Reinforcement learning with parameterized actions. In Thirtieth AAAI Conference on Artificial Intelligence, 2016.
|
| 205 |
+
|
| 206 |
+
Leland McInnes, John Healy, and James Melville. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv preprint arXiv:1802.03426, 2018.
|
| 207 |
+
|
| 208 |
+
Azalia Mirhoseini, Hieu Pham, Quoc V Le, Benoit Steiner, Rasmus Larsen, Yuefeng Zhou, Naveen Kumar, Mohammad Norouzi, Samy Bengio, and Jeff Dean. Device placement optimization with reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 2430–2439. JMLR. org, 2017.
|
| 209 |
+
|
| 210 |
+
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.
|
| 211 |
+
|
| 212 |
+
Matthias Plappert, Rein Houthooft, Prafulla Dhariwal, Szymon Sidor, Richard Y Chen, Xi Chen, Tamim Asfour, Pieter Abbeel, and Marcin Andrychowicz. Parameter space noise for exploration. arXiv preprint arXiv:1706.01905, 2017.
|
| 213 |
+
|
| 214 |
+
Corby Rosset, Damien Jose, Gargi Ghosh, Bhaskar Mitra, and Saurabh Tiwary. Optimizing query evaluations using reinforcement learning for web search. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pp. 1193–1196. ACM, 2018.
|
| 215 |
+
|
| 216 |
+
Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015.
|
| 217 |
+
|
| 218 |
+
David Silver, Guy Lever, Nicolas Heess, Thomas Degris, Daan Wierstra, and Martin Riedmiller. Deterministic policy gradient algorithms. 2014.
|
| 219 |
+
|
| 220 |
+
Ermo Wei, Drew Wicke, and Sean Luke. Hierarchical approaches for reinforcement learning in parameterized action space. In 2018 AAAI Spring Symposium Series, 2018.
|
| 221 |
+
|
| 222 |
+
Ian H Witten, Ian H Witten, Alistair Moffat, Timothy C Bell, Timothy C Bell, and Timothy C Bell. Managing gigabytes: compressing and indexing documents and images. Morgan Kaufmann, 1999.
|
| 223 |
+
|
| 224 |
+
Jiechao Xiong, Qing Wang, Zhuoran Yang, Peng Sun, Lei Han, Yang Zheng, Haobo Fu, Tong Zhang, Ji Liu, and Han Liu. Parametrized deep q-networks learning: Reinforcement learning with discrete-continuous hybrid action space. arXiv preprint arXiv:1810.06394, 2018.
|
| 225 |
+
|
| 226 |
+
Justin Zobel and Alistair Moffat. Inverted files for text search engines. ACM computing surveys (CSUR), 38(2):6, 2006.
|
| 227 |
+
|
| 228 |
+
# A APPENDIX
|
| 229 |
+
|
| 230 |
+
# A.1 PSEUDOCODE
|
| 231 |
+
|
| 232 |
+
Algorithm pseudocode for the algorithm is provided in Algorithm 1 which includes all aforementioned details.
|
| 233 |
+
|
| 234 |
+
# Algorithm 1
|
| 235 |
+
|
| 236 |
+
<table><tr><td>Input: Empty replay buffer D, init parameter noise std δparam, action noise threshold δ Initialize policy parameters 0,value parameters Φ ←0Q for each episode do Perturb policy parameters θ ← θ +(O,Oparam) and target policy parameters θtarget Observe state St, output a disturbed action embedding A =p(st;0) Compute executing action at by taking max over k</td></tr><tr><td>Execute parameterized action at in the environment server Observe next state St+1,reward rt, done signal dt denoting if St+1 is terminal t,rt, St+1,dt) to the buffer D If St+1 is terminal, reset to an initial state so for each update if update-condition do</td></tr><tr><td>Sample a minibatch from prioritized replay buffer D with specific priorities Compute and transform target actions with disturbed target policy network</td></tr><tr><td>Update parameter noise std Oparam using empirical distance d(μ, μ)</td></tr><tr><td>Compute targets for TD-error with min Q-value in the twin Q-networks Update Q-network parameters using gradient descent</td></tr><tr><td>if policy update frequency then</td></tr><tr><td>Update policy network parameters θ with Update target parameters with polyak averaging end if</td></tr></table>
|
| 237 |
+
|
| 238 |
+
# A.2 FURTHER EXPERIMENTAL DETAILS
|
| 239 |
+
|
| 240 |
+
Hyperparameter search. We use Microsoft $\mathrm { N N I } ^ { 2 }$ and OpenPAI3 to search hyperparameters. The final metric to report to NNI is set to the sum of average training reward and final evaluation reward (repeated 1,000 times) final_metric $=$ (avg_reward+eval_reward)/2. The intermediate metric is set to evaluation reward per 1,000 episodes. We also use the early stop assessor. Each GPU server node connects to a production environment emulator with ethernet.
|
| 241 |
+
|
| 242 |
+
Model architecture. Both policy and value networks use two fully connected layers with 512 hidden units and a LSTM layer (Hochreiter & Schmidhuber (1997)). Each layer also uses a layer normalization (LayerNorm, Ba et al. (2016)) as suggested by Plappert et al. (2017) in consideration of stability for noise applied on parameters, and follows a ReLU activation. Both output heads of the policy network has a hidden layer with sof tmax or tanh activations.
|
| 243 |
+
|
| 244 |
+
# A.3 FURTHER ENVIRONMENTAL DETAILS
|
| 245 |
+
|
| 246 |
+
Accumulated values. Note that, for accumulated values in received states, rewards and outputted action-parameters, we use the difference (delta values) from the last step. For states and rewards, it is $s _ { t } = s _ { t } ^ { \prime } - s _ { t - 1 }$ , $r _ { t } = r _ { t } ^ { \prime } - r _ { t - 1 }$ , where where $s ^ { \prime }$ and $r ^ { \prime }$ denote raw state and reward. For actions, the agent outputs raw action-parameter output $a ^ { \prime }$ , and the emulator converts it to accumulated value $a _ { t } = a _ { t } ^ { \prime } + a _ { t - 1 }$ .
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
Figure 6: Best evaluation learning curves on both environments during tuning. The agent achieves maximum possible reward on both environments (50 and 1).
|
| 250 |
+
|
| 251 |
+
Inverted index in Bing. In the inverted index system in Bing, there are two key steps: (i) the system rewrites the query to enlarge candidate set with specified match plan (or search plan), (ii) it returns candidates with top ranking scores. We just refer to the math plan part regarding to generation, but not user-input content. In the match plan generation, the goal is to generate the optimal search plan (policy) for each query.
|
| 252 |
+
|
| 253 |
+
Closed-loop and open-loop control. The production match plan is generated online in open-loop (feedforward) without taking runtime system signals into consideration for the latency and implementation consideration. However, RL is closed-loop which takes feedback from system signals to make decisions. This may increase the online overhead, but it can be tackled by converting the reflective policy to a shooting-style action sequence by predicting with learned transition dynamics. In the implementation, the environment emulator receives an action sequence $a _ { 0 } , . . . , a _ { t }$ and return $s _ { t + 1 }$ to simulate the open-loop style.
|
| 254 |
+
|
| 255 |
+
# A.4 MORE TRAINING FOR BENCHMARKS
|
| 256 |
+
|
| 257 |
+
We provide the best evaluation learning curves on both environments during tuning.
|
parse/train/rkgZaT4tDr/rkgZaT4tDr_content_list.json
ADDED
|
@@ -0,0 +1,1397 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "PARAMETERIZED ACTION REINFORCEMENT LEARNING FOR INVERTED INDEX MATCH PLAN GENERATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "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 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Match plan generation in the inverted index at Microsoft Bing is used to be based on hand-crafted rules. We formulate the generation process as a Parameterized Action MDP with sharing parameters and purpose a reinforcement learning algorithm on such formulation. We combine deterministic policy learning on discrete and continuous action spaces and several recent advances in deep reinforcement learning. For exploring in the parameterized action space, the agent outputs softmax values for discrete actions and applies Parameter Space Noise on policy network to unify the exploration direction in both spaces. We apply prioritized recurrent replay on match plan sequences and pad short match plans. We also use invertible value function rescaling and $n$ -step return to stabilize the training. The agent is evaluated on our environment and some benchmarks. It outperforms the well-designed production match plan and beats the baselines on the benchmarks. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
267,
|
| 43 |
+
764,
|
| 44 |
+
434
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
462,
|
| 55 |
+
334,
|
| 56 |
+
478
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Using machine learning to optimize and accelerate software and hardware systems is an emerging field in the past few years (Mirhoseini et al. (2017); Rosset et al. (2018)). The process of decisionmaking in those systems is usually hand-crafted by human engineers, which is less explored to be automatically done by learning algorithms. A promising direction is to formulate such sequential decision-making problems as Reinforcement Learning (RL) problems, such as search plan generation problem in inverted indexes (Rosset et al. (2018)). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
494,
|
| 66 |
+
825,
|
| 67 |
+
577
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "The inverted index is a specialized data structure that is commonly used in search engines, including Microsoft $\\mathrm { B i n g ^ { 1 } }$ . An inverted index provides an inverted mapping from term to documents. Each term has a posting list which contains all the (document, location) pairs that the term appears. By combining the posting lists of the terms in a user query, the initial document candidates are generated (Witten et al. (1999); Zobel & Moffat (2006)). ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
584,
|
| 77 |
+
823,
|
| 78 |
+
654
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "In Bing, documents are scanned with specified match plans, either predefined or generated in realtime. A match plan has a sequence of rewrites (match rules, e.g., it treats the query as a phrase which should appear in the document exactly as it is), where each rewrite can be controlled by several quotas (stopping criteria). There are several types of rewrites, and all these types share the same continuous quotas. A pair of a rewrite type and the quotas forms a single action which determines if a document will be a ranking candidate. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
661,
|
| 88 |
+
823,
|
| 89 |
+
744
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "We formulate the generation problem as a RL problem. The state consists of system runtime signals and semantic embeddings of queries. The action space is called parameterized or discretecontinuous hybrid, where an action has a discrete action and continuous action-parameters. The reward is weighted by result quality and query latency. It is similar to Parameterized Action RL (Masson et al. (2016)) (PARL), while our setting requires all actions to share same parameters. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
752,
|
| 99 |
+
823,
|
| 100 |
+
821
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Previously, the match plans are predefined manually for each query. It hardly utilizes the rich information in the state to dynamically adjust the rewrites and quotas for specific query online. Rosset et al. (2018) tries to automatically generate match plans using tabular Q-learning with discretized state space and predefined action-parameters. They learn the generation policy for a specific query class each time and solve it only in discretized spaces with tabular methods. We extend the generation process to the general case, such that the match plans are fully parameterized and learned from scratch without any predefined knowledge (e.g., limited match rules). ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
828,
|
| 110 |
+
823,
|
| 111 |
+
898
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/7459112fc13a2ca51b6133f349d4373e932db4f4ab389ec3ae4eb649b28ac3c6.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Match plan example: for the query “Reinforcement Learning”, the search engine firstly gets a document posting list for each term from the inverted index, and then scans the document candidates following a serial of rewrites (match rules) according to the match plan. "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
310,
|
| 124 |
+
108,
|
| 125 |
+
687,
|
| 126 |
+
184
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
171,
|
| 135 |
+
263,
|
| 136 |
+
821,
|
| 137 |
+
292
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "In this paper, we purpose a parameterized action RL algorithm that learns to act on parameterized action space environments, such as the match plan generation process. We introduce normalized softmax values of discrete actions to form a categorical distributions to enable gradients backpropagation. We also combine several recent advances in RL to accelerate and stabilize the training. We investigate parameter space noise (Plappert et al. (2017)) on parameters of the policy for unifying directions in exploring the structured action space. We explore recurrent deterministic policies (Heess et al. (2015)) with prioritized replay buffer (Schaul et al. (2015)) on sequence, due to the inherent nature of partial observability and sparse feedback in our setting. We also use $n$ -step return and invertible value function rescaling (Kapturowski et al. (2018)) for further stability. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
173,
|
| 146 |
+
299,
|
| 147 |
+
825,
|
| 148 |
+
425
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "We present an agent to integrate these techniques and evaluate on offline training on a query dataset collected from Bing search. When training on the dataset with uniformly sampling, the agent outperforms the currently deployed production match plan, which is generated based on well-designed hand-crafted rules. We study the performance of training on the dataset or only with several selected complicated queries individually, as well as ablation studies for the various components. We test on a few existing PARL benchmarks, where our agent beats our baseline methods and performs the state-of-the-art results. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
173,
|
| 157 |
+
431,
|
| 158 |
+
825,
|
| 159 |
+
529
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "2 BACKGROUND ",
|
| 166 |
+
"text_level": 1,
|
| 167 |
+
"bbox": [
|
| 168 |
+
176,
|
| 169 |
+
547,
|
| 170 |
+
326,
|
| 171 |
+
565
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "2.1 REINFORCEMENT LEARNING ",
|
| 178 |
+
"text_level": 1,
|
| 179 |
+
"bbox": [
|
| 180 |
+
176,
|
| 181 |
+
579,
|
| 182 |
+
415,
|
| 183 |
+
594
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 1
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "text",
|
| 189 |
+
"text": "We address the problem using reinforcement learning (RL) framework with a parameterized action space. An agent interacts with an environment to maximize the accumulated reward with discount factor $\\gamma \\in \\ [ 0 , 1 )$ . We model the environment with a discrete-time Partially Observable Markov Decision Process (POMDP). A POMDP is given by a tuple $( S , \\mathcal { A } , T , R , \\Omega , \\dot { \\mathcal { O } } )$ , and the underlying Markov Decision Process (MDP) is defined by $( S , { \\mathcal { A } } , T , R )$ , where $s$ is the state space, $\\mathcal { A }$ the parameterized action space, $T$ the transition function $\\mathcal { T } : \\mathcal { S } \\times \\mathcal { S } \\times \\mathcal { A } \\mathbb { R } _ { + }$ , and $R : S \\times \\mathcal { A } \\mathbb { R }$ is the reward function. The set of observations is given by $\\Omega$ and the the observation function mapping underlying states to probability distributions over observations is given by $\\mathcal { O }$ . ",
|
| 190 |
+
"bbox": [
|
| 191 |
+
173,
|
| 192 |
+
604,
|
| 193 |
+
825,
|
| 194 |
+
717
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 1
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "Specifically, the environment in the match plan generation has a parameterized action space. In Masson et al. (2016); Bester et al. (2019), such formulation in fully observable settings is referred as Parameterized Action MDP (PAMDP), where the action space is denoted as ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
174,
|
| 203 |
+
723,
|
| 204 |
+
825,
|
| 205 |
+
765
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 1
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "equation",
|
| 211 |
+
"img_path": "images/76ea0d7a9eb735ac9b64468a264943b9eec3b340c391396f2eb432de507a6511.jpg",
|
| 212 |
+
"text": "$$\n\\mathcal { A } = \\bigcup _ { k \\in \\mathcal { A } _ { d } } \\left\\{ ( k , x _ { k } ) | x _ { k } \\in \\mathcal { X } _ { k } \\right\\} ,\n$$",
|
| 213 |
+
"text_format": "latex",
|
| 214 |
+
"bbox": [
|
| 215 |
+
395,
|
| 216 |
+
768,
|
| 217 |
+
599,
|
| 218 |
+
803
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 1
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "where each discrete action $a \\in \\mathcal { A } _ { d } = [ K ]$ has a corresponding continuous action-parameter space $\\mathcal { X } _ { a }$ . However, our setting requires a slightly different formulation: ",
|
| 225 |
+
"bbox": [
|
| 226 |
+
173,
|
| 227 |
+
804,
|
| 228 |
+
823,
|
| 229 |
+
833
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 1
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "equation",
|
| 235 |
+
"img_path": "images/243001bdfb8447abcdd89869de2d2453c03e6261b0ef47f965d0d6494f259a02.jpg",
|
| 236 |
+
"text": "$$\n\\mathcal { A } = \\{ ( k , x ) | k \\in \\mathcal { A } _ { d } , x \\in \\mathcal { X } \\} = \\mathcal { A } _ { d } \\times \\mathcal { X } ,\n$$",
|
| 237 |
+
"text_format": "latex",
|
| 238 |
+
"bbox": [
|
| 239 |
+
359,
|
| 240 |
+
835,
|
| 241 |
+
635,
|
| 242 |
+
852
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 1
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "where the discrete action space (rewrite) $\\mathbf { \\mathcal { A } } _ { d }$ share the action-parameter space $\\mathcal { X }$ . Such formulation results in a disentangled action space between discrete and continuous actions which a class of parameterized action (P-DQN (Xiong et al. (2018)) and MP-DQN (Bester et al. (2019))) may not be trivially applicable to. Considering the notational simplicity in partially observable environment (POMDP), we do not explicitly denote it when there is no ambiguity in action settings. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
174,
|
| 251 |
+
854,
|
| 252 |
+
825,
|
| 253 |
+
924
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 1
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "2.2 FORMULATION OF MATCH PLAN GENERATION ",
|
| 260 |
+
"text_level": 1,
|
| 261 |
+
"bbox": [
|
| 262 |
+
173,
|
| 263 |
+
103,
|
| 264 |
+
539,
|
| 265 |
+
118
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "In Rosset et al. (2018), the action-parameters are predefined for the match plan generation, where the action space is then a set of discrete rewrites (actions). We fully parameterize a match plan to allow the agent to generate any valid plans. ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
176,
|
| 274 |
+
128,
|
| 275 |
+
823,
|
| 276 |
+
171
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "State. At each time step, the agent receives a state with two parts. First part has selected run-time system signals from the inverted index system. Since the query is uniformly sampled in different episode, we include some statistical features and semantic embeddings of queries to allow the agent to identify different queries and then generate corresponding match plans. Such statistical features are used in the current production system, such as the length of a query. All signals and embeddings are normalized to a reasonable range around $[ - 1 , 1 ]$ based on empirical estimations. ",
|
| 283 |
+
"bbox": [
|
| 284 |
+
173,
|
| 285 |
+
188,
|
| 286 |
+
825,
|
| 287 |
+
271
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "Action. The agent selects a parameterized action $a _ { t }$ including a rewrite id and its allocated quotas at each step. There are 29 types of rewrites in $\\mathbf { \\mathcal { A } } _ { d }$ and also a 5-dimensional quota parameter space $\\mathcal { X }$ for each rewrite in int64 type. However, the range of each quota is empirically set to valid values and then normalized to $[ - 1 , 1 ]$ . All outputted quotas are effective for the current step. ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
174,
|
| 296 |
+
286,
|
| 297 |
+
825,
|
| 298 |
+
343
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "There is also a special action to note: stop (by agent). Normally, the environment will return a terminal signal, but it happens in extreme cases, such as low system resources. To allow a better balance of latency and performance, we allow the agent to choose stop or not as another type of discrete action, which is the same level as other 29 rewrites. ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
174,
|
| 307 |
+
349,
|
| 308 |
+
825,
|
| 309 |
+
405
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "Reward. We use two criterions in the design: latency and performance. For latency consideration, we use a signal Seek Count that is constant for a same query in different runs with same match plan, instead of executed time. We weight the Ranking Scores of top five returned documents as an indicator of performance with weights [0.4, 0.2, 0.2, 0.1, 0.1]. When there are less than five documents returned, the scores of missing documents are treated as a minimum possible ranking score. The final scalar reward is weighted by these two objectives to balance them. We do not use the division in Rosset et al. (2018), since the loss surfaces may become more non-convex for optimizing. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
174,
|
| 318 |
+
420,
|
| 319 |
+
825,
|
| 320 |
+
518
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "We also have punishments (negative rewards) for some special cases. One is to assign a punishment when the agent selects to illegally stop at the first step or some unsupported rewrites (for some special queries). However, unsupported rewrites do not necessarily cause a terminal state, since the production system has same hand-crafted match plans for a class of queries, in which the unsupported rewrites are simply omitted. ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
174,
|
| 329 |
+
525,
|
| 330 |
+
825,
|
| 331 |
+
594
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "3 METHOD ",
|
| 338 |
+
"text_level": 1,
|
| 339 |
+
"bbox": [
|
| 340 |
+
174,
|
| 341 |
+
614,
|
| 342 |
+
282,
|
| 343 |
+
631
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 2
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "For generating match plans, we introduce a method that works on the aforementioned formulation with slightly different parameterized action space than standard PAMDPs in the literature. We start from the intuition with deterministic policy learning (Silver et al. (2014)) and how it relates to parameterized actions. PAMDP often refers to the formulation that each individual discrete action $k \\in \\mathcal { A } _ { d } = [ K ]$ has a corresponding continuous action-parameter space. Thus, there are $K$ continuous action-parameter spaces corresponding to $K$ discrete action (Xiong et al. (2018)). In our shared-parameter PAMDP, the Bellman equation incorporated both discrete action $k$ and continuous action-parameters $x$ is given by: ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
173,
|
| 352 |
+
646,
|
| 353 |
+
825,
|
| 354 |
+
758
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 2
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "equation",
|
| 360 |
+
"img_path": "images/4baf652d557a9988b78e9d6b9f883817be7d2229b913710040c6d0deac8aada0.jpg",
|
| 361 |
+
"text": "$$\n\\begin{array} { r } { Q \\left( s , k , x \\right) = \\underset { r , s ^ { \\prime } } { \\mathbb { E } } \\left[ r + \\gamma \\underset { k ^ { \\prime } } { \\operatorname* { m a x } } \\ \\underset { x ^ { \\prime } \\in \\mathcal { X } } { \\operatorname* { s u p } } Q \\left( s ^ { \\prime } , k ^ { \\prime } , x ^ { \\prime } \\right) \\vert s , k , x \\right] . } \\end{array}\n$$",
|
| 362 |
+
"text_format": "latex",
|
| 363 |
+
"bbox": [
|
| 364 |
+
308,
|
| 365 |
+
775,
|
| 366 |
+
687,
|
| 367 |
+
810
|
| 368 |
+
],
|
| 369 |
+
"page_idx": 2
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"type": "text",
|
| 373 |
+
"text": "P-DQN (Xiong et al. (2018)) tackles PAMDP by incorporating multiple action-parameter policies $x _ { k } ( s ; \\theta _ { x } ) : { \\cal { S } } { \\mathcal { X } } _ { k }$ for each action $k$ and update them with $\\begin{array} { r } { \\operatorname* { m a x } _ { k ^ { \\prime } } \\operatorname* { s u p } _ { x _ { k ^ { \\prime } } \\in \\mathcal { X } _ { k ^ { \\prime } } } Q \\left( s ^ { \\prime } , k ^ { \\prime } , x _ { k ^ { \\prime } } \\right) } \\end{array}$ simultaneously. However, since all parameters $x$ are shared for actions $k$ in our case, we do not require multiple policies. The policy loss in P-DQN (Xiong et al. (2018)) given by ",
|
| 374 |
+
"bbox": [
|
| 375 |
+
173,
|
| 376 |
+
819,
|
| 377 |
+
825,
|
| 378 |
+
878
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 2
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "equation",
|
| 384 |
+
"img_path": "images/38a0ce4a63eabe51e761e09dd8728767079ede8cf87f9111a5e7ab29f0c3a281.jpg",
|
| 385 |
+
"text": "$$\nL _ { x } \\left( \\theta _ { x } \\right) = \\underset { s \\sim D } { \\mathbb { E } } \\left[ - \\sum _ { k = 1 } ^ { K } Q \\left( s , k , x _ { k } \\left( s ; \\theta _ { x } \\right) ; \\theta _ { Q } \\right) \\right]\n$$",
|
| 386 |
+
"text_format": "latex",
|
| 387 |
+
"bbox": [
|
| 388 |
+
339,
|
| 389 |
+
885,
|
| 390 |
+
656,
|
| 391 |
+
928
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 2
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "image",
|
| 397 |
+
"img_path": "images/908f0f5be906ce40a46112737a183c610852cc851433f4f94d61674bb007f08e.jpg",
|
| 398 |
+
"image_caption": [
|
| 399 |
+
"Figure 2: The diagram of the process. "
|
| 400 |
+
],
|
| 401 |
+
"image_footnote": [],
|
| 402 |
+
"bbox": [
|
| 403 |
+
284,
|
| 404 |
+
98,
|
| 405 |
+
704,
|
| 406 |
+
164
|
| 407 |
+
],
|
| 408 |
+
"page_idx": 3
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"type": "text",
|
| 412 |
+
"text": "naturally degenerates to a single policy in next case, where the gradient $\\nabla L _ { x } \\left( \\theta _ { x } \\right)$ exactly is the deterministic policy gradient (DPG, Silver et al. (2014)). MP-DQN (Bester et al. (2019)) states a problem regarding to the erroneous gradients of Q-network $\\nabla L _ { Q }$ in P-DQN caused by multiple action-parameter policies backpropagating gradients at the same time. However, it does not exist in such single network situation. This is a desired architecture since separating multiple actionparameter policies loses the knowledge that they share same potential meanings. ",
|
| 413 |
+
"bbox": [
|
| 414 |
+
174,
|
| 415 |
+
228,
|
| 416 |
+
825,
|
| 417 |
+
313
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "Following this intuition, we directly parameterize the policy with two heads $\\mu : \\mathcal { S } \\to \\mathbb { R } ^ { K } \\times \\mathcal { X }$ with $\\theta _ { \\mu }$ $\\mathrm { ~ ` ~ } _ { \\mu } \\mathrm { ~ a s : ~ } k _ { t } ^ { s o f t } , x _ { t } = a _ { t } ^ { s o f t } = \\mu ( s _ { t } ; \\theta _ { \\mu } )$ , where $k _ { t } ^ { s o f t }$ and $a _ { t } ^ { s o f t }$ refers to action-parameters or actions with softmax values. One head outputs the sof tmax values for all discrete actions. For another head, it outputs normalized action-parameter values with hyperbolic tangent $( t a n h )$ activation after the continuous head. The environment will denormalize it to a valid range. This corresponds to the Squashing Gradients method for bounded-continuous action spaces in Hausknecht & Stone (2015). ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
173,
|
| 426 |
+
319,
|
| 427 |
+
825,
|
| 428 |
+
405
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "text",
|
| 434 |
+
"text": "Exploration with Parameter Space Noise and action sampling. In DQN (Mnih et al. (2015)), the behavioral policy is given by $\\epsilon$ -greedy strategy for exploration purpose, where an agent randomly selects a discrete action with probability $\\epsilon < 1$ . In DDPG (Lillicrap et al. (2015)), although the policy learned is deterministic, to explore the action space, the behavioral policy needs to be different because of the off-policy nature. It uses action space noise such as uncorrelated Gaussian noise or correlated Ornstein-Uhlenbeck process (Lillicrap et al. (2015)). ",
|
| 435 |
+
"bbox": [
|
| 436 |
+
173,
|
| 437 |
+
430,
|
| 438 |
+
825,
|
| 439 |
+
515
|
| 440 |
+
],
|
| 441 |
+
"page_idx": 3
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"type": "text",
|
| 445 |
+
"text": "Directly combining such two exploration strategies is straightforward. However, it may induce a problem that the exploration in two action spaces $\\mathcal { A } = \\mathcal { A } _ { d } \\times \\mathcal { X }$ in different paces. For example, the match plan may need another rewrite with larger quotas in a step. However, if the exploration strategy is to use $\\epsilon$ -greedy for a rewrite $k$ and Gaussian noise for its quotas $x$ , the agent may require more samples to discover the potential rewards (positive documents). We instead use parameter space noise (Plappert et al. (2017)) on parameterized action space to tackle such issue. ",
|
| 446 |
+
"bbox": [
|
| 447 |
+
173,
|
| 448 |
+
521,
|
| 449 |
+
825,
|
| 450 |
+
604
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 3
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "We denote the discrete and continuous action heads as $( \\pi _ { k } ^ { s o f t } ( s ) , \\pi _ { x } ( s ) ) = \\mu ( s ; \\theta _ { \\mu } ) .$ . To compute the distance $d ( \\pi , \\widetilde { \\pi } ) = D _ { \\mathrm { K L } } ( \\pi \\| \\widetilde { \\pi } )$ of non-perturbed and perturbed policies $\\mu ( s ; \\theta _ { \\mu } ) , \\widetilde { \\mu } ( s ; \\theta _ { \\mu } )$ , we e e euse weighted sum of the distance of discrete and continuous actions. For the continuous actions $\\widetilde { \\pi } _ { x } ( s )$ , the distance is given by $\\mathbb { E } _ { s } \\left[ \\left( \\pi _ { x } ( s ) _ { i } - \\widetilde { \\pi } _ { x } ( s ) _ { i } \\right) ^ { 2 } \\right]$ to estimate KL-divergence empirically. For e ethe discrete actions, we use outputted softmax probabilities to compute The state and action pairs are sampled from a replay memory. The varianc $D _ { \\mathrm { K L } } ( \\pi _ { k } ^ { s o f t } ( s ) \\Vert \\widetilde { \\pi } _ { k } ^ { s o f t } ( s ) )$ $\\sigma$ after a policy update based on the distance and threhold $\\delta$ (Plappert et al. (2017)). The policy and target networks with layer normalization (Ba et al. (2016)) are perturbed per episode. ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
173,
|
| 459 |
+
612,
|
| 460 |
+
825,
|
| 461 |
+
738
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 3
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "Prioritized replay and recurrent policies. We use recurrent architecture to obtain the underlying system state of the POMDP for both value and policy networks (Heess et al. (2015)). To avoid recurrent state staleness (Kapturowski et al. (2018)), we store and replay a sequence of $( s , k ^ { s o f t } , x , r )$ with softmax values into a replay memory. Since a match plan is usually short, we set a maximum length and pad shorter episodes with zero or randomly sampled states and actions. ",
|
| 468 |
+
"bbox": [
|
| 469 |
+
174,
|
| 470 |
+
762,
|
| 471 |
+
825,
|
| 472 |
+
833
|
| 473 |
+
],
|
| 474 |
+
"page_idx": 3
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"type": "text",
|
| 478 |
+
"text": "The sampling from a replay memory can be prioritized with a probability $p _ { i }$ proportional to TDerrors (Schaul et al. (2015)) to increase the sample efficiency in such structured action space. To prioritize the transitions with well-matched documents, we slightly modify the sampling strategy. With a half probability, the agent uses regular prioritization, otherwise partitions the memory to multiple bins and retrieve a transition (sequence) with max reward from each bin. Our strategy provides a more efficient and balanced exploration strategy of the evaluation. ",
|
| 479 |
+
"bbox": [
|
| 480 |
+
173,
|
| 481 |
+
840,
|
| 482 |
+
825,
|
| 483 |
+
924
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 3
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "Policy update. In the update, we use clipped double $Q$ -learning and delayed policy update (Fujimoto et al. (2018)) to stabilizing the training. After the agent samples a batch of (sequences), it perturbs the target policy network and computes the perturbed actions for target policy smoothing. The parameter space noise variance $\\sigma$ is then updated with the sampled states and actions. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
103,
|
| 493 |
+
823,
|
| 494 |
+
160
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "The policy is still deterministic since it is learned in off-policy and only the exploration involves stochasticity. The update is given by deterministic policy gradients theorem (Silver et al. (2014)): ",
|
| 501 |
+
"bbox": [
|
| 502 |
+
171,
|
| 503 |
+
166,
|
| 504 |
+
823,
|
| 505 |
+
195
|
| 506 |
+
],
|
| 507 |
+
"page_idx": 4
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"type": "equation",
|
| 511 |
+
"img_path": "images/3562b5ab1968d6fce4dd58258e2c12c671f3fadb5d89d26146c9a6856a9e24a7.jpg",
|
| 512 |
+
"text": "$$\n\\nabla L _ { \\mu } \\left( \\theta _ { \\mu } \\right) = \\nabla _ { s \\sim D } \\left[ Q \\left( s , \\mu ( s ; \\theta _ { \\mu } ) ; \\theta _ { Q } \\right) \\right] = \\nabla \\frac { 1 } { \\left| D \\right| } \\sum _ { s \\in D } Q \\left( s , k ^ { s o f t } , x ; \\theta _ { Q } \\right) ,\n$$",
|
| 513 |
+
"text_format": "latex",
|
| 514 |
+
"bbox": [
|
| 515 |
+
253,
|
| 516 |
+
200,
|
| 517 |
+
743,
|
| 518 |
+
238
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "where $D$ is a replay memory. We found this policy architecture is similar to PA-DDPG (Hausknecht $\\&$ Stone (2015)), while it does not including sof tmax activation for discrete actions and other advanced techniques. We also build upon other useful techniques such as invertible value function rescaling $h ( x ) = \\mathrm { { s i g n } } ( x ) ( \\sqrt { | x | } + 1 - 1 ) + \\epsilon x$ (Kapturowski et al. (2018)): ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
174,
|
| 527 |
+
243,
|
| 528 |
+
825,
|
| 529 |
+
303
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "equation",
|
| 535 |
+
"img_path": "images/fce58c5a07a0c3febf35ee414e9539f1e4ea20fd2393bb65923f45a0fdcb7751.jpg",
|
| 536 |
+
"text": "$$\ny = h \\left( \\sum _ { k = 0 } ^ { n - 1 } r _ { t + k } \\gamma ^ { k } + \\gamma ^ { n } h ^ { - 1 } \\left( Q \\left( s _ { t + n } , a ^ { \\ast } ; \\theta _ { Q } ^ { - } \\right) \\right) \\right) ,\n$$",
|
| 537 |
+
"text_format": "latex",
|
| 538 |
+
"bbox": [
|
| 539 |
+
318,
|
| 540 |
+
308,
|
| 541 |
+
678,
|
| 542 |
+
352
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "where $a ^ { * } = ( \\operatorname* { m a x } k _ { t } ^ { s o f t } , x _ { t } ) = ( k _ { t } , x _ { t } )$ is the greedy action, $y$ the target for updating Q-network, and $\\theta _ { Q } ^ { - }$ denotes the target Q-network. The policy network outputs differentiable softmax values and is updated by the gradients backpropagated from the Q-network: ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
174,
|
| 551 |
+
358,
|
| 552 |
+
825,
|
| 553 |
+
405
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "equation",
|
| 559 |
+
"img_path": "images/d951c0efa2af92e644a3128d1ed4e8b66e025fb64e2e4c6797ccd5e0e6c726fd.jpg",
|
| 560 |
+
"text": "$$\n\\nabla L _ { Q } \\left( \\theta _ { Q } \\right) = \\nabla \\mathbb { E } \\left[ \\frac { 1 } { 2 } \\left( y - Q \\left( s , k ^ { s o f t } , x ; \\theta _ { Q } \\right) \\right) ^ { 2 } \\right] ,\n$$",
|
| 561 |
+
"text_format": "latex",
|
| 562 |
+
"bbox": [
|
| 563 |
+
331,
|
| 564 |
+
411,
|
| 565 |
+
666,
|
| 566 |
+
445
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "where the expectation is took over samples from a memory. ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
176,
|
| 575 |
+
450,
|
| 576 |
+
565,
|
| 577 |
+
465
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 4
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "The pseudocode for the algorithm with more details can be found in the Appendix. ",
|
| 584 |
+
"bbox": [
|
| 585 |
+
174,
|
| 586 |
+
472,
|
| 587 |
+
715,
|
| 588 |
+
487
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 4
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "4 EXPERIMENTS ",
|
| 595 |
+
"text_level": 1,
|
| 596 |
+
"bbox": [
|
| 597 |
+
176,
|
| 598 |
+
506,
|
| 599 |
+
326,
|
| 600 |
+
522
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 4
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "In this section, we apply the purposed agent on the inverted index match plan generation problem. We create a dataset which contains a set of queries and corresponding query embeddings. We perform various ablation study on how each component interacts and the benefits of them. We also test on other Paramterized Action RL benchmarking baselines. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
537,
|
| 610 |
+
825,
|
| 611 |
+
594
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 4
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "4.1 EXPERIMENT SETTINGS ",
|
| 618 |
+
"text_level": 1,
|
| 619 |
+
"bbox": [
|
| 620 |
+
174,
|
| 621 |
+
611,
|
| 622 |
+
382,
|
| 623 |
+
625
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 4
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "For match plan generation, we experiment on a dataset that has about 100,000 queries sampled from Bing search log. In the current production system, each query is classified to a predefined query classes online based on a set of rules which are related to statistical features of the query. Each query class has some hand-crafted rules which outputs a match plan for the classified query. We use each query’s production match plan as baseline. The match plan for each query is generated by the hand-crafted rules and does not change over each running. We only skip a few special queries that do not have embeddings or need additional operations beyond match plans. ",
|
| 630 |
+
"bbox": [
|
| 631 |
+
174,
|
| 632 |
+
637,
|
| 633 |
+
825,
|
| 634 |
+
734
|
| 635 |
+
],
|
| 636 |
+
"page_idx": 4
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"type": "text",
|
| 640 |
+
"text": "The generated match plan is evaluated by the delta values of both Ranking Score and Seek Count and overall reward. We provide learning curves of delta values of evaluation rewards. Note that the reward are not symmetrical around 0, since the ranking scores has a minimum value and is sparse since a few queries are hard to find good documents and will be assigned a very low score. It may significantly pull down the average rewards shown in the curves, thus we present histograms for fair comparison. For the benchmarks, we report the results on evaluation reward curves during tuning. ",
|
| 641 |
+
"bbox": [
|
| 642 |
+
174,
|
| 643 |
+
741,
|
| 644 |
+
825,
|
| 645 |
+
824
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 4
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "text",
|
| 651 |
+
"text": ".2 MATCH PLAN GENERATION PERFORMANCE EVALUATION ",
|
| 652 |
+
"text_level": 1,
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
840,
|
| 656 |
+
614,
|
| 657 |
+
856
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 4
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "We first visualize the query embeddings in Figure 3 using UMAP (McInnes et al. (2018)) to demonstrate our learned models. We evaluate 6,000 queries and draw the colormap based on the difference between evaluation reward and production baseline reward. Although most queries perform similar to the well-designed production rules, there are some clusters of queries and some patterns exist. We notice that there is a main cluster at the center (about $( - 7 , - 1 ) )$ ) that gathers most queries on which our agent does not perform well. That cluster contains some random inputs from the users, which may have some typos. For the queries that the agent outperforms the baseline, we find they are quite scattered. We guess the reason is that the baseline with hand-crafted rules do not consider the embeddings, thus it is less affected by embeddings. This may suggest us to look for more informative embeddings of queries to better distinguish some clustered queries. ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
176,
|
| 666 |
+
867,
|
| 667 |
+
823,
|
| 668 |
+
924
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 4
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "image",
|
| 674 |
+
"img_path": "images/1b912e4438fe0c4576fc52e07dd81917a7cf3148fcc9fac32a9a96a543cd4db8.jpg",
|
| 675 |
+
"image_caption": [
|
| 676 |
+
"Figure 3: Visualization of query embeddings. "
|
| 677 |
+
],
|
| 678 |
+
"image_footnote": [],
|
| 679 |
+
"bbox": [
|
| 680 |
+
179,
|
| 681 |
+
103,
|
| 682 |
+
547,
|
| 683 |
+
316
|
| 684 |
+
],
|
| 685 |
+
"page_idx": 5
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"type": "image",
|
| 689 |
+
"img_path": "images/5ea9b9c596510988cdcbdc7742ad1ba606263fb7aae0db82cd463ab8f11bfb27.jpg",
|
| 690 |
+
"image_caption": [
|
| 691 |
+
"Figure 4: Different techniques. "
|
| 692 |
+
],
|
| 693 |
+
"image_footnote": [],
|
| 694 |
+
"bbox": [
|
| 695 |
+
602,
|
| 696 |
+
109,
|
| 697 |
+
774,
|
| 698 |
+
327
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 5
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "image",
|
| 704 |
+
"img_path": "images/6f60df92f6ce68b3bc8a05d04a9fa957d6cb5bab0fe7d16ef5692b5aaa72f95a.jpg",
|
| 705 |
+
"image_caption": [
|
| 706 |
+
"Figure 5: Delta Reward Distribution in Evaluation Phrase. "
|
| 707 |
+
],
|
| 708 |
+
"image_footnote": [],
|
| 709 |
+
"bbox": [
|
| 710 |
+
183,
|
| 711 |
+
382,
|
| 712 |
+
808,
|
| 713 |
+
507
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 5
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "",
|
| 720 |
+
"bbox": [
|
| 721 |
+
174,
|
| 722 |
+
570,
|
| 723 |
+
825,
|
| 724 |
+
654
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 5
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "In the plots shown in Figure 6, we visualize the distribution of delta rewards, ranking scores and seek count values comparing to the well-designed production rules. For most of the queries the agent learns promising match plan without any prior knowledge just based on the reward signals. There are also some hard queries to find a pattern that have poor reward (about $- 1 0 0 )$ and usually lies in the main cluster and around a few more small clusters. Other than some meaningless queries around the center, they also include some non-English queries, such as French and Chinese, which are possibly clustered around their centroid and are challenging to learn the policy for all of them. ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
174,
|
| 733 |
+
661,
|
| 734 |
+
825,
|
| 735 |
+
758
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 5
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "Reward design. We consider different weights to trade-off between the query latency from the input and the quality of the returned documents. The quality is evaluated by Ranking Scores of top five documents. We found that it is sparse since the good documents are hard to match. When we weight more on ranking score, the agent tends to stop the search early. ",
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
777,
|
| 745 |
+
823,
|
| 746 |
+
833
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 5
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "We also investigate a few punishments and try to use less of them to avoid manual design. We found the agent learns some common patterns guided by the reward and punishments. It tries to avoid ”stop” at the first step because we set a huge punishment on such invalid stop. This punishment is necessary since it prevents the agent stops at first step for better value than trying more steps but get no documents matched. In other words, the agent is encouraged to explore different rewrites instead of using empty match plans. Without such punishment, the performance significantly drops since it is hard to explore good documents at first. We also punish the agent to avoid unsupported rewrites, since the production system uses designed rules for each class of the queries and simply omits a rewrite without any useful feedback. We test punishing repeated rewrites, however, it helps seek count (more efficient) but may harm ranking scores. ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
174,
|
| 755 |
+
840,
|
| 756 |
+
825,
|
| 757 |
+
924
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 5
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "table",
|
| 763 |
+
"img_path": "images/e3a1464f0b6cd2d71b46e2251154e906a70ddf2e498fb4263bde557589df6bb7.jpg",
|
| 764 |
+
"table_caption": [
|
| 765 |
+
"Table 1: Improved Scores of Different Noise Compared to RNN Gaussian Noise. Ranking Score and Seek Count are scaled to match Overall $=$ RankingScore−SeekCount for easy comparison. "
|
| 766 |
+
],
|
| 767 |
+
"table_footnote": [],
|
| 768 |
+
"table_body": "<table><tr><td></td><td>Overall</td><td>Ranking Score (Quality)</td><td>Seek Count (Efficiency)</td></tr><tr><td>OU Noise</td><td>+1.00</td><td>+1.20</td><td>-0.20</td></tr><tr><td>Param Noise</td><td>+1.69</td><td>+0.82</td><td>-0.87</td></tr></table>",
|
| 769 |
+
"bbox": [
|
| 770 |
+
232,
|
| 771 |
+
101,
|
| 772 |
+
763,
|
| 773 |
+
160
|
| 774 |
+
],
|
| 775 |
+
"page_idx": 6
|
| 776 |
+
},
|
| 777 |
+
{
|
| 778 |
+
"type": "table",
|
| 779 |
+
"img_path": "images/7320f38c5eca22be88d47fec5b5f6b8be13097a72a46698ca9f2671a3e8e7c6c.jpg",
|
| 780 |
+
"table_caption": [
|
| 781 |
+
"Table 2: Improved Scores of Different Model Compared to MLP "
|
| 782 |
+
],
|
| 783 |
+
"table_footnote": [],
|
| 784 |
+
"table_body": "<table><tr><td></td><td>Overall</td><td>Ranking Score (Quality)</td><td>Seek Count (Efficiency)</td></tr><tr><td>MLP+Prioritized</td><td>+14.54</td><td>+8.56</td><td>-5.98</td></tr><tr><td>RNN+Prioritized</td><td>+32.63</td><td>+14.44</td><td>-18.19</td></tr><tr><td>RNN + Prioritized Sample</td><td>+32.67</td><td>+15.29</td><td>-17.38</td></tr></table>",
|
| 785 |
+
"bbox": [
|
| 786 |
+
187,
|
| 787 |
+
222,
|
| 788 |
+
810,
|
| 789 |
+
295
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 6
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "",
|
| 796 |
+
"bbox": [
|
| 797 |
+
174,
|
| 798 |
+
358,
|
| 799 |
+
825,
|
| 800 |
+
414
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 6
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "4.3 ABLATION STUDY ",
|
| 807 |
+
"text_level": 1,
|
| 808 |
+
"bbox": [
|
| 809 |
+
176,
|
| 810 |
+
438,
|
| 811 |
+
339,
|
| 812 |
+
452
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 6
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "We compare different exploration noise, including action space noise and parameter space noise. For the action space noise, the noise on discrete and continuous actions are applied separately. We test Gaussian and OrnsteinUhlenbeck noise on continuous actions, while the discrete actions only use $\\epsilon$ -greedy. To keep the comparison fair, we also test $\\epsilon$ -greedy strategy on continuous actions by uniformly sampling a point with probability $\\epsilon$ . The parameter noise is directly applied on policy network $\\widetilde \\mu ( s ; \\theta _ { \\mu } )$ . We found the parameter space noise performs more stable than all types of action espace noise. The uniform sampling on both discrete and continous action with $\\epsilon$ -greedy failed for sometimes, thus we did not include it in comparison. We give the relative improvement in Table 1 compared to RNN with Gaussian Noise. The results show that parameter space noise has best performance overall. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
174,
|
| 821 |
+
467,
|
| 822 |
+
825,
|
| 823 |
+
606
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 6
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "The results in Figure 6(a) and Table 2 show that RNN got significantly better performance than MLP with or without parameterization on our environment. It indicates that the environment is highly non-Markov. We guess one obvious possibility is that the system signals of the state space cannot include all the information, while recurrent networks try to extract latent state from the history. Note that each episode will sample one query, thus the query embedding is constant for all steps in one episode. Another possible reason is that some rewrites may not be supported by special queries or have too small change for the state signals. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
174,
|
| 832 |
+
613,
|
| 833 |
+
825,
|
| 834 |
+
710
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 6
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "We compare different parameterization methods on recurrent networks. The results are shown in Figure 4(b) and Table 2. We empirically found that our modified strategy using reward bin is more stable from the beginning. It is possible that the agent repeatedly replays not only good experience on matching documents, but also learns to avoid punishment we set, as we expect. In general prioritized replay, the sampling probability is just based on TD-error and may be biased to worse samples since value function may not update towards possible results. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
717,
|
| 844 |
+
825,
|
| 845 |
+
801
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 6
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "4.4 BENCHMARKING GAMES ",
|
| 852 |
+
"text_level": 1,
|
| 853 |
+
"bbox": [
|
| 854 |
+
176,
|
| 855 |
+
824,
|
| 856 |
+
388,
|
| 857 |
+
839
|
| 858 |
+
],
|
| 859 |
+
"page_idx": 6
|
| 860 |
+
},
|
| 861 |
+
{
|
| 862 |
+
"type": "text",
|
| 863 |
+
"text": "We experiment on Platform-v0 and Goal-v0 from Bester et al. (2019). Note that, in all these games, each discrete action has a separate continuous action-parameter space. Our algorithm is designed for shared action-parameters and does not utilize such prior, thus we do not compare with P-DQN-style algorithms. We apply n-step return since the episode in these games is much longer. We assume the environment is fully observable and do not use recurrent networks in comparison. ",
|
| 864 |
+
"bbox": [
|
| 865 |
+
174,
|
| 866 |
+
853,
|
| 867 |
+
823,
|
| 868 |
+
922
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 6
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "Hyperparameters. We examine the games with different combinations of hyperparameters, since they are easy to parallize on each training nodes without the need to connect to an production environment emulator. With NNI, the learning rates for value and policy network are set to log-uniform in $[ 3 \\times 1 0 ^ { - 4 } , 3 \\times 1 0 ^ { - 3 } ]$ and $[ 1 \\times 1 0 ^ { - 4 } , 1 \\times \\mathsf { \\bar { 1 } 0 ^ { - 3 } } ]$ . The $\\alpha$ in parameterized replay is set to log-uniform in [0.2, 1.0]. The action noise threshold $\\delta$ in parameter space noise is set to log-uniform between [0.05, 0.8]. Tn soft parameter update, the $\\tau$ is set to log-uniform in $[ 1 \\times 1 0 ^ { - 3 } , 1 \\times 1 0 ^ { - 2 } ]$ . ",
|
| 875 |
+
"bbox": [
|
| 876 |
+
174,
|
| 877 |
+
103,
|
| 878 |
+
825,
|
| 879 |
+
188
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 7
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "In Platform-v0 and Goal-v0, we found the agent is not very sensitive to the range we set, such as $\\alpha , \\delta$ and $\\tau$ . The $\\delta$ values of top $20 \\%$ trials vary between [0.05, 0.3], while $\\alpha$ and $\\tau$ values are evenly scattered in the defined range. In these settings, usually the agent prefers slightly larger value learning rate than policy learning rate. ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
194,
|
| 889 |
+
825,
|
| 890 |
+
251
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 7
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "table",
|
| 896 |
+
"img_path": "images/43fb6a7fec969297f5ab873d3137dea0d0470694b6859f537189d55399ea27e8.jpg",
|
| 897 |
+
"table_caption": [],
|
| 898 |
+
"table_footnote": [],
|
| 899 |
+
"table_body": "<table><tr><td>Average Eval Return</td><td>Our</td><td>PA-DDPG</td></tr><tr><td>Platform-v0</td><td>0.9573</td><td>0.3113</td></tr><tr><td>Goal-v0</td><td>34.20</td><td>-6.208</td></tr></table>",
|
| 900 |
+
"bbox": [
|
| 901 |
+
346,
|
| 902 |
+
266,
|
| 903 |
+
648,
|
| 904 |
+
324
|
| 905 |
+
],
|
| 906 |
+
"page_idx": 7
|
| 907 |
+
},
|
| 908 |
+
{
|
| 909 |
+
"type": "text",
|
| 910 |
+
"text": "Table 3: Average evaluation results (the average of all training rewards and final evaluation reward) on benchmarks Platform-v0 and Goal-v0 with PA-DDPG (Hausknecht & Stone (2015)), MP-DQN (Bester et al. (2019)) and P-DQN (Xiong et al. (2018)). We use reported number from the papers, while last two methods report another metric on Goal-v0. ",
|
| 911 |
+
"bbox": [
|
| 912 |
+
173,
|
| 913 |
+
340,
|
| 914 |
+
825,
|
| 915 |
+
396
|
| 916 |
+
],
|
| 917 |
+
"page_idx": 7
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"type": "text",
|
| 921 |
+
"text": "5 RELATED WORK ",
|
| 922 |
+
"text_level": 1,
|
| 923 |
+
"bbox": [
|
| 924 |
+
176,
|
| 925 |
+
430,
|
| 926 |
+
344,
|
| 927 |
+
446
|
| 928 |
+
],
|
| 929 |
+
"page_idx": 7
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"type": "text",
|
| 933 |
+
"text": "While the aforementioned algorithms and techniques work on discrete or continuous action spaces, it is not trivial to apply them on parameterized action space, since such discrete-continuous hybrid action space is hard to parameterized by a single distribution. A related series of work is to combine DDPG and DQN to optimize Q-value function on parameter actions. There are two classes of methods that belong to them: PA-DDPG (Hausknecht & Stone (2015)) based on DDPG and PDQN (Xiong et al. (2018)) based on DQN. They are Q-Learning-based methods which select the best action by maximizing the Q-value function on discrete action space or learning a deterministic policy outputting best continuous action. However, they use different strategies to combine discrete and continuous actions. Bester et al. (2019) (MP-DQN) extends P-DQN to tackle the problem that Q-value is a function of the joint action-parameter vector $Q ( s ^ { \\prime } , k ^ { \\prime } , { \\bf x } ^ { \\tilde { Q } } ( s ^ { \\prime } ) )$ in normal PAMDP, which may results in fault gradients. However, such problem does not exist in our slightly modified setting, since the action-parameter space $\\mathcal { X }$ in the match plan generation is inherently defined to be shared for each $k \\in \\mathcal { A } _ { d }$ . Masson et al. (2016) purposes a method to iteratively optimizing discrete and continuous actions by alternating between them. Another perspective (Klimek et al. (2017); Wei et al. (2018); Fu et al. (2019)) for a parameterized action space is to regard it as a twohierarchy action space, where an agent selects discrete action first and continuous parameter later. However, we do not consider this direction in current scheme because we share the same parameters for all discrete action in not very large scale. Therefore, the hierarchical methods may not bring a significant performance gain. ",
|
| 934 |
+
"bbox": [
|
| 935 |
+
174,
|
| 936 |
+
463,
|
| 937 |
+
825,
|
| 938 |
+
728
|
| 939 |
+
],
|
| 940 |
+
"page_idx": 7
|
| 941 |
+
},
|
| 942 |
+
{
|
| 943 |
+
"type": "text",
|
| 944 |
+
"text": "6 DISCUSSIONS ",
|
| 945 |
+
"text_level": 1,
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
751,
|
| 949 |
+
320,
|
| 950 |
+
767
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 7
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "In this paper, we present a parameterized action RL match plan generation method which extends the plan generation to the general case without any predefined knowledge. Key to address the problem are normalized softmax values of discrete actions to enable gradients backpropagation, parameter space noise on parameters of the policy for unifying the exploration direction in both discrete and continuous spaces, and recurrent deterministic policies with prioritized replay buffer to accelerate and stabilize the training. Our algorithm can be applied to not only the match plan generation environment, but also other similar parameteried action environments. The experiment results demonstrate our method outperforms the well-designed hand-crafted rules in Bing and serveral baseline results in some existing PARL benchmarks. In this paper, we mainly discuss about offline training procedure. In the future, we plan to apply learned policy to the production environment. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
174,
|
| 959 |
+
784,
|
| 960 |
+
825,
|
| 961 |
+
924
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 7
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "REFERENCES ",
|
| 968 |
+
"text_level": 1,
|
| 969 |
+
"bbox": [
|
| 970 |
+
174,
|
| 971 |
+
102,
|
| 972 |
+
287,
|
| 973 |
+
118
|
| 974 |
+
],
|
| 975 |
+
"page_idx": 8
|
| 976 |
+
},
|
| 977 |
+
{
|
| 978 |
+
"type": "text",
|
| 979 |
+
"text": "Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. ",
|
| 980 |
+
"bbox": [
|
| 981 |
+
173,
|
| 982 |
+
126,
|
| 983 |
+
821,
|
| 984 |
+
155
|
| 985 |
+
],
|
| 986 |
+
"page_idx": 8
|
| 987 |
+
},
|
| 988 |
+
{
|
| 989 |
+
"type": "text",
|
| 990 |
+
"text": "Craig J Bester, Steven D James, and George D Konidaris. Multi-pass q-networks for deep reinforcement learning with parameterised action spaces. arXiv preprint arXiv:1905.04388, 2019. ",
|
| 991 |
+
"bbox": [
|
| 992 |
+
173,
|
| 993 |
+
162,
|
| 994 |
+
821,
|
| 995 |
+
193
|
| 996 |
+
],
|
| 997 |
+
"page_idx": 8
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"type": "text",
|
| 1001 |
+
"text": "Haotian Fu, Hongyao Tang, Jianye Hao, Zihan Lei, Yingfeng Chen, and Changjie Fan. Deep multi-agent reinforcement learning with discrete-continuous hybrid action spaces. arXiv preprint arXiv:1903.04959, 2019. ",
|
| 1002 |
+
"bbox": [
|
| 1003 |
+
173,
|
| 1004 |
+
199,
|
| 1005 |
+
823,
|
| 1006 |
+
242
|
| 1007 |
+
],
|
| 1008 |
+
"page_idx": 8
|
| 1009 |
+
},
|
| 1010 |
+
{
|
| 1011 |
+
"type": "text",
|
| 1012 |
+
"text": "Scott Fujimoto, Herke van Hoof, and David Meger. Addressing function approximation error in actor-critic methods. arXiv preprint arXiv:1802.09477, 2018. ",
|
| 1013 |
+
"bbox": [
|
| 1014 |
+
171,
|
| 1015 |
+
251,
|
| 1016 |
+
823,
|
| 1017 |
+
280
|
| 1018 |
+
],
|
| 1019 |
+
"page_idx": 8
|
| 1020 |
+
},
|
| 1021 |
+
{
|
| 1022 |
+
"type": "text",
|
| 1023 |
+
"text": "Matthew Hausknecht and Peter Stone. Deep reinforcement learning in parameterized action space. arXiv preprint arXiv:1511.04143, 2015. ",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
174,
|
| 1026 |
+
289,
|
| 1027 |
+
823,
|
| 1028 |
+
318
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 8
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "Nicolas Heess, Jonathan J Hunt, Timothy P Lillicrap, and David Silver. Memory-based control with recurrent neural networks. arXiv preprint arXiv:1512.04455, 2015. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
173,
|
| 1037 |
+
325,
|
| 1038 |
+
823,
|
| 1039 |
+
356
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 8
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
174,
|
| 1048 |
+
363,
|
| 1049 |
+
823,
|
| 1050 |
+
392
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 8
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "Steven Kapturowski, Georg Ostrovski, John Quan, Remi Munos, and Will Dabney. Recurrent experience replay in distributed reinforcement learning. 2018. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
173,
|
| 1059 |
+
400,
|
| 1060 |
+
823,
|
| 1061 |
+
430
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 8
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "Maciej Klimek, Henryk Michalewski, Piotr Mi, et al. Hierarchical reinforcement learning with parameters. In Conference on Robot Learning, pp. 301–313, 2017. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
173,
|
| 1070 |
+
438,
|
| 1071 |
+
823,
|
| 1072 |
+
468
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 8
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "text",
|
| 1078 |
+
"text": "Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. ",
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
176,
|
| 1081 |
+
474,
|
| 1082 |
+
821,
|
| 1083 |
+
518
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 8
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Warwick Masson, Pravesh Ranchod, and George Konidaris. Reinforcement learning with parameterized actions. In Thirtieth AAAI Conference on Artificial Intelligence, 2016. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
169,
|
| 1092 |
+
526,
|
| 1093 |
+
821,
|
| 1094 |
+
556
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 8
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "text",
|
| 1100 |
+
"text": "Leland McInnes, John Healy, and James Melville. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv preprint arXiv:1802.03426, 2018. ",
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
169,
|
| 1103 |
+
564,
|
| 1104 |
+
823,
|
| 1105 |
+
594
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 8
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "Azalia Mirhoseini, Hieu Pham, Quoc V Le, Benoit Steiner, Rasmus Larsen, Yuefeng Zhou, Naveen Kumar, Mohammad Norouzi, Samy Bengio, and Jeff Dean. Device placement optimization with reinforcement learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 2430–2439. JMLR. org, 2017. ",
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
173,
|
| 1114 |
+
601,
|
| 1115 |
+
823,
|
| 1116 |
+
659
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 8
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"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. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
173,
|
| 1125 |
+
666,
|
| 1126 |
+
823,
|
| 1127 |
+
710
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 8
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "Matthias Plappert, Rein Houthooft, Prafulla Dhariwal, Szymon Sidor, Richard Y Chen, Xi Chen, Tamim Asfour, Pieter Abbeel, and Marcin Andrychowicz. Parameter space noise for exploration. arXiv preprint arXiv:1706.01905, 2017. ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
174,
|
| 1136 |
+
717,
|
| 1137 |
+
823,
|
| 1138 |
+
761
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 8
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "Corby Rosset, Damien Jose, Gargi Ghosh, Bhaskar Mitra, and Saurabh Tiwary. Optimizing query evaluations using reinforcement learning for web search. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pp. 1193–1196. ACM, 2018. ",
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
171,
|
| 1147 |
+
768,
|
| 1148 |
+
823,
|
| 1149 |
+
813
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 8
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
173,
|
| 1158 |
+
820,
|
| 1159 |
+
823,
|
| 1160 |
+
849
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 8
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "David Silver, Guy Lever, Nicolas Heess, Thomas Degris, Daan Wierstra, and Martin Riedmiller. Deterministic policy gradient algorithms. 2014. ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
174,
|
| 1169 |
+
858,
|
| 1170 |
+
821,
|
| 1171 |
+
887
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 8
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "Ermo Wei, Drew Wicke, and Sean Luke. Hierarchical approaches for reinforcement learning in parameterized action space. In 2018 AAAI Spring Symposium Series, 2018. ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
174,
|
| 1180 |
+
895,
|
| 1181 |
+
821,
|
| 1182 |
+
924
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 8
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "Ian H Witten, Ian H Witten, Alistair Moffat, Timothy C Bell, Timothy C Bell, and Timothy C Bell. Managing gigabytes: compressing and indexing documents and images. Morgan Kaufmann, 1999. ",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
174,
|
| 1191 |
+
103,
|
| 1192 |
+
823,
|
| 1193 |
+
145
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 9
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "Jiechao Xiong, Qing Wang, Zhuoran Yang, Peng Sun, Lei Han, Yang Zheng, Haobo Fu, Tong Zhang, Ji Liu, and Han Liu. Parametrized deep q-networks learning: Reinforcement learning with discrete-continuous hybrid action space. arXiv preprint arXiv:1810.06394, 2018. ",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
174,
|
| 1202 |
+
155,
|
| 1203 |
+
823,
|
| 1204 |
+
196
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 9
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "Justin Zobel and Alistair Moffat. Inverted files for text search engines. ACM computing surveys (CSUR), 38(2):6, 2006. ",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
171,
|
| 1213 |
+
207,
|
| 1214 |
+
823,
|
| 1215 |
+
234
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 9
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "A APPENDIX ",
|
| 1222 |
+
"text_level": 1,
|
| 1223 |
+
"bbox": [
|
| 1224 |
+
176,
|
| 1225 |
+
102,
|
| 1226 |
+
299,
|
| 1227 |
+
117
|
| 1228 |
+
],
|
| 1229 |
+
"page_idx": 10
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"type": "text",
|
| 1233 |
+
"text": "A.1 PSEUDOCODE ",
|
| 1234 |
+
"text_level": 1,
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
176,
|
| 1237 |
+
133,
|
| 1238 |
+
315,
|
| 1239 |
+
148
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 10
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "text",
|
| 1245 |
+
"text": "Algorithm pseudocode for the algorithm is provided in Algorithm 1 which includes all aforementioned details. ",
|
| 1246 |
+
"bbox": [
|
| 1247 |
+
176,
|
| 1248 |
+
161,
|
| 1249 |
+
823,
|
| 1250 |
+
189
|
| 1251 |
+
],
|
| 1252 |
+
"page_idx": 10
|
| 1253 |
+
},
|
| 1254 |
+
{
|
| 1255 |
+
"type": "text",
|
| 1256 |
+
"text": "Algorithm 1 ",
|
| 1257 |
+
"text_level": 1,
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
174,
|
| 1260 |
+
204,
|
| 1261 |
+
259,
|
| 1262 |
+
218
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 10
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "table",
|
| 1268 |
+
"img_path": "images/6805768dc1374f48ea940804c4f043f9541f672a807ee8463e41885f8a35b386.jpg",
|
| 1269 |
+
"table_caption": [],
|
| 1270 |
+
"table_footnote": [],
|
| 1271 |
+
"table_body": "<table><tr><td>Input: Empty replay buffer D, init parameter noise std δparam, action noise threshold δ Initialize policy parameters 0,value parameters Φ ←0Q for each episode do Perturb policy parameters θ ← θ +(O,Oparam) and target policy parameters θtarget Observe state St, output a disturbed action embedding A =p(st;0) Compute executing action at by taking max over k</td></tr><tr><td>Execute parameterized action at in the environment server Observe next state St+1,reward rt, done signal dt denoting if St+1 is terminal t,rt, St+1,dt) to the buffer D If St+1 is terminal, reset to an initial state so for each update if update-condition do</td></tr><tr><td>Sample a minibatch from prioritized replay buffer D with specific priorities Compute and transform target actions with disturbed target policy network</td></tr><tr><td>Update parameter noise std Oparam using empirical distance d(μ, μ)</td></tr><tr><td>Compute targets for TD-error with min Q-value in the twin Q-networks Update Q-network parameters using gradient descent</td></tr><tr><td>if policy update frequency then</td></tr><tr><td>Update policy network parameters θ with Update target parameters with polyak averaging end if</td></tr></table>",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
173,
|
| 1274 |
+
219,
|
| 1275 |
+
808,
|
| 1276 |
+
554
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 10
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "text",
|
| 1282 |
+
"text": "A.2 FURTHER EXPERIMENTAL DETAILS ",
|
| 1283 |
+
"text_level": 1,
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
176,
|
| 1286 |
+
583,
|
| 1287 |
+
464,
|
| 1288 |
+
598
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 10
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Hyperparameter search. We use Microsoft $\\mathrm { N N I } ^ { 2 }$ and OpenPAI3 to search hyperparameters. The final metric to report to NNI is set to the sum of average training reward and final evaluation reward (repeated 1,000 times) final_metric $=$ (avg_reward+eval_reward)/2. The intermediate metric is set to evaluation reward per 1,000 episodes. We also use the early stop assessor. Each GPU server node connects to a production environment emulator with ethernet. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
173,
|
| 1297 |
+
609,
|
| 1298 |
+
825,
|
| 1299 |
+
680
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 10
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Model architecture. Both policy and value networks use two fully connected layers with 512 hidden units and a LSTM layer (Hochreiter & Schmidhuber (1997)). Each layer also uses a layer normalization (LayerNorm, Ba et al. (2016)) as suggested by Plappert et al. (2017) in consideration of stability for noise applied on parameters, and follows a ReLU activation. Both output heads of the policy network has a hidden layer with sof tmax or tanh activations. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
174,
|
| 1308 |
+
696,
|
| 1309 |
+
825,
|
| 1310 |
+
767
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 10
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "A.3 FURTHER ENVIRONMENTAL DETAILS ",
|
| 1317 |
+
"text_level": 1,
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
176,
|
| 1320 |
+
785,
|
| 1321 |
+
477,
|
| 1322 |
+
800
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 10
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "Accumulated values. Note that, for accumulated values in received states, rewards and outputted action-parameters, we use the difference (delta values) from the last step. For states and rewards, it is $s _ { t } = s _ { t } ^ { \\prime } - s _ { t - 1 }$ , $r _ { t } = r _ { t } ^ { \\prime } - r _ { t - 1 }$ , where where $s ^ { \\prime }$ and $r ^ { \\prime }$ denote raw state and reward. For actions, the agent outputs raw action-parameter output $a ^ { \\prime }$ , and the emulator converts it to accumulated value $a _ { t } = a _ { t } ^ { \\prime } + a _ { t - 1 }$ . ",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
174,
|
| 1331 |
+
813,
|
| 1332 |
+
825,
|
| 1333 |
+
883
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 10
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "image",
|
| 1339 |
+
"img_path": "images/6d04d136c67be4f2400a72fd7e2f02c247f2d8e0e0954f2f1782df4d09b152ff.jpg",
|
| 1340 |
+
"image_caption": [
|
| 1341 |
+
"Figure 6: Best evaluation learning curves on both environments during tuning. The agent achieves maximum possible reward on both environments (50 and 1). "
|
| 1342 |
+
],
|
| 1343 |
+
"image_footnote": [],
|
| 1344 |
+
"bbox": [
|
| 1345 |
+
218,
|
| 1346 |
+
106,
|
| 1347 |
+
779,
|
| 1348 |
+
297
|
| 1349 |
+
],
|
| 1350 |
+
"page_idx": 11
|
| 1351 |
+
},
|
| 1352 |
+
{
|
| 1353 |
+
"type": "text",
|
| 1354 |
+
"text": "Inverted index in Bing. In the inverted index system in Bing, there are two key steps: (i) the system rewrites the query to enlarge candidate set with specified match plan (or search plan), (ii) it returns candidates with top ranking scores. We just refer to the math plan part regarding to generation, but not user-input content. In the match plan generation, the goal is to generate the optimal search plan (policy) for each query. ",
|
| 1355 |
+
"bbox": [
|
| 1356 |
+
174,
|
| 1357 |
+
366,
|
| 1358 |
+
825,
|
| 1359 |
+
435
|
| 1360 |
+
],
|
| 1361 |
+
"page_idx": 11
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"type": "text",
|
| 1365 |
+
"text": "Closed-loop and open-loop control. The production match plan is generated online in open-loop (feedforward) without taking runtime system signals into consideration for the latency and implementation consideration. However, RL is closed-loop which takes feedback from system signals to make decisions. This may increase the online overhead, but it can be tackled by converting the reflective policy to a shooting-style action sequence by predicting with learned transition dynamics. In the implementation, the environment emulator receives an action sequence $a _ { 0 } , . . . , a _ { t }$ and return $s _ { t + 1 }$ to simulate the open-loop style. ",
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
174,
|
| 1368 |
+
450,
|
| 1369 |
+
825,
|
| 1370 |
+
549
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 11
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "A.4 MORE TRAINING FOR BENCHMARKS ",
|
| 1377 |
+
"text_level": 1,
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
176,
|
| 1380 |
+
565,
|
| 1381 |
+
473,
|
| 1382 |
+
579
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 11
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "text",
|
| 1388 |
+
"text": "We provide the best evaluation learning curves on both environments during tuning. ",
|
| 1389 |
+
"bbox": [
|
| 1390 |
+
173,
|
| 1391 |
+
592,
|
| 1392 |
+
720,
|
| 1393 |
+
606
|
| 1394 |
+
],
|
| 1395 |
+
"page_idx": 11
|
| 1396 |
+
}
|
| 1397 |
+
]
|
parse/train/rkgZaT4tDr/rkgZaT4tDr_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/rkgZaT4tDr/rkgZaT4tDr_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
vlm/train/0WASBV4xkhy/0.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/1.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/10.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/11.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/12.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/2.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/3.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/4.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/5.png
ADDED
|
Git LFS Details
|
vlm/train/0WASBV4xkhy/6.png
ADDED
|
Git LFS Details
|